Removing HP_TIMING_ZERO as unused
[glibc.git] / ChangeLog
blob2bb25486b8e86e8317f273c235cdbf20a7e93414
1 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
3         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7         Sync up with gettext.
8         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9         [_MSC_VER]: Include malloc.h
10         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13         TEMP_FAILURE_RETRY.  Cast return of alloca.
14         [!_LIBC] Call gl_rwlock_init.
15         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
17 2014-07-02  Roland McGrath  <roland@hack.frob.com>
19         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20         before checking its value.
22 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
26         * debug/memcpy_chk.c: Don't include pagecopy.h.
27         * debug/mempcpy_chk.c: Likewise.
28         * string/memcpy.c: Likewise.
29         * string/memmove.c: Likewise.
30         * sysdeps/powerpc/memmove.c: Likewise.
31         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32         definition of PAGE_COPY_FWD_MAYBE here...
33         * sysdeps/generic/pagecopy.h: ... from here.
34         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41         optimizations.
42         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43         (__libc_ifunc_impl_list): Likewise.
44         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
45         multiarch strcat for PPC64.
46         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
49 2014-07-02  Roland McGrath  <roland@hack.frob.com>
51         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
53 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55         * intl/loadmsgcat.c: Remove declaration of
56         get_sysdep_segment_value.
57         (get_sysdep_segment_value): Use ISO C style.
58         (_nl_load_domain): Use ISO C style.  Get rid of redundant
59         semicolon.  Fix typo and formatting in comment.
60         (_nl_unload_domain): Use ISO C style.
62         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
64 2014-07-02  Will Newton  <will.newton@linaro.org>
66         * malloc/obstack.c: Merge from gnulib master.
67         [HAVE_CONFIG_H]: Remove conditional code.
68         [!_LIBC]: Include config.h.
69         [!ELIDE_CODE]: Don't include inttypes.h, include
70         stdint.h unconditionally.
71         (print_and_abort): Mark as _Noreturn.
72         (_obstack_allocated_p): Mark as __attribute_pure__.
73         (obstack_free): Rename to __obstack_free.
74         [!__attribute__]: Remove conditional code.
75         * malloc/obstack.h: Merge from gnulib master.
76         [__cplusplus]: Move conditional down.
77         [!__attribute_pure__]: Define __attribute_pure__ here
78         if it is not already defined.
79         (_obstack_memory_used): Mark as __attribute_pure__.
80         [!__obstack_free]: Define as obstack_free.
81         [__GNUC__]: Remove check for ancient NeXT gcc.
83 2014-07-02  Will Newton  <will.newton@linaro.org>
84             Paul Eggert  <eggert@cs.ucla.edu>
86         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
88 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
90         * resolv/gethnamaddr.c: Add comment warning that the file is
91         not maintained.
93 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
95         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
96         entries.
98         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
99         entry for aio_cancel and aio_cancel64.
100         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
101         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
102         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
103         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
104         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
105         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
106         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
107         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
108         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
109         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
110         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
111         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
112         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
114 2014-07-01  Roland McGrath  <roland@hack.frob.com>
116         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
117         * nptl/pthread_mutex_lock.c: Likewise.
118         * nptl/pthread_mutex_timedlock.c: Likewise.
119         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
121 2014-07-01  Richard henderson  <rth@redhat.com>
123         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
124         (__isnan, __isnanl): Remove.
125         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
127         * sysdeps/alpha/fpu/libm-test-ulps: Update.
129 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
131         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
133 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
135         * resolv/nss_dns/dns-host.c (getanswer_r)
136         [MULTI_PTRS_ARE_ALIASES]: Remove code.
138 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
140         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
141         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
142         undefine.
143         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
144         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
146 2014-07-01  Roland McGrath <roland@hack.frob.com>
148         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
149         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
151         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
152         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
154         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
155         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
156         ... here.
157         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
158         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
160         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
161         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
162         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
163         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
165         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
166         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
167         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
168         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
169         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
170         Moved ...
171         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
172         ... here.
173         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
174         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
175         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
176         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
177         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
178         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
179         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
180         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
181         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
182         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
183         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
184         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
185         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
186         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
187         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
188         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
189         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
190         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
191         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
192         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
193         ... here.
194         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
195         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
196         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
197         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
198         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
199         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
200         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
201         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
203 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
205         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
206         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
207         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
208         Add sysdep.
210 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
214 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
216         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
217         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
219         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
221         * sysdeps/arm/libm-test-ulps: Regenerated.
223 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
224             Roland McGrath <roland@hack.frob.com>
226         * test-skeleton.c (signal_handler): Kill the whole process group
227         before killing the child individually.
228         (main): Report any failure on `setpgid'.
230 2014-06-30  Roland McGrath  <roland@hack.frob.com>
232         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
233         from _TLS_H to _ARM_NPTL_TLS_H.
234         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
235         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
237 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
239         [BZ #16539]
240         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
241         (__expm1l): Return argument unchanged when small but not
242         subnormal.
244         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
245         include macro name.
246         (_FP_UNPACK_RAW_1_P): Likewise.
247         (_FP_PACK_RAW_1): Likewise.
248         (_FP_PACK_RAW_1_P): Likewise.
249         (_FP_MUL_MEAT_1_wide): Likewise.
250         (_FP_MUL_MEAT_DW_1_hard): Likewise.
251         (_FP_MUL_MEAT_1_hard): Likewise.
252         (_FP_DIV_MEAT_1_imm): Likewise.
253         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
254         (_FP_DIV_MEAT_1_udiv): Likewise.
255         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
256         (_FP_UNPACK_RAW_2): Likewise.
257         (_FP_UNPACK_RAW_2_P): Likewise.
258         (_FP_PACK_RAW_2): Likewise.
259         (_FP_PACK_RAW_2_P): Likewise.
260         (_FP_MUL_MEAT_DW_2_wide): Likewise.
261         (_FP_MUL_MEAT_2_wide): Likewise.
262         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
263         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
264         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
265         (_FP_MUL_MEAT_2_gmp): Likewise.
266         (_FP_DIV_MEAT_2_udiv): Likewise.
267         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
268         (_FP_FRAC_SRL_4): Likewise.
269         (_FP_FRAC_SRST_4): Likewise.
270         (_FP_FRAC_SRS_4): Likewise.
271         (_FP_UNPACK_RAW_4): Likewise.
272         (_FP_UNPACK_RAW_4_P): Likewise.
273         (_FP_PACK_RAW_4): Likewise.
274         (_FP_PACK_RAW_4_P): Likewise.
275         (_FP_MUL_MEAT_DW_4_wide): Likewise.
276         (_FP_MUL_MEAT_4_wide): Likewise.
277         (_FP_MUL_MEAT_4_gmp): Likewise.
278         (umul_ppppmnnn): Likewise.
279         (_FP_DIV_MEAT_4_udiv): Likewise.
280         (__FP_FRAC_ADD_4): Likewise.
281         (__FP_FRAC_SUB_3): Likewise.
282         (__FP_FRAC_SUB_4): Likewise.
283         (__FP_FRAC_DEC_3): Likewise.
284         (__FP_FRAC_DEC_4): Likewise.
285         (__FP_FRAC_ADDI_4): Likewise.
286         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
287         (_FP_FRAC_SRL_8): Likewise.
288         (_FP_FRAC_SRS_8): Likewise.
290         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
291         include macro name.
292         (FP_UNPACK_RAW_EP): Likewise.
293         (FP_PACK_RAW_E): Likewise.
294         (FP_PACK_RAW_EP): Likewise.
295         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
296         (_FP_ISSIGNAN): Likewise.
297         (_FP_ADD_INTERNAL): Likewise.
298         (_FP_FMA): Likewise.
299         (_FP_CMP): Likewise.
300         (_FP_SQRT): Likewise.
301         (_FP_TO_INT): Likewise.
302         (_FP_FROM_INT): Likewise.
303         (FP_EXTEND): Likewise.
304         (_FP_DIV_MEAT_N_loop): Likewise.
306 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
308         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
309         throughout.
311 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
313         [BZ #17097]
314         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
315         result with correct sign in case of exponents that produce
316         overflow except for X very close to 1.
318 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
320         mktime: merge #if/#ifdef usage from glibc
321         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
322         as that works with both Glibc's and Gnulib's style.
323         See thread starting at Siddhesh Poyarekar's bug report at:
324         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
326 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
328         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
329         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
330         * sysdeps/tile/tilegx/memmove.c: Remove file.
332 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
334         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
335         abi-name definition.
336         * scripts/soversions.awk: Do not handle or generate ABI lines.
337         * shlib-versions: Remove ABI entries.
338         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
339         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
341 2014-06-27  Roland McGrath  <roland@hack.frob.com>
343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
344         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
345         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
346         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
348         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
350         Moved ...
351         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
352         ... here.
353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
354         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
356         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
358         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
360         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
362         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
363         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
364         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
366         Moved ...
367         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
369         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
371         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
373         Moved ...
374         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
375         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
376         Moved ...
377         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
379         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
380         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
381         Moved ...
382         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
384         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
386         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
387         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
388         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
390         Moved ...
391         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
392         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
393         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
394         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
395         Moved ...
396         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
397         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
398         Moved ...
399         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
401         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
403         Moved ...
404         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
405         ... here.
406         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
407         Identical file removed.
408         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
409         Moved ...
410         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
411         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
412         Identical file removed.
413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
414         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
416         Moved ...
417         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
419         Identical file removed.
420         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
421         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
422         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
423         Identical file removed.
424         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
425         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
426         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
427         Identical file removed.
428         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
429         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
430         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
431         Identical file removed.
432         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
433         Moved ...
434         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
435         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
436         Identical file removed.
437         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
438         Moved ...
439         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
440         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
441         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
442         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
443         Identical file removed.
444         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
445         Moved ...
446         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
447         ... here.
448         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
449         Identical file removed.
450         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
451         Moved ...
452         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
453         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
454         Identical file removed.
455         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
456         Moved ...
457         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
458         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
459         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
460         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
461         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
462         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
463         Moved ...
464         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
465         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
466         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
468         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
469         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
470         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
471         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
472         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
474 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
476         [BZ #17092]
477         * nscd/nscd.c (monitor_child): Return exit status of child
478         instead of return value from wait syscall.
480 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
482         * configure.ac (libc_commonpagesize): Remove variable.
483         (libc_relro_required): Likewise.
484         (libc_cv_z_relro): Remove configure test.
485         * configure: Regenerated.
486         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
487         variable.
488         (libc_relro_required): Likewise.
489         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
490         (libc_relro_required): Likewise.
491         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
492         (libc_relro_required): Likewise.
493         * sysdeps/arm/preconfigure: Regenerated.
494         * sysdeps/ia64/preconfigure: Remove file.
495         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
496         variable.
497         (libc_relro_required): Likewise.
499         [BZ #16561]
500         [BZ #16562]
501         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
502         (__ieee754_yn): Set FE_TONEAREST mode internally and then
503         recompute overflowing results in original rounding mode.
504         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
505         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
506         recompute overflowing results in original rounding mode.
507         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
508         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
509         recompute overflowing results in original rounding mode.
510         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
511         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
512         recompute overflowing results in original rounding mode.
513         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
514         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
515         recompute overflowing results in original rounding mode.
516         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
517         (libc_feholdsetround_ctx): New macro.
518         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
519         * sysdeps/i386/fpu/libm-test-ulps: Update.
520         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
522 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
524         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
525         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
526         corresponding .cpsetup call.
528 2014-06-26  Roland McGrath  <roland@hack.frob.com>
530         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
531         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
532         * sysdeps/arm/Makefile [$(subdir) = csu]
533         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
534         (static-only-routines): Add aeabi_read_tp here.
535         (shared-only-routines): Add libc-aeabi_read_tp here.
536         (CFLAGS-libc-start.c): Add -fexceptions here.
537         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
538         (sysdep_routines, static-only-routines, shared-only-routines):
539         Don't add to these here.
540         (CFLAGS-libc-start.c): Likewise.
542         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
543         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
544         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
545         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
546         * sysdeps/arm/Makefile [$(subdir) = rt]
547         (librt-sysdep_routines, librt-shared-only-routines):
548         Append rt-aeabi_unwind_cpp_pr1 here.
549         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
550         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
551         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
552         (libpthread-sysdep_routines, libpthread-shared-only-routines):
553         Append nptl-aeabi_unwind_cpp_pr1 here.
554         (tests): Filter out tst-cleanupx4 here.
555         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
556         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
557         Don't do those here.
559 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
561         * scripts/list-sources.sh: Do not handle ports specially.
563 2014-06-26  Roland McGrath  <roland@hack.frob.com>
565         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
566         * sysdeps/arm/feupdateenv.c: Likewise.
568         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
570 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
572         * manual/texinfo.tex: Update to version 2014-05-05.10 with
573         trailing whitespace removed.
574         * scripts/config.guess: Update to version 2014-03-23.
575         * scripts/config.sub: Update to version 2014-05-01
576         * scripts/install-sh: Update to version 2013-12-25.23.
577         * scripts/move-if-change: Update from gnulib.
579 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
581         * debug/memmove_chk.c: Remove pagecopy.h include.
583 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
585         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
586         identical to gnulib mktime.
588 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
590         * configure.ac: Do not test for machine being rs6000.  Do not test
591         for powerpc*-*soft.
592         * configure: Regenerated.
594         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
595         test.
596         * configure: Regenerated.
597         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
598         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
599         Remove configure test.
600         * sysdeps/arm/configure: Regenerated.
601         * sysdeps/nptl/configure.ac: Do not check
602         libc_cv_asm_cfi_directives.
603         * sysdeps/nptl/configure: Regenerated.
604         * sysdeps/x86_64/nptl/configure.ac: Remove file.
605         * sysdeps/x86_64/nptl/configure: Remove generated file.
606         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
607         unconditional.
608         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
610 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
612         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
613         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
614         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
615         it is defined.
617         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
618         instead of whether it is defined.
619         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
620         * sysdeps/hppa/dl-machine.h: Likewise.
621         * sysdeps/ia64/dl-machine.h: Likewise.
622         * sysdeps/m68k/dl-machine.h: Likewise.
623         * sysdeps/microblaze/dl-machine.h: Likewise.
624         * sysdeps/mips/dl-machine.: Likewise.
625         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
626         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
627         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
628         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
629         * sysdeps/sh/dl-machine.h: Likewise.
630         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
631         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
632         * sysdeps/tile/dl-machine.h: Likewise.
633         * sysdeps/x86_64/dl-machine.h: Likewise.
635         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
636         code.
637         (verify_persistent_db): Likewise.
639 2014-06-26  Roland McGrath  <roland@hack.frob.com>
641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
642         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
644         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
646         Moved ...
647         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
648         ... here.
649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
650         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
652         Identical file removed.
653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
654         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
656         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
658         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
660         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
662         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
664         Moved ...
665         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
667         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
669         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
671         Moved ...
672         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
674         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
676         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
678         Identical file removed.
679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
680         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
682         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
684         Moved ...
685         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
686         ... here.
687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
688         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
690         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
692         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
694         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
696         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
698         Moved ...
699         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
701         Moved ...
702         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
704         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
706         Moved ...
707         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
709         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
711         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
712         folded into ...
713         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
714         * sysdeps/unix/sysv/linux/s390/Versions
715         (libpthread: GLIBC_2.19): New version set.
716         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
717         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
718         (librt: GLIBC_2.3.3): New version set.
719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
720         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
721         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
722         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
723         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
724         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
725         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
726         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
727         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
728         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
729         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
730         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
731         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
732         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
733         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
734         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
735         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
736         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
737         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
738         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
739         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
740         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
741         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
742         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
743         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
744         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
745         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
746         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
747         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
748         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
749         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
750         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
755         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
757         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
759         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
761         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
762         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
763         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
765         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
766         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
767         (__libc_vfork): Define the function under this name.
768         [!NOT_IN_libc] (__vfork): Make this an alias.
769         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
771         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
772         (__libc_vfork): Define the function under this name.
773         [!NOT_IN_libc] (__vfork): Make this an alias.
774         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
775         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
776         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
777         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
778         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
779         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
781         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
782         code that was previously under [RESET_PID].
783         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
784         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
785         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
787         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
788         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
789         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
790         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
791         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
792         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
793         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
794         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
795         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
796         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
797         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
798         Moved ...
799         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
800         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
801         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
802         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
803         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
804         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
805         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
806         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
807         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
808         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
809         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
810         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
811         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
812         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
813         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
814         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
815         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
816         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
817         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
818         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
819         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
820         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
821         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
822         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
823         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
824         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
825         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
826         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
827         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
829 2014-06-25  Roland McGrath  <roland@hack.frob.com>
831         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
832         that was previously under [RESET_PID].
833         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
835 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
837         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
838         not undefine and redefine.
839         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
840         [O_CLOEXEC]: Make code unconditional.
841         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
842         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
843         <kernel-features.h>.
844         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
845         conditional variable definition.
846         (shm_open) [O_CLOEXEC]: Make code unconditional.
847         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
848         code.
850         * configure.ac (USE_REGPARMS): Don't define here.
851         * configure: Regenerated.
852         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
853         * sysdeps/i386/configure: Regenerated.
855         * nptl/createthread.c: Don't include kernel-features.h.
856         * nptl/pthread_cancel.c: Likewise.
857         * nptl/pthread_condattr_setclock.c: Likewise.
858         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
859         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
860         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
861         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
862         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
863         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
864         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
866         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
867         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
868         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
869         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
870         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
871         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
872         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
873         * nscd/gai.c: Likewise.
874         * nss/nss_db/db-open.c: Likewise.
875         * sysdeps/generic/ldsodefs.h: Likewise.
876         * sysdeps/sh/nptl/tls.h: Likewise.
877         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
878         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
879         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
880         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
881         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
882         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
883         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
884         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
885         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
886         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
887         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
888         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
889         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
890         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
891         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
892         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
893         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
894         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
895         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
896         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
899         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
900         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
902         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
903         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
905         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
906         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
907         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
908         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
909         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
910         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
911         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
912         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
913         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
914         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
915         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
916         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
917         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
918         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
919         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
920         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
921         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
922         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
923         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
924         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
925         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
926         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
927         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
928         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
929         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
930         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
931         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
932         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
933         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
934         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
957         * sysdeps/unix/sysv/linux/pread.c: Likewise.
958         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
959         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
960         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
961         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
962         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
963         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
964         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
965         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
966         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
967         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
968         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
969         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
970         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
971         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
972         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
973         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
974         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
975         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
976         * sysdeps/unix/sysv/linux/system.c: Likewise.
977         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
978         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
979         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
980         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
981         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
982         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
983         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
985         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
986         * configure: Regenerated.
987         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
989         * configure.ac (base_machine): Do not set specially for particular
990         machines here.
991         * configure: Regenerated.
992         * sysdeps/powerpc/preconfigure: Move machine and base_machine
993         settings from configure.ac.
994         * sysdeps/i386/preconfigure: New file.
995         * sysdeps/s390/preconfigure: Likewise.
996         * sysdeps/sh/preconfigure: Likewise.
997         * sysdeps/sparc/preconfigure: Likewise.
999 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1001         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1002         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1003         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1004         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1005         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1006         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1007         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1008         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1009         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1010         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1011         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1012         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1013         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1014         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1015         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1016         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1017         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1018         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1019         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1021         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1022         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1023         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1024         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1025         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1026         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1027         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1028         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1029         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1030         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1031         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1032         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1033         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1034         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1035         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1036         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1037         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1038         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1039         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1040         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1042         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1043         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1044         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1045         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1046         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1048         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1049         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1050         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1051         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1052         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1053         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1054         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1055         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1056         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1057         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1058         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1061         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1063         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1065         Moved ...
1066         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1067         ... here.
1068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1069         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1071         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1073         Moved ...
1074         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1076         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1078         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1080         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1082         Moved ...
1083         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1085         Moved ...
1086         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1088         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1090         Moved ...
1091         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1093         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1095         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1097         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1099         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1101         Moved ...
1102         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1103         ... here.
1104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1105         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1107         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1109         Moved ...
1110         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1112         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1114         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1116         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1118         Moved ...
1119         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1121         Moved ...
1122         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1124         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1126         Moved ...
1127         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1129         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1131         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1133 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1135         * timezone/checktab.awk: Update from tzcode 2014e.
1136         * timezone/private.h: Likewise.
1137         * timezone/tzfile.h: Likewise.
1138         * timezone/zdump.c: Likewise.
1139         * timezone/zic.c: Likewise.
1141         * sysdeps/unix/sysv/linux/kernel-features.h
1142         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1143         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1144         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1145         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1146         Remove conditional code.
1148 2014-06-25  Will Newton  <will.newton@linaro.org>
1150         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1151         (_dl_arm_cap_flags): Add HWCAP2 values.
1152         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1153         (_DL_HWCAP_COUNT): Increase to 37.
1154         (_DL_HWCAP_LAST): New define.
1155         (_DL_HWCAP2_LAST): New define.
1156         (_dl_procinfo): Add support for printing
1157         AT_HWCAP2 entries.
1158         (_dl_string_hwcap): Use _dl_hwcap_string.
1160 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1164 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1166         * README: Do not mention ports directory.
1168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1169         Remove macro.
1170         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1171         <kernel-features.h>.
1172         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1173         conditional variable definition.
1174         (__futimes): Update comment.
1175         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1176         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1178         [BZ #16560]
1179         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1180         arguments close to 0.
1181         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1182         Likewise.
1183         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1184         Likewise.
1185         * math/auto-libm-test-in: Add more tests of exp10.
1186         * math/auto-libm-test-out: Regenerated.
1187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1189         * sysdeps/unix/sysv/linux/kernel-features.h
1190         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1191         * sysdeps/unix/sysv/linux/readv.c: Do not include
1192         <kernel-features.h>.
1193         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1194         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1195         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1196         unconditional.
1197         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1198         conditional code.
1199         * sysdeps/unix/sysv/linux/writev.c: Do not include
1200         <kernel-features.h>.
1201         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1202         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1203         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1204         unconditional.
1205         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1206         conditional code.
1208 2014-06-25  Will Newton  <will.newton@linaro.org>
1210         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1211         comment changes throughout the file.  Remove checks
1212         for HAVE_*_H definitions that are not required.
1213         (__gen_tempname): Call abort if an unknown kind value is
1214         passed.
1216 2014-06-25  Andreas Schwab  <schwab@suse.de>
1218         [BZ #17086]
1219         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1220         scalbln, scalblnf, scalblnl in libc.
1222 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1224         [BZ #17086]
1225         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1226         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1227         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1229 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1231         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1232         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1233         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1234         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1235         Update #include.
1236         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1237         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1238         Update #include.
1239         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1240         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1241         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1242         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1243         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1244         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1245         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1246         * sysdeps/x86/bits/semaphore.h: ... here.
1247         * sysdeps/x86/nptl/elide.h: Moved ...
1248         * sysdeps/x86/elide.h: ... here.
1249         * sysdeps/x86_64/nptl/Implies: File removed.
1250         * sysdeps/i386/nptl/Implies: File removed.
1252 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1254         [BZ #16539]
1255         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1256         return the argument for normal arguments with exponent below -64.
1257         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1258         Likewise.
1259         * math/auto-libm-test-in: Add another test of expm1.
1260         * math/auto-libm-test-out: Regenerated.
1262         [BZ #16287]
1263         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1264         calling __erfcl for arguments at least 16.
1265         * math/auto-libm-test-in: Add more tests of erf.
1266         * math/auto-libm-test-out: Regenerated.
1268         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1269         individual architectures.
1270         * sysdeps/unix/sysv/linux/configure: Regenerated.
1271         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1272         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1273         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1274         (ldd_rewrite_script): Define variable.
1275         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1277         file.
1278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1279         generated file.
1280         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1281         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1282         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1283         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1284         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1285         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1286         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1287         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1289 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1291         [BZ #17084]
1292         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1293         Rename member __data.d to __data.__elision_data.
1295 2014-06-24  Wilco  <wdijkstr@arm.com>
1297         * NEWS: Add 16918 to fixed bug list.
1299 2014-06-24  Wilco  <wdijkstr@arm.com>
1301         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1303 2014-06-24  Wilco  <wdijkstr@arm.com>
1305         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1306         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1307         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1308         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1309         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1310         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1311         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1312         Use _FPU_MASK_RM.
1314 2014-06-24  Wilco  <wdijkstr@arm.com>
1316         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1318 2014-06-24  Wilco  <wdijkstr@arm.com>
1320         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1321         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1322         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1323         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1325 2014-06-24  Wilco  <wdijkstr@arm.com>
1327         [BZ #16918]
1328         * sysdeps/arm/feupdateenv.c (feupdateenv):
1329         Rewrite to reduce FPSCR accesses and fix return value.
1331 2014-06-24  Wilco  <wdijkstr@arm.com>
1333         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1334         Optimize to avoid unnecessary FPSCR writes.
1335         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1336         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1337         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1338         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1340 2014-06-24  Wilco  <wdijkstr@arm.com>
1342         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1343         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1344         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1345         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1346         Call libc_fetestexcept_vfp.
1347         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1348         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1349         __SOFTFP__ ifdef so that they can be built for softfp.
1351 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1353         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1354         argument type signed char.
1356         * Makerules (check-abi): Dump diff of symlist if the test
1357         fails.
1359 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1361         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1362         using abort.
1364         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1365         Remove unused variable ST.
1367 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1369         [BZ #16354]
1370         [BZ #17061]
1371         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1372         small arguments before calling __expm1.
1373         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1374         small arguments before calling __expm1f.
1375         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1376         small arguments before calling __expm1l.
1377         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1378         Likewise.
1379         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1380         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1381         spurious underflow for some cosh tests.
1382         * math/auto-libm-test-out: Regenerated.
1383         * sysdeps/i386/fpu/libm-test-ulps: Update.
1385         [BZ #17050]
1386         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1387         (__ieee754_y1): Set errno if return value overflows.
1388         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1389         (__ieee754_y1f): Set errno if return value overflows.
1390         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1391         (__ieee754_y1l): Set errno if return value overflows.
1392         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1393         (__ieee754_y1l): Set errno if return value overflows.
1394         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1395         * math/auto-libm-test-out: Regenerated.
1397         * math/gen-auto-libm-tests.c: Document use of
1398         ignore-zero-inf-sign.
1399         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1400         (input_flags): Add ignore-zero-inf-sign.
1401         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1402         * math/gen-libm-test.pl (generate_testfile): Handle
1403         ignore-zero-inf-sign.
1404         * math/auto-libm-test-in: Mark some cpow tests with
1405         ignore-zero-inf-sign and some with xfail-rounding.
1406         * math/auto-libm-test-out: Regenerated.
1407         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1408         * sysdeps/i386/fpu/libm-test-ulps: Update.
1409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1411         [BZ #16315]
1412         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1413         overflowing or underflowing operations take place with sign of
1414         result.
1415         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1416         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1417         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1418         (__ieee754_pow): Recompute overflowing and underflowing results in
1419         original rounding mode.
1420         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1421         (__powl_helper): Allow negative argument X and scale negated value
1422         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1423         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1424         overflowing or underflowing operations take place with sign of
1425         result.
1426         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1427         Include <math.h>.
1428         * math/auto-libm-test-in: Add more tests of pow.
1429         * math/auto-libm-test-out: Regenerated.
1430         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1431         (pow_tonearest_test_data): Remove.
1432         (pow_test_tonearest): Likewise.
1433         (pow_towardzero_test_data): Likewise.
1434         (pow_test_towardzero): Likewise.
1435         (pow_downward_test_data): Likewise.
1436         (pow_test_downward): Likewise.
1437         (pow_upward_test_data): Likewise.
1438         (pow_test_upward): Likewise.
1439         (main): Don't call removed functions.
1440         * sysdeps/i386/fpu/libm-test-ulps: Update.
1441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1443 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1446         Moved ...
1447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1449         Moved ...
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1452         Moved ...
1453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1455         Moved ...
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1458         File removed.
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1460         File removed.
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1462         File removed.
1463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1464         File removed.
1465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1466         File removed.
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1468         File removed.
1469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1470         File removed.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1472         File removed.
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1474         File removed.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1476         File removed.
1477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1478         File removed.
1479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1480         File removed.
1481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1482         Moved ...
1483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1485         Moved ...
1486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1487         ... here.
1488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1489         Moved ...
1490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1492         Moved ...
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1495         Moved ...
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1498         Moved ...
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1501         Moved ...
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1504         Moved ...
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1507         Moved ...
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1511         ... here.
1512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1513         Moved ...
1514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1516         Moved ...
1517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1518         ... here.
1519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1520         Moved ...
1521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1522         ... here.
1523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1524         Moved ...
1525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1526         ... here.
1527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1528         Moved ...
1529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1531         Moved ...
1532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1536         Moved ...
1537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1538         ... here.
1539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1540         Moved ...
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1542         ... here.
1543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1544         Moved ...
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1547         Moved ...
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1550         Moved ...
1551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1553         Moved ...
1554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1556         Moved ...
1557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1558         ... here.
1559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1560         Moved ...
1561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1563         Moved ...
1564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1566         Moved ...
1567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1569         Moved ...
1570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1574         Moved ...
1575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1577         Moved ...
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1580         Moved ...
1581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1582         ... here.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1584         Moved ...
1585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1586         ... here.
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1588         Moved ...
1589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1590         ... here.
1591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1592         Moved ...
1593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1595         Moved ...
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1598         Moved ...
1599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1601         Moved ...
1602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1603         ... here.
1604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1605         Moved ...
1606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1607         ... here.
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1609         Moved ...
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1611         ... here.
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1613         Moved ...
1614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1616         Moved ...
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1619 2014-06-23  Will Newton  <will.newton@linaro.org>
1620             Wilco  <wdijkstr@arm.com>
1622         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1623         implementation.  Include get-rounding-mode.h.
1624         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1625         [!libc_feholdsetround_noex_ctx]: Define
1626         libc_feholdsetround_noex_ctx.
1627         [!libc_feholdsetround_noexf_ctx]: Define
1628         libc_feholdsetround_noexf_ctx.
1629         [!libc_feholdsetround_noexl_ctx]: Define
1630         libc_feholdsetround_noexl_ctx.
1631         (libc_feholdsetround_ctx): New function.
1632         (libc_feresetround_ctx): New function.
1633         (libc_feholdsetround_noex_ctx): New function.
1634         (libc_feresetround_noex_ctx): New function.
1636 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1638         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1639         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1640         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1641         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1642         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1643         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1645         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1646         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1647         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1648         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1649         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1650         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1652         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1654         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1656         Moved ...
1657         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1658         ... here.
1659         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1660         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1662         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1663         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1664         Moved ...
1665         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1667         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1668         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1669         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1671         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1673         Moved ...
1674         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1676         Moved ...
1677         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1678         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1679         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1680         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1681         Moved ...
1682         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1684         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1685         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1686         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1687         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1688         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1690         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1692         Moved ...
1693         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1694         ... here.
1695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1696         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1697         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1698         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1699         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1700         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1701         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1702         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1703         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1704         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1706         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1708         Moved ...
1709         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1711         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1713         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1714         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1715         Moved ...
1716         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1717         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1718         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1719         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1720         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1722         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1723         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1724         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1725         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1726         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1727         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1728         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1729         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1730         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1731         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1732         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1733         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1734         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1735         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1736         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1737         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1738         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1739         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1740         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1741         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1742         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1743         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1744         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1745         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1746         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1747         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1748         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1749         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1751 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1753         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1754         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1755         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1756         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1757         (IPV6_PMTUDISC_INTERFACE): Likewise.
1758         (IPV6_PMTUDISC_OMIT): Likewise.
1760 2014-06-23  Andreas Schwab  <schwab@suse.de>
1762         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1763         Remove unused errout label.
1765 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1767         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1768         macro: hardware supports Vector Crypto instructions.
1770 2014-06-23  Will Newton  <will.newton@linaro.org>
1772         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1773         rather than __builtin_expect.
1775         * elf/dl-lookup.c (undefined_msg): Remove variable.
1776         (_dl_lookup_symbol_x): Replace undefined_msg with string
1777         literal.
1779         * elf/dl-lookup.c (do_lookup_unique): New function.
1780         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1781         to a separate function.
1783 2014-06-23  Andreas Schwab  <schwab@suse.de>
1785         [BZ #17079]
1786         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1787         before reading the next line.
1789 2014-06-23  Will Newton  <will.newton@linaro.org>
1791         * test-skeleton.c (signal_handler): Use printf and %m
1792         rather than perror.  Use printf rather than fprintf to
1793         stderr.  Use puts rather than fputs to stderr.
1794         (main): Likewise.
1796 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1798         * nscd/nscd.c (thread_info_t): Remove typedef.
1799         (thread_info): Remove variable.
1801 2014-06-21  Allan McRae  <allan@archlinux.org>
1803         * NEWS: Mention CVE-2014-4043.
1805 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1807         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1808         * nptl/smp.h: ... here.
1810         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1812         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1813         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1814         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1815         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1817         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1818         * nptl/stack-aliasing.h: New file.
1819         * sysdeps/i386/i686/stack-aliasing.h: New file.
1820         * sysdeps/i386/i686/nptl/Makefile: File removed.
1821         * sysdeps/x86_64/stack-aliasing.h: New file.
1822         * sysdeps/x86_64/nptl/Makefile
1823         (CFLAGS-pthread_create.c): Variable removed.
1825         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1826         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1827         old file.
1828         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1829         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1830         old file.
1832 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1835         (__ASSUME_SIGFRAME_V2): Remove macro.
1836         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1837         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1838         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1839         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1840         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1841         Declare as function.  Remove conditional macro definitions.
1842         (__default_rt_sa_restorer): Likewise.
1843         (__default_sa_restorer_v1): Remove declaration.
1844         (__default_sa_restorer_v2): Likewise.
1845         (__default_rt_sa_restorer_v1): Likewise.
1846         (__default_rt_sa_restorer_v2): Likewise.
1847         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1848         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1849         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1851 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1853         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1854         (libpthread-routines): Add sysdep.
1855         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1856         * sysdeps/unix/sysv/linux/sparc/Versions
1857         (libpthread: GLIBC_2.3.3): New version set.
1858         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1859         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1860         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1861         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1862         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1863         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1864         Moved ...
1865         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1866         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1867         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1868         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1869         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1870         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1871         * sysdeps/sparc/nptl/sem_init.c: ... here.
1872         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1873         * sysdeps/sparc/nptl/sem_post.c: ... here.
1874         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1875         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1876         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1877         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1878         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1879         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1880         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1881         (libpthread-routines): Add cpu_relax.
1882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1883         File removed.
1884         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1885         (librt: GLIBC_2.3.3): New version set.
1886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1887         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1888         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1889         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1892         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1894         Moved ...
1895         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1897         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1899         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1901         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1903         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1905         Moved ...
1906         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1907         Update #include.
1908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1909         Moved ...
1910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1911         Update #include.
1912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1913         Moved ...
1914         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1915         Update #include.
1916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1917         Moved ...
1918         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1919         Update #include.
1920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1921         Moved ...
1922         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1923         Update #include.
1924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1925         Moved ...
1926         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1927         Update #include.
1928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1929         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1933         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1935         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1937         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1939         Moved ...
1940         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1942         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1944         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1946 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1948         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1949         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1950         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1951         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1952         * nscd/nscd.c: Likewise.
1953         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1954         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1955         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1956         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1958         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1959         <kernel-features.h>.
1960         (init_mq_netlink): Remove conditional have_sock_cloexec
1961         definitions.  Remove code conditional on have_sock_cloexec < 0.
1962         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1963         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1964         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1965         <kernel-features.h>.
1966         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1967         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1969 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1972         Add tests for memset_chk and memset.
1974         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1975         with AVX2_Usable.
1977 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1979         [BZ #16046]
1980         * elf/tst-dl-iter-static.c: New file.
1981         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1983         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1984         error.
1986 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1988         * sysdeps/unix/sysv/linux/kernel-features.h
1989         (__ASSUME_F_GETOWN_EX): Remove macro.
1990         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1991         <kernel-features.h>.
1992         (miss_F_GETOWN_EX): Remove variable or macro.
1993         (do_fcntl): Do not check miss_F_GETOWN_EX.
1994         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1997         Remove macro.
1998         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1999         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2000         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2002         * sysdeps/unix/sysv/linux/kernel-features.h
2003         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2004         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2005         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2006         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2008 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2010         [BZ #17075]
2011         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2012         Fix calculation of the symbol's value.
2013         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2014         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2015         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2016         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2017         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2018         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2019         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2020         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2021         (modules-names): Add `tst-armtlsdescmod',
2022         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2023         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2024         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2025         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2026         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2027         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2028         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2029         ($(objpfx)tst-armtlsdescloc): New dependency.
2030         ($(objpfx)tst-armtlsdescextnow): Likewise.
2031         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2032         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2033         TLS scheme support.
2034         * sysdeps/arm/configure: Regenerate.
2036 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2038         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2039         (__atfct_seterrno_2): Likewise.
2040         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2041         <kernel-features.h>.
2042         (__ASSUME_ATFCTS): Do not undefine and redefine.
2043         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2044         (__have_atfcts): Remove conditional definition.
2045         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2046         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2047         unreachable if [__ASSUME_ATFCTS].
2048         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2049         not undefine and redefine.
2050         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2051         <kernel-features.h>.
2052         (faccessat) [__NR_faccessat]: Make code unconditional.
2053         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2054         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2055         <kernel-features.h>.
2056         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2057         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2058         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2059         <kernel-features.h>.
2060         (fchownat) [__NR_fchownat]: Make code unconditional.
2061         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2062         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2063         <kernel-features.h>.
2064         (futimesat) [__NR_futimesat]: Make code unconditional.
2065         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2066         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2067         <kernel-features.h>.
2068         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2069         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2070         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2071         <kernel-features.h>.
2072         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2073         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2074         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2075         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2076         <kernel-features.h>.
2077         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2078         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2079         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2080         <kernel-features.h>.
2081         (linkat) [__NR_linkat]: Make code unconditional.
2082         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2083         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2084         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2085         <kernel-features.h>.
2086         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2087         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2088         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2089         <kernel-features.h>.
2090         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2091         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2092         * sysdeps/unix/sysv/linux/openat.c: Do not include
2093         <kernel-features.h>.
2094         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2095         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2096         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2097         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2098         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2099         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2100         <kernel-features.h>.
2101         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2102         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2103         result of INLINE_SYSCALL directly, not via int variable.
2104         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2105         <kernel-features.h>.
2106         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2107         (renameat) [__NR_renameat]: Make code unconditional.
2108         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2109         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2110         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2111         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2112         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2113         (__ASSUME_ATFCTS): Do not undefine and redefine.
2114         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2115         <kernel-features.h>.
2116         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2117         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2118         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2119         <kernel-features.h>.
2120         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2121         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2122         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2123         (__ASSUME_ATFCTS): Do not undefine and redefine.
2124         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2125         <kernel-features.h>.
2126         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2127         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2128         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2129         <kernel-features.h>.
2130         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2131         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2133 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2135         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2137 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2139         [BZ #17069]
2140         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2141         constructed tree before returning error.
2142         * posix/bug-regexp36.c: Expand test case.
2144 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2146         [BZ #6803]
2147         * math/libm-test.inc (scalbln_test_date):
2148         Add errno expectations.
2149         * math/w_scalblnf.c: New File.
2150         Add wrapper which checks for setting errno to ERANGE.
2151         Add weak_alias for corresponding scalbln function.
2152         * math/w_scalbln.c: Likewise.
2153         * math/w_scalblnl.c: Likewise.
2154         * math/Makefile (libm-calls): Add w_scalbln.
2155         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2156         Remove weak_alias for corresponding scalbln function.
2157         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2158         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2159         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2161         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2162         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2163         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2164         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2165         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2166         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2167         Remove long_double_symbol for scalblnl function in libm, libc.
2168         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2169         Add wrapper which checks for setting errno to ERANGE.
2170         Add long_double_symbol for scalblnl function in libm, libc.
2171         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2172         Remove long_double_symbol for scalblnl in libm.
2173         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2174         Add wrapper which checks for setting errno to ERANGE.
2175         Add long_double_symbol for scalblnl function in libm.
2176         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2177         Do not use wrapper because of own implementation.
2179 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2181         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2182         3 bytes for __pad1 for x32.
2183         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2185 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2186             H.J. Lu  <hongjiu.lu@intel.com>
2188         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2189         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2190         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2191         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2192         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2194 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2196         [BZ #17069]
2197         * posix/regcomp.c (parse_expression): Deallocate partially
2198         constructed tree before returning error.
2199         * posix/Makefile.c (tests): Add bug-regex36.
2200         (generated): Add bug-regex36.mtrace.
2201         (tests-special): Add $(objpfx)bug-regex36-mem.out
2202         (bug-regex36-ENV): New variable.
2203         ($(objpfx)bug-regex36-mem.out): New rule.
2204         * posix/bug-regex36.c: New file.
2206 2014-06-19  Will Newton  <will.newton@linaro.org>
2208         * malloc/malloc.c (systrim): If extra is zero then return
2209         early.
2211 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2213         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2215 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2217         * sysdeps/aarch64/strchr.S: New file.
2219 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2221         [BZ #17022]
2222         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2223         from arguments -2 or below.
2224         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2225         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2227 2014-06-18  Andreas Schwab  <schwab@suse.de>
2229         [BZ #17062]
2230         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2231         of a bracket expr not to run off the end of the string.
2232         * posix/Makefile (tests): Add tst-fnmatch3.
2233         * posix/tst-fnmatch3.c: New file.
2235 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2237         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2238         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2239         [$(cross-compiling) = no]: Likewise.
2240         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2241         [$(cross-compiling) = no]: Likewise.
2243 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2245         [BZ #17031]
2246         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2247         double, adjusted for any remainder from the high double.
2248         * math/libm-test.inc (nearbyint): Add tests.
2249         (rint): Likewise.
2251 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2253         * nptl/sysdeps/powerpc/Makefile: Moved ...
2254         * sysdeps/powerpc/nptl/Makefile: ... here.
2255         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2256         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2257         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2258         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2259         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2260         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2261         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2262         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2263         * nptl/sysdeps/powerpc/tls.h: Moved ...
2264         * sysdeps/powerpc/nptl/tls.h: ... here.
2266 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2268         [BZ #16681]
2269         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2270         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2271         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2272         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2273         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2274         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2275         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2276         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2277         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2279 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2281         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2283 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2285         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2286         defined operator.
2288         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2289         $TIMEOUTFACTOR.
2291 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2293         [BZ #17058]
2294         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2295         non-executed part of the test.
2297 2014-06-16  Andreas Schwab  <schwab@suse.de>
2299         * string/bits/string2.h (strdup, strndup): Update feature guard.
2301 2014-06-14  David S. Miller  <davem@davemloft.net>
2303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2305 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2307         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2308         that was previously under [RESET_PID].
2309         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2311         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2312         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2313         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2314         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2315         (__libc_vfork): New strong alias.
2316         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2318 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2320         * sysdeps/generic/elide.h: New file.
2322 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2324         * Makefile (installed-headers): Adjust path of pthread.h header.
2326 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2328         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2329         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2330         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2331         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2333         * nptl/sysdeps/s390/Makefile: Moved ...
2334         * sysdeps/s390/nptl/Makefile: ... here.
2335         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2336         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2337         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2338         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2339         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2340         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2341         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2342         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2343         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2344         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2345         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2346         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2347         * nptl/sysdeps/s390/tls.h: Moved ...
2348         * sysdeps/s390/nptl/tls.h: ... here.
2350         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2351         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2353 2014-06-13  David S. Miller  <davem@davemloft.net>
2355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2358         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2362         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2363         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2364         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2365         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2366         Remove RESET_PID cpp guards.
2367         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2368         Remove RESET_PID cpp guards.
2369         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2371 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2373         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2374         __sp to uintptr_t.
2376 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2378         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2379         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2380         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2381         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2382         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2383         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2384         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2385         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2386         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2387         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2388         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2389         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2390         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2391         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2392         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2394         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2396         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2399         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2400         (pthread_rwlock_rdlock): Add elision.
2401         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2402         (pthread_rwlock_wrlock): Add elision.
2403         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2404         (pthread_rwlock_trywrlock): Add elision.
2405         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2406         (pthread_rwlock_tryrdlock): Add elision.
2407         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2408         (pthread_rwlock_tryrdlock): Add elision unlock.
2409         * nptl/sysdeps/pthread/pthread.h:
2410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2411         (PTHREAD_RWLOCK_INITIALIZER,
2412         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2413         Handle new elision field.
2414         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2415         * sysdeps/arm/nptl/bits/pthreadtypes.h
2416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2417         * sysdeps/sh/nptl/bits/pthreadtypes.h
2418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2419         * sysdeps/tile/nptl/bits/pthreadtypes.h
2420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2421         * sysdeps/a/nptl/bits/pthreadtypes.h
2422         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2423         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2425         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2427         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2429         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2431         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2432         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2433         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2434         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2435         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2436         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2437         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2439         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2440         (elision_init): Set try_xbegin to zero when no RTM.
2441         * sysdeps/x86/nptl/bits/pthreadtypes.h
2442         (pthread_rwlock_t): Change __pad1 to __rwelision.
2443         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2445 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2447         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2448         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2449         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2450         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2452 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2454         [BZ #16996]
2455         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2456         that the cached result has been set before returning it.
2458 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2460         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2461         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2462         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2463         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2464         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2465         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2467         * nptl/sysdeps/sparc/Makefile: Moved ...
2468         * sysdeps/sparc/nptl/Makefile: ... here.
2469         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2470         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2471         * nptl/sysdeps/sparc/tls.h: Moved ...
2472         * sysdeps/sparc/nptl/tls.h: ... here.
2473         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2474         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2475         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2476         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2477         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2478         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2479         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2480         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2481         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2482         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2483         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2484         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2485         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2486         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2487         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2488         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2489         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2490         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2491         Update #include.
2492         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2493         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2494         Update #include.
2495         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2497         Update #include.
2498         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2500         Update #include.
2502         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2504         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2505         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2507         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2508         (struct list_links): Type removed.
2509         (struct thread_node, struct timer_node): Replace struct list_links
2510         with struct list_head.
2511         (list_unlink_ip): Likewise.
2512         * sysdeps/pthread/timer_routines.c
2513         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2514         (list_append, list_insbefore): Likewise.
2515         (list_init): Function removed.
2516         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2517         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2518         * sysdeps/pthread/Makefile: ... here, new file.
2520         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2521         * sysdeps/nptl/Implies: ... here.
2522         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2523         * nptl/sysdeps/pthread/list.h: Moved ...
2524         * include/list.h: ... here.
2525         * nptl/sysdeps/pthread/createthread.c: Moved ...
2526         * nptl/createthread.c: ... here.
2527         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2528         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2529         * nptl/pt-longjmp.c: ... here.
2530         * nptl/sysdeps/pthread/Makefile: Moved ...
2531         * sysdeps/nptl/Makefile: ... here.
2532         * nptl/sysdeps/pthread/Subdirs: Moved ...
2533         * sysdeps/nptl/Subdirs: ... here.
2534         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2535         * sysdeps/nptl/aio_misc.h: ... here.
2536         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2537         * sysdeps/nptl/bits/libc-lock.h: ... here.
2538         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2539         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2540         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2541         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2542         * nptl/sysdeps/pthread/configure: Moved ...
2543         * sysdeps/nptl/configure: ... here.
2544         * nptl/sysdeps/pthread/configure.ac: Moved ...
2545         * sysdeps/nptl/configure.ac: ... here.
2546         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2547         * sysdeps/nptl/gai_misc.h: ... here.
2548         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2549         * sysdeps/nptl/librt-cancellation.c: ... here.
2550         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2551         * sysdeps/nptl/malloc-machine.h: ... here.
2552         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2553         * sysdeps/nptl/pthread-functions.h: ... here.
2554         * nptl/sysdeps/pthread/pthread.h: Moved ...
2555         * sysdeps/nptl/pthread.h: ... here.
2556         * nptl/sysdeps/pthread/setxid.h: Moved ...
2557         * sysdeps/nptl/setxid.h: ... here.
2558         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2559         * sysdeps/nptl/sigfillset.c: ... here.
2560         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2561         * sysdeps/nptl/tcb-offsets.h: ... here.
2562         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2563         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2564         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2565         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2566         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2567         * sysdeps/pthread/allocalim.h: ... here.
2568         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2569         * sysdeps/pthread/bits/sigthread.h: ... here.
2570         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2571         * sysdeps/pthread/flockfile.c: ... here.
2572         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2573         * sysdeps/pthread/ftrylockfile.c: ... here.
2574         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2575         * sysdeps/pthread/funlockfile.c: ... here.
2576         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2577         * sysdeps/pthread/posix-timer.h: ... here.
2578         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2579         * sysdeps/pthread/timer_create.c: ... here.
2580         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2581         * sysdeps/pthread/timer_delete.c: ... here.
2582         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2583         * sysdeps/pthread/timer_getoverr.c: ... here.
2584         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2585         * sysdeps/pthread/timer_gettime.c: ... here.
2586         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2587         * sysdeps/pthread/timer_routines.c: ... here.
2588         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2589         * sysdeps/pthread/timer_settime.c: ... here.
2590         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2591         * sysdeps/pthread/tst-timer.c: ... here.
2592         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2593         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2595         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2596         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2598         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2599         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2600         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2601         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2602         Update #include target.
2603         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2604         * sysdeps/i386/i686/nptl/Makefile: ... here.
2605         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2606         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2607         Update #include target.
2608         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2609         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2610         * nptl/sysdeps/i386/Makefile: Moved ...
2611         * sysdeps/i386/nptl/Makefile: ... here.
2612         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2613         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2614         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2615         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2616         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2617         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2618         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2619         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2620         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2621         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2622         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2623         * nptl/sysdeps/i386/tls.h: Moved ...
2624         * sysdeps/i386/nptl/tls.h: ... here.
2626         * sysdeps/sh/Makefile [$(subdir) = csu]
2627         (gen-as-const-headers): Add tcb-offsets.sym.
2628         * nptl/sysdeps/sh/Makefile: File removed.
2629         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2630         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2631         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2632         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2633         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2634         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2635         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2636         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2637         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2638         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2639         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2640         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2641         * nptl/sysdeps/sh/tls.h: Moved ...
2642         * sysdeps/sh/nptl/tls.h: ... here.
2643         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2644         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2645         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2646         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2647         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2648         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2649         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2650         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2651         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2652         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2653         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2654         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2655         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2656         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2658         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2659         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2660         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2661         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2662         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2663         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2664         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2665         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2666         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2667         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2668         Moved ...
2669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2671         Moved ...
2672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2673         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2675         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2676         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2677         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2678         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2679         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2680         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2681         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2682         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2683         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2684         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2685         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2686         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2687         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2688         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2689         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2690         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2692 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2694         * posix/spawn_faction_addopen.c: Include string.h.
2696 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2698         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2699         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2700         * nptl/sysdeps/x86_64/Makefile: Moved ...
2701         * sysdeps/x86_64/nptl/Makefile: ... here.
2702         * nptl/sysdeps/x86_64/configure: Moved ...
2703         * sysdeps/x86_64/nptl/configure: ... here.
2704         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2705         * sysdeps/x86_64/nptl/configure.ac: ... here.
2706         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2707         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2708         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2709         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2710         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2711         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2712         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2713         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2714         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2715         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2716         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2717         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2718         * nptl/sysdeps/x86_64/tls.h: Moved ...
2719         * sysdeps/x86_64/nptl/tls.h: ... here.
2720         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2721         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2722         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2723         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2725         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2727 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2731 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2733         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2734         type.
2735         [POSIX] (off_t): Likewise.
2736         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2737         [POSIX] (S_ISBLK): Require macro.
2738         [POSIX] (S_ISCHR): Likewise.
2739         [POSIX] (S_ISDIR): Likewise.
2740         [POSIX] (S_ISFIFO): Likewise.
2741         [POSIX] (S_ISREG): Likewise.
2742         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2743         optional-macro.
2744         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2745         type.
2746         [POSIX] (time_t): Likewise.
2747         [POSIX] (timer_t): Likewise.
2749 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2751         [BZ #17048]
2752         * posix/spawn_int.h (struct __spawn_action): Make the path string
2753         non-const to support deallocation.
2754         * posix/spawn_faction_addopen.c
2755         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2756         * posix/spawn_faction_destroy.c
2757         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2758         path in all spawn_do_open actions.
2759         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2760         posix_spawn_file_actions_addopen.
2762 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2764         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2765         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2766         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2767         conditional code always true.
2768         (__libc_vfork): New alias.
2770 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2772         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2773         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2775         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2777         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2778         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2780         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2781         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2783         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2784         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2786 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2788         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2789         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2790         multiarch strcmp for PPC64.
2791         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2792         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2794         multiarch optimizations.
2795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2796         (__libc_ifunc_impl_list): Likewise.
2798 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2800         * benchtests/scripts/validate_benchout.py: New script.
2801         * benchtests/Makefile (bench-func): Call it.
2802         * benchtests/scripts/benchout.schema.json: New file.
2804 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2806         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2807         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2808         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2809         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2810         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2811         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2812         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2813         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2814         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2815         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2816         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2817         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2818         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2819         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2820         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2821         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2823         Moved ...
2824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2825         ... here.
2826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2827         Moved ...
2828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2830         Moved ...
2831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2832         ... here.
2833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2834         Moved ...
2835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2836         ... here.
2837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2838         Moved ...
2839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2841         Moved ...
2842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2843         ... here.
2844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2845         Moved ...
2846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2847         ... here.
2848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2849         Moved ...
2850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2852         Moved ...
2853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2854         ... here.
2855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2856         Moved ...
2857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2858         ... here.
2859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2860         Moved ...
2861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2862         ... here.
2863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2864         Moved ...
2865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2867         Moved ...
2868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2869         ... here.
2870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2871         Moved ...
2872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2873         ... here.
2874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2875         Moved ...
2876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2877         ... here.
2878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2879         Moved ...
2880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2882         Moved ...
2883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2884         ... here.
2885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2886         Moved ...
2887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2888         ... here.
2889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2890         Moved ...
2891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2893         Moved ...
2894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2895         ... here.
2896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2897         Moved ...
2898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2900         Moved ...
2901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2903         Moved ...
2904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2905         ... here.
2906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2907         Moved ...
2908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2909         ... here.
2910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2911         Moved ...
2912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2913         ... here.
2914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2915         Moved ...
2916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2918         Moved ...
2919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2920         ... here.
2921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2922         Moved ...
2923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2924         ... here.
2925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2926         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2928         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2929         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2930         Moved ...
2931         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2932         ... here.
2933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2934         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2936         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2937         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2938         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2940         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2941         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2942         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2944         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2945         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2946         Moved ...
2947         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2949         Moved ...
2950         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2952         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2953         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2954         Moved ...
2955         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2956         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2957         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2958         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2959         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2960         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2961         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2963 2014-06-10  Wilco  <wdijkstr@arm.com>
2965         * math/test-fenv-return.c: New file.
2966         * math/Makefile: Add new test test-fenv-return.
2968 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2970         [BZ #17042]
2971         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2972         when x - 1 is zero.
2973         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2974         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2975         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2976         0.0L for an argument of 1.0L.
2977         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2978         Likewise.
2979         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2980         value when x - 1 is zero.
2981         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2982         * sysdeps/i386/fpu/libm-test-ulps: Update.
2983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2985 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2987         [BZ #15119]
2988         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2990 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2992         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2993         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2995 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2997         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2998         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3000         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3001         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3003         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3004         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3006         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3007         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3009         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3010         if not already defined.
3011         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3012         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3013         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3014         (TLS_INIT_TP): Use it.
3015         (TLS_DEFINE_INIT_TP): New macro.
3016         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3018 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3020         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3021         constant.
3022         [POSIX] (IXANY): Likewise.
3023         [POSIX] (OLCUC): Likewise.
3024         [POSIX || POSIX2008] (CBAUD): Do not allow.
3025         [POSIX || POSIX2008] (DEFECHO): Likewise.
3026         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3027         [POSIX || POSIX2008] (ECHOKE): Likewise.
3028         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3029         [POSIX || POSIX2008] (EXTA): Likewise.
3030         [POSIX || POSIX2008] (EXTB): Likewise.
3031         [POSIX || POSIX2008] (FLUSHO): Likewise.
3032         [POSIX || POSIX2008] (LOBLK): Likewise.
3033         [POSIX || POSIX2008] (PENDIN): Likewise.
3034         [POSIX || POSIX2008] (SWTCH): Likewise.
3035         [POSIX || POSIX2008] (VDISCARD): Likewise.
3036         [POSIX || POSIX2008] (VDSUSP): Likewise.
3037         [POSIX || POSIX2008] (VLNEXT): Likewise.
3038         [POSIX || POSIX2008] (VREPRINT): Likewise.
3039         [POSIX || POSIX2008] (VSTATUS): Likewise.
3040         [POSIX || POSIX2008] (VWERASE): Likewise.
3041         (B*): Change to B[0123456789]*.
3042         * conform/data/time.h-data [POSIX || UNIX98]
3043         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3044         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3045         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3046         [POSIX] (tm_*): Do not allow.
3048 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3050         * Makefile (install): Don't set LANGUAGE.
3051         * Makefile.in (install): Likewise.
3052         * assert/Makefile (test-assert-ENV): Remove variable.
3053         (test-assert-perr-ENV): Likewise.
3054         * elf/Makefile (neededtest4-ENV): Likewise.
3055         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3056         [$(cross-compiling) = no]: Don't set LANGUAGE.
3057         * io/ftwtest-sh (LANG): Remove variable.
3058         * libio/Makefile (tst-widetext-ENV): Likewise.
3059         * manual/install.texi (Running make install): Don't refer to
3060         environment settings for make install.
3061         * INSTALL: Regenerated.
3062         * nptl/tst-tls6.sh: Don't set LANG.
3063         * posix/globtest.sh (LANG): Remove variable.
3064         * string/Makefile (tester-ENV): Likewise.
3065         (inl-tester-ENV): Likewise.
3066         (noinl-tester-ENV): Likewise.
3067         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3068         [$(cross-compiling) = no]: Don't set LANGUAGE.
3069         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3070         without explicit environment settings.
3072 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3074         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3075         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3076         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3077         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3079 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3081         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3082         other files in the crypt directory.
3083         * crypt/crypt.c: Remove duplicate includes.
3084         * crypt/crypt-entry.c: Likewise.
3085         * crypt/crypt_util.c: Likewise.
3087 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3089         * Makeconfig (run-program-env): New variable.
3090         (run-program-prefix-before-env): Likewise.
3091         (run-program-prefix-after-env): Likewise.
3092         (run-program-prefix): Define in terms of new variables.
3093         (built-program-cmd-before-env): New variable.
3094         (built-program-cmd-after-env): Likewise.
3095         (built-program-cmd): Define in terms of new variables.
3096         (test-program-prefix-before-env): New variable.
3097         (test-program-prefix-after-env): Likewise.
3098         (test-program-prefix): Define in terms of new variables.
3099         (test-program-cmd-before-env): New variable.
3100         (test-program-cmd-after-env): Likewise.
3101         (test-program-cmd): Define in terms of new variables.
3102         * Rules (make-test-out): Use $(run-program-env).
3103         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3104         (help): Do not mention environment variables.  Mention
3105         --timeoutfactor option.
3106         (timeoutfactor): New variable.
3107         (blacklist_exports): Remove function.
3108         (exports): Remove variable.
3109         (command): Do not include ${exports}.
3110         * manual/install.texi (Configuring and compiling): Do not mention
3111         test wrappers preserving environment variables.  Mention that last
3112         assignment to a variable must take precedence.
3113         * INSTALL: Regenerated.
3114         * benchtests/Makefile (run-bench): Use $(run-program-env).
3115         * catgets/Makefile ($(objpfx)test1.cat): Use
3116         $(built-program-cmd-before-env), $(run-program-env) and
3117         $(built-program-cmd-after-env).
3118         ($(objpfx)test2.cat): Do not specify environment variables
3119         explicitly.
3120         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3121         $(run-program-env) and $(built-program-cmd-after-env).
3122         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3123         $(run-program-env) and $(test-program-cmd-after-env).
3124         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3125         explicitly.
3126         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3127         run_program_env and test_program_cmd_after_env arguments.
3128         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3129         * elf/tst-pathopt.sh: Use run_program_env argument.
3130         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3131         $(test-wrapper-env) and $(run-program-env).
3132         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3133         run_program_env arguments.
3134         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3135         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3136         $(test-program-prefix-before-env), $(run-program-env) and
3137         $(test-program-prefix-after-env).
3138         ($(objpfx)tst-gettext2.out): Likewise.
3139         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3140         run_program_env and test_program_prefix_after_env arguments.
3141         * intl/tst-gettext2.sh: Likewise.
3142         * intl/tst-gettext4.sh: Do not set environment variables
3143         explicitly.
3144         * intl/tst-gettext6.sh: Likewise.
3145         * intl/tst-translit.sh: Likewise.
3146         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3147         $(test-program-prefix-before-env), $(run-program-env) and
3148         $(test-program-prefix-after-env).
3149         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3150         run_program_env and test_program_prefix_after_env arguments.
3151         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3152         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3153         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3154         explicitly with each use of ${test_wrapper_env}.
3155         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3156         $(test-program-prefix-before-env), $(run-program-env) and
3157         $(test-program-prefix-after-env).
3158         * posix/tst-getconf.sh: Do not set environment variables
3159         explicitly.
3160         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3161         run_program_env and test_program_prefix_after_env arguments.
3162         * stdio-common/tst-printf.sh: Do not set environment variables
3163         explicitly.
3164         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3165         $(test-program-prefix-before-env), $(run-program-env) and
3166         $(test-program-prefix-after-env).
3167         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3168         run_program_env and test_program_prefix_after_env arguments.
3169         Split $test calls into $test_pre and $test.
3170         * timezone/Makefile (build-testdata): Use
3171         $(built-program-cmd-before-env), $(run-program-env) and
3172         $(built-program-cmd-after-env).
3174 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3176         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3177         strlen for non SHARED builds.
3179 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3181         * nptl/allocatestack.c (check_list): Inlined function...
3182         (__reclaim_stacks): ... here.
3184 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3186         [BZ #15698]
3187         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3188         memory overrun.
3190 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3192         * Rules (make-test-out): Include
3193         LOCPATH=$(common-objpfx)localedata in default environment.
3194         * debug/Makefile (tst-chk1-ENV): Remove variable.
3195         (tst-chk2-ENV): Likewise.
3196         (tst-chk3-ENV): Likewise.
3197         (tst-chk4-ENV): Likewise.
3198         (tst-chk5-ENV): Likewise.
3199         (tst-chk6-ENV): Likewise.
3200         (tst-lfschk1-ENV): Likewise.
3201         (tst-lfschk2-ENV): Likewise.
3202         (tst-lfschk3-ENV): Likewise.
3203         (tst-lfschk4-ENV): Likewise.
3204         (tst-lfschk5-ENV): Likewise.
3205         (tst-lfschk6-ENV): Likewise.
3206         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3207         (tst-iconv7-ENV): Likewise.
3208         * intl/Makefile (LOCPATH-ENV): Likewise.
3209         (tst-codeset-ENV): Likewise.
3210         (tst-gettext3-ENV): Likewise.
3211         (tst-gettext5-ENV): Likewise.
3212         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3213         (tst-fopenloc-ENV): Likewise.
3214         (tst-fgetws-ENV): Remove variable.
3215         (tst-ungetwc1-ENV): Likewise.
3216         (tst-ungetwc2-ENV): Likewise.
3217         (bug-ungetwc2-ENV): Likewise.
3218         (tst-swscanf-ENV): Likewise.
3219         (bug-ftell-ENV): Likewise.
3220         (tst-fgetwc-ENV): Likewise.
3221         (tst-fseek-ENV): Likewise.
3222         (tst-ftell-partial-wide-ENV): Likewise.
3223         (tst-ftell-active-handler-ENV): Likewise.
3224         (tst-ftell-append-ENV): Likewise.
3225         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3226         (tst-regexloc-ENV): Likewise.
3227         (bug-regex1-ENV): Likewise.
3228         (tst-regex-ENV): Likewise.
3229         (tst-regex2-ENV): Likewise.
3230         (bug-regex5-ENV): Likewise.
3231         (bug-regex6-ENV): Likewise.
3232         (bug-regex17-ENV): Likewise.
3233         (bug-regex18-ENV): Likewise.
3234         (bug-regex19-ENV): Likewise.
3235         (bug-regex20-ENV): Likewise.
3236         (bug-regex22-ENV): Likewise.
3237         (bug-regex23-ENV): Likewise.
3238         (bug-regex25-ENV): Likewise.
3239         (bug-regex26-ENV): Likewise.
3240         (bug-regex30-ENV): Likewise.
3241         (bug-regex32-ENV): Likewise.
3242         (bug-regex33-ENV): Likewise.
3243         (bug-regex34-ENV): Likewise.
3244         (bug-regex35-ENV): Likewise.
3245         (tst-rxspencer-ENV): Likewise.
3246         (tst-rxspencer-no-utf8-ENV): Likewise.
3247         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3248         (tst-sscanf-ENV): Likewise.
3249         (tst-swprintf-ENV): Likewise.
3250         (tst-swscanf-ENV): Likewise.
3251         (test-vfprintf-ENV): Likewise.
3252         (scanf13-ENV): Likewise.
3253         (bug14-ENV): Likewise.
3254         (tst-grouping-ENV): Likewise.
3255         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3256         (tst-strtod3-ENV): Likewise.
3257         (tst-strtod4-ENV): Likewise.
3258         (tst-strtod5-ENV): Likewise.
3259         (testmb2-ENV): Likewise./
3260         * string/Makefile (tst-strxfrm-ENV): Likewise.
3261         (tst-strxfrm2-ENV): Likewise.
3262         (bug-strcoll1-ENV): Likewise.
3263         (test-strcasecmp-ENV): Likewise.
3264         (test-strncasecmp-ENV): Likewise.
3265         * time/Makefile (tst-strptime-ENV): Likewise.
3266         (tst-ftime_l-ENV): Likewise.
3267         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3268         (tst-mbrtowc-ENV): Likewise.
3269         (tst-wcrtomb-ENV): Likewise.
3270         (tst-mbrtowc2-ENV): Likewise.
3271         (tst-c16c32-1-ENV): Likewise.
3272         (tst-mbsnrtowcs-ENV): Likewise.
3274 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3276         * manual/resource.texi (How to get information about the memory
3277         subsystem?): Fix typo.
3278         Reported by Peon de la Parra Ivan <peon@keba.com>
3280 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3282         [BZ #16882]
3283         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3284         (pthread_spin_lock): Branch out of spin loop to proper location.
3285         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3286         (pthread_spin_lock): Likewise.
3288         * nptl/tst-spin4.c: New test.
3289         * nptl/Makefile (tests): Add tst-spin4.
3291 2014-06-03  Andreas Schwab  <schwab@suse.de>
3293         [BZ #15946]
3294         * resolv/res_send.c (send_dg): Reload file descriptor after
3295         calling reopen.
3297 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3299         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3301 2014-06-03  Richard Henderson  <rth@redhat.com>
3303         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3304         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3305         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3306         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3307         in the SAVE_PID block.
3308         (__libc_vfork): New alias.
3309         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3311         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3312         child in registers, not on the stack.  Remove RESET_PID conditionals.
3313         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3315 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3317         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3319 2014-06-03  Wilco  <wdijkstr@arm.com>
3321         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3322         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3323         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3324         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3325         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3326         Likewise.
3328 2014-06-03  Wilco  <wdijkstr@arm.com>
3330         * sysdeps/aarch64/fpu/math_private.h
3331         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3332         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3333         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3334         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3335         Fix declarations.
3337 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3339         * crypt/crypt-private.h: Include ufc-crypt.h.
3340         (__b64_from_24bit): Declare extern.
3341         * crypt/crypt_util.c(__b64_from_24bit): New function.
3342         (b64t): New static const variable.
3343         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3344         (b64t): Remove variable.
3345         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3346         * crypt/sha256-crypt.c: Include crypt-private.h.
3347         (b64t): Remove variable.
3348         (__sha256_crypt_r): Remove b64_from_24bit and replace
3349         with __b64_from_24bit.
3350         * crypt/sha512-crypt.c: Likewise.
3352 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3354         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3355         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3356         Label the code __libc_vfork rather than __vfork.
3357         [!NOT_IN_libc] (vfork): Define as weak alias.
3358         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3359         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3360         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3362 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3364         * malloc/malloc.c (malloc_info): Fix format specifier for
3365         n_mmaps.
3367 2014-06-02  Wilco  <wdijkstr@arm.com>
3369         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3370         FPCR write.
3372 2014-06-02  Wilco  <wdijkstr@arm.com>
3374         [BZ #17009]
3375         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3376         Rewrite to reduce FPCR/FPSR accesses.
3378 2014-06-01  David S. Miller  <davem@davemloft.net>
3380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3382 2014-05-31  David S. Miller  <davem@davemloft.net>
3384         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3385         to occur in round to nearest mode when |x| >= 2.0
3387 2014-05-30  Richard Henderson  <rth@twiddle.net>
3389         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3390         (PSEUDO_RET_NOERRNO): Remove.
3391         (ret): Don't redefine.
3392         (ret_NOERRNO): Define in terms of ret.
3393         (ret_ERRVAL): Likewise.
3395         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3396         use of PSEUDO_RET; perform the error check directly.
3398 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3400         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3401         with __int128_t.
3403 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3405         * malloc/malloc (malloc_info): Fix formatting.
3407 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3408             Roland McGrath  <roland@hack.frob.com>
3410         * malloc/malloc (malloc_info): Also print mmapped statistics.
3412 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3414         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3415         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3417 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3419         * malloc/malloc.c (malloc_info): Inline mi_arena.
3421 2014-05-29  Richard Henderson  <rth@twiddle.net>
3423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3424         Remove comma before expanding ASM_ARGS_##nr.
3425         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3426         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3427         of ASM_ARGS_##nr.
3428         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3429         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3430         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3431         (ASM_ARGS_1): Add leading comma.
3433         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3434         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3435         to __errno_location.
3436         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3437         Remove the expected plt for __errno_location.
3439         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3440         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3441         call to __read_tp.
3443         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3444         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3445         it and break it down.
3446         (DOCARGS_0, DOCARGS_1): Do nothing.
3447         (DOCARGS_2): Update to store into the new stack frame.
3448         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3449         (UNDOCARGS_1): Update to restore from the new stack frame.
3450         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3451         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3453         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3454         (SINGLE_THREAD_P): New parameter for result regno.
3455         (PSEUDO): Update to match; use cbz instead of beq.
3457         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3458         Use ENTRY to define the _nocancel entry point.  Share the syscall
3459         and syscall error check paths with the cancel path.
3460         (PSEUDO_END): New.
3462         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3463         whitespace; tabs before and after asm mnemonics.
3465 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3467         [BZ #15132]
3468         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3469         Call fstat64 or stat64 internally, depending on arguments passed.
3470         Replace stat buffer argument with file descriptor argument.
3471         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3472         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3473         Pass fd to __internal_statvfs instead of calling fstat64.
3474         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3475         Pass fd to __internal_statvfs64 instead of calling fstat64.
3476         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3477         Pass -1 to __internal_statvfs instead of calling stat64.
3478         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3479         Pass -1 to __internal_statvfs64 instead of calling stat64.
3481 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3483         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3484         that was previously under [RESET_PID].
3485         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3487         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3488         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3490 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3492         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3494         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3495         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3497 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3499         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3501 2014-05-27  Andreas Schwab  <schwab@suse.de>
3503         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3504         TLS_INIT_TP macro.
3505         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3506         * elf/rtld.c (init_tls, dl_main): Likewise.
3507         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3508         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3509         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3510         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3511         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3512         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3513         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3514         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3515         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3516         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3517         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3518         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3519         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3520         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3521         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3522         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3523         * sysdeps/generic/tls.h: Update description.
3525 2014-05-27  Will Newton  <will.newton@linaro.org>
3527         [BZ #16990]
3528         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3529         and restore r2 rather than just restoring.
3531 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3533         [BZ #16724]
3534         * libio/tst-ftell-append.c: New test case.
3535         * libio/Makefile (tests): Add test case.
3536         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3537         append mode.
3538         * libio/wfileops.c (do_ftell_wide): Likewise.
3540 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3544         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3545         ...
3546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3548         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3549         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3550         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3551         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3552         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3553         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3554         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3555         Moved ...
3556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3558         Moved ...
3559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3560         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3561         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3562         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3563         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3564         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3565         ...
3566         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3567         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3568         Moved ...
3569         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3570         here.
3571         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3572         ...
3573         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3574         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3575         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3577         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3578         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3579         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3580         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3583         merge into ...
3584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3586         ...
3587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3589         ...
3590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3592         Moved ...
3593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3594         here.
3595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3596         Moved ...
3597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3599         Moved ...
3600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3603         conditional [RESET_PID].
3604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3606         removed.
3607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3608         removed.
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3611         <tcb-offsets.h>.
3612         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3613         (__libc_vfork): New strong alias.
3614         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3615         removed.
3616         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3617         Removed.
3619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3620         <tcb-offsets.h>.
3621         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3622         (__libc_vfork): New strong alias.
3623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3624         removed.
3625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3626         removed.
3628 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3630         * malloc/malloc.c (mi_arena): New function.
3631         (malloc_info): Remove nested function mi_arena. Call non-nosted
3632         function mi_arena.
3634 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3636         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3637         by insrwi.
3638         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3639         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3640         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3641         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3642         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3643         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3644         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3646 2014-05-26  Andreas Schwab  <schwab@suse.de>
3648         [BZ #16984]
3649         * locale/programs/repertoire.c (repertoire_read): Add slash
3650         between I18NPATH element and file name.
3651         * locale/programs/locfile.c (locfile_read): Likewise.
3653 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3655         * nptl/pthread_mutexattr_settype.c
3656         (__pthread_mutexattr_settype):
3657         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3659 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3661         * nptl/tst-mutex5 (do_test):
3662         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3664 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3666         * benchtests/README: Document 'init' directive.
3667         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3668         BENCH_INIT.
3669         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3670         (parse_file): Recognize 'init' directive.
3672 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3674         [BZ #16796]
3675         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3676         alignment of struct pthread.
3678 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3680         [BZ #16878]
3681         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3682         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3683         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3684         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3686 2014-05-25  Richard Henderson  <rth@twiddle.net>
3688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3689         (SINGLE_THREAD_P_PIC): Remove.
3690         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3691         (SINGLE_THREAD_P_PIC): Remove.
3693         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3694         branch to syscall error ...
3695         (PSEUDO): ... here.
3696         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3697         from __local_syscall_error to .Lsyscall_error.
3698         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3699         (SYSCALL_ERROR): Update label name.
3701         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3702         Do not use DOARGS/UNDOARGS.
3703         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3704         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3705         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3706         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3707         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3710         block comment.
3712         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3713         define if !NOT_IN_libc.
3714         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3715         define with non-default symbol versions.
3717 2014-05-23  Richard Henderson  <rth@twiddle.net>
3719         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3720         (vfork, __vfork): Define via compat_symbol.
3722         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3723         [!HAVE_IFUNC] (vfork_compat): Remove.
3724         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3726 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3728         [BZ #16978]
3729         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3730         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3731         variable.
3733 2014-05-23  Richard Henderson  <rth@twiddle.net>
3735         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3736         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3737         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3738         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3740         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3741         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3742         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3743         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3744         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3745         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3746         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3747         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3748         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3749         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3750         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3751         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3752         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3753         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3754         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3755         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3756         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3757         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3758         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3759         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3761         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3762         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3763         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3764         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3765         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3766         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3767         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3768         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3769         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3770         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3771         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3772         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3773         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3774         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3775         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3776         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3777         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3778         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3779         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3780         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3781         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3782         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3783         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3784         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3785         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3787         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3788         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3789         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3790         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3791         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3792         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3793         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3794         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3795         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3797         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3798         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3799         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3800         before exiting on error.
3801         (__libc_vfork): New strong alias.
3802         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3803         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3805         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3806         that was previously under [RESET_PID].
3807         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3809         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3811 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3813         [BZ #16977]
3814         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3815         value when x - 1 is zero.
3816         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3817         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3818         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3819         0.0L for an argument of 1.0L.
3820         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3821         Likewise.
3822         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3823         value when x - 1 is zero.
3824         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3825         * sysdeps/i386/fpu/libm-test-ulps: Update.
3826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3828 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3830         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3831         alphasort and versionsort.
3833 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3835         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3836         macro.
3837         [copysignf]: Likewise.
3839 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3841         * crypt/md5-crypt.c: Fix formatting.
3843 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3845         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3846         (b64_from_24bit): New function.
3848 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3850         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3851         libc_hidden_builtin_def to ifunc.
3852         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3853         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3855 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3857         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3858         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3860 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3862         * nscd/Depend (linuxthreads): Remove.
3863         (nptl): Add.
3864         * resolv/Depend (linuxthreads): Remove.
3865         * rt/Depend (linuxthreads): Remove.
3867         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3868         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3869         $(common-objpfx)elf/.
3870         (link-libc-before-gnulib): Likewise.
3871         (elfobjdir): Remove variable.
3872         * Makefile (install): Use $(elf-objpfx) instead of
3873         $(common-objpfx)elf/.
3874         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3875         $(elfobjdir)/.
3876         (link-libc-deps): Likewise.
3877         ($(common-objpfx)libc.so): Likewise.
3878         ($(common-objpfx)linkobj/libc.so): Likewise.
3879         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3880         instead of $(common-objpfx)elf/.
3881         (symbolic-link-list): Likewise.
3882         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3883         [$(cross-compiling) = no]: Likewise.
3884         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3885         $(elfobjdir)/.
3886         (static-gnulib-arch): Likewise.
3887         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3888         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3889         $(common-objpfx)elf/.
3891 2014-05-21  Richard Henderson  <rth@redhat.com>
3893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3894         (SINGLE_THREAD_P): Use the correct width load.  Fold
3895         into the ldr offset.
3897         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3898         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3900 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3902         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3903         (libgcc_s_resume): Use __attribute_used__.
3904         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3905         Likewise.
3907 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3909         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3910         optimization when used with float constants.
3912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3914 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3916         [BZ #16915]
3917         * locale/nl_langinfo_l.c: Make direct reference to every
3918         _nl_current_CATEGORY symbol.
3919         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3920         (tests-static): Add tst-langinfo-static.
3921         (tests-special): Add tst-langinfo-static.out.
3922         ($(objpfx)tst-langinfo.out): Redirect output.
3923         ($(objpfx)tst-langinfo-static.out): New.
3924         * localedata/tst-langinfo.sh: Send output to stdout.
3925         * localedata/tst-langinfo-static.c: New file.
3927         [BZ #16965]
3928         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3929         when the shift amount is modulo the limb size.
3931 2014-05-20  Richard Henderson  <rth@redhat.com>
3933         [BZ #16967]
3934         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3935         Change type of sa_flags from unsigned int to int.
3937         [BZ #16966]
3938         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3940         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3942 2014-05-20  Will Newton  <will.newton@linaro.org>
3944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3945         Test the return value of the system call in the nocancel case.
3947 2014-05-20  Will Newton  <will.newton@linaro.org>
3948             Yvan Roux  <yvan.roux@linaro.org>
3950         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3951         #include of asm/ptrace.h.
3952         (PTRACE_GET_THREAD_AREA): Remove #undef.
3953         (PTRACE_GETHBPREGS): Likewise.
3954         (PTRACE_SETHBPREGS): Likewise.
3955         (struct user_regs_struct): New structure.
3956         (struct user_fpsimd_struct): New structure.
3957         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3958         #include of asm/ptrace.h and second #include of sys/user.h.
3959         (PTRACE_GET_THREAD_AREA): Remove #undef.
3960         (PTRACE_GETHBPREGS): Likewise.
3961         (PTRACE_SETHBPREGS): Likewise.
3962         (ELF_NGREG): Use new struct user_regs_struct.
3963         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3965 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3967         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3970 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3972         [BZ #16958]
3973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3974         membar to avoid block loads/stores to overlap previous stores.
3976 2014-05-17  Richard Henderson  <rth@redhat.com>
3978         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3979         Create the __##syscall_name##_nocancel entry point.
3980         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3981         Remove; let the sysdep-cancel.h code create it.
3983 2014-05-17  David S. Miller  <davem@davemloft.net>
3985         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3986         Protect with __USE_GNU.
3987         (TIOCSET_TEMPT): Likewise.
3988         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3989         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3990         these are already provided in bits/ioctl-types.h
3992 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3994         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3995         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3997         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3998         Use wait4 regardless of [__NR_waitpid].
4000 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4002         PR libgcc/60166
4003         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4004         (_FP_NANSIGN_Q): Set the quiet bit.
4006 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4008         * benchtests/Makefile
4009         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4010         not $(common-objpfx)math/libm.so.
4011         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4012         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4013         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4014         $(common-objpfx)dlfcn/libdl.so.
4015         ($(objpfx)tst-audit8): Depend on $(libm), not
4016         $(common-objpfx)math/libm.so.
4017         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4018         not $(common-objpfx)dlfcn/libdl.so.
4019         * math/Makefile
4020         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4021         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4022         [$(build-shared) = yes].
4023         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4024         $(common-objpfx)nptl/libpthread.so.
4025         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4026         $(common-objpfx)math/libm.so$(libm.so-version) or
4027         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4028         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4029         $(common-objpfx)dlfcn/libdl.so.
4030         * setjmp/Makefile (link-libm): Remove variable.
4031         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4032         * stdio-common/Makefile (link-libm): Remove variable.
4033         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4034         * stdlib/Makefile (link-libm): Remove variable.
4035         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4036         ($(objpfx)tst-strtod-round): Likewise.
4037         ($(objpfx)tst-tininess): Likewise.
4038         ($(objpfx)tst-strtod-underflow): Likewise.
4039         ($(objpfx)tst-strtod6): Likewise.
4040         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4041         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4042         $(common-objpfx)dlfcn/libdl.so.
4044 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4046         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4047         BSD terminal modes definitions.
4049 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4051         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4052         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4054         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4055         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4056         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4057         Don't do #include_next.
4058         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4059         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4060         Don't do #include_next.
4061         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4062         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4063         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4064         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4066 2014-05-16  Allan McRae  <allan@archlinux.org>
4068         * po/sv.po: Update Swedish translation from translation project.
4070         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4071         in sed expression.
4073 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4075         [BZ #16917]
4076         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4077         errno if the TIOCGPTN ioctl fails with an error different than
4078         EINVAL.
4079         * login/tst-ptsname.c: New file.
4080         * login/Makefile (tests): Add tst-ptsname.
4082         [BZ #16943]
4083         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4084         and prlimit64.
4086 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4088         [BZ #16849]
4089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4090         herrno to return EAI_AGAIN.
4092 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4094         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4095         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4096         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4097         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4098         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4099         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4100         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4101         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4102         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4103         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4104         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4105         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4106         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4107         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4108         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4109         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4110         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4111         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4112         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4113         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4114         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4115         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4116         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4117         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4118         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4119         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4120         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4121         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4122         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4123         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4125         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4127         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4129         Moved ...
4130         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4132         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4134         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4136         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4138         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4140         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4141         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4142         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4144         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4145         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4146         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4148         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4150         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4152         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4154         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4156         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4158         Moved ...
4159         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4161         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4163         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4165         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4167         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4169         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4171         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4173         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4175         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4177         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4179         Moved ...
4180         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4182         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4185         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4186         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4187         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4188         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4189         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4190         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4191         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4192         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4193         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4194         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4195         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4196         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4197         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4198         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4199         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4200         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4201         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4202         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4203         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4204         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4205         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4206         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4207         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4208         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4209         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4210         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4211         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4212         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4213         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4214         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4216         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4217         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4219         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4220         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4221         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4222         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4223         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4224         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4225         Moved ...
4226         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4228         Moved ...
4229         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4230         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4231         Moved ...
4232         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4234         Moved ...
4235         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4236         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4237         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4238         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4239         Moved ...
4240         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4241         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4242         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4243         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4244         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4245         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4246         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4247         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4248         Moved ...
4249         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4250         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4251         Moved ...
4252         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4253         ... here.
4254         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4255         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4256         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4257         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4258         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4259         Moved ...
4260         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4261         ... here.
4262         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4263         Moved ...
4264         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4265         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4266         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4267         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4268         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4269         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4270         Moved ...
4271         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4273         Moved ...
4274         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4275         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4276         Moved ...
4277         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4279         Moved ...
4280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4281         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4282         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4283         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4284         Moved ...
4285         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4286         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4287         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4288         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4289         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4290         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4291         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4292         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4293         Moved ...
4294         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4295         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4296         Moved ...
4297         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4298         ... here.
4299         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4300         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4301         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4302         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4303         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4304         Moved ...
4305         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4306         ... here.
4307         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4308         Moved ...
4309         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4310         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4311         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4312         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4313         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4314         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4315         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4316         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4317         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4318         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4319         Moved ...
4320         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4321         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4322         Moved ...
4323         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4325         Moved ...
4326         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4328         Moved ...
4329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4330         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4331         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4332         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4333         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4334         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4335         Moved ...
4336         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4337         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4338         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4339         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4340         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4341         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4342         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4343         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4344         Moved ...
4345         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4346         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4347         Moved ...
4348         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4349         ... here.
4350         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4351         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4352         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4353         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4354         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4355         Moved ...
4356         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4357         ... here.
4358         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4359         Moved ...
4360         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4361         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4362         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4363         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4364         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4365         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4366         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4367         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4368         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4369         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4370         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4372         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4373         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4375         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4376         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4378         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4379         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4380         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4381         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4382         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4383         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4384         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4385         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4386         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4387         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4388         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4389         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4390         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4391         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4392         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4394         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4396         Moved ...
4397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4399         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4401         Moved ...
4402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4404         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4405         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4406         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4408         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4410         Moved ...
4411         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4412         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4413         Moved ...
4414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4416         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4417         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4418         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4419         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4420         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4421         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4422         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4423         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4424         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4425         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4426         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4427         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4428         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4429         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4430         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4432         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4433         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4434         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4435         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4436         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4438         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4439         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4440         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4441         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4442         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4443         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4444         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4445         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4446         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4447         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4449         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4452         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4453         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4454         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4455         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4456         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4457         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4458         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4459         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4460         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4461         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4462         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4463         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4464         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4465         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4467         Update #include.
4468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4469         Likewise.
4470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4471         Likewise.
4472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4473         Likewise.
4474         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4475         Likewise.
4476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4477         Likewise.
4478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4479         Likewise.
4480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4481         Likewise.
4482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4483         Likewise.
4484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4485         Likewise.
4486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4487         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4488         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4489         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4490         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4491         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4492         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4493         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4494         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4496         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4497         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4498         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4499         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4500         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4502         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4503         that was previously under [RESET_PID].
4504         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4505         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4506         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4508         * sysdeps/i386/nptl/Implies: New file.
4509         * sysdeps/x86_64/nptl/Implies: New file.
4510         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4511         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4512         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4513         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4515         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4516         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4517         (__libc_vfork): New strong alias.
4518         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4519         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4521         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4522         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4523         (__libc_vfork): New strong alias.
4524         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4525         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4527         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4528         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4529         (__libc_vfork): New strong alias.
4530         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4531         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4532         * nptl/pt-vfork.c: New file.
4533         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4534         (libpthread: GLIBC_2.20): New version set (empty).
4536 2014-05-14  Will Newton  <will.newton@linaro.org>
4538         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4539         rather than #if.
4541 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4543         [BZ #16564]
4544         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4545         arguments with exponent 65 or above.
4546         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4547         arguments 0x1p113L or above.
4548         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4549         to arguments 0x1p107L or above.
4550         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4551         positive arguments with exponent 65 or above.
4552         * math/auto-libm-test-in: Add more tests of log1p.
4553         * math/auto-libm-test-out: Regenerated.
4555         [BZ #16928]
4556         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4557         non-finite arguments is +0.
4558         * math/s_cacosf.c (__cacosf): Likewise.
4559         * math/s_cacosl.c (__cacosl): Likewise.
4560         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4561         * sysdeps/i386/fpu/libm-test-ulps: Update.
4562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4564         [BZ #16927]
4565         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4566         value.
4567         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4568         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4569         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4570         for explicit high bit of mantissa when testing for argument equal
4571         to 1.
4572         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4573         * sysdeps/i386/fpu/libm-test-ulps: Update.
4574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4576         [BZ #16516]
4577         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4578         (__erf): Scale by 16 instead of 8 in potentially underflowing
4579         case.  Ensure exception if result actually underflows.
4580         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4581         (__erff): Scale by 16 instead of 8 in potentially underflowing
4582         case.  Ensure exception if result actually underflows.
4583         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4584         (efx8): Remove variable.
4585         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4586         case.  Ensure exception if result actually underflows.
4587         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4588         (efx8): Remove variable.
4589         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4590         case.  Ensure exception if result actually underflows.
4591         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4592         (efx8): Remove variable.
4593         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4594         case.  Ensure exception if result actually underflows.
4595         * math/auto-libm-test-in: Add more tests of erf.
4596         * math/auto-libm-test-out: Regenerated.
4598 2014-05-14  Andreas Schwab  <schwab@suse.de>
4600         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4601         Remove code conditionalized on USE___THREAD.
4603         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4604         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4605         not definedness.
4607 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4609         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4610         Define unconditionally.
4611         (__ASSUME_O_CLOEXEC): Likewise.
4612         (__ASSUME_SOCK_CLOEXEC): Likewise.
4613         (__ASSUME_IN_NONBLOCK): Likewise.
4614         (__ASSUME_PIPE2): Likewise.
4615         (__ASSUME_EVENTFD2): Likewise.
4616         (__ASSUME_SIGNALFD4): Likewise.
4617         (__ASSUME_DUP3): Likewise.
4618         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4619         (__ASSUME_DUP3): Do not define.
4620         (__ASSUME_EVENTFD2): Likewise.
4621         (__ASSUME_IN_NONBLOCK): Likewise.
4622         (__ASSUME_O_CLOEXEC): Likewise.
4623         (__ASSUME_PIPE2): Likewise.
4624         (__ASSUME_SIGNALFD4): Likewise.
4625         (__ASSUME_SOCK_CLOEXEC): Likewise.
4626         (__ASSUME_UTIMES): Undefine.
4627         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4628         (__ASSUME_UTIMES): Do not define.
4629         (__ASSUME_O_CLOEXEC): Likewise.
4630         (__ASSUME_SOCK_CLOEXEC): Likewise.
4631         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4632         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4633         0x020621].
4634         (__ASSUME_PIPE2): Likewise.
4635         (__ASSUME_EVENTFD2): Likewise.
4636         (__ASSUME_SIGNALFD4): Likewise.
4637         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4638         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4639         Do not define.
4640         (__ASSUME_EVENTFD2): Likewise.
4641         (__ASSUME_SIGNALFD4): Likewise.
4642         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4643         (__ASSUME_32BITUIDS): Likewise.
4644         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4645         (__ASSUME_IPC64): Likewise.
4646         (__ASSUME_ST_INO_64_BIT): Likewise.
4647         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4648         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4649         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4650         (__ASSUME_UTIMES): Do not define.
4651         (__ASSUME_PSELECT): Likewise.
4652         (__ASSUME_PPOLL): Likewise.
4653         (__ASSUME_O_CLOEXEC): Likewise.
4654         (__ASSUME_SOCK_CLOEXEC): Likewise.
4655         (__ASSUME_IN_NONBLOCK): Likewise.
4656         (__ASSUME_PIPE2): Likewise.
4657         (__ASSUME_EVENTFD2): Likewise.
4658         (__ASSUME_SIGNALFD4): Likewise.
4659         (__ASSUME_DUP3): Likewise.
4660         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4661         (__ASSUME_UTIMES): Likewise.
4662         (__ASSUME_O_CLOEXEC): Likewise.
4663         (__ASSUME_SOCK_CLOEXEC): Likewise.
4664         (__ASSUME_IN_NONBLOCK): Likewise.
4665         (__ASSUME_PIPE2): Likewise.
4666         (__ASSUME_EVENTFD2): Likewise.
4667         (__ASSUME_SIGNALFD4): Likewise.
4668         (__ASSUME_DUP3): Likewise.
4669         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4670         (__ASSUME_UTIMES): Likewise.
4671         (__ASSUME_O_CLOEXEC): Likewise.
4672         (__ASSUME_SOCK_CLOEXEC): Likewise.
4673         (__ASSUME_IN_NONBLOCK): Likewise.
4674         (__ASSUME_PIPE2): Likewise.
4675         (__ASSUME_EVENTFD2): Likewise.
4676         (__ASSUME_SIGNALFD4): Likewise.
4677         (__ASSUME_DUP3): Likewise.
4678         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4679         Likewise.
4680         (__ASSUME_UTIMES): Likewise.
4681         (__ASSUME_EVENTFD2): Likewise.
4682         (__ASSUME_SIGNALFD4): Likewise.
4683         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4684         (__ASSUME_O_CLOEXEC): Likewise.
4685         (__ASSUME_SOCK_CLOEXEC): Likewise.
4686         (__ASSUME_IN_NONBLOCK): Likewise.
4687         (__ASSUME_PIPE2): Likewise.
4688         (__ASSUME_EVENTFD2): Likewise.
4689         (__ASSUME_SIGNALFD4): Likewise.
4690         (__ASSUME_DUP3): Likewise.
4691         (__ASSUME_UTIMES): Undefine.
4693         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4694         feclearexcept.  Remove symbol versioning code.
4695         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4696         symbol versioning code.
4697         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4698         symbol versioning code.
4699         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4700         feupdateenv.  Remove symbol versioning code.
4701         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4702         fegetexceptflag.  Remove symbol versioning code.
4703         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4704         fesetexceptflag.  Remove symbol versioning code.
4705         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4706         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4707         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4708         (__posix_fadvise64_l32): Remove prototype.
4709         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4710         code.
4712 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4714         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4715         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4716         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4717         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4719 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4721         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4722         current working directory
4724 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4726         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4727         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4728         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4729         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4730         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4731         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4732         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4733         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4734         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4735         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4736         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4737         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4738         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4739         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4740         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4741         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4742         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4743         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4744         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4745         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4746         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4747         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4748         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4749         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4750         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4751         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4752         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4753         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4754         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4755         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4756         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4757         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4758         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4759         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4760         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4761         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4762         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4763         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4764         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4765         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4766         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4767         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4769         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4770         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4772         * sysdeps/unix/sysv/linux/arm/Makefile
4773         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4774         Add rt-aeabi_unwind_cpp_pr1.
4775         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4776         Add nptl-aeabi_unwind_cpp_pr1.
4777         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4778         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4779         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4780         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4781         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4782         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4784         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4785         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4786         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4787         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4789         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4790         Deconditionalize the code that was previously under [RESET_PID].
4791         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4793         * sysdeps/generic/exit-thread.h: New file.
4794         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4795         * include/unistd.h (__exit_thread): Remove declaration.
4796         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4797         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4798         * csu/libc-start.c: Include <exit-thread.h>.
4799         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4800         * nptl/pthread_create.c: Include <exit-thread.h>.
4801         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4802         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4803         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4804         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4805         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4806         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4807         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4808         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4809         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4810         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4811         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4812         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4813         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4814         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4815         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4816         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4817         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4819 2014-05-13  Andreas Schwab  <schwab@suse.de>
4821         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4823 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4825         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4826         (__ASSUME_UTIMES): Do not condition on kernel version.
4827         (__ASSUME_PSELECT): Define unconditionally.
4828         (__ASSUME_PPOLL): Likewise.
4829         (__ASSUME_ATFCTS): Likewise.
4830         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4831         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4832         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4833         (__ASSUME_UTIMENSAT): Define unconditionally.
4834         (__ASSUME_PRIVATE_FUTEX): Likewise.
4835         (__ASSUME_FALLOCATE): Likewise.
4836         (__ASSUME_O_CLOEXEC): Likewise.
4837         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4838         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4839         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4840         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4841         (__ASSUME_IN_NONBLOCK): Likewise.
4842         (__ASSUME_PIPE2): Likewise.
4843         (__ASSUME_EVENTFD2): Likewise.
4844         (__ASSUME_SIGNALFD4): Likewise.
4845         (__ASSUME_DUP3): Likewise.
4846         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4847         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4848         (__ASSUME_AT_RANDOM): Likewise.
4849         (__ASSUME_PREADV): Likewise.
4850         (__ASSUME_PWRITEV): Likewise.
4851         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4852         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4853         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4854         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4855         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4856         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4857         (__ASSUME_O_CLOEXEC): Define unconditionally.
4858         (__ASSUME_PSELECT): Do not undefine conditionally.
4859         (__ASSUME_PPOLL): Likewise.
4860         (__ASSUME_ATFCTS): Likewise.
4861         (__ASSUME_SET_ROBUST_LIST): Likewise.
4862         (__ASSUME_UTIMENSAT): Likewise.
4863         (__ASSUME_FDATASYNC): Define unconditionally.
4864         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4865         (__ASSUME_SIGFRAME_V2): Likewise.
4866         )__ASSUME_EVENTFD2): Likewise.
4867         (__ASSUME_SIGNALFD4): Likewise.
4868         (__ASSUME_PSELECT): Do not undefine conditionally.
4869         (__ASSUME_PPOLL): Likewise.
4870         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4871         (__ASSUME_PSELECT): Define unconditionally.
4872         (__ASSUME_PPOLL): Likewise.
4873         (__ASSUME_O_CLOEXEC): Likewise.
4874         (__ASSUME_SOCK_CLOEXEC): Likewise.
4875         (__ASSUME_IN_NONBLOCK): Likewise.
4876         (__ASSUME_PIPE2): Likewise.
4877         (__ASSUME_EVENTFD2): Likewise.
4878         (__ASSUME_SIGNALFD4): Likewise.
4879         (__ASSUME_DUP3): Likewise.
4880         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4881         (__ASSUME_O_CLOEXEC): Likewise.
4882         (__ASSUME_SOCK_CLOEXEC): Likewise.
4883         (__ASSUME_IN_NONBLOCK): Likewise.
4884         (__ASSUME_PIPE2): Likewise.
4885         (__ASSUME_EVENTFD2): Likewise.
4886         (__ASSUME_SIGNALFD4): Likewise.
4887         (__ASSUME_DUP3): Likewise.
4888         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4889         (__ASSUME_EVENTFD2): Likewise.
4890         (__ASSUME_SIGNALFD4): Likewise.
4891         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4893 2014-05-12  Andreas Schwab  <schwab@suse.de>
4895         [BZ #16932]
4896         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4897         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4898         than maximum RPC packet size.
4899         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4900         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4901         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4902         (_nss_nis_getservbyport_r): Likewise.
4904 2014-05-12  Will Newton  <will.newton@linaro.org>
4906         * malloc/Makefile (tests): Add tst-mallopt.
4907         * malloc/tst-mallopt.c: New file.
4909 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4911         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4912         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4914 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4916         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4917         (tst-tlsmod6.so): Likewise.
4919 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4921         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4923 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4925         [BZ #16064]
4926         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4927         and <dl-procinfo.h>.
4928         (__fegetenv): Save SSE state in envp->__eip if supported.
4929         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4930         envp->__eip if supported.
4931         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4932         and <dl-procinfo.h>.
4933         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4934         __data_offset and __data_selector in environment to 0.  Set SSE
4935         state if supported.
4936         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4937         test-fenv-sse.
4938         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4939         -mfpmath=sse.
4940         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4942 2014-05-09  Will Newton  <will.newton@linaro.org>
4944         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4945         and libc_relro_required for ARM.
4946         * sysdeps/arm/preconfigure: Regenerate.
4948 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4949             Stefan Liebler  <stli@linux.vnet.ibm.com>
4951         * config.make.in (enable-lock-elision): New Makefile variable.
4952         * configure.ac: Likewise.
4953         * configure: Regenerate.
4954         * sysdeps/s390/configure.ac:
4955         Add check for gcc transactions support.
4956         * sysdeps/s390/configure: Regenerate.
4957         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4958         Build elision files if enabled.
4959         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4960         Add lock elision support for s390.
4961         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4962         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4963         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4964         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4965         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4966         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4967         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4968         Likewise.
4969         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4970         Likewise.
4971         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4972         Likewise.
4973         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4974         Likewise.
4975         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4976         (__lll_timedlock_elision, __lll_lock_elision)
4977         (__lll_unlock_elision, __lll_trylock_elision)
4978         (lll_timedlock_elision, lll_lock_elision)
4979         (lll_unlock_elision, lll_trylock_elision): Add.
4980         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4981         (pthread_mutex_t): Add lock elision support for s390.
4983 2014-05-14  Wilco  <wdijkstr@arm.com>
4985         * sysdeps/arm/fclrexcpt.c: Cleanup.
4986         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4987         * sysdeps/arm/feenablxcpt.c: Cleanup.
4988         * sysdeps/arm/fegetenv.c: Cleanup.
4989         * sysdeps/arm/fegetexcept.c: Cleanup.
4990         * sysdeps/arm/fegetround.c: Cleanup.
4991         * sysdeps/arm/feholdexcpt.c: Cleanup.
4992         * sysdeps/arm/fesetenv.c: Cleanup.
4993         * sysdeps/arm/fesetround.c: Cleanup.
4994         * sysdeps/arm/feupdateenv.c: Cleanup.
4995         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4996         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4997         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4998         * sysdeps/arm/ftestexcept.c: Cleanup.
4999         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5000         * sysdeps/arm/setfpucw.c: Cleanup.
5002 2014-05-09  Will Newton  <will.newton@linaro.org>
5004         * sysdeps/arm/armv7/strcmp.S: New file.
5005         * NEWS: Mention addition of ARMv7 optimized strcmp.
5007 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5009         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5010         look for %.ac rather than %.in.
5012         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5013         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5014         * sysdeps/mach/hurd/configure: Regenerated.
5015         * sysdeps/unix/sysv/linux/configure: Regenerated.
5017         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5019 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5021         [BZ# 16922]
5022         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5023         (LONG_SUB): Ditto.
5024         (PTR_SUB): Ditto.
5026 2014-05-07  Andreas Schwab  <schwab@suse.de>
5028         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5029         when skipping over non-matching result from nscd.
5031 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5033         [BZ #16876]
5034         * nptl/sockperf.c (client): Check socket return value.
5036         [BZ #16877]
5037         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5038         nscd security class.
5040 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5042         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5043         * sysdeps/arm/unwind.h: ... here.
5045 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5047         [BZ# 16916]
5048         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5049         Define.
5051 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5053         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5054         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5055         multiarch strncpy for PPC64.
5056         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5057         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5059         multiarch optimizations.
5060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5061         (__libc_ifunc_impl_list): Likewise.
5062         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5063         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5064         multiarch stpncpy for PPC64.
5065         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5066         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5068 2014-05-06  Andreas Schwab  <schwab@suse.de>
5070         [BZ #16912]
5071         * gmon/mcount.c (_MCOUNT_DECL): Use
5072         atomic_compare_and_exchange_bool_acq instead of
5073         catomic_compare_and_exchange_bool_acq.
5075 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5077         * elf/Makefile (others, install-bin): Remove pldd.
5078         (pldd-modules): Variable removed.
5079         ($(objpfx)pldd): Target removed.
5080         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5081         (others, install-bin): Append pldd here.
5082         ($(objpfx)pldd): New target.
5084         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5085         to 0, so the first #if test emitted later doesn't see it undefined.
5086         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5087         * sysdeps/gnu/errlist.c: Regenerated.
5089 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5091         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5092         [libc_hidden_builtin_def]: Define to empty value.
5093         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5094         [libc_hidden_builtin_def]: Likewise.
5095         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5096         [libc_hidden_builtin_def]: Likewise.
5097         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5098         [libc_hidden_builtin_def]: Likewise.
5099         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5100         __redirect_memcpy and define ifunc as default hidden symbol.
5101         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5102         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5104 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5106         * locale/iso-4217.def: Reintroduce XDR currency.
5108 2014-05-04  Allan McRae  <allan@archlinux.org>
5110         * po/eo.po: Update Esperanto translation from translation project.
5112 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5114         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5115         and FEATURE_INDEX_MAX to 1.
5116         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5118 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5120         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5121         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5122         * iconvdata/big5.c (ONE_DIRECTION): Define.
5123         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5124         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5125         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5126         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5127         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5128         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5129         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5130         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5131         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5132         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5133         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5134         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5135         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5136         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5137         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5138         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5139         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5140         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5141         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5142         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5143         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5144         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5145         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5146         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5147         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5148         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5149         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5150         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5151         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5152         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5153         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5154         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5155         * iconvdata/johab.c (ONE_DIRECTION): Define.
5156         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5157         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5158         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5159         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5160         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5161         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5162         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5163         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5164         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5165         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5167 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5169         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5170         (_IO_JUMPS_OFFSET): Define to 0.
5172         * nptl/sysdeps/pthread/bits/libc-lock.h
5173         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5174         (__libc_lock_define_initialized_recursive): Always define using
5175         initializer.  Modern compilers treat uninitialized (implicit zero) and
5176         explicit zero initializers the same (i.e. put the datum in bss).
5178 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5180         * nscd/nscd-client.h: Include <string.h>.
5182 2014-05-01  David S. Miller  <davem@davemloft.net>
5184         [BZ #16885]
5185         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5186         multiple zero bytes exist at the end of a string.
5187         Reported by Aurelien Jarno <aurelien@aurel32.net>
5189         * string/test-strcmp.c (check): Add explicit test for situations where
5190         there are multiple zero bytes after the first.
5192 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5194         [BZ #16890]
5195         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5196         when compiling wprintf.
5197         * stdio-common/tstdiomisc.c (t3): New function.
5198         (main): Call it.
5200 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5202         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5203         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5204         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5205         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5207 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5209         * stdlib/longlong.h: Updated from GCC.
5211 2014-05-01  Will Newton  <will.newton@linaro.org>
5212             Bernard Ogden  <bernie.ogden@linaro.org>
5214         * NEWS: Update fixed bug list.
5216         [BZ #15119]
5217         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5219 2014-04-30  David S. Miller  <davem@davemloft.net>
5221         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5222         (libc_feholdexcept_setround_sparc_ctx): New function.
5223         (libc_fesetenv_sparc_ctx): Likewise.
5224         (libc_feupdateenv_sparc_ctx): Likewise.
5225         (libc_feholdsetround_sparc_ctx): Likewise.
5226         (libc_feholdexcept_setround_ctx): Define.
5227         (libc_feholdexcept_setroundf_ctx): Likewise.
5228         (libc_feholdexcept_setroundl_ctx): Likewise.
5229         (libc_fesetenv_ctx): Likewise.
5230         (libc_fesetenvf_ctx): Likewise.
5231         (libc_fesetenvl_ctx): Likewise.
5232         (libc_feupdateenv_ctx): Likewise.
5233         (libc_feupdateenvf_ctx): Likewise.
5234         (libc_feupdateenvl_ctx): Likewise.
5235         (libc_feresetround_ctx): Likewise.
5236         (libc_feresetroundf_ctx): Likewise.
5237         (libc_feresetroundl_ctx): Likewise.
5238         (libc_feholdsetround_ctx): Likewise.
5239         (libc_feholdsetroundf_ctx): Likewise.
5240         (libc_feholdsetroundl_ctx): Likewise.
5242         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5243         with __USE_GNU instead of XOPEN cpp guards.
5245         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5246         0.
5248         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5249         with XOPEN cpp guards.
5251 2014-04-30  Julian Brown  <julian@codesourcery.com>
5253         [BZ #16888]
5254         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5255         handling.
5257 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5259         [BZ #9894]
5260         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5261         Change to 2.6.32.
5262         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5263         * sysdeps/unix/sysv/linux/configure: Regenerated.
5264         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5265         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5266         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5267         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5268         * README: Update reference to required Linux kernel version.
5269         * manual/install.texi (Linux): Update reference to required Linux
5270         kernel headers version.
5271         * INSTALL: Regenerated.
5273         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5274         header inclusion.
5275         [POSIX] (limits.h): Likewise.
5276         [POSIX] (math.h): Likewise.
5277         [POSIX] (sys/wait.h): Likewise.
5278         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5279         function.
5280         [POSIX] (stddef.h): Do not allow header inclusion.
5282 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5284         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5286 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5288         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5289         Return immediately after lll_futex_wake.
5291 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5293         [BZ #16791]
5294         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5295         structure.
5296         (datahead_init_pos): Call datahead_init_common early.
5297         (datahead_init_neg): Likewise.
5299         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5300         datahead_init_neg): New functions.
5301         * nscd/aicache.c (addhstaiX): Use them.
5302         * nscd/grpcache.c (cache_addgr): Likewise.
5303         * nscd/hstcache.c (cache_addhst): Likewise.
5304         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5305         * nscd/netgroupcache.c (do_notfound): Likewise.
5306         (addgetnetgrentX): Likewise.
5307         (addinnetgrX): Likewise.
5308         * nscd/pwdcache.c (cache_addpw): Likewise.
5309         * nscd/servicescache.c (cache_addserv): Likewise.
5311 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5312             Atsushi Onoe  <atsushi@onoe.org>
5314         [BZ #14308]
5315         [BZ #12994]
5316         [BZ #13651]
5317         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5318         one response is valid.
5319         * resolv/res_send.c (send_dg): Check for validity of other
5320         response if the current response is a referral.
5322 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5324         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5326 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5328         [BZ #16823]
5329         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5330         Always divide by positive zero when computing -Inf result.
5331         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5332         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5334 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5336         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5337         FPSCR if value do not change.
5338         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5339         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5340         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5341         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5342         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5343         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5344         function.
5346 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5348         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5349         * sysdeps/unix/sysv/linux/hppa: Move directory from
5350         ports/systeps/unix/sysv/linux/hppa.
5351         * README: Update listing for hppa-*-linux-gnu.
5353 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5355         [BZ #16754]
5356         * manual/stdio.texi (Hook functions): Fix types of stream hook
5357         functions.
5358         [BZ #16854]
5359         * socket/sys/socket.h: Fix typo in comment.
5361 2014-04-28  Wilco  <wdijkstr@arm.com>
5363         * sysdeps/arm/fenv_private.h: New file.
5364         * sysdeps/arm/math_private.h: New file.
5365         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5367 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5369         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5370         with __int128_t.
5371         (La_x86_64_retval): Likewise.
5373 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5375         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5376         fpsr if value didn't change.
5377         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5378         to fpcr if value didn't change.
5379         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5380         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5381         fpsr or fpcr if value didn't change.
5382         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5383         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5384         fpcr if value didn't change.
5385         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5386         to fpsr if value didn't change.
5388 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5390         * nptl/tst-sem3.c: Use test-skeleton.c
5391         (main): Rename to do_test.  Use return instead of
5392         exit.
5393         * nptl/tst-sem4.c: Use test-skeleton.c
5394         (main): Rename to do_test.
5396 2014-04-22  David S. Miller  <davem@davemloft.net>
5398         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5399         (struct sigaction): New struct member __glibc_reserved0, change
5400         type of sa_flags to int.
5402 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5404         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5405         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5407 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5409         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5410         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5412 2014-04-22  Will Newton  <will.newton@linaro.org>
5413             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5415         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5416         (__longjmp): Add longjmp and longjmp_target SystemTap
5417         probes.
5418         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5419         (__sigsetjmp): Add setjmp SystemTap probe.
5421 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5423         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5424         match manual order.
5426 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5428         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5430         * sysdeps/powerpc/fpu/fenv_private.h
5431         (libc_feholdexcept_setroundl_ctx): Define to
5432         libc_feholdexcept_setround_ppc_ctx.
5433         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5434         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5435         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5436         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5438 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5440         * sysdeps/aarch64/math-tests.h: New file.
5442 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5444         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5445         New.
5446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5447         Check and set bit_AVX2_Usable.
5448         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5449         macro.
5450         (bit_AVX2): Likewise.
5451         (index_AVX2_Usable): Likewise.
5452         (CPUID_AVX2): Likewise.
5453         (HAS_AVX2): Likewise.
5455 2014-04-17  Will Newton  <will.newton@linaro.org>
5457         * manual/setjmp.texi (System V contexts): Add note that
5458         calling setcontext on a context created by a call to a
5459         signal handler is undefined.  Update text to note that
5460         setcontext from a signal handler is possible but not
5461         recommended.
5463         [BZ #16629]
5464         * stdlib/tst-setcontext.c: Include signal.h.
5465         (main): Check that the signal stack before and
5466         after swapcontext is the same.
5468         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5469         Re-implement to restore registers in user code and avoid
5470         rt_sigreturn system call.
5472 2014-04-17  Wilco  <wdijkstr@arm.com>
5474         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5475         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5476         * math/test-fenv.c: Skip exception trap tests on targets which only
5477         support non-stop mode.
5479 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5480             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5482         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5483         (libc_feholdsetround_aarch64_ctx)
5484         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5485         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5486         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5487         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5488         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5489         (libc_feresetround_noexl_ctx): Define.
5491 2014-04-16  Richard Henderson  <rth@redhat.com>
5493         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5495         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5496         unwind tables.
5498         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5499         const from the non-libc, non-ldso copy.
5501         * sysdeps/alpha/libm-test-ulps: Regenerate.
5503 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5504             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5506         * sysdeps/aarch64/fpu/math_private.h: New file.
5508 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5510         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5512 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5514         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5515         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5516         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5517         Intel MPX bound registers before _dl_profile_fixup.
5518         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5519         registers after _dl_profile_fixup.  Save and restore bound
5520         registers bnd0/bnd1 when calling _dl_call_pltexit.
5521         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5522         (LR_BND_OFFSET): Likewise.
5523         (LRV_BND0_OFFSET): Likewise.
5524         (LRV_BND1_OFFSET): Likewise.
5526 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5528         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5529         to...
5530         * sysdeps/mach/hurd/i386/tls.h: ... here.
5531         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5532         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5533         fields.
5535 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5537         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5539 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5541         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5543 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5545         [BZ #14770]
5546         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5547         * sysdeps/s390/configure: Regenerate.
5549         [BZ #16824]
5550         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5551         Set round-to-nearest internally to reduce error accumulation.
5553 2014-04-16  Alan Modra  <amodra@gmail.com>
5555         [BZ #16740]
5556         [BZ #16619]
5557         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5558         * math/libm-test.inc (frexp_test_data): Add tests.
5559         * NEWS: Update fixed bug list.
5561 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5563         * benchtests/Makefile: Depend on libraries in build directory.
5564         (bench-math): Separate out math tests.
5565         (bench-pthread): Separate out pthread tests.
5566         (bench): Include math and pthread tests.
5568 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5570         [BZ #16831]
5571         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5572         _dl_debug_initialize.
5574         * configure.ac: Remove SELinux header check.
5575         * configure: Regenerate.
5576         * nscd/selinux.c (perms): Array of const char* to permission names.
5577         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5578         default policy. Call string_to_security_class and string_to_av_perm to
5579         translate strings. Enforce default policy and call avs_has_perm with
5580         results of translated strings.
5582 2014-04-13  David S. Miller  <davem@davemloft.net>
5584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5586 2014-04-12  Allan McRae  <allan@archlinux.org>
5588         [BZ #16838]
5589         * manual/string.texi (Collation Functions): Fix qsort argument
5590         order in example.
5591         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5593 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5595         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5596         Make the test a no-op if there are no exceptions defined.
5598 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5600         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5601         enable-hardcoded-path-in-tests
5603 2014-04-11  Will Newton  <will.newton@linaro.org>
5605         * benchtests/Makefile (extra-objs): Add json-lib.o.
5606         (bench-func): Tidy up JSON output.
5607         * benchtests/bench-skeleton.c: Include json-lib.h.
5608         (main): Use JSON library functions to do output of
5609         benchmark results.
5610         * benchtests/bench-timing-type.c (main): Output the
5611         timing type simply, leaving formatting to the user.
5612         * benchtests/json-lib.c: New file.
5613         * benchtests/json-lib.h: Likewise.
5615 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5617         [BZ #15215]
5618         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5619         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5620         memory barriers.  Add comments.
5621         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5622         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5623         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5624         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5625         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5626         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5628 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5630         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5631         * sysdeps/s390/s390-64/configure.ac: ... this ...
5632         * sysdeps/s390/configure.ac: ... to here.
5633         * sysdeps/s390/s390-32/configure: Delete file.
5634         * sysdeps/s390/s390-64/configure: Delete file.
5635         * sysdeps/s390/configure: Regenerate.
5637 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5639         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5641 2014-04-11  Will Newton  <will.newton@linaro.org>
5643         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5644         to zero if it is not defined elsewhere.  (mtrim): Test
5645         the value of MALLOC_DEBUG with #if rather than #ifdef.
5647 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5649         * benchtests/pthread_once-inputs: New file.
5650         * benchtests/pthread_once-source.c: New file.
5651         * benchtests/README: Update documentation.
5653 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5654             H.J. Lu  <hongjiu.lu@intel.com>
5656         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5657         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5658         * sysdeps/x86_64/configure: Regenerated.
5659         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5660         macro.
5661         (REGISTER_SAVE_RAX): Likewise.
5662         (REGISTER_SAVE_RCX): Likewise.
5663         (REGISTER_SAVE_RDX): Likewise.
5664         (REGISTER_SAVE_RSI): Likewise.
5665         (REGISTER_SAVE_RDI): Likewise.
5666         (REGISTER_SAVE_R8): Likewise.
5667         (REGISTER_SAVE_R9): Likewise.
5668         (REGISTER_SAVE_BND0): Likewise.
5669         (REGISTER_SAVE_BND1): Likewise.
5670         (REGISTER_SAVE_BND2): Likewise.
5671         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5672         bound registers when calling _dl_fixup.
5674 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5676         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5677         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5678         of its definition.
5679         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5680         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5681         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5682         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5683         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5684         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5685         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5687 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5689         [BZ #15514]
5690         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5691         pathconf(_PC_NAME_MAX).
5693 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5695         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5696         Remove macro usage.
5697         (__PTHREAD_SPINS): Move definition to ...
5698         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5699         (__PTHREAD_SPINS): ... here.
5700         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5701         (__PTHREAD_SPIN): Likewise.
5702         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5703         (__PTHREAD_SPIN): Likewise.
5704         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5705         (__PTHREAD_SPIN): Likewise.
5706         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5707         (__PTHREAD_SPIN): Likewise.
5708         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5709         (__PTHREAD_SPIN): Likewise.
5710         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5711         (__PTHREAD_SPIN): Likewise.
5712         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5713         (__PTHREAD_SPIN): Likewise.
5714         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5715         (__PTHREAD_SPIN): Likewise.
5716         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5717         (__PTHREAD_SPIN): Likewise.
5718         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5719         (__PTHREAD_SPIN): Likewise.
5720         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5721         (__PTHREAD_SPIN): Likewise.
5722         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5723         (__PTHREAD_SPIN): Likewise.
5725         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5726         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5727         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5728         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5729         imply folder.
5730         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5731         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5732         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5733         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5734         correct imply path.
5735         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5736         strlen symbol for non multi-arch builds.
5737         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5738         missing hidden_def and weak_alias.
5740 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5742         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5744 2014-04-07  Will Newton  <will.newton@linaro.org>
5746         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5747         and contents.  [!_LIBC] Remove #ifndef and contents.
5748         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5749         * string/memccpy.c (__memccpy): Use ANSI prototype.
5750         * string/memfrob.c (memfrob): Likewise.
5751         * string/strcoll.c (STRCOLL): Likewise.
5752         * string/strlen.c (strlen): Likewise.
5753         * string/strtok.c (STRTOK): Likewise.
5754         * string/strcat.c: Remove unused #include of memcopy.h.
5755         (strcat): Use ANSI prototype.
5756         * string/strchr.c: Remove unused #include of memcopy.h.
5757         (strchr): Use ANSI prototype.
5758         * string/strcmp.c: Remove unused #include of memcopy.h.
5759         (strcmp): Use ANSI prototype.
5760         * string/strcpy.c: Remove unused #include of memcopy.h.
5761         (strcpy): Use ANSI prototype.
5763 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5765         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5766         * config.make.in (config-extra-cppflags): Set it from
5767         libc_extra_cppflags.
5768         * configure.ac (libc_extra_cflags): Make it accumulate over
5769         configure fragments.
5770         (libc_extra_cppflags): New flag.
5771         * configure. Regenerate.
5772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5773         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5774         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5777         [BZ #16815]
5778         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5779         result for FE_DOWNWARD rounding mode.
5780         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5781         Likewise.
5782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5784 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5786         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5787         in function argument name.
5789 2014-04-03  David Svoboda  <svoboda@cert.org>
5791         [BZ #5666]
5792         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5793         explicitly.
5795 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5797         * elf/dl-unmap-segments.h: New file.
5798         * sysdeps/generic/ldsodefs.h
5799         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5800         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5801         * elf/dl-fptr.c: Likewise.
5802         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5803         * sysdeps/aarch64/tlsdesc.c: Likewise.
5804         * sysdeps/arm/tlsdesc.c: Likewise.
5805         * sysdeps/i386/tlsdesc.c: Likewise.
5806         * sysdeps/tile/dl-runtime.c: Likewise.
5807         * sysdeps/x86_64/tlsdesc.c: Likewise.
5808         * elf/dl-load.h: New file.
5809         * elf/dl-load.c: Include it.
5810         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5811         Macros moved to dl-load.h.
5812         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5813         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5814         Use _dl_unmap_segments in place of __munmap.
5815         Break out segment-mapping loop into ...
5816         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5818 2014-04-03  Will Newton  <will.newton@linaro.org>
5820         * elf/dl-lookup.c (do_lookup_x): Remove comment
5821         referring to nested function and move variable
5822         declarations down to before first use.
5824 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5826         [BZ #16799]
5827         [BZ #16800]
5828         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5829         with 0 numerator.
5830         * math/s_catanf.c (__catanf): Likewise.
5831         * math/s_catanh.c (__catanh): Likewise.
5832         * math/s_catanhf.c (__catanhf): Likewise.
5833         * math/s_catanhl.c (__catanhl): Likewise.
5834         * math/s_catanl.c (__catanl): Likewise.
5835         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5836         by positive zero when computing -Inf result.
5837         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5838         (catanh_test): Likewise.
5839         * sysdeps/i386/fpu/libm-test-ulps: Update.
5840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5842         [BZ #16789]
5843         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5844         instead of using underflowing value in computing result.
5845         * math/s_clog10.c (__clog10): Likewise.
5846         * math/s_clog10f.c (__clog10f): Likewise.
5847         * math/s_clog10l.c (__clog10l): Likewise.
5848         * math/s_clogf.c (__clogf): Likewise.
5849         * math/s_clogl.c (__clogl): Likewise.
5850         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5851         (clog10_test): Likewise.
5852         * sysdeps/i386/fpu/libm-test-ulps: Update.
5853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5855 2014-04-02  Alan Modra  <amodra@gmail.com>
5857         [BZ #16739]
5858         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5859         output when value is near a power of two.  Use int64_t for lx and
5860         remove casts.  Use decimal rather than hex exponent constants.
5861         Don't use long double multiplication when double will suffice.
5862         * math/libm-test.inc (nextafter_test_data): Add tests.
5863         * NEWS: Add 16739 and 16786 to bug list.
5865         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5867         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5869 2014-04-01  Will Newton  <will.newton@linaro.org>
5871         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5872         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5874 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5876         [BZ #13347]
5877         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5878         * nptl/tst-setuid2.c: New file.
5879         * nptl/Makefile (xtests): Add tst-setuid2.
5881 2014-04-01  Alan Modra  <amodra@gmail.com>
5883         [BZ #16786]
5884         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5886 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5888         [BZ #6803]
5889         [BZ #6804]
5890         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5891         set errno as appropriate.
5892         * math/w_scalbf.c (__scalbf): Likewise.
5893         * math/w_scalbl.c (__scalbl): Likewise.
5894         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5895         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5896         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5897         Add more NaN tests.
5899         [BZ #16349]
5900         * math/w_atan2.c: Include <errno.h>.
5901         (__atan2): Set errno for result underflowing to zero.
5902         * math/w_atan2f.c: Include <errno.h>.
5903         (__atan2f): Set errno for result underflowing to zero.
5904         * math/w_atan2l.c: Include <errno.h>.
5905         (__atan2l): Set errno for result underflowing to zero.
5906         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5907         tests.
5908         * math/auto-libm-test-out: Regenerated.
5910 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5912         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5913         Encode instruction correctly in little endian.
5914         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5915         Likewise.
5916         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5917         Likewise.
5918         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5919         Likewise.
5920         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5921         Likewise.
5923 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5925         [BZ #9894]
5926         * sysdeps/unix/sysv/linux/kernel-features.h
5927         [__sparc__ && !__arch64__ && !__sparc_v9__]
5928         (__ASSUME_SET_ROBUST_LIST): Do not define.
5929         [__sparc__ && !__arch64__ && !__sparc_v9__]
5930         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5931         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5932         Likewise.
5933         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5934         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5935         (__ASSUME_REQUEUE_PI): Likewise.
5936         (__ASSUME_SET_ROBUST_LIST): Likewise.
5937         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5938         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5939         Undefine.
5940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5941         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5942         Likewise.
5943         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5944         Likewise.
5945         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5946         Likewise.
5947         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5948         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5949         Undefine.
5950         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5951         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5952         Likewise.
5954         [BZ #16648]
5955         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5956         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5957         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5959 2014-03-31  Will Newton  <will.newton@linaro.org>
5961         * benchtests/Makefile (bench): Add ffs and ffsll to list
5962         of tests.
5963         * benchtests/ffs-inputs: New file.
5964         * benchtests/ffsll-inputs: Likewise.
5966 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5968         [BZ #16770]
5969         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5970         too large before casting to int.
5971         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5972         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5973         * math/libm-test.inc (scalb_test_data): Add more tests.
5975 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5977         * benchtests/Makefile (DETAILED_OPT): New make option.
5978         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5979         set.
5980         * benchtests/bench-skeleton.c: Include stdbool.h.
5981         (main): Store and print timings per input.
5982         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5983         member to each argument value.
5984         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5985         (_print_arg_data): Initialize per-input timing to 0.
5987         * benchtests/Makefile (timing-type): New binary.
5988         (bench-clean): Also remove bench-timing-type.
5989         (bench): New target for timing-type.
5990         (bench-func): Print output in JSON format.
5991         * benchtests/bench-skeleton.c (main): Print output in JSON
5992         format.
5993         * benchtests/bench-timing-type.c: New file.
5994         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5995         (TIMING_PRINT_STATS): Remove.
5996         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5997         name separately.
5999         * benchtests/bench-modf.c: Remove.
6000         * benchtests/modf-inputs: New inputs file.
6002 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6004         [BZ #16362]
6005         * math/s_clog10.c (M_PI_LOG10E): New macro.
6006         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6007         imaginary parts are 0.
6008         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6009         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6010         imaginary parts are 0.
6011         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6012         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6013         imaginary parts are 0.
6014         * math/libm-test.inc (clog10_test_data): Update expected results
6015         for when real and imaginary parts are 0.
6017 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6019         * elf/dl-load.c: Finish conversion of __builtin_expect into
6020         __glibc_{un}likely.
6022 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6024         [BZ #16348]
6025         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6026         1+x for argument with exponent below -67.
6027         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6028         Likewise.
6029         * math/auto-libm-test-in: Add more tests of exp.
6030         * math/auto-libm-test-out: Regenerated.
6032 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6034         [BZ #16759]
6035         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6036         (nscd_getnetgrent): Use it.
6038         [BZ #16760]
6039         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6040         of stpcpy.
6042 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6044         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6045         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6046         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6047         (lll_robust_unlock): Remove out of line section. Use cfi
6048         intrinsics.
6049         (LLL_STUB_UNWIND_INFO*): Remove.
6050         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6051         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6052         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6053         (lll_robust_unlock): Remove out of line section. Use cfi
6054         intrinsics.
6055         (LLL_STUB_UNWIND_INFO*): Remove.
6057 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6059         [BZ #16758]
6060         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6061         blank values.
6063 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6065         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6067 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6069         [BZ #16198]
6070         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6071         fnstenv.
6072         * math/test-fenv-preserve.c: New file.
6073         * math/Makefile (tests): Add test-fenv-preserve.
6075 2014-03-26  Will Newton <will.newton@linaro.org>
6077         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6079 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6081         * scripts/versionlist.awk: Partition the version sets and emit all
6082         GLIBC_* (sorted) before all others (sorted).
6084 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6086         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6087         GLIBC_2.2.5 version.
6089 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6091         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6092         calls.
6094         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6095         previous change.
6097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6099 2014-03-25  Andreas Schwab  <schwab@suse.de>
6101         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6102         label to be used after in6ailist is initialized.
6104 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6106         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6107         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6109 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6111         [BZ #16357]
6112         [BZ #16599]
6113         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6114         min_plus_half.
6115         (fp_formats): Update initializers.
6116         (init_fp_formats): Initialize new field.
6117         (output_for_one_input_case): Allow underflow for results up to
6118         min_plus_half.
6119         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6120         * math/auto-libm-test-in: Don't mark some underflows from asin and
6121         atanh as spurious.
6122         * math/auto-libm-test-out: Regenerated.
6123         * sysdeps/i386/fpu/libm-test-ulps: Update.
6124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6126 2014-03-25  Andreas Schwab  <schwab@suse.de>
6128         * libio/Makefile (tst-ftell-partial-wide-ENV)
6129         (tst-ftell-active-handler-ENV): Define.
6131 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6133         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6135 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6137         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6139 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6141         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6142         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6143         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6145 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6147         [BZ #16634]
6148         * elf/dl-load.c (open_verify): Add mode parameter.
6149         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6150         (open_path): Change from boolean 'secure' to complete flag 'mode'
6151         (_dl_map_object): Adjust.
6152         * elf/Makefile (tests): Add tst-dlopen-aout.
6153         * elf/tst-dlopen-aout.c: New test.
6155 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6157         [BZ #16714]
6158         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6159         (struct stat): Rename member pad0 to __glibc_reserved0.
6161         [BZ #16712]
6162         * sysdeps/s390/s390-32/bits/wordsize.h
6163         (__WORDSIZE32_SIZE_ULONG): New define.
6164         * sysdeps/s390/s390-64/bits/wordsize.h
6165         (__WORDSIZE32_SIZE_ULONG): Likewise.
6166         * sysdeps/generic/stdint.h (SIZE_MAX):
6167         Define as UL if __WORDSIZE32_SIZE_ULONG.
6169         [BZ #16713]
6170         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6171         (__glibc_reserved0): New variable.
6172         (sa_flags): Change type to int.
6174         * posix/Makefile (before-compile): Use += before-compile instead
6175         of a :=.
6177         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6178         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6180 2014-03-20  Andreas Schwab  <schwab@suse.de>
6182         [BZ #16743]
6183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6184         non-matching result from nscd.
6186 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6188         * scripts/bench.py: Moved to ...
6189         * benchtests/scripts/bench.py: ... here.
6190         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6192 2014-03-24  Andreas Schwab  <schwab@suse.de>
6194         [BZ #16002]
6195         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6196         alloca_account and account alloca use for struct in6ailist.
6198 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6200         [BZ #16284]
6201         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6202         rounding mode to recompute results that overflow to infinity or
6203         underflow to zero.
6204         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6205         bug 16284.
6206         * math/auto-libm-test-out: Regenerated.
6207         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6208         (ccosh_test): Likewise.
6209         (csin_test_data): Use plus_oflow.
6210         (csin_test): Use ALL_RM_TEST.
6211         (csinh_test_data): Use plus_oflow.
6212         (csinh_test): Use ALL_RM_TEST.
6213         * sysdeps/i386/fpu/libm-test-ulps: Update.
6214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6216 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6218         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6219         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6220         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6222         [BZ #16731]
6223         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6224         when x - 1 is zero.
6225         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6226         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6227         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6228         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6229         argument is 1.
6230         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6231         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6232         zero.
6233         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6234         * sysdeps/i386/fpu/libm-test-ulps: Update.
6235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6237 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6239         * scripts/bench.pl: Remove file.
6240         * scripts/bench.py: New benchmark script.
6241         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6242         * benchtests/README: Mention python dependency.
6243         * scripts/pylintrc: New file.
6244         * scripts/pylint: New file.
6246         * bits/mathdef.h: Use #ifdef instead of #if.
6247         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6248         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6249         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6250         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6251         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6252         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6254 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6255             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6257         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6259         and strpbrk-ppc64 objects.
6260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6261         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6262         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6263         multiarch strpbrk for POWER7.
6264         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6265         multiarch strpbrk for PPC64.
6266         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6267         ifunc selector.
6268         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6269         strpbrk for POWER7.
6271 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6273         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6274         (atan_test): Likewise.
6275         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6276         (atanh_test): Use ALL_RM_TEST.
6277         (atan2_test_data): Likewise.
6278         (cabs_test): Likewise.
6279         (cacosh_test): Likewise.
6280         (carg_test): Likewise.
6281         (casin_test): Likewise.
6282         (casinh_test): Likewise.
6283         (cbrt_test): Likewise.
6284         (csqrt_test): Likewise.
6285         (erf_test): Likewise.
6286         (erfc_test): Likewise.
6287         (pow10_test): Likewise.
6288         (exp2_test): Likewise.
6289         (hypot_test): Likewise.
6290         (j0_test): Likewise.
6291         (j1_test): Likewise.
6292         (lgamma_test): Likewise.
6293         (gamma_test): Likewise.
6294         (sincos_test): Likewise.
6295         (tanh_test): Likewise.
6296         (y0_test): Likewise.
6297         (y1_test): Likewise.
6298         * sysdeps/i386/fpu/libm-test-ulps: Update.
6299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6301 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6303         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6305         and strcspn-ppc64 objects.
6306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6307         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6308         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6309         multiarch strcspn for POWER7.
6310         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6311         multiarch strcspn for PPC64.
6312         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6313         ifunc selector.
6314         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6315         strcspn for POWER7.
6317 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6319         * math/gen-libm-test.pl (generate_testfile): Expect only function
6320         name as argument to AUTO_TESTS_* and pass results for all rounding
6321         modes to parse_args.
6322         (parse_auto_input): Separate inputs of automatic tests from
6323         outputs before storing in %auto_tests.
6324         * math/libm-test.inc (acos_test_data): Update call to
6325         AUTO_TESTS_f_f.
6326         (acos_test): Use ALL_RM_TEST.
6327         (acos_tonearest_test_data): Remove.
6328         (acos_test_tonearest): Likewise.
6329         (acos_towardzero_test_data): Likewise.
6330         (acos_test_towardzero): Likewise.
6331         (acos_downward_test_data): Likewise.
6332         (acos_test_downward): Likewise.
6333         (acos_upward_test_data): Likewise.
6334         (acos_test_upward): Likewise.
6335         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6336         (asin_test_data): Likewise.
6337         (asin_test): Use ALL_RM_TEST.
6338         (asin_tonearest_test_data): Remove.
6339         (asin_test_tonearest): Likewise.
6340         (asin_towardzero_test_data): Likewise.
6341         (asin_test_towardzero): Likewise.
6342         (asin_downward_test_data): Likewise.
6343         (asin_test_downward): Likewise.
6344         (asin_upward_test_data): Likewise.
6345         (asin_test_upward): Likewise.
6346         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6347         (atan_test_data): Likewise.
6348         (atanh_test_data): Likewise.
6349         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6350         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6351         (carg_test_data): Likewise.
6352         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6353         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6354         (ccosh_test_data): Likewise.
6355         (cexp_test_data): Likewise.
6356         (clog_test_data): Likewise.
6357         (clog10_test_data): Likewise.
6358         (cos_test_data): Update call to AUTO_TESTS_f_f.
6359         (cos_test): Use ALL_RM_TEST.
6360         (cos_tonearest_test_data): Remove.
6361         (cos_test_tonearest): Likewise.
6362         (cos_towardzero_test_data): Likewise.
6363         (cos_test_towardzero): Likewise.
6364         (cos_downward_test_data): Likewise.
6365         (cos_test_downward): Likewise.
6366         (cos_upward_test_data): Likewise.
6367         (cos_test_upward): Likewise.
6368         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6369         (cosh_test): Use ALL_RM_TEST.
6370         (cosh_tonearest_test_data): Remove.
6371         (cosh_test_tonearest): Likewise.
6372         (cosh_towardzero_test_data): Likewise.
6373         (cosh_test_towardzero): Likewise.
6374         (cosh_downward_test_data): Likewise.
6375         (cosh_test_downward): Likewise.
6376         (cosh_upward_test_data): Likewise.
6377         (cosh_test_upward): Likewise.
6378         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6379         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6380         (ctan_test_data): Likewise.
6381         (ctan_test): Use ALL_RM_TEST.
6382         (ctan_tonearest_test_data): Remove.
6383         (ctan_test_tonearest): Likewise.
6384         (ctan_towardzero_test_data): Likewise.
6385         (ctan_test_towardzero): Likewise.
6386         (ctan_downward_test_data): Likewise.
6387         (ctan_test_downward): Likewise.
6388         (ctan_upward_test_data): Likewise.
6389         (ctan_test_upward): Likewise.
6390         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6391         (ctanh_test): Use ALL_RM_TEST.
6392         (ctanh_tonearest_test_data): Remove.
6393         (ctanh_test_tonearest): Likewise.
6394         (ctanh_towardzero_test_data): Likewise.
6395         (ctanh_test_towardzero): Likewise.
6396         (ctanh_downward_test_data): Likewise.
6397         (ctanh_test_downward): Likewise.
6398         (ctanh_upward_test_data): Likewise.
6399         (ctanh_test_upward): Likewise.
6400         (erf_test_data): Update call to AUTO_TESTS_f_f.
6401         (erfc_test_data): Likewise.
6402         (exp_test_data): Likewise.
6403         (exp_test): Use ALL_RM_TEST.
6404         (exp_tonearest_test_data): Remove.
6405         (exp_test_tonearest): Likewise.
6406         (exp_towardzero_test_data): Likewise.
6407         (exp_test_towardzero): Likewise.
6408         (exp_downward_test_data): Likewise.
6409         (exp_test_downward): Likewise.
6410         (exp_upward_test_data): Likewise.
6411         (exp_test_upward): Likewise.
6412         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6413         (exp10_test): Use ALL_RM_TEST.
6414         (exp10_tonearest_test_data): Remove.
6415         (exp10_test_tonearest): Likewise.
6416         (exp10_towardzero_test_data): Likewise.
6417         (exp10_test_towardzero): Likewise.
6418         (exp10_downward_test_data): Likewise.
6419         (exp10_test_downward): Likewise.
6420         (exp10_upward_test_data): Likewise.
6421         (exp10_test_upward): Likewise.
6422         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6423         (expm1_test_data): Likewise.
6424         (expm1_test): Use ALL_RM_TEST.
6425         (expm1_tonearest_test_data): Remove.
6426         (expm1_test_tonearest): Likewise.
6427         (expm1_towardzero_test_data): Likewise.
6428         (expm1_test_towardzero): Likewise.
6429         (expm1_downward_test_data): Likewise.
6430         (expm1_test_downward): Likewise.
6431         (expm1_upward_test_data): Likewise.
6432         (expm1_test_upward): Likewise.
6433         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6434         (fma_test): Use ALL_RM_TEST.
6435         (fma_towardzero_test_data): Remove.
6436         (fma_test_towardzero): Likewise.
6437         (fma_downward_test_data): Likewise.
6438         (fma_test_downward): Likewise.
6439         (fma_upward_test_data): Likewise.
6440         (fma_test_upward): Likewise.
6441         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6442         (j0_test_data): Update call to AUTO_TESTS_f_f.
6443         (j1_test_data): Likewise.
6444         (jn_test_data): Update call to AUTO_TESTS_if_f.
6445         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6446         (log_test_data): Update call to AUTO_TESTS_f_f.
6447         (log10_test_data): Likewise.
6448         (log1p_test_data): Likewise.
6449         (log2_test_data): Likewise.
6450         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6451         (pow_tonearest_test_data): Likewise.
6452         (sin_test_data): Update call to AUTO_TESTS_f_f.
6453         (sin_test): Use ALL_RM_TEST.
6454         (sin_tonearest_test_data): Remove.
6455         (sin_test_tonearest): Likewise.
6456         (sin_towardzero_test_data): Likewise.
6457         (sin_test_towardzero): Likewise.
6458         (sin_downward_test_data): Likewise.
6459         (sin_test_downward): Likewise.
6460         (sin_upward_test_data): Likewise.
6461         (sin_test_upward): Likewise.
6462         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6463         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6464         (sinh_test): Use ALL_RM_TEST.
6465         (sinh_tonearest_test_data): Remove.
6466         (sinh_test_tonearest): Likewise.
6467         (sinh_towardzero_test_data): Likewise.
6468         (sinh_test_towardzero): Likewise.
6469         (sinh_downward_test_data): Likewise.
6470         (sinh_test_downward): Likewise.
6471         (sinh_upward_test_data): Likewise.
6472         (sinh_test_upward): Likewise.
6473         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6474         (sqrt_test): Use ALL_RM_TEST.
6475         (sqrt_tonearest_test_data): Remove.
6476         (sqrt_test_tonearest): Likewise.
6477         (sqrt_towardzero_test_data): Likewise.
6478         (sqrt_test_towardzero): Likewise.
6479         (sqrt_downward_test_data): Likewise.
6480         (sqrt_test_downward): Likewise.
6481         (sqrt_upward_test_data): Likewise.
6482         (sqrt_test_upward): Likewise.
6483         (tan_test_data): Update call to AUTO_TESTS_f_f.
6484         (tan_test): Use ALL_RM_TEST.
6485         (tan_tonearest_test_data): Remove.
6486         (tan_test_tonearest): Likewise.
6487         (tan_towardzero_test_data): Likewise.
6488         (tan_test_towardzero): Likewise.
6489         (tan_downward_test_data): Likewise.
6490         (tan_test_downward): Likewise.
6491         (tan_upward_test_data): Likewise.
6492         (tan_test_upward): Likewise.
6493         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6494         (tgamma_test_data): Likewise.
6495         (y0_test_data): Likewise.
6496         (y1_test_data): Likewise.
6497         (yn_test_data): Update call to AUTO_TESTS_if_f.
6498         (main): Do not call removed functions.
6500 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6502         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6503         (ldexp_test_data): Remove.
6504         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6505         scalbn_test_data.
6506         (scalb_test): Use ALL_RM_TEST.
6508 2014-03-19  Andreas Schwab  <schwab@suse.de>
6510         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6512 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6514         [BZ #16649]
6515         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6516         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6517         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6518         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6519         (__ASSUME_PREADV): Undefine.
6520         (__ASSUME_PWRITEV): Likewise.
6522 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6524         * bits/mman-linux.h: Add comment about non-Linux use.
6525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6526         bits/mman-linux.h resting place.
6528         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6529         * bits/mman-linux.h: ... here.
6531 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6533         * conform/conformtest.pl: Add standard definition when calling C
6534         preprocessor on data files.
6535         (checknamespace): Remove unused variable.
6537 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6539         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6540         minus_oflow, plus_uflow and minus_uflow in expected results.
6541         * math/libm-test.inc (scalbn_test_data): Add more tests of
6542         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6543         minus_uflow.
6544         (scalbn_test): Use ALL_RM_TEST.
6545         (scalbln_test_data): Add more tests of negative arguments.  Use
6546         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6547         (scalbln_test): Use ALL_RM_TEST.
6549 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6551         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6553 2014-03-18  Will Newton  <will.newton@linaro.org>
6555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6556         inaccurate comment.
6558 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6560         * Makerules [!subdir] (check-abi): Exit with error status if a
6561         test failed.
6563 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6565         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6566         for rint.  Include results for all rounding modes.
6567         (nearbyint_test): Use ALL_RM_TEST.
6568         (rint_test_data): Include all tests used for nearbyint.
6570 2014-03-17  Will Newton  <will.newton@linaro.org>
6572         * nptl/sysdeps/pthread/pthread.h: Revert previous
6573         change.
6575         * sysdeps/generic/ldsodefs.h: Revert previous
6576         change.
6578         * libio/genops.c: Revert previous change.
6579         * libio/libioP.h: Likewise.
6580         * stdio-common/vfprintf.c: Likewise.
6582         * sysdeps/generic/math_private.h: Revert previous
6583         change.
6585         * sysdeps/generic/math_private.h: Check whether
6586         HAVE_RM_CTX is defined with #ifdef rather
6587         than #if.
6589         * argp/argp-fmtstream.h: Check whether
6590         __STRICT_ANSI__ is defined with #ifdef rather
6591         than #if.
6592         * argp/argp.h: Likewise.
6594         * libio/genops.c: Check whether
6595         _IO_JUMPS_OFFSET is defined with #ifdef rather
6596         than #if.
6597         * libio/libioP.h: Likewise.
6598         * stdio-common/vfprintf.c: Likewise.
6600         * sysdeps/generic/ldsodefs.h: Check whether
6601         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6602         than #if.
6604         * nptl/sysdeps/pthread/pthread.h: Check
6605         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6606         its value.
6608 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6610         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6611         setting O_APPEND.
6612         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6613         test case.
6615         [BZ #16680]
6616         * libio/fileops.c (_IO_file_open): Seek to end of file but
6617         don't cache the offset.
6618         (get_file_offset): Remove function.
6619         (do_ftell): Use cached offset when available.
6620         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6621         don't cache the offset.
6622         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6623         case.
6624         (do_one_test): Call it.
6625         (do_ftell_test): Fix up expected old offset for a+ mode.
6626         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6627         available.
6629         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6630         up test status with function return status.
6631         (do_write_test): Likewise.
6632         (do_append_test): Likewise.
6634         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6635         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6636         Remove.
6638 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6640         * math/gen-libm-test.pl (parse_args): Handle results specified for
6641         each rounding mode separately.
6642         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6643         tests and results from lrint_tonearest_test_data,
6644         lrint_towardzero_test_data, lrint_downward_test_data and
6645         lrint_upward_test_data.
6646         (lrint_test): Use ALL_RM_TEST.
6647         (lrint_tonearest_test_data): Remove.
6648         (lrint_test_tonearest): Likewise.
6649         (lrint_towardzero_test_data): Likewise.
6650         (lrint_test_towardzero): Likewise.
6651         (lrint_downward_test_data): Likewise.
6652         (lrint_test_downward): Likewise.
6653         (lrint_upward_test_data): Likewise.
6654         (lrint_test_upward): Likewise.
6655         (llrint_test_data): Merge in per-rounding-mode tests and results
6656         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6657         llrint_downward_test_data and llrint_upward_test_data.
6658         (llrint_test): Use ALL_RM_TEST.
6659         (llrint_tonearest_test_data): Remove.
6660         (llrint_test_tonearest): Likewise.
6661         (llrint_towardzero_test_data): Likewise.
6662         (llrint_test_towardzero): Likewise.
6663         (llrint_downward_test_data): Likewise.
6664         (llrint_test_downward): Likewise.
6665         (llrint_upward_test_data): Likewise.
6666         (llrint_test_upward): Likewise.
6667         (rint_test_data): Merge in per-rounding-mode tests and results
6668         from rint_tonearest_test_data, rint_towardzero_test_data,
6669         rint_downward_test_data and rint_upward_test_data.  Add
6670         per-rounding-mode results for tests not in those arrays.
6671         (rint_test): Use ALL_RM_TEST.
6672         (rint_tonearest_test_data): Remove.
6673         (rint_test_tonearest): Likewise.
6674         (rint_towardzero_test_data): Likewise.
6675         (rint_test_towardzero): Likewise.
6676         (rint_downward_test_data): Likewise.
6677         (rint_test_downward): Likewise.
6678         (rint_upward_test_data): Likewise.
6679         (rint_test_upward): Likewise.
6680         (main): Don't call removed functions.
6682 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6684         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6685         "Compiled on ..." crapola.  It is anti-useful.
6687 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6689         * scripts/evaluate-test.sh: Handle fourth argument to determine
6690         whether test run should stop on failure.
6691         * Makeconfig (stop-on-test-failure): New variable.
6692         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6693         $(stop-on-test-failure).
6694         * Makefile (tests): Give a summary of results from testing and
6695         exit with failure status if they include an ERROR or FAIL.
6696         (xtests): Likewise.
6697         * manual/install.texi (Configuring and compiling): Mention
6698         stop-on-test-failure=y.
6699         * INSTALL: Regenerated.
6701 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6703         * scripts/versionlist.awk: New file.
6704         * Makerules [$(build-shared) = yes]
6705         (postclean-generated): Add Versions.def, not Versions.def.v and
6706         Versions.def.v.i.
6707         ($(common-objpfx)Versions.def.v.i): Target removed.
6708         ($(common-objpfx)Versions.def): New target.
6709         ($(common-objpfx)Versions.all): Depend on that rather that
6710         $(common-objpfx)Versions.def.v.
6711         * Versions.def: File removed.
6713         * Makeconfig (+gccwarn): Add -Wundef.
6714         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6715         a dl-sysdep.h breaking its contract.
6716         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6717         * include/stackinfo.h: New file.
6718         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6719         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6720         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6721         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6722         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6723         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6724         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6725         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6726         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6727         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6728         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6729         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6730         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6731         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6732         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6734 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6736         [BZ #16707]
6737         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6738         implementation.
6739         * math/libm-test.inc (round_test_data): Add more tests.
6741         [BZ #16706]
6742         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6743         implementation.
6744         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6746         [BZ #16701]
6747         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6748         implementation.
6749         * math/libm-test.inc (ceil_test_data): Add more tests.
6751         * math/libm-test.inc (trunc_test_data): Add more tests related to
6752         BZ#16414.
6754 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6756         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6757         with #if rather than #ifdef.
6758         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6760 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6762         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6763         first.  Disable AVX-512 GCC support if assembler doesn't support
6764         it.
6765         * sysdeps/x86_64/configure: Regenerated.
6767 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6769         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6770         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6771         (__old_pthread_attr_setstack): Likewise.
6772         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6773         [!_STACK_GROWS_DOWN]: Likewise.
6775 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6777         * config.make.in (have-bash2): Delete.
6778         * configure.ac (libc_cv_have_bash2): Delete.
6779         * configure: Regenerate.
6780         * elf/Makefile (common-ldd-rewrite): Rename to ...
6781         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6782         (sh-ldd-rewrite): Delete.
6783         (bash-ldd-rewrite): Delete.
6784         (have-bash2): Delete checks.
6785         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6786         ldd-rewrite.
6788         * config.make.in (have-ksh): Delete.
6789         (KSH): Delete.
6790         * configure.ac (libc_cv_have_ksh): Delete.
6791         * configure: Regenerate.
6793         * elf/Makefile: Delete $(have-ksh) check.
6794         ($(objpfx)sotruss): Change KSH to BASH.
6795         * elf/sotruss.ksh: Rename to ...
6796         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6797         function style to match POSIX.  Drop ksh vim mode setting.
6799         * manual/time.texi (Specifying the Time Zone with TZ): Change
6800         Tuesday to Thursday.
6802         * debug/tst-longjmp_chk2.c: Update header comment.
6803         (stackoverflow_handler): Add comment.  Call assert on pass value.
6805 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6807         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6808         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6809         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6810         (La_x86_64_vector): Add zmm.
6811         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6812         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6813         ($(objpfx)tst-audit10): New target.
6814         ($(objpfx)tst-audit10.out): Likewise.
6815         (tst-audit10-ENV): New.
6816         (AVX512-CFLAGS): Likewise.
6817         (CFLAGS-tst-audit10.c): Likewise.
6818         (CFLAGS-tst-auditmod10a.c): Likewise.
6819         (CFLAGS-tst-auditmod10b.c): Likewise.
6820         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6821         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6822         * sysdeps/x86_64/configure: Regenerated.
6823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6824         AVX-512 zmm register support.
6825         (_dl_x86_64_save_sse): Likewise.
6826         (_dl_x86_64_restore_sse): Likewise.
6827         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6828         size vector registers.
6829         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6830         (ZMM_SIZE): Likewise.
6831         * sysdeps/x86_64/tst-audit10.c: New file.
6832         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6833         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6835 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6837         * configure.ac (HAVE_EHDR_START): New check.
6838         * configure: Regenerated.
6839         * config.h.in (HAVE_EHDR_START): New #undef.
6840         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6841         assuming the lowest-addressed segment maps the start of the file.
6843 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6845         * INSTALL: Regenerated.
6847 2014-03-13  Will Newton  <will.newton@linaro.org>
6849         * manual/setjmp.texi (System V contexts): Improve
6850         clarity and grammar of documentation.
6852 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6854         [BZ #16381]
6855         * elf/Makefile (tests): Add tst-pie2.
6856         (tests-pie): Add tst-pie2.
6857         * elf/tst-pie2.c: New file.
6858         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6859         for ET_EXEC.
6860         * elf/rtld.c (map_doit): Load executable as lt_executable.
6861         (dl_main): Likewise.
6863 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6865         [BZ #16642]
6866         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6867         (__ASSUME_PSELECT): Undefine.
6869 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6871         [BZ #16689]
6872         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6873         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6874         static build.
6875         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6876         selector for static builds.
6878 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6880         [BZ #16695]
6881         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6882         key in the buffer.
6884 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6886         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6887         IFUNC selector for static builds.
6889 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6891         * sysdeps/mips/math_private.h [__mips_hard_float]
6892         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6893         libc_feresetround_mips_ctx.
6894         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6895         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6896         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6898         [BZ #16677]
6899         * math/s_nextafter.c (__nextafter): Do not return value from
6900         overflowing computation.
6901         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6902         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6903         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6904         Likewise.
6905         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6906         Likewise.
6907         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6908         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6910 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6912         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6913         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6914         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6915         the new mov targetting sp.
6917 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6919         [BZ #16683]
6920         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6921         Define it for static builds as well.
6922         (NO_BZERO_IMPL): Likewise.
6924 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6926         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6927         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6928         multiarch strspn for PPC64.
6929         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6930         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6932         (__libc_ifunc_impl_list): Likewise.
6933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6934         multiarch optimizations
6935         * string/strspn.c (strspn): Using macro to redefine symbol name.
6937 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6938             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6940         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6941         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6942         multiarch strncat for PPC64.
6943         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6944         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6946         (__libc_ifunc_impl_list): Likewise.
6947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6948         multiarch optimizations
6950 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6952         [BZ #16639]
6953         * nscd/nscd.service: Make service type forking.
6955 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6957         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6958         sign in non default rounding modes.
6959         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6961 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6963         * math/libm-test.inc (ALL_RM_TEST): New macro.
6964         (ceil_test): Use ALL_RM_TEST.
6965         (cimag_test): Likewise.
6966         (conj_test): Likewise.
6967         (copysign_test): Likewise.
6968         (cproj_test): Likewise.
6969         (creal_test): Likewise.
6970         (fabs_test): Likewise.
6971         (floor_test): Likewise.
6972         (fmax_test): Likewise.
6973         (fmin_test): Likewise.
6974         (fmod_test): Likewise.
6975         (fpclassify_test): Likewise.
6976         (frexp_test): Likewise.
6977         (ilogb_test): Likewise.
6978         (isfinite_test): Likewise.
6979         (finite_test): Likewise.
6980         (isgreater_test): Likewise.
6981         (isgreaterequal_test): Likewise.
6982         (isinf_test): Likewise.
6983         (isless_test): Likewise.
6984         (islessequal_test): Likewise.
6985         (islessgreater_test): Likewise.
6986         (isnan_test): Likewise.
6987         (isnormal_test): Likewise.
6988         (issignaling_test): Likewise.
6989         (isunordered_test): Likewise.
6990         (logb_test): Likewise.
6991         (logb_downward_test_data): Remove.
6992         (logb_test_downward): Likewise.
6993         (lround_test): Use ALL_RM_TEST.
6994         (llround_test): Likewise.
6995         (modf_test): Likewise.
6996         (nexttoward_test): Likewise.
6997         (remainder_test): Likewise.
6998         (drem_test): Likewise.
6999         (remainder_tonearest_test_data): Likewise.
7000         (remainder_test_tonearest): Likewise.
7001         (drem_test_tonearest): Likewise.
7002         (remainder_towardzero_test_data): Likewise.
7003         (remainder_test_towardzero): Likewise.
7004         (drem_test_towardzero): Likewise.
7005         (remainder_downward_test_data): Likewise.
7006         (remainder_test_downward): Likewise.
7007         (drem_test_downward): Likewise.
7008         (remainder_upward_test_data): Likewise.
7009         (remainder_test_upward): Likewise.
7010         (drem_test_upward): Likewise.
7011         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7012         (round_test): Use ALL_RM_TEST.
7013         (signbit_test): Likewise.
7014         (trunc_test): Likewise.
7015         (significand_test): Likewise.
7016         (main): Don't call removed functions.
7018 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7020         [BZ #16674]
7021         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7022         || __USE_XOPEN2K8].
7023         (ILL_ILLOPN): Likewise.
7024         (ILL_ILLADR): Likewise.
7025         (ILL_ILLTRP): Likewise.
7026         (ILL_PRVOPC): Likewise.
7027         (ILL_PRVREG): Likewise.
7028         (ILL_COPROC): Likewise.
7029         (ILL_BADSTK): Likewise.
7030         (FPE_INTDIV): Likewise.
7031         (FPE_INTOVF): Likewise.
7032         (FPE_FLTDIV): Likewise.
7033         (FPE_FLTOVF): Likewise.
7034         (FPE_FLTUND): Likewise.
7035         (FPE_FLTRES): Likewise.
7036         (FPE_FLTINV): Likewise.
7037         (FPE_FLTSUB): Likewise.
7038         (SEGV_MAPERR): Likewise.
7039         (SEGV_ACCERR): Likewise.
7040         (BUS_ADRALN): Likewise.
7041         (BUS_ADRERR): Likewise.
7042         (BUS_OBJERR): Likewise.
7043         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7044         (TRAP_TRACE): Likewise.
7045         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7046         __USE_XOPEN2K8].
7047         (CLD_KILLED): Likewise.
7048         (CLD_DUMPED): Likewise.
7049         (CLD_TRAPPED): Likewise.
7050         (CLD_STOPPED): Likewise.
7051         (CLD_CONTINUED): Likewise.
7052         (POLL_IN): Likewise.
7053         (POLL_OUT): Likewise.
7054         (POLL_MSG): Likewise.
7055         (POLL_ERR): Likewise.
7056         (POLL_PRI): Likewise.
7057         (POLL_HUP): Likewise.
7058         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7059         Likewise.
7060         (ILL_ILLOPN): Likewise.
7061         (ILL_ILLADR): Likewise.
7062         (ILL_ILLTRP): Likewise.
7063         (ILL_PRVOPC): Likewise.
7064         (ILL_PRVREG): Likewise.
7065         (ILL_COPROC): Likewise.
7066         (ILL_BADSTK): Likewise.
7067         (FPE_INTDIV): Likewise.
7068         (FPE_INTOVF): Likewise.
7069         (FPE_FLTDIV): Likewise.
7070         (FPE_FLTOVF): Likewise.
7071         (FPE_FLTUND): Likewise.
7072         (FPE_FLTRES): Likewise.
7073         (FPE_FLTINV): Likewise.
7074         (FPE_FLTSUB): Likewise.
7075         (SEGV_MAPERR): Likewise.
7076         (SEGV_ACCERR): Likewise.
7077         (BUS_ADRALN): Likewise.
7078         (BUS_ADRERR): Likewise.
7079         (BUS_OBJERR): Likewise.
7080         (BUS_MCEERR_AR): Likewise.
7081         (BUS_MCEERR_AO): Likewise.
7082         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7083         (TRAP_TRACE): Likewise.
7084         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7085         __USE_XOPEN2K8].
7086         (CLD_KILLED): Likewise.
7087         (CLD_DUMPED): Likewise.
7088         (CLD_TRAPPED): Likewise.
7089         (CLD_STOPPED): Likewise.
7090         (CLD_CONTINUED): Likewise.
7091         (POLL_IN): Likewise.
7092         (POLL_OUT): Likewise.
7093         (POLL_MSG): Likewise.
7094         (POLL_ERR): Likewise.
7095         (POLL_PRI): Likewise.
7096         (POLL_HUP): Likewise.
7097         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7098         (ILL_ILLOPN): Likewise.
7099         (ILL_ILLADR): Likewise.
7100         (ILL_ILLTRP): Likewise.
7101         (ILL_PRVOPC): Likewise.
7102         (ILL_PRVREG): Likewise.
7103         (ILL_COPROC): Likewise.
7104         (ILL_BADSTK): Likewise.
7105         (FPE_INTDIV): Likewise.
7106         (FPE_INTOVF): Likewise.
7107         (FPE_FLTDIV): Likewise.
7108         (FPE_FLTOVF): Likewise.
7109         (FPE_FLTUND): Likewise.
7110         (FPE_FLTRES): Likewise.
7111         (FPE_FLTINV): Likewise.
7112         (FPE_FLTSUB): Likewise.
7113         (SEGV_MAPERR): Likewise.
7114         (SEGV_ACCERR): Likewise.
7115         (BUS_ADRALN): Likewise.
7116         (BUS_ADRERR): Likewise.
7117         (BUS_OBJERR): Likewise.
7118         (BUS_MCEERR_AR): Likewise.
7119         (BUS_MCEERR_AO): Likewise.
7120         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7121         (TRAP_TRACE): Likewise.
7122         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7123         __USE_XOPEN2K8].
7124         (CLD_KILLED): Likewise.
7125         (CLD_DUMPED): Likewise.
7126         (CLD_TRAPPED): Likewise.
7127         (CLD_STOPPED): Likewise.
7128         (CLD_CONTINUED): Likewise.
7129         (POLL_IN): Likewise.
7130         (POLL_OUT): Likewise.
7131         (POLL_MSG): Likewise.
7132         (POLL_ERR): Likewise.
7133         (POLL_PRI): Likewise.
7134         (POLL_HUP): Likewise.
7135         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7136         Likewise.
7137         (ILL_ILLOPN): Likewise.
7138         (ILL_ILLADR): Likewise.
7139         (ILL_ILLTRP): Likewise.
7140         (ILL_PRVOPC): Likewise.
7141         (ILL_PRVREG): Likewise.
7142         (ILL_COPROC): Likewise.
7143         (ILL_BADSTK): Likewise.
7144         (ILL_BADIADDR): Likewise.
7145         (ILL_BREAK): Likewise.
7146         (FPE_INTDIV): Likewise.
7147         (FPE_INTOVF): Likewise.
7148         (FPE_FLTDIV): Likewise.
7149         (FPE_FLTOVF): Likewise.
7150         (FPE_FLTUND): Likewise.
7151         (FPE_FLTRES): Likewise.
7152         (FPE_FLTINV): Likewise.
7153         (FPE_FLTSUB): Likewise.
7154         (FPE_DECOVF): Likewise.
7155         (FPE_DECDIV): Likewise.
7156         (FPE_DECERR): Likewise.
7157         (FPE_INVASC): Likewise.
7158         (FPE_INVDEC): Likewise.
7159         (SEGV_MAPERR): Likewise.
7160         (SEGV_ACCERR): Likewise.
7161         (SEGV_PSTKOVF): Likewise.
7162         (BUS_ADRALN): Likewise.
7163         (BUS_ADRERR): Likewise.
7164         (BUS_OBJERR): Likewise.
7165         (BUS_MCEERR_AR): Likewise.
7166         (BUS_MCEERR_AO): Likewise.
7167         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7168         (TRAP_TRACE): Likewise.
7169         (TRAP_BRANCH): Likewise.
7170         (TRAP_HWBKPT): Likewise.
7171         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7172         __USE_XOPEN2K8].
7173         (CLD_KILLED): Likewise.
7174         (CLD_DUMPED): Likewise.
7175         (CLD_TRAPPED): Likewise.
7176         (CLD_STOPPED): Likewise.
7177         (CLD_CONTINUED): Likewise.
7178         (POLL_IN): Likewise.
7179         (POLL_OUT): Likewise.
7180         (POLL_MSG): Likewise.
7181         (POLL_ERR): Likewise.
7182         (POLL_PRI): Likewise.
7183         (POLL_HUP): Likewise.
7184         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7185         (ILL_ILLOPN): Likewise.
7186         (ILL_ILLADR): Likewise.
7187         (ILL_ILLTRP): Likewise.
7188         (ILL_PRVOPC): Likewise.
7189         (ILL_PRVREG): Likewise.
7190         (ILL_COPROC): Likewise.
7191         (ILL_BADSTK): Likewise.
7192         (FPE_INTDIV): Likewise.
7193         (FPE_INTOVF): Likewise.
7194         (FPE_FLTDIV): Likewise.
7195         (FPE_FLTOVF): Likewise.
7196         (FPE_FLTUND): Likewise.
7197         (FPE_FLTRES): Likewise.
7198         (FPE_FLTINV): Likewise.
7199         (FPE_FLTSUB): Likewise.
7200         (SEGV_MAPERR): Likewise.
7201         (SEGV_ACCERR): Likewise.
7202         (BUS_ADRALN): Likewise.
7203         (BUS_ADRERR): Likewise.
7204         (BUS_OBJERR): Likewise.
7205         (BUS_MCEERR_AR): Likewise.
7206         (BUS_MCEERR_AO): Likewise.
7207         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7208         (TRAP_TRACE): Likewise.
7209         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7210         __USE_XOPEN2K8].
7211         (CLD_KILLED): Likewise.
7212         (CLD_DUMPED): Likewise.
7213         (CLD_TRAPPED): Likewise.
7214         (CLD_STOPPED): Likewise.
7215         (CLD_CONTINUED): Likewise.
7216         (POLL_IN): Likewise.
7217         (POLL_OUT): Likewise.
7218         (POLL_MSG): Likewise.
7219         (POLL_ERR): Likewise.
7220         (POLL_PRI): Likewise.
7221         (POLL_HUP): Likewise.
7222         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7223         (ILL_ILLOPN): Likewise.
7224         (ILL_ILLADR): Likewise.
7225         (ILL_ILLTRP): Likewise.
7226         (ILL_PRVOPC): Likewise.
7227         (ILL_PRVREG): Likewise.
7228         (ILL_COPROC): Likewise.
7229         (ILL_BADSTK): Likewise.
7230         (FPE_INTDIV): Likewise.
7231         (FPE_INTOVF): Likewise.
7232         (FPE_FLTDIV): Likewise.
7233         (FPE_FLTOVF): Likewise.
7234         (FPE_FLTUND): Likewise.
7235         (FPE_FLTRES): Likewise.
7236         (FPE_FLTINV): Likewise.
7237         (FPE_FLTSUB): Likewise.
7238         (SEGV_MAPERR): Likewise.
7239         (SEGV_ACCERR): Likewise.
7240         (BUS_ADRALN): Likewise.
7241         (BUS_ADRERR): Likewise.
7242         (BUS_OBJERR): Likewise.
7243         (BUS_MCEERR_AR): Likewise.
7244         (BUS_MCEERR_AO): Likewise.
7245         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7246         (TRAP_TRACE): Likewise.
7247         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7248         __USE_XOPEN2K8].
7249         (CLD_KILLED): Likewise.
7250         (CLD_DUMPED): Likewise.
7251         (CLD_TRAPPED): Likewise.
7252         (CLD_STOPPED): Likewise.
7253         (CLD_CONTINUED): Likewise.
7254         (POLL_IN): Likewise.
7255         (POLL_OUT): Likewise.
7256         (POLL_MSG): Likewise.
7257         (POLL_ERR): Likewise.
7258         (POLL_PRI): Likewise.
7259         (POLL_HUP): Likewise.
7260         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7261         (ILL_ILLOPN): Likewise.
7262         (ILL_ILLADR): Likewise.
7263         (ILL_ILLTRP): Likewise.
7264         (ILL_PRVOPC): Likewise.
7265         (ILL_PRVREG): Likewise.
7266         (ILL_COPROC): Likewise.
7267         (ILL_BADSTK): Likewise.
7268         (FPE_INTDIV): Likewise.
7269         (FPE_INTOVF): Likewise.
7270         (FPE_FLTDIV): Likewise.
7271         (FPE_FLTOVF): Likewise.
7272         (FPE_FLTUND): Likewise.
7273         (FPE_FLTRES): Likewise.
7274         (FPE_FLTINV): Likewise.
7275         (FPE_FLTSUB): Likewise.
7276         (SEGV_MAPERR): Likewise.
7277         (SEGV_ACCERR): Likewise.
7278         (BUS_ADRALN): Likewise.
7279         (BUS_ADRERR): Likewise.
7280         (BUS_OBJERR): Likewise.
7281         (BUS_MCEERR_AR): Likewise.
7282         (BUS_MCEERR_AO): Likewise.
7283         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7284         (TRAP_TRACE): Likewise.
7285         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7286         __USE_XOPEN2K8].
7287         (CLD_KILLED): Likewise.
7288         (CLD_DUMPED): Likewise.
7289         (CLD_TRAPPED): Likewise.
7290         (CLD_STOPPED): Likewise.
7291         (CLD_CONTINUED): Likewise.
7292         (POLL_IN): Likewise.
7293         (POLL_OUT): Likewise.
7294         (POLL_MSG): Likewise.
7295         (POLL_ERR): Likewise.
7296         (POLL_PRI): Likewise.
7297         (POLL_HUP): Likewise.
7298         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7299         (ILL_ILLOPN): Likewise.
7300         (ILL_ILLADR): Likewise.
7301         (ILL_ILLTRP): Likewise.
7302         (ILL_PRVOPC): Likewise.
7303         (ILL_PRVREG): Likewise.
7304         (ILL_COPROC): Likewise.
7305         (ILL_BADSTK): Likewise.
7306         (ILL_DBLFLT): Likewise.
7307         (ILL_HARDWALL): Likewise.
7308         (FPE_INTDIV): Likewise.
7309         (FPE_INTOVF): Likewise.
7310         (FPE_FLTDIV): Likewise.
7311         (FPE_FLTOVF): Likewise.
7312         (FPE_FLTUND): Likewise.
7313         (FPE_FLTRES): Likewise.
7314         (FPE_FLTINV): Likewise.
7315         (FPE_FLTSUB): Likewise.
7316         (SEGV_MAPERR): Likewise.
7317         (SEGV_ACCERR): Likewise.
7318         (BUS_ADRALN): Likewise.
7319         (BUS_ADRERR): Likewise.
7320         (BUS_OBJERR): Likewise.
7321         (BUS_MCEERR_AR): Likewise.
7322         (BUS_MCEERR_AO): Likewise.
7323         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7324         (TRAP_TRACE): Likewise.
7325         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7326         __USE_XOPEN2K8].
7327         (CLD_KILLED): Likewise.
7328         (CLD_DUMPED): Likewise.
7329         (CLD_TRAPPED): Likewise.
7330         (CLD_STOPPED): Likewise.
7331         (CLD_CONTINUED): Likewise.
7332         (POLL_IN): Likewise.
7333         (POLL_OUT): Likewise.
7334         (POLL_MSG): Likewise.
7335         (POLL_ERR): Likewise.
7336         (POLL_PRI): Likewise.
7337         (POLL_HUP): Likewise.
7338         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7339         (ILL_ILLOPN): Likewise.
7340         (ILL_ILLADR): Likewise.
7341         (ILL_ILLTRP): Likewise.
7342         (ILL_PRVOPC): Likewise.
7343         (ILL_PRVREG): Likewise.
7344         (ILL_COPROC): Likewise.
7345         (ILL_BADSTK): Likewise.
7346         (FPE_INTDIV): Likewise.
7347         (FPE_INTOVF): Likewise.
7348         (FPE_FLTDIV): Likewise.
7349         (FPE_FLTOVF): Likewise.
7350         (FPE_FLTUND): Likewise.
7351         (FPE_FLTRES): Likewise.
7352         (FPE_FLTINV): Likewise.
7353         (FPE_FLTSUB): Likewise.
7354         (SEGV_MAPERR): Likewise.
7355         (SEGV_ACCERR): Likewise.
7356         (BUS_ADRALN): Likewise.
7357         (BUS_ADRERR): Likewise.
7358         (BUS_OBJERR): Likewise.
7359         (BUS_MCEERR_AR): Likewise.
7360         (BUS_MCEERR_AO): Likewise.
7361         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7362         (TRAP_TRACE): Likewise.
7363         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7364         __USE_XOPEN2K8].
7365         (CLD_KILLED): Likewise.
7366         (CLD_DUMPED): Likewise.
7367         (CLD_TRAPPED): Likewise.
7368         (CLD_STOPPED): Likewise.
7369         (CLD_CONTINUED): Likewise.
7370         (POLL_IN): Likewise.
7371         (POLL_OUT): Likewise.
7372         (POLL_MSG): Likewise.
7373         (POLL_ERR): Likewise.
7374         (POLL_PRI): Likewise.
7375         (POLL_HUP): Likewise.
7376         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7377         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7379         [BZ #16670]
7380         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7381         before #include of <time.h>.
7382         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7383         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7384         (test-xfail-UNIX98/sched.h/conform): Likewise.
7386 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7388         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7389         error absence of trapping exception support.
7390         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7392 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7394         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7395         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7396         * timezone/Makefile (testdata): Move definition above include of
7397         Rules.
7398         (test-zones): New variable.
7399         (tests-special): Add zone files.
7400         (build-testdata): Use $(evaluate-test).
7402         * elf/Makefile (tests-special): Rename tests to end with .out.
7403         ($(objpfx)noload-mem): Likewise.
7404         ($(objpfx)tst-leaks1-mem): Likewise.
7405         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7406         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7407         $(objpfx)test-iconvconfig.out.
7408         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7409         set -e inside subshell and redirect output to file.
7410         * iconvdata/Makefile (generated): Rename tests to end with .out.
7411         Correct type.
7412         (tests-special): Rename tests to end with .out.
7413         ($(objpfx)mtrace-tst-loading): Likewise.
7414         * intl/Makefile (generated): Likewise.
7415         (tests-special): Likewise.
7416         ($(objpfx)mtrace-tst-gettext): Likewise.
7417         * misc/Makefile (generated): Likewise.
7418         (tests-special): Likewise.
7419         ($(objpfx)tst-error1-mem): Likewise.
7420         * nptl/Makefile (tests-special): Likewise.
7421         ($(objpfx)tst-stack3-mem): Likewise.
7422         (generated): Likewise.
7423         * posix/Makefile (generated): Likewise.
7424         (tests-special): Likewise.
7425         (xtests-special): Likewise.
7426         ($(objpfx)tst-fnmatch-mem): Likewise.
7427         ($(objpfx)bug-regex2-mem): Likewise.
7428         ($(objpfx)bug-regex14-mem): Likewise.
7429         ($(objpfx)bug-regex21-mem): Likewise.
7430         ($(objpfx)bug-regex31-mem): Likewise.
7431         ($(objpfx)tst-vfork3-mem): Likewise.
7432         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7433         ($(objpfx)tst-pcre-mem): Likewise.
7434         ($(objpfx)tst-boost-mem): Likewise.
7435         ($(objpfx)bug-ga2-mem): Likewise.
7436         ($(objpfx)bug-glob2-mem): Likewise.
7437         * resolv/Makefile (generate): Likewise.
7438         (tests-special): Likewise.
7439         (xtests-special): Likewise.
7440         (generated): Likewise.
7441         ($(objpfx)mtrace-tst-leaks): Likewise.
7442         ($(objpfx)mtrace-tst-leaks2): Likewise.
7444         * scripts/merge-test-results.sh: New file.
7445         * Makefile (tests-special-notdir): New variable.
7446         (tests): Run merge-test-results.sh.
7447         (xtests): Likewise.
7448         * Rules (tests-special-notdir): New variable.
7449         (xtests-special-notdir): Likewise.
7450         (tests): Run merge-test-results.sh
7451         (xtests): Likewise.
7453         * Makeconfig (test-xfail-name): New variable.
7454         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7455         compute variable name for expected failures.
7456         * conform/Makefile (conformtest-headers-data): New variable.
7457         (conformtest-standards): Likewise.
7458         (conformtest-headers-ISO): Likewise.
7459         (conformtest-headers-ISO99): Likewise.
7460         (conformtest-headers-ISO11): Likewise.
7461         (conformtest-headers-POSIX): Likewise.
7462         (conformtest-headers-XPG3): Likewise.
7463         (conformtest-headers-XPG4): Likewise.
7464         (conformtest-headers-UNIX98): Likewise.
7465         (conformtest-headers-XOPEN2K): Likewise.
7466         (conformtest-headers-POSIX2008): Likewise.
7467         (conformtest-headers-XOPEN2K8): Likewise.
7468         (conformtest-header-list-base): Likewise.
7469         (conformtest-header-list-tests): Likewise.
7470         (conformtest-header-base): Likewise.
7471         (conformtest-header-tests): Likewise.
7472         (tests-special): Add $(conformtest-header-list-tests).  If
7473         [$(fast-check) && !$(cross-compiling)], add
7474         $(conformtest-header-tests) instead of
7475         $(objpfx)run-conformtest.out.
7476         (generated): Add $(conformtest-header-list-base).  If
7477         [$(fast-check) && !$(cross-compiling)], add
7478         $(conformtest-header-base).  Remove previous setting.
7479         ($(conformtest-header-list-tests)): New target.
7480         (test-xfail-run-conformtest): Remove variable.
7481         ($(objpfx)run-conformtest.out): Remove target.
7482         (test-xfail-ISO11/complex.h/conform): New variable.
7483         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7484         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7485         (test-xfail-XPG3/varargs.h/conform): Likewise.
7486         (test-xfail-XPG4/varargs.h/conform): Likewise.
7487         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7488         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7489         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7490         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7491         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7492         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7493         (test-xfail-XPG3/ftw.h/conform): Likewise.
7494         (test-xfail-XPG3/grp.h/conform): Likewise.
7495         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7496         (test-xfail-XPG3/limits.h/conform): Likewise.
7497         (test-xfail-XPG3/pwd.h/conform): Likewise.
7498         (test-xfail-XPG3/search.h/conform): Likewise.
7499         (test-xfail-XPG3/signal.h/conform): Likewise.
7500         (test-xfail-XPG3/stdio.h/conform): Likewise.
7501         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7502         (test-xfail-XPG3/string.h/conform): Likewise.
7503         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7504         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7505         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7506         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7507         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7508         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7509         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7510         (test-xfail-XPG3/termios.h/conform): Likewise.
7511         (test-xfail-XPG3/time.h/conform): Likewise.
7512         (test-xfail-XPG3/unistd.h/conform): Likewise.
7513         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7514         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7515         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7516         (test-xfail-XPG4/netdb.h/conform): Likewise.
7517         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7518         (test-xfail-XPG4/signal.h/conform): Likewise.
7519         (test-xfail-XPG4/stdio.h/conform): Likewise.
7520         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7521         (test-xfail-XPG4/stropts.h/conform): Likewise.
7522         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7523         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7524         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7525         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7526         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7527         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7528         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7529         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7530         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7531         (test-xfail-XPG4/termios.h/conform): Likewise.
7532         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7533         (test-xfail-XPG4/unistd.h/conform): Likewise.
7534         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7535         (test-xfail-POSIX/sched.h/conform): Likewise.
7536         (test-xfail-POSIX/signal.h/conform): Likewise.
7537         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7538         (test-xfail-POSIX/tar.h/conform): Likewise.
7539         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7540         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7541         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7542         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7543         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7544         (test-xfail-UNIX98/sched.h/conform): Likewise.
7545         (test-xfail-UNIX98/signal.h/conform): Likewise.
7546         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7547         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7548         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7549         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7550         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7551         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7552         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7553         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7554         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7555         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7556         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7557         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7558         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7559         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7560         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7561         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7562         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7563         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7564         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7565         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7566         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7567         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7568         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7569         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7570         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7571         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7572         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7573         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7574         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7575         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7576         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7577         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7578         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7579         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7580         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7581         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7582         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7583         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7584         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7585         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7586         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7587         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7588         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7589         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7590         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7591         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7592         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7593         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7594         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7595         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7596         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7597         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7598         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7599         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7600         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7601         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7602         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7603         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7604         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7605         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7606         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7607         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7608         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7609         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7610         (conformtest-cc-flags): Likewise.
7611         ($(conformtest-header-tests): New target.
7612         * conform/check-header-lists.sh: New file.
7613         * conform/run-conformtest.sh: Remove.
7615         * conform/conformtest.pl: Allow ' and \ in values given for
7616         constants.
7617         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7618         inclusion.
7619         [POSIX] (sys/types.h): Likewise.
7620         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7621         inclusion.
7622         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7623         inclusion.
7624         * conform/data/signal.h-data (SIGIO): Remove expectation.
7625         [XPG3] (SIGBUS): Do not expect.
7626         [POSIX || XPG3] (SIGPOLL): Likewise.
7627         [POSIX || XPG3] (SIGPROF): Likewise.
7628         [POSIX || XPG3] (SIGSYS): Likewise.
7629         [XPG3] (SIGTRAP): Likewise.
7630         [POSIX || XPG3] (SIGURG): Likewise.
7631         [POSIX || XPG3] (SIGVTALRM): Likewise.
7632         [POSIX || XPG3] (SIGXCPU): Likewise.
7633         [POSIX || XPG3] (SIGXFSZ): Likewise.
7634         [POSIX] (SA_SIGINFO): Expect.
7635         [XPG3] (siginfo_t): Do not expect type or contents.
7636         [POSIX] (si_pid): Do not expect element.
7637         [POSIX] (si_uid): Likewise.
7638         [POSIX] (si_addr): Likewise.
7639         [POSIX] (si_status): Likewise.
7640         [POSIX] (si_band): Likewise.
7641         [XPG4] (si_value): Likewise.
7642         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7643         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7644         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7645         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7646         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7647         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7648         [POSIX || XPG3] (ILL_COPROC): Likewise.
7649         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7650         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7651         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7652         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7653         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7654         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7655         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7656         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7657         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7658         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7659         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7660         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7661         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7662         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7663         [POSIX || XPG3] (CLD_EXITED): Likewise.
7664         [POSIX || XPG3] (CLD_KILLED): Likewise.
7665         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7666         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7667         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7668         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7669         [POSIX || XPG3] (POLL_IN): Likewise.
7670         [POSIX || XPG3] (POLL_OUT): Likewise.
7671         [POSIX || XPG3] (POLL_MSG): Likewise.
7672         [POSIX || XPG3] (POLL_ERR): Likewise.
7673         [POSIX || XPG3] (POLL_PRI): Likewise.
7674         [POSIX || XPG3] (POLL_HUP): Likewise.
7675         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7676         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7677         (SIG*): Do not allow.
7678         [XPG3] (si_*): Likewise.
7679         [XPG3] (SI_*): Likewise.
7680         [XPG3 || XPG4] (sigev_*): Likewise.
7681         [XPG3 || XPG4] (SIGEV_*): Likewise.
7682         [XPG3 || XPG4] (sival_*): Likewise.
7683         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7684         [POSIX || XPG3] (BUS_*): Likewise.
7685         [POSIX || XPG3] (CLD_*): Likewise.
7686         [POSIX || XPG3] (FPE_*): Likewise.
7687         [POSIX || XPG3] (ILL_*): Likewise.
7688         [POSIX || XPG3] (POLL_*): Likewise.
7689         [POSIX || XPG3] (SEGV_*): Likewise.
7690         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7691         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7692         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7693         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7694         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7695         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7696         Specify type and value.
7697         (TVERSLEN): Likewise.
7698         (REGTYPE): Likewise.
7699         (AREGTYPE): Likewise.
7700         (LNKTYPE): Likewise.
7701         (SYMTYPE): Likewise.
7702         (CHRTYPE): Likewise.
7703         (BLKTYPE): Likewise.
7704         (DIRTYPE): Likewise.
7705         (FIFOTYPE): Likewise.
7706         (CONTTYPE): Likewise.
7707         (TSUID): Likewise.
7708         (TSGID): Likewise.
7709         (TSVTX): Likewise.
7710         (TUREAD): Likewise.
7711         (TUWRITE): Likewise.
7712         (TUEXEC): Likewise.
7713         (TGREAD): Likewise.
7714         (TGWRITE): Likewise.
7715         (TGEXEC): Likewise.
7716         (TOREAD): Likewise.
7717         (TOWRITE): Likewise.
7718         (TOEXEC): Likewise.
7719         [POSIX] (TSVTX): Expect constant.
7721 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7723         * Makefile (tests): Change dependencies to ....
7724         (tests-special): ... additions to this variable.
7725         (tests): Depend on $(tests-special).
7726         * Makerules (check-abi-list): New variable.
7727         (check-abi): Depend on $(check-abi-list).
7728         [$(subdir) = elf] (tests-special): Add
7729         $(objpfx)check-abi-libc.out.
7730         [$(build-shared) = yes && subdir] (tests-special): Add
7731         $(check-abi-list).
7732         [$(build-shared) = yes && subdir] (tests): Do not depend on
7733         check-abi.
7734         * Rules (tests): Depend on $(tests-special).
7735         (xtests): Depend on $(xtests-special).
7736         * catgets/Makefile (tests): Change dependencies to ....
7737         (tests-special): ... additions to this variable.
7738         * conform/Makefile (tests): Change dependencies to ....
7739         (tests-special): ... additions to this variable.
7740         * elf/Makefile (tests): Change dependencies to ....
7741         (tests-special): ... additions to this variable.
7742         * grp/Makefile (tests): Change dependencies to ....
7743         (tests-special): ... additions to this variable.
7744         * iconv/Makefile (xtests): Change dependencies to ....
7745         (xtests-special): ... additions to this variable.
7746         * iconvdata/Makefile (tests): Change dependencies to ....
7747         (tests-special): ... additions to this variable.
7748         * intl/Makefile (tests): Change dependencies to ....
7749         (tests-special): ... additions to this variable.  Also add
7750         $(objpfx)tst-gettext.out.
7751         * io/Makefile (tests): Change dependencies to ....
7752         (tests-special): ... additions to this variable.
7753         * libio/Makefile (tests): Change dependencies to ....
7754         (tests-special): ... additions to this variable.
7755         * malloc/Makefile (tests): Change dependencies to ....
7756         (tests-special): ... additions to this variable.
7757         * misc/Makefile (tests): Change dependencies to ....
7758         (tests-special): ... additions to this variable.
7759         * nptl/Makefile (tests): Change dependencies to ....
7760         (tests-special): ... additions to this variable.
7761         * nptl_db/Makefile (tests): Change dependencies to ....
7762         (tests-special): ... additions to this variable.
7763         * posix/Makefile (tests): Change dependencies to ....
7764         (tests-special): ... additions to this variable.
7765         (xtests): Change dependencies to ....
7766         (xtests-special): ... additions to this variable.
7767         * resolv/Makefile (tests): Change dependencies to ....
7768         (tests-special): ... additions to this variable.
7769         (xtests): Change dependencies to ....
7770         (xtests-special): ... additions to this variable.
7771         * stdio-common/Makefile (tests): Change dependencies to ....
7772         (tests-special): ... additions to this variable.
7773         (do-tst-unbputc): Remove target.
7774         (do-tst-printf): Likewise.
7775         * stdlib/Makefile (tests): Change dependencies to ....
7776         (tests-special): ... additions to this variable.
7777         * string/Makefile (tests): Change dependencies to ....
7778         (tests-special): ... additions to this variable.
7779         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7780         (tests-special): ... additions to this variable.
7782         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7783         whole file.
7784         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7785         whole file.
7786         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7787         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7789         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7790         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7791         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7792         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7793         * conform/data/libgen.h-data [XPG3]: Likewise.
7794         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7795         * conform/data/ndbm.h-data [XPG3]: Likewise.
7796         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7797         * conform/data/netdb.h-data [XPG3]: Likewise.
7798         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7799         * conform/data/poll.h-data [XPG3]: Likewise.
7800         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7801         * conform/data/strings.h-data [XPG3]: Likewise.
7802         * conform/data/stropts.h-data [XPG3]: Likewise.
7803         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7804         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7805         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7806         Likewise.
7807         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7808         * conform/data/sys/time.h-data [XPG3]: Likewise.
7809         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7810         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7811         * conform/data/sys/un.h-data [XPG3]: Likewise.
7812         * conform/data/syslog.h-data [XPG3]: Likewise.
7813         * conform/data/ucontext.h-data [XPG3]: Likewise.
7814         * conform/data/utmpx.h-data [XPG3]: Likewise.
7815         * conform/data/varargs.h-data [UNIX98]: Enable file.
7817         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7819         * math/libm-test.inc (struct test_f_f_data): Move expected results
7820         into structure for each rounding mode.
7821         (struct test_ff_f_data): Likewise.
7822         (struct test_ff_f_data_nexttoward): Likewise.
7823         (struct test_fi_f_data): Likewise.
7824         (struct test_fl_f_data): Likewise.
7825         (struct test_if_f_data): Likewise.
7826         (struct test_fff_f_data): Likewise.
7827         (struct test_c_f_data): Likewise.
7828         (struct test_f_f1_data): Likewise.
7829         (struct test_fF_f1_data): Likewise.
7830         (struct test_ffI_f1_data): Likewise.
7831         (struct test_c_c_data): Likewise.
7832         (struct test_cc_c_data): Likewise.
7833         (struct test_f_i_data): Likewise.
7834         (struct test_ff_i_data): Likewise.
7835         (struct test_f_l_data): Likewise.
7836         (struct test_f_L_data): Likewise.
7837         (struct test_fFF_11_data): Likewise.
7838         (RM_): New macro.
7839         (RM_FE_DOWNWARD): Likewise.
7840         (RM_FE_TONEAREST): Likewise.
7841         (RM_FE_TOWARDZERO): Likewise.
7842         (RM_FE_UPWARD): Likewise.
7843         (RUN_TEST_LOOP_f_f): Update references to expected results.
7844         (RUN_TEST_LOOP_2_f): Likewise.
7845         (RUN_TEST_LOOP_fff_f): Likewise.
7846         (RUN_TEST_LOOP_c_f): Likewise.
7847         (RUN_TEST_LOOP_f_f1): Likewise.
7848         (RUN_TEST_LOOP_fF_f1): Likewise.
7849         (RUN_TEST_LOOP_fI_f1): Likewise.
7850         (RUN_TEST_LOOP_ffI_f1): Likewise.
7851         (RUN_TEST_LOOP_c_c): Likewise.
7852         (RUN_TEST_LOOP_cc_c): Likewise.
7853         (RUN_TEST_LOOP_f_i): Likewise.
7854         (RUN_TEST_LOOP_f_i_tg): Likewise.
7855         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7856         (RUN_TEST_LOOP_f_b): Likewise.
7857         (RUN_TEST_LOOP_f_b_tg): Likewise.
7858         (RUN_TEST_LOOP_f_l): Likewise.
7859         (RUN_TEST_LOOP_f_L): Likewise.
7860         (RUN_TEST_LOOP_fFF_11): Likewise.
7861         * math/gen-libm-test.pl (parse_args): Output four copies of
7862         expected results for each test.
7864         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7865         (__ASSUME_UTIMES): Remove.
7866         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7867         (__ASSUME_UTIMES): Likewise.
7869         * math/gen-auto-libm-tests.c: Update comment on output format.
7870         (output_for_one_input_case): Generate before-rounding and
7871         after-rounding information as conditions on output flags not
7872         floating-point format.
7873         * math/auto-libm-test-out: Regenerated.
7874         * math/gen-libm-test.pl (cond_value): New function.
7875         (or_cond_value): Use cond_value.
7876         (generate_testfile): Handle conditional exceptions.
7878 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7880         * math/libm-test.inc (max_valid_error): New variable.
7881         (init_max_error): Take new argument specifying whether function
7882         results are exactly determined.  Set max_valid_error and bound
7883         other variables for errors based on this argument.
7884         (set_max_error): Do not record results above max_valid_error.
7885         (check_float_internal): Only accept errors of up to 0.5ulps if
7886         also at most max_valid_error.
7887         (START): Take new argument EXACT and pass it to init_max_error.
7888         (acos_test): Update call to START.
7889         (acos_test_tonearest): Likewise.
7890         (acos_test_towardzero): Likewise.
7891         (acos_test_downward): Likewise.
7892         (acos_test_upward): Likewise.
7893         (acosh_test): Likewise.
7894         (asin_test): Likewise.
7895         (asin_test_tonearest): Likewise.
7896         (asin_test_towardzero): Likewise.
7897         (asin_test_downward): Likewise.
7898         (asin_test_upward): Likewise.
7899         (asinh_test): Likewise.
7900         (atan_test): Likewise.
7901         (atanh_test): Likewise.
7902         (atan2_test): Likewise.
7903         (cabs_test): Likewise.
7904         (cacos_test): Likewise.
7905         (cacosh_test): Likewise.
7906         (carg_test): Likewise.
7907         (casin_test): Likewise.
7908         (casinh_test): Likewise.
7909         (catan_test): Likewise.
7910         (catanh_test): Likewise.
7911         (cbrt_test): Likewise.
7912         (ccos_test): Likewise.
7913         (ccosh_test): Likewise.
7914         (ceil_test): Likewise.
7915         (cexp_test): Likewise.
7916         (cimag_test): Likewise.
7917         (clog_test): Likewise.
7918         (clog10_test): Likewise.
7919         (conj_test): Likewise.
7920         (copysign_test): Likewise.
7921         (cos_test): Likewise.
7922         (cos_test_tonearest): Likewise.
7923         (cos_test_towardzero): Likewise.
7924         (cos_test_downward): Likewise.
7925         (cos_test_upward): Likewise.
7926         (cosh_test): Likewise.
7927         (cosh_test_tonearest): Likewise.
7928         (cosh_test_towardzero): Likewise.
7929         (cosh_test_downward): Likewise.
7930         (cosh_test_upward): Likewise.
7931         (cpow_test): Likewise.
7932         (cproj_test): Likewise.
7933         (creal_test): Likewise.
7934         (csin_test): Likewise.
7935         (csinh_test): Likewise.
7936         (csqrt_test): Likewise.
7937         (ctan_test): Likewise.
7938         (ctan_test_tonearest): Likewise.
7939         (ctan_test_towardzero): Likewise.
7940         (ctan_test_downward): Likewise.
7941         (ctan_test_upward): Likewise.
7942         (ctanh_test): Likewise.
7943         (ctanh_test_tonearest): Likewise.
7944         (ctanh_test_towardzero): Likewise.
7945         (ctanh_test_downward): Likewise.
7946         (ctanh_test_upward): Likewise.
7947         (erf_test): Likewise.
7948         (erfc_test): Likewise.
7949         (exp_test): Likewise.
7950         (exp_test_tonearest): Likewise.
7951         (exp_test_towardzero): Likewise.
7952         (exp_test_downward): Likewise.
7953         (exp_test_upward): Likewise.
7954         (exp10_test): Likewise.
7955         (exp10_test_tonearest): Likewise.
7956         (exp10_test_towardzero): Likewise.
7957         (exp10_test_downward): Likewise.
7958         (exp10_test_upward): Likewise.
7959         (pow10_test): Likewise.
7960         (exp2_test): Likewise.
7961         (expm1_test): Likewise.
7962         (expm1_test_tonearest): Likewise.
7963         (expm1_test_towardzero): Likewise.
7964         (expm1_test_downward): Likewise.
7965         (expm1_test_upward): Likewise.
7966         (fabs_test): Likewise.
7967         (fdim_test): Likewise.
7968         (floor_test): Likewise.
7969         (fma_test): Likewise.
7970         (fma_test_towardzero): Likewise.
7971         (fma_test_downward): Likewise.
7972         (fma_test_upward): Likewise.
7973         (fmax_test): Likewise.
7974         (fmin_test): Likewise.
7975         (fmod_test): Likewise.
7976         (fpclassify_test): Likewise.
7977         (frexp_test): Likewise.
7978         (hypot_test): Likewise.
7979         (ilogb_test): Likewise.
7980         (isfinite_test): Likewise.
7981         (finite_test): Likewise.
7982         (isgreater_test): Likewise.
7983         (isgreaterequal_test): Likewise.
7984         (isinf_test): Likewise.
7985         (isless_test): Likewise.
7986         (islessequal_test): Likewise.
7987         (islessgreater_test): Likewise.
7988         (isnan_test): Likewise.
7989         (isnormal_test): Likewise.
7990         (issignaling_test): Likewise.
7991         (isunordered_test): Likewise.
7992         (j0_test): Likewise.
7993         (j1_test): Likewise.
7994         (jn_test): Likewise.
7995         (ldexp_test): Likewise.
7996         (lgamma_test): Likewise.
7997         (gamma_test): Likewise.
7998         (lrint_test): Likewise.
7999         (lrint_test_tonearest): Likewise.
8000         (lrint_test_towardzero): Likewise.
8001         (lrint_test_downward): Likewise.
8002         (lrint_test_upward): Likewise.
8003         (llrint_test): Likewise.
8004         (llrint_test_tonearest): Likewise.
8005         (llrint_test_towardzero): Likewise.
8006         (llrint_test_downward): Likewise.
8007         (llrint_test_upward): Likewise.
8008         (log_test): Likewise.
8009         (log10_test): Likewise.
8010         (log1p_test): Likewise.
8011         (log2_test): Likewise.
8012         (logb_test): Likewise.
8013         (logb_test_downward): Likewise.
8014         (lround_test): Likewise.
8015         (llround_test): Likewise.
8016         (modf_test): Likewise.
8017         (nearbyint_test): Likewise.
8018         (nextafter_test): Likewise.
8019         (nexttoward_test): Likewise.
8020         (pow_test): Likewise.
8021         (pow_test_tonearest): Likewise.
8022         (pow_test_towardzero): Likewise.
8023         (pow_test_downward): Likewise.
8024         (pow_test_upward): Likewise.
8025         (remainder_test): Likewise.
8026         (drem_test): Likewise.
8027         (remainder_test_tonearest): Likewise.
8028         (drem_test_tonearest): Likewise.
8029         (remainder_test_towardzero): Likewise.
8030         (drem_test_towardzero): Likewise.
8031         (remainder_test_downward): Likewise.
8032         (drem_test_downward): Likewise.
8033         (remainder_test_upward): Likewise.
8034         (drem_test_upward): Likewise.
8035         (remquo_test): Likewise.
8036         (rint_test): Likewise.
8037         (rint_test_tonearest): Likewise.
8038         (rint_test_towardzero): Likewise.
8039         (rint_test_downward): Likewise.
8040         (rint_test_upward): Likewise.
8041         (round_test): Likewise.
8042         (scalb_test): Likewise.
8043         (scalbn_test): Likewise.
8044         (scalbln_test): Likewise.
8045         (signbit_test): Likewise.
8046         (sin_test): Likewise.
8047         (sin_test_tonearest): Likewise.
8048         (sin_test_towardzero): Likewise.
8049         (sin_test_downward): Likewise.
8050         (sin_test_upward): Likewise.
8051         (sincos_test): Likewise.
8052         (sinh_test): Likewise.
8053         (sinh_test_tonearest): Likewise.
8054         (sinh_test_towardzero): Likewise.
8055         (sinh_test_downward): Likewise.
8056         (sinh_test_upward): Likewise.
8057         (sqrt_test): Likewise.
8058         (sqrt_test_tonearest): Likewise.
8059         (sqrt_test_towardzero): Likewise.
8060         (sqrt_test_downward): Likewise.
8061         (sqrt_test_upward): Likewise.
8062         (tan_test): Likewise.
8063         (tan_test_tonearest): Likewise.
8064         (tan_test_towardzero): Likewise.
8065         (tan_test_downward): Likewise.
8066         (tan_test_upward): Likewise.
8067         (tanh_test): Likewise.
8068         (tgamma_test): Likewise.
8069         (trunc_test): Likewise.
8070         (y0_test): Likewise.
8071         (y1_test): Likewise.
8072         (yn_test): Likewise.
8073         (significand_test): Likewise.
8075         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8076         individual tests in comment.
8077         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8078         (prev_max_error): New variable.
8079         (prev_real_max_error): Likewise.
8080         (prev_imag_max_error): Likewise.
8081         (compare_ulp_data): Don't refer to test names in comment.
8082         (find_test_ulps): Remove function.
8083         (find_function_ulps): Likewise.
8084         (find_complex_function_ulps): Likewise.
8085         (init_max_error): Take function name as argument.  Look up ulps
8086         for that function.
8087         (print_ulps): Remove function.
8088         (print_max_error): Use prev_max_error instead of calling
8089         find_function_ulps.
8090         (print_complex_max_error): Use prev_real_max_error and
8091         prev_imag_max_error instead of calling find_complex_function_ulps.
8092         (check_float_internal): Take max_ulp parameter instead of calling
8093         find_test_ulps.  Don't call print_ulps.
8094         (check_float): Update call to check_float_internal.
8095         (check_complex): Update calls to check_float_internal.
8096         (START): Pass argument to init_max_error.
8097         * math/gen-libm-test.pl (%results): Don't include "kind"
8098         information.
8099         (parse_ulps): Don't handle ulps of individual tests.
8100         (print_ulps_file): Likewise.
8101         (output_ulps): Likewise.
8102         * math/README.libm-test: Update.
8103         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8104         individual tests.
8105         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8106         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8107         * sysdeps/arm/libm-test-ulps: Likewise.
8108         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8109         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8110         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8111         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8112         * sysdeps/microblaze/libm-test-ulps: Likewise.
8113         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8114         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8115         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8116         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8117         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8118         * sysdeps/sh/libm-test-ulps: Likewise.
8119         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8120         * sysdeps/tile/libm-test-ulps: Likewise.
8121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8123 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8125         * math/libm-test.inc (print_complex_max_error): Check separately
8126         whether real and imaginary errors are within allowed range and
8127         pass 0 to print_complex_function_ulps instead of value within
8128         allowed range.
8130 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8132         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8133         formatting.
8134         (get_handles_fopen): Likewise.
8135         (do_write_test): Likewise.
8137         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8139         * libio/fileops.c (do_ftell): Use cached offset when
8140         available.
8141         * libio/iofwide.c (do_ftell_wide): Likewise.
8142         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8143         _IO_file_attach.
8144         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8146         [BZ #16532]
8147         * libio/libioP.h (get_file_offset): New function.
8148         * libio/fileops.c (get_file_offset): Likewise.
8149         (do_ftell): Likewise.
8150         (_IO_new_file_seekoff): Split out ftell logic.
8151         * libio/wfileops.c (do_ftell_wide): Likewise.
8152         (_IO_wfile_seekoff): Split out ftell logic.
8153         * libio/tst-ftell-active-handler.c: New test case.
8154         * libio/Makefile (tests): Add it.
8156 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8158         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8159         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8161 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8163         [BZ #16639]
8164         * nscd/connections.c (nscd_init): Call do_exit.
8165         (start_threads): Call do_exit and notify_parent.
8166         (begin_drop_privileges): Call do_exit.
8167         (finish_drop_privileges): Likewise.
8168         * nscd/selinux.c (preserve_capabilities): Likewise.
8169         (install_real_capabilities): Likewise.
8170         (nscd_selinux_enabled): Likewise.
8171         (avc_create_thread): Likewise.
8172         (avc_alloc_lock): Likewise.
8173         (nscd_avc_init): Likewise.
8174         * nscd/nscd.c (parent_fd): New static variable.
8175         (main): Create a pipe between parent and child processes.
8176         Skip closing parent_fd.
8177         (monitor_child): New function.
8178         (do_exit): Likewise.
8179         (notify_parent): Likewise.
8180         * nscd/nscd.h (notify_parent): Likewise.
8181         (do_exit): Likewise.
8183 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8185         * malloc/malloc.c (__libc_calloc): Revert last change.
8187 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8191 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8193         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8195         implementation.
8196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8197         (__libc_ifunc_impl_list): Likewise.
8198         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8199         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8200         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8201         * string/strrchr.c: Define STRRCHR.
8203 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8205         * benchtest/bench-strtok.c (simple_strtok): Delete.
8206         (strtok_string): Use as benchmark.
8207         * string/strtok (STRTOK): New macro.
8209 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8211         * manual/threads.texi: Add header and standard comments to all
8212         functions.
8214         * elf/dl-lookup.c (check_match): New function.
8215         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8216         (do_lookup_x): Remove nested function check_match. Use non-nested
8217         function check_match.
8219 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8221         * csu/Makefile (generated, before-compile): Use += rather than =.
8222         * catgets/Makefile (generated, generated-dirs): Likewise.
8223         * debug/Makefile (generated): Likewise.
8224         * dlfcn/Makefile (generated): Likewise.
8225         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8226         * iconvdata/Makefile (before-compile, generated): Likewise.
8227         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8228         * libio/Makefile (generated): Likewise.
8229         * malloc/Makefile (generated): Likewise.
8230         * manual/Makefile (generated, generated-dirs): Likewise.
8231         * misc/Makefile (generated): Likewise.
8232         * posix/Makefile (generated): Likewise.
8233         * resolv/Makefile (generated): Likewise.
8234         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8235         * timezone/Makefile (generated, generated-dirs): Likewise.
8237         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8239 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8242         power8 implementation.
8243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8244         file: POWER8 llround ifunc implementation.
8245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8246         (__lllround): Add POWER8 implementation.
8247         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8248         POWER8 llround implementation.
8250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8251         power8 implementation.
8252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8253         file: POWER8 llrint ifunc implementation.
8254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8255         Add POWER8 implementation.
8256         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8257         POWER8 llrint implementation.
8259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8260         power8 implementation.
8261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8262         file: POWER8 finite ifunc implementation.
8263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8264         Add POWER8 implementation.
8265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8266         Likewise.
8267         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8268         POWER8 finite implementation.
8269         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8272         power8 implementation.
8273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8274         file: POWER8 isinf ifunc implementation.
8275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8276         POWER8 implementation.
8277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8278         Likewise.
8279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8280         isinf implementation.
8281         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8283         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8284         (INIT_ARCH): Add hwcap2 initialization.
8285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8286         power8 implementation.
8287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8288         file: POWER8 isnan ifunc implementation.
8289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8290         POWER8 implementation.
8291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8292         Likewise.
8293         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8294         isnan implementation.
8295         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8297 2014-02-27  Joey Ye  <joey.ye@arm.com>
8299         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8300         (_FP_NANFRAC_Q): Set to zero.
8302 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8304         [BZ #16623]
8305         * math/auto-libm-test-in: New test inputs.
8306         * math/auto-libm-test-out: Regenerate.
8307         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8308         and DA.
8309         (__cos): Likewise.
8310         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8312 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8314         * scripts/evaluate-test.sh: Take new argument indicating whether
8315         failure is expected.
8316         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8317         indicating whether failure is expected.
8318         * conform/Makefile (test-xfail-run-conformtest): New variable.
8319         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8320         level.
8321         * posix/Makefile (test-xfail-annexc): New variable.
8322         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8324 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8326         * argp/Makefile: Include Makeconfig immediately after defining
8327         subdir.
8328         * assert/Makefile: Likewise.
8329         * benchtests/Makefile: Likewise.
8330         * catgets/Makefile: Likewise.
8331         * conform/Makefile: Likewise.
8332         * crypt/Makefile: Likewise.
8333         * csu/Makefile: Likewise.
8334         (all): Remove target.
8335         * ctype/Makefile: Include Makeconfig immediately after defining
8336         subdir.
8337         * debug/Makefile: Likewise.
8338         * dirent/Makefile: Likewise.
8339         * dlfcn/Makefile: Likewise.
8340         * gmon/Makefile: Likewise.
8341         * gnulib/Makefile: Likewise.
8342         * grp/Makefile: Likewise.
8343         * gshadow/Makefile: Likewise.
8344         * hesiod/Makefile: Likewise.
8345         * hurd/Makefile: Likewise.
8346         (all): Remove target.
8347         * iconvdata/Makefile: Include Makeconfig immediately after
8348         defining subdir.
8349         * inet/Makefile: Likewise.
8350         * intl/Makefile: Likewise.
8351         * io/Makefile: Likewise.
8352         * libio/Makefile: Likewise.
8353         (all): Remove target.
8354         * locale/Makefile: Include Makeconfig immediately after defining
8355         subdir.
8356         * login/Makefile: Likewise.
8357         * mach/Makefile: Likewise.
8358         (all): Remove target.
8359         * malloc/Makefile: Include Makeconfig immediately after defining
8360         subdir.
8361         (all): Remove target.
8362         * manual/Makefile: Include Makeconfig immediately after defining
8363         subdir.
8364         * math/Makefile: Likewise.
8365         * misc/Makefile: Likewise.
8366         * nis/Makefile: Likewise.
8367         * nss/Makefile: Likewise.
8368         * po/Makefile: Likewise.
8369         (all): Remove target.
8370         * posix/Makefile: Include Makeconfig immediately after defining
8371         subdir.
8372         * pwd/Makefile: Likewise.
8373         * resolv/Makefile: Likewise.
8374         * resource/Makefile: Likewise.
8375         * rt/Makefile: Likewise.
8376         * setjmp/Makefile: Likewise.
8377         * shadow/Makefile: Likewise.
8378         * signal/Makefile: Likewise.
8379         * socket/Makefile: Likewise.
8380         * soft-fp/Makefile: Likewise.
8381         * stdio-common/Makefile: Likewise.
8382         * stdlib/Makefile: Likewise.
8383         * streams/Makefile: Likewise.
8384         * string/Makefile: Likewise.
8385         * sunrpc/Makefile: Likewise.
8386         (all): Remove target.
8387         * sysvipc/Makefile: Include Makeconfig immediately after defining
8388         subdir.
8389         * termios/Makefile: Likewise.
8390         * time/Makefile: Likewise.
8391         * timezone/Makefile: Likewise.
8392         (all): Remove target.
8393         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8394         subdir.
8395         * wctype/Makefile: Likewise.
8397 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8399         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8400         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8401         (libc_feholdexcept_setround_mips): Ditto.
8402         (libc_feholdsetround): New.
8403         (libc_feholdsetroundf): New.
8404         (libc_feholdsetroundl): New.
8405         (libc_feupdateenv_test_mips): New.
8406         (libc_feupdateenv_test): New.
8407         (libc_feupdateenv_testf): New.
8408         (libc_feupdateenv_testl): New.
8409         (libc_feresetround): New.
8410         (libc_feresetroundf): New.
8411         (libc_feresetroundl): New.
8412         (libc_fetestexcept_mips): New.
8413         (libc_fetestexcept): New.
8414         (libc_fetestexceptf): New.
8415         (libc_fetestexceptl): New.
8416         (HAVE_RM_CTX): New.
8417         (libc_feholdexcept_setround_mips_ctx): New.
8418         (libc_feholdexcept_setround_ctx): New.
8419         (libc_feholdexcept_setroundf_ctx): New.
8420         (libc_feholdexcept_setroundl_ctx): New.
8421         (libc_fesetenv_mips_ctx): New.
8422         (libc_fesetenv_ctx): New.
8423         (libc_fesetenv_ctxf): New.
8424         (libc_fesetenv_ctxl): New.
8425         (libc_feupdateenv_mips_ctx): New.
8426         (libc_feupdateenv_ctx): New.
8427         (libc_feupdateenvf_ctx): New.
8428         (libc_feupdateenvl_ctx): New.
8429         (libc_feholdsetround_mips_ctx): New.
8430         (libc_feholdsetround_ctx): New.
8431         (libc_feholdsetroundf_ctx): New.
8432         (libc_feholdsetroundl_ctx): New.
8433         (libc_feresetround_mips_ctx): New.
8434         (libc_feresetround_ctx): New.
8435         (libc_feresetroundf_ctx): New.
8436         (libc_feresetroundl_ctx): New.
8438 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8440         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8442         * manual/ipc.texi: New file.
8443         * manual/Makefile (chapters): Add ipc.
8444         * manual/job.texi: Add "Inter-Process Communication" to next.
8445         * manual/process.texi: Add "Inter-Process Communication" to prev.
8447 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8451 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8453         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8455         * manual/arith.texi: Fix spaces after sentences.
8456         * manual/charset.texi: Likewise.
8457         * manual/errno.texi: Likewise.
8458         * manual/install.texi: Likewise.
8459         * manual/llio.texi: Likewise.
8460         * manual/locale.texi: Likewise.
8461         * manual/maint.texi: Likewise.
8462         * manual/math.texi: Likewise.
8463         * manual/memory.texi: Likewise.
8464         * manual/message.texi: Likewise.
8465         * manual/probes.texi: Likewise.
8466         * manual/resource.texi: Likewise.
8467         * manual/signal.texi: Likewise.
8468         * manual/socket.texi: Likewise.
8469         * manual/stdio.texi: Likewise.
8470         * manual/string.texi: Likewise.
8471         * manual/time.texi: Likewise.
8472         * manual/users.texi: Likewise.
8474 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8476         [BZ #16632]
8477         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8478         _DEFAULT_SOURCE is defined.
8480 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8481             Carlos O'Donell  <carlos@redhat.com>
8483         [BZ #16613]
8484         * elf/dl-tls.c (_dl_count_modids): New function.
8485         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8486         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8487         audit library and increment generation counter.
8488         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8489         * elf/tst-audit9.c: New file.
8490         * elf/tst-auditmod9a.c: New file.
8491         * elf/tst-auditmod9b.c: New file.
8492         * elf/Makefile: Add rules to build and run tst-audit9.
8494 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8496         [BZ #15347]
8497         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8499 2014-02-25  Will Newton  <will.newton@linaro.org>
8501         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8502         (__longjmp): Restore sp and lr before restoring callee
8503         saved registers.  Add longjmp and longjmp_target
8504         SystemTap probe point.
8505         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8506         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8507         Define to zero to match jmpbuf layout.
8508         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8509         (__sigsetjmp): Save sp and lr before saving callee
8510         saved registers.  Add setjmp SystemTap probe point.
8512 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8514         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8516 2014-02-24  Andreas Schwab  <schwab@suse.de>
8518         [BZ #15804]
8519         * elf/pldd.c (wait_for_ptrace_stop): New function.
8520         (main): Call it after attaching.
8522 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8524         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8525         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8526         Versions files is now verboten.
8527         * hurd/Versions (libc: GLIBC_2.0):
8528         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8529         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8530         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8531         * mach/Versions: Likewise.
8533         * csu/Versions: Remove unused %include.
8534         * resolv/Versions: Likewise.
8536 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8538         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8539         ($(objpfx)check-local-headers.out): Likewise.
8540         ($(objpfx)begin-end-check.out): Likewise.
8541         * Makerules (check-abi-%.out): Likewise.
8542         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8543         ($(objpfx)test2.cat): Likewise.
8544         ($(objpfx)de/libc.cat): Likewise.
8545         ($(objpfx)test-gencat.out): Likewise.
8546         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8547         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8548         ($(objpfx)noload-mem): Likewise.
8549         ($(objpfx)tst-pathopt.out): Likewise.
8550         ($(objpfx)tst-rtld-load-self.out): Likewise.
8551         ($(objpfx)tst-array1-cmp.out): Likewise.
8552         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8553         ($(objpfx)tst-array2-cmp.out): Likewise.
8554         ($(objpfx)tst-array3-cmp.out): Likewise.
8555         ($(objpfx)tst-array4-cmp.out): Likewise.
8556         ($(objpfx)tst-array5-cmp.out): Likewise.
8557         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8558         ($(objpfx)check-textrel.out): Likewise.
8559         ($(objpfx)check-execstack.out): Likewise.
8560         ($(objpfx)check-localplt.out): Likewise.
8561         ($(objpfx)order2-cmp.out): Likewise.
8562         ($(objpfx)tst-leaks1-mem): Likewise.
8563         ($(objpfx)tst-leaks1-static-mem): Likewise.
8564         ($(objpfx)tst-initorder-cmp.out): Likewise.
8565         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8566         ($(objpfx)tst-unused-dep.out): Likewise.
8567         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8568         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8569         * iconv/Makefile (test-iconvconfig): Likewise.
8570         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8571         ($(objpfx)iconv-test.out): Likewise.
8572         ($(objpfx)tst-tables.out): Likewise.
8573         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8574         ($(objpfx)tst-gettext.out): Likewise.
8575         ($(objpfx)tst-translit.out): Likewise.
8576         ($(objpfx)tst-gettext2.out): Likewise.
8577         ($(objpfx)tst-gettext4.out): Likewise.
8578         ($(objpfx)tst-gettext6.out): Likewise.
8579         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8580         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8581         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8582         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8583         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8584         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8585         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8586         ($(objpfx)wordexp-tst.out): Likewise.
8587         ($(objpfx)annexc.out): Likewise.
8588         ($(objpfx)tst-fnmatch-mem): Likewise.
8589         ($(objpfx)bug-regex2-mem): Likewise.
8590         ($(objpfx)bug-regex14-mem): Likewise.
8591         ($(objpfx)bug-regex21-mem): Likewise.
8592         ($(objpfx)bug-regex31-mem): Likewise.
8593         ($(objpfx)tst-vfork3-mem): Likewise.
8594         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8595         ($(objpfx)tst-pcre-mem): Likewise.
8596         ($(objpfx)tst-boost-mem): Likewise.
8597         ($(objpfx)tst-getconf.out): Likewise.
8598         ($(objpfx)bug-ga2-mem): Likewise.
8599         ($(objpfx)bug-glob2-mem): Likewise.
8600         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8601         ($(objpfx)mtrace-tst-leaks2): Likewise.
8602         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8603         ($(objpfx)tst-printf.out): Likewise.
8604         ($(objpfx)tst-setvbuf1.out): Likewise.
8605         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8606         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8607         ($(objpfx)tst-fmtmsg.out): Likewise.
8608         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8609         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8611         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8612         * bits/sigaction.h [__USE_MISC]: Likewise.
8613         * bits/waitstatus.h: Update #endif comments.
8614         * ctype/ctype.h: Likewise.
8615         * dirent/dirent.h: Likewise.
8616         [__USE_MISC]: Remove redundant conditionals.
8617         * grp/grp.h: Update #endif comments.
8618         [__USE_GNU]: Remove redundant conditionals.
8619         [__USE_MISC]: Likewise.
8620         * inet/netinet/in.h [__USE_GNU]: Likewise.
8621         * io/sys/stat.h [__USE_MISC]: Likewise.
8622         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8623         * libio/bits/stdio.h: Update #endif comments.
8624         [__USE_MISC]: Remove redundant conditionals.
8625         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8626         * libio/stdio.h: Update #endif comments.
8627         [__USE_MISC]: Remove redundant conditionals.
8628         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8629         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8630         * math/math.h: Update #else and #endif comments.
8631         [__USE_MISC]: Remove redundant conditionals.
8632         * misc/sys/uio.h: Update #endif comments.
8633         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8634         * posix/glob.h [__USE_MISC]: Likewise.
8635         * posix/sys/types.h: Update #endif comments.
8636         [__USE_MISC]: Remove redundant conditionals.
8637         * posix/sys/wait.h: Update #endif comments.
8638         [__USE_MISC]: Remove redundant conditionals.
8639         * posix/unistd.h: Update #endif comments.
8640         [__USE_MISC]: Remove redundant conditionals.
8641         * pwd/pwd.h [__USE_GNU]: Likewise.
8642         [__USE_MISC]: Likewise.
8643         * resolv/netdb.h [__USE_GNU]: Likewise.
8644         * signal/signal.h: Update #endif comments.
8645         [__USE_MISC]: Remove redundant conditionals.
8646         * stdlib/stdlib.h: Update #else and #endif comments.
8647         [__USE_MISC]: Remove redundant conditionals.
8648         [__USE_GNU]: Likewise.
8649         * string/bits/string2.h [__USE_MISC]: Likewise.
8650         * string/string.h: Update #endif comments.
8651         [__USE_MISC]: Remove redundant conditionals.
8652         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8653         Likewise.
8654         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8655         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8656         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8657         Likewise.
8658         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8659         Likewise.
8660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8661         comments.
8662         [__USE_MISC]: Remove redundant conditionals.
8663         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8664         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8665         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8666         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8667         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8668         Likewise.
8669         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8670         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8671         Likewise.
8672         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8673         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8674         Likewise.
8675         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8676         Likewise.
8677         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8678         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8679         Likewise.
8680         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8681         Likewise.
8682         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8683         * sysdeps/x86/bits/string.h: Update #endif comments.
8684         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8685         conditionals.
8686         * time/sys/time.h: Update #endif comments.
8687         * time/time.h: Likewise.
8688         [__USE_MISC]: Remove redundant conditionals.
8690 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8692         [BZ #16600]
8693         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8695 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8697         * Versions.def (librt): Add GLIBC_2.17.
8699 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8701         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8702         synonym for _SYS_AUXV_H to allow direct inclusion.
8703         * sysdeps/sparc/bits/hwcap.h: Likewise.
8704         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8705         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8706         * sysdeps/sparc/sysdep.h: Likewise.
8708 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8710         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8712 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8714         * benchtests/bench-strrchr.c: Print length instead of position.
8716 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8718         [BZ #16611]
8719         * sysdeps/unix/sysv/linux/kernel-features.h
8720         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8721         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8722         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8723         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8724         Likewise.
8725         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8726         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8727         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8728         (__ASSUME_SENDMMSG): Define instead of using previous
8729         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8730         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8731         (__ASSUME_SENDMMSG_SYSCALL): Define.
8732         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8733         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8734         Likewise.
8735         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8736         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8737         Likewise.
8738         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8739         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8740         Likewise.
8741         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8742         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8743         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8744         [__ASSUME_SENDMMSG]: Change conditionals to
8745         [__ASSUME_SENDMMSG_SOCKETCALL].
8746         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8747         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8748         Define.
8749         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8750         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8751         Likewise.
8752         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8753         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8754         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8755         [!__ASSUME_SENDMMSG]: Change conditional to
8756         [!__ASSUME_SENDMMSG_SOCKETCALL].
8757         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8758         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8759         Define.
8761         [BZ #16610]
8762         * sysdeps/unix/sysv/linux/kernel-features.h
8763         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8764         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8765         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8766         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8767         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8768         [__i386__ || __sparc__]
8769         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8770         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8771         (__ASSUME_RECVMMSG): Define instead of using previous
8772         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8773         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8774         (__ASSUME_RECVMMSG_SYSCALL): Define.
8775         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8776         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8777         Likewise.
8778         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8779         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8780         Likewise.
8781         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8783         Likewise.
8784         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8785         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8786         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8787         [__ASSUME_RECVMMSG]: Change condition to
8788         [__ASSUME_RECVMMSG_SOCKETCALL].
8789         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8791         Define.
8792         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8793         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8794         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8795         Likewise.
8796         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8797         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8798         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8799         [!__ASSUME_RECVMMSG]: Change condition to
8800         [!__ASSUME_RECVMMSG_SOCKETCALL].
8801         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8802         (__ASSUME_RECVMMSG_SYSCALL): Define.
8804         [BZ #16609]
8805         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8806         __powerpc__ || __s390__ || __sh__ || __sparc__]
8807         (__ASSUME_SOCKETCALL): Define.
8808         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8809         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8810         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8811         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8812         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8813         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8814         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8815         (__ASSUME_ACCEPT4): Define instead of using previous
8816         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8817         __powerpc__ || __sparc__ || __s390__)] condition.
8818         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8819         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8820         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8821         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8822         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8823         [!__ASSUME_ACCEPT4]: Change condition to
8824         [!__ASSUME_ACCEPT4_SOCKETCALL].
8825         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8826         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8827         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8828         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8829         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8830         __ASSUME_ACCEPT4_SYSCALL.
8831         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8832         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8833         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8834         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8835         __ASSUME_ACCEPT4_SYSCALL.
8836         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8837         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8838         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8839         [__ASSUME_ACCEPT4]: Change condition to
8840         [__ASSUME_ACCEPT4_SOCKETCALL].
8841         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8842         (__ASSUME_SOCKETCALL): Define.
8843         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8844         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8845         (__ASSUME_SOCKETCALL): Define.
8846         (__ASSUME_ACCEPT4): Remove.
8847         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8848         Define.
8849         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8850         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8851         Likewise.
8852         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8853         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8855         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8856         macro.
8857         (HWCAP_ARM_LPAE): Likewise.
8858         (HWCAP_ARM_EVTSTRM): Likewise.
8859         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8860         Add vpfd32, lpae and evtstrm.
8861         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8862         Increase to 22.
8864 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8866         * math/auto-libm-test-in: Add tests of clog10.
8867         * math/auto-libm-test-out: Regenerated.
8868         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8869         * sysdeps/i386/fpu/libm-test-ulps: Update.
8870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8872 2014-02-18  Andreas Schwab  <schwab@suse.de>
8874         [BZ #16574]
8875         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8876         Store non-zero if the second buffer was newly allocated.
8877         (send_dg): Likewise.
8878         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8879         to send_vc and send_dg.
8880         (res_nsend): Pass NULL for ansp2_malloced.
8881         * resolv/res_query.c (__libc_res_nquery): Add parameter
8882         answerp2_malloced and pass it down to __libc_res_nsend.
8883         (res_nquery): Pass additional NULL to __libc_res_nquery.
8884         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8885         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8886         second answer buffer if answerp2_malloced was set.
8887         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8888         (__libc_res_nquerydomain): Add parameter
8889         answerp2_malloced and pass it down to __libc_res_nquery.
8890         (res_nquerydomain): Pass additional NULL to
8891         __libc_res_nquerydomain.
8892         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8893         additional NULL to __libc_res_nsend and __libc_res_nquery.
8894         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8895         additional NULL to __libc_res_nsearch.
8896         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8897         parameter of __libc_res_nsearch to check for separately allocated
8898         second buffer.
8899         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8900         __libc_res_nquery.
8901         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8902         additional NULL to __libc_res_nquery.
8903         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8904         __libc_res_nsearch.
8905         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8906         * include/resolv.h: Update prototypes of __libc_res_nquery,
8907         __libc_res_nsearch, __libc_res_nsend.
8909 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8911         * math/auto-libm-test-in: Add tests of fma.
8912         * math/auto-libm-test-out: Regenerated.
8913         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8914         (fma_towardzero_test_data): Likewise.
8915         (fma_downward_test_data): Likewise.
8916         (fma_upward_test_data): Likewise.
8917         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8918         mpc_mode.
8919         (rounding_modes): Add values for new field.
8920         (func_calc_method): Add value mpfr_fff_f.
8921         (func_calc_desc): Add mpfr_fff_f union field.
8922         (test_function): Add field exact_args.
8923         (FUNC): Add macro argument EXACT_ARGS.
8924         (FUNC_mpfr_f_f): Update call to FUNC.
8925         (FUNC_mpfr_f_f): Likewise.
8926         (FUNC_mpfr_ff_f): Likewise.
8927         (FUNC_mpfr_if_f): Likewise.
8928         (FUNC_mpc_c_f): Likewise.
8929         (FUNC_mpc_c_c): Likewise.
8930         (test_functions): Add fma.  Update calls to FUNC.
8931         (handle_input_arg): Add argument exact_args.
8932         (add_test): Update call to handle_input_arg.
8933         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8934         (output_for_one_input_case): Update call to calc_generic_results.
8935         Recalculate exact zero results in each rounding mode.
8937         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8938         non-negative before setting low bit.
8939         * math/auto-libm-test-in: Mark one asin test possibly having
8940         spurious underflow.
8941         * math/auto-libm-test-out: Regenerated.
8942         * sysdeps/i386/fpu/libm-test-ulps: Update.
8943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8945 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8947         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8948         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8949         ports/sysdeps/unix/sysv/linux/microblaze.
8950         * README: Add missing listing for microblaze*-*-linux-gnu.
8952 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8954         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8955         * sysdeps/unix/sysv/linux/ia64: Move directory from
8956         ports/sysdeps/unix/sysv/linux/ia64.
8957         * README: Update listing for ia64-*-linux-gnu.
8959 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8960             Joseph Myers  <joseph@codesourcery.com>
8962         * Makeconfig (test-name): New variable.
8963         (evaluate-test): Likewise.
8964         * Makerules (do-test-clean): Remove .test-result files.
8965         (common-mostlyclean): Likewise.
8966         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8967         * scripts/evaluate-test.sh: New file.
8969 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8971         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8972         separate $(objpfx)tst-fopenloc-cmp.out and
8973         $(objpfx)tst-fopenloc-mem.out targets.
8974         (tests): Update dependencies.
8975         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8976         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8977         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8978         (tst-rxspencer-no-utf8-ARGS): New variable.
8979         (tst-rxspencer-no-utf8-ENV): Likewise.
8980         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8981         instead of $(objpfx)tst-rxspencer-mem.
8982         ($(objpfx)tst-rxspencer-mem): Change target to
8983         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8984         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8985         * posix/tst-rxspencer-no-utf8.c: New file.
8987         * elf/Makefile ($(objpfx)order.out): Remove rule.
8988         [$(run-built-tests) = yes] (tests): Depend on
8989         $(objpfx)order-cmp.out.
8990         ($(objpfx)order-cmp.out): New rule.
8991         [$(run-built-tests) = yes] (tests): Depend on
8992         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8993         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8994         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8995         $(objpfx)tst-array5-static-cmp.out.
8996         ($(objpfx)tst-array1.out): Remove rule.
8997         ($(objpfx)tst-array1-cmp.out): New rule.
8998         ($(objpfx)tst-array1-static.out): Remove rule.
8999         ($(objpfx)tst-array1-static-cmp.out): New rule.
9000         ($(objpfx)tst-array2.out): Remove rule.
9001         ($(objpfx)tst-array2-cmp.out): New rule.
9002         ($(objpfx)tst-array3.out): Remove rule.
9003         ($(objpfx)tst-array3-cmp.out): New rule.
9004         ($(objpfx)tst-array4.out): Remove rule.
9005         ($(objpfx)tst-array4-cmp.out): New rule.
9006         ($(objpfx)tst-array5.out): Remove rule.
9007         ($(objpfx)tst-array5-cmp.out): New rule.
9008         ($(objpfx)tst-array5-static.out): Remove rule.
9009         ($(objpfx)tst-array5-static-cmp.out): New rule.
9010         [$(run-built-tests) = yes] (tests): Depend on
9011         $(objpfx)order2-cmp.out.
9012         ($(objpfx)order2.out): Remove rule.
9013         ($(objpfx)order2-cmp.out): New rule.
9014         ($(objpfx)tst-initorder.out): Remove rule.
9015         [$(run-built-tests) = yes] (tests): Depend on
9016         $(objpfx)tst-initorder-cmp.out.
9017         ($(objpfx)tst-initorder-cmp.out): New rule.
9018         ($(objpfx)tst-initorder2.out): Remove rule.
9019         [$(run-built-tests) = yes] (tests): Depend on
9020         $(objpfx)tst-initorder2-cmp.out.
9021         ($(objpfx)tst-initorder2-cmp.out): New rule.
9022         [$(run-built-tests) = yes] (tests): Depend on
9023         $(objpfx)tst-unused-dep-cmp.out.
9024         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9025         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9026         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9027         on $(objpfx)tst-setvbuf1-cmp.out.
9028         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9029         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9030         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9031         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9032         ($(objpfx)tst-svc.out): Remove rule.
9033         ($(objpfx)tst-svc-cmp.out): New rule.
9035 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9037         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9038         * ctype/ctype.h [__USE_MISC]: Likewise.
9039         * dirent/dirent.h [__USE_MISC]: Likewise.
9040         * grp/grp.h [__USE_MISC]: Likewise.
9041         * io/fcntl.h [__USE_MISC]: Likewise.
9042         * io/sys/stat.h [__USE_MISC]: Likewise.
9043         * libio/stdio.h [__USE_MISC]: Likewise.
9044         * posix/unistd.h [__USE_MISC]: Likewise.
9045         * pwd/pwd.h [__USE_MISC]: Likewise.
9046         * stdlib.h [__USE_MISC]: Likewise.
9047         * string/bits/string2.h [__USE_MISC]: Likewise.
9048         * string/string.h [__USE_MISC]: Likewise.
9049         * time/time.h [__USE_MISC]: Likewise.
9051 2014-02-13  Andreas Schwab  <schwab@suse.de>
9053         [BZ #16574]
9054         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9055         second answer buffer if it was separately allocated.
9057 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9059         * sysdeps/mips/math-tests.h: Include <features.h>.
9060         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9061         (ROUNDING_TESTS_long_double): Do not define.
9062         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9063         (EXCEPTION_TESTS_long_double): Likewise.
9064         * sysdeps/mips/mips64/libm-test-ulps: Update.
9066         * include/features.h (__USE_BSD): Remove macro definitions.
9067         (__USE_SVID): Likewise.
9068         (_BSD_SOURCE): Likewise.
9069         (_SVID_SOURCE): Likewise.
9070         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9071         from definition of _DEFAULT_SOURCE.
9072         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9073         [_DEFAULT_SOURCE].
9074         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9075         * bits/mman.h [__USE_BSD]: Likewise.
9076         * bits/termios.h [__USE_BSD]: Likewise.
9077         * bits/waitstatus.h [__USE_BSD]: Likewise.
9078         * ctype/ctype.h [__USE_SVID]: Likewise.
9079         * dirent/dirent.h [__USE_BSD]: Likewise.
9080         * grp/grp.h [__USE_SVID]: Likewise.
9081         [__USE_BSD]: Likewise.
9082         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9083         * io/fcntl.h [__USE_BSD]: Likewise.
9084         * io/ftw.h [__USE_BSD]: Likewise.
9085         * io/sys/stat.h [__USE_BSD]: Likewise.
9086         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9087         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9088         * libio/stdio.h [__USE_SVID]: Likewise.
9089         [__USE_BSD]: Likewise.
9090         * math/math.h [__USE_SVID]: Likewise.
9091         [__USE_BSD]: Likewise.
9092         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9093         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9094         * misc/search.h [__USE_SVID]: Likewise.
9095         * misc/sys/mman.h [__USE_BSD]: Likewise.
9096         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9097         * misc/sys/uio.h [__USE_BSD]: Likewise.
9098         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9099         * posix/glob.h [__USE_BSD]: Likewise.
9100         * posix/regex.h [__USE_BSD]: Likewise.
9101         * posix/sys/types.h [__USE_BSD]: Likewise.
9102         [__USE_SVID]: Likewise.
9103         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9104         * posix/sys/wait.h [__USE_BSD]: Likewise.
9105         [__USE_SVID]: Likewise.
9106         * posix/unistd.h [__USE_BSD]: Likewise.
9107         [__USE_SVID]: Likewise.
9108         * pwd/pwd.h [__USE_SVID]: Likewise.
9109         * resolv/netdb.h [__USE_BSD]: Likewise.
9110         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9111         * signal/signal.h [__USE_BSD]: Likewise.
9112         [__USE_SVID]: Likewise.
9113         * socket/sys/socket.h [__USE_BSD]: Likewise.
9114         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9115         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9116         [__USE_SVID]: Likewise.
9117         * string/bits/string2.h [__USE_BSD]: Likewise.
9118         [__USE_SVID]: Likewise.
9119         * string/bits/string3.h [__USE_BSD]: Likewise.
9120         * string/endian.h [__USE_BSD]: Likewise.
9121         * string/string.h [__USE_SVID]: Likewise.
9122         [__USE_BSD]: Likewise.
9123         * string/strings.h [__USE_BSD]: Likewise.
9124         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9125         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9126         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9127         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9128         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9129         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9130         Likewise.
9131         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9132         Likewise.
9133         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9134         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9135         Likewise.
9136         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9137         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9138         Likewise.
9139         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9140         Likewise.
9141         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9142         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9143         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9144         Likewise.
9145         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9146         Likewise.
9147         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9148         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9149         * termios/termios.h [__USE_BSD]: Likewise.
9150         * time/sys/time.h [__USE_BSD]: Likewise.
9151         * time/time.h [__USE_BSD]: Likewise.
9152         [__USE_SVID]: Likewise.
9154         * Makefile (subdir_targets): Remove subdir_lint.out.
9156         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9157         (do-tst-printf): Likewise.
9158         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9159         $(objpfx)tst-printf.out.
9161         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9163         * Makerules (check-abi-%): Change target to
9164         $(objpfx)check-abi-%.out.
9165         (check-abi target): Update dependencies.
9166         (check-abi-pattern variable): Redirect output of diff to $@.
9167         (check-abi variable): Likewise.
9168         * elf/Makefile (check-abi): Update dependencies.
9170         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9171         unused.
9172         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9173         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9174         subnormal range.
9175         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9176         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9177         value has largest subnormal exponent.
9178         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9179         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9180         * sysdeps/aarch64/soft-fp/sfp-machine.h
9181         (_FP_TININESS_AFTER_ROUNDING): New macro.
9182         * sysdeps/alpha/soft-fp/sfp-machine.h
9183         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9184         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9185         Likewise.
9186         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9187         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9188         * sysdeps/mips/soft-fp/sfp-machine.h
9189         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9190         * sysdeps/powerpc/soft-fp/sfp-machine.h
9191         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9192         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9193         Likewise.
9194         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9195         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9196         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9197         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9198         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9199         Likewise.
9201 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9203         [BZ #16545]
9204         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9205         model 1.
9207 2014-02-12  Richard Henderson  <rth@redhat.com>
9209         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9210         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9211         * sysdeps/unix/sysv/linux/alpha: Move directory from
9212         ports/sysdeps/unix/sysv/linux/alpha.
9213         * README: Update listing for alpha-*-linux-gnu.
9215 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9217         * include/features.h: Update comment documenting feature test
9218         macros.
9219         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9220         _DEFAULT_SOURCE.
9221         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9222         (_SVID_SOURCE): Likewise.
9223         (_DEFAULT_SOURCE): Update description of default features.
9224         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9225         with _GNU_SOURCE.
9226         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9227         (S_ISVTX): Likewise.
9228         * manual/math.texi (Mathematical Constants): Likewise.
9229         * manual/signal.texi (Interrupted Primitives): Likewise.
9230         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9231         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9232         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9233         Don't refer to _SVID_SOURCE in warning text.
9235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9237         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9238         already defined.
9239         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9240         * sysdeps/mips/dl-lookup.c: Remove.
9241         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9243 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9245         [BZ #16447]
9246         * math/auto-libm-test-in: Add testcase for expl.
9247         * math/auto-libm-test-out: Regenerate.
9248         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9249         calculation of unsafe.
9250         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9252 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9254         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9255         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9256         ports/sysdeps/unix/sysv/linux/aarch64.
9257         * README: Update listing for aarch64*-*-linux-gnu.
9259 2014-02-11  Will Newton  <will.newton@linaro.org>
9261         * manual/probes.texi (Mathematical Function Probes): Use
9262         "triggered" instead of "hit".
9264         * manual/probes.texi (Internal Probes): Add documentation
9265         of setjmp, longjmp and longjmp_target probes.
9267         * include/stap-probe.h: Add comment about probe argument
9268         format.
9270         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9271         definition.  (tr_where, tr_freehook, tr_mallochook,
9272         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9274 2014-02-11  David S. Miller  <davem@davemloft.net>
9276         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9277         processing int_tests.
9279 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9281         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9282         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9283         * sysdeps/unix/sysv/linux/mips: Move directory from
9284         ports/sysdeps/unix/sysv/linux/mips.
9285         * README: Update listing for mips-*-linux-gnu and
9286         mips64-*-linux-gnu.
9288 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9290         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9291         * sysdeps/unix/sysv/linux/m68k: Move directory from
9292         ports/sysdeps/unix/sysv/linux/m68k.
9293         * README: Update listing for m68k-*-linux-gnu.
9295 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9297         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9298         * sysdeps/unix/sysv/linux/generic: Move directory from
9299         ports/sysdeps/unix/sysv/linux/generic.
9300         * sysdeps/unix/sysv/linux/tile: Move directory from
9301         ports/sysdeps/unix/sysv/linux/tile.
9302         * README: Update listing for tile*-*-linux-gnu.
9304 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9306         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9307         __builtin_expect.
9308         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9309         * catgets/open_catalog.c (__open_catalog): Likewise.
9310         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9311         * debug/confstr_chk.c: Likewise.
9312         * debug/fread_chk.c (__fread_chk): Likewise.
9313         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9314         * debug/getgroups_chk.c: Likewise.
9315         * debug/mbsnrtowcs_chk.c: Likewise.
9316         * debug/mbsrtowcs_chk.c: Likewise.
9317         * debug/mbstowcs_chk.c: Likewise.
9318         * debug/memcpy_chk.c: Likewise.
9319         * debug/memmove_chk.c: Likewise.
9320         * debug/mempcpy_chk.c: Likewise.
9321         * debug/memset_chk.c: Likewise.
9322         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9323         * debug/strcat_chk.c (__strcat_chk): Likewise.
9324         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9325         * debug/strncat_chk.c (__strncat_chk): Likewise.
9326         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9327         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9328         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9329         * debug/wcpncpy_chk.c: Likewise.
9330         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9331         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9332         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9333         * debug/wcsncpy_chk.c: Likewise.
9334         * debug/wcsnrtombs_chk.c: Likewise.
9335         * debug/wcsrtombs_chk.c: Likewise.
9336         * debug/wcstombs_chk.c: Likewise.
9337         * debug/wmemcpy_chk.c: Likewise.
9338         * debug/wmemmove_chk.c: Likewise.
9339         * debug/wmempcpy_chk.c: Likewise.
9340         * debug/wmemset_chk.c: Likewise.
9341         * dirent/scandirat.c (SCANDIRAT): Likewise.
9342         * dlfcn/dladdr1.c (dladdr1): Likewise.
9343         * dlfcn/dladdr.c (dladdr): Likewise.
9344         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9345         * dlfcn/dlerror.c (__dlerror): Likewise.
9346         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9347         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9348         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9349         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9350         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9351         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9352         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9353         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9354         Likewise.
9355         * elf/dl-conflict.c: Likewise.
9356         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9357         * elf/dl-dst.h: Likewise.
9358         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9359         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9360         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9361         * elf/dl-init.c (call_init, _dl_init): Likewise.
9362         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9363         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9364         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9365         Likewise.
9366         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9367         Likewise.
9368         * elf/dl-minimal.c (__libc_memalign): Likewise.
9369         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9370         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9371         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9372         * elf/dl-sym.c (do_sym): Likewise.
9373         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9374         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9375         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9376         * elf/dl-writev.h (_dl_writev): Likewise.
9377         * elf/ldconfig.c (search_dir): Likewise.
9378         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9379         (dl_main): Likewise.
9380         * elf/setup-vdso.h (setup_vdso): Likewise.
9381         * grp/compat-initgroups.c (compat_call): Likewise.
9382         * grp/fgetgrent.c (fgetgrent): Likewise.
9383         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9384         * grp/putgrent.c (putgrent): Likewise.
9385         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9386         Likewise.
9387         * hurd/hurdinit.c: Likewise.
9388         * iconvdata/8bit-gap.c (struct): Likewise.
9389         * iconvdata/ansi_x3.110.c : Likewise.
9390         * iconvdata/big5.c : Likewise.
9391         * iconvdata/big5hkscs.c : Likewise.
9392         * iconvdata/cp1255.c: Likewise.
9393         * iconvdata/cp1258.c : Likewise.
9394         * iconvdata/cp932.c : Likewise.
9395         * iconvdata/euc-cn.c: Likewise.
9396         * iconvdata/euc-jisx0213.c : Likewise.
9397         * iconvdata/euc-jp.c: Likewise.
9398         * iconvdata/euc-jp-ms.c : Likewise.
9399         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9400         * iconvdata/gb18030.c : Likewise.
9401         * iconvdata/gbbig5.c (const): Likewise.
9402         * iconvdata/gbgbk.c: Likewise.
9403         * iconvdata/gbk.c : Likewise.
9404         * iconvdata/ibm1364.c : Likewise.
9405         * iconvdata/ibm930.c : Likewise.
9406         * iconvdata/ibm932.c: Likewise.
9407         * iconvdata/ibm933.c : Likewise.
9408         * iconvdata/ibm935.c : Likewise.
9409         * iconvdata/ibm937.c : Likewise.
9410         * iconvdata/ibm939.c : Likewise.
9411         * iconvdata/ibm943.c: Likewise.
9412         * iconvdata/iso_11548-1.c: Likewise.
9413         * iconvdata/iso-2022-cn.c : Likewise.
9414         * iconvdata/iso-2022-cn-ext.c : Likewise.
9415         * iconvdata/iso-2022-jp-3.c: Likewise.
9416         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9417         * iconvdata/iso-2022-kr.c : Likewise.
9418         * iconvdata/iso646.c (gconv_end): Likewise.
9419         * iconvdata/iso_6937-2.c : Likewise.
9420         * iconvdata/iso_6937.c : Likewise.
9421         * iconvdata/iso8859-1.c: Likewise.
9422         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9423         * iconvdata/shift_jisx0213.c : Likewise.
9424         * iconvdata/sjis.c : Likewise.
9425         * iconvdata/t.61.c : Likewise.
9426         * iconvdata/tcvn5712-1.c : Likewise.
9427         * iconvdata/tscii.c: Likewise.
9428         * iconvdata/uhc.c : Likewise.
9429         * iconvdata/unicode.c (gconv_end): Likewise.
9430         * iconvdata/utf-16.c (gconv_end): Likewise.
9431         * iconvdata/utf-32.c (gconv_end): Likewise.
9432         * iconvdata/utf-7.c (base64): Likewise.
9433         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9434         * iconv/gconv_close.c (__gconv_close): Likewise.
9435         * iconv/gconv_open.c (__gconv_open): Likewise.
9436         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9437         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9438         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9439         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9440         (ucs4le_internal_loop_single): Likewise.
9441         * iconv/iconv.c (iconv): Likewise.
9442         * iconv/iconv_close.c: Likewise.
9443         * iconv/loop.c (SINGLE): Likewise.
9444         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9445         * include/atomic.h: Likewise.
9446         * inet/inet6_option.c (option_alloc): Likewise.
9447         * intl/bindtextdom.c (set_binding_values): Likewise.
9448         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9449         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9450         * intl/localealias.c (read_alias_file): Likewise.
9451         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9452         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9453         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9454         * libio/fmemopen.c (fmemopen): Likewise.
9455         * libio/iofgets.c (_IO_fgets): Likewise.
9456         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9457         * libio/iofgetws.c (fgetws): Likewise.
9458         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9459         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9460         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9461         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9462         * locale/findlocale.c (_nl_find_locale): Likewise.
9463         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9464         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9465         Likewise.
9466         * locale/setlocale.c (setlocale): Likewise.
9467         * login/programs/pt_chown.c (main): Likewise.
9468         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9469         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9470         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9471         (mmap, mmap64, mremap, munmap): Likewise.
9472         * math/e_exp2l.c: Likewise.
9473         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9474         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9475         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9476         * math/s_catan.c (__catan): Likewise.
9477         * math/s_catanf.c (__catanf): Likewise.
9478         * math/s_catanh.c (__catanh): Likewise.
9479         * math/s_catanhf.c (__catanhf): Likewise.
9480         * math/s_catanhl.c (__catanhl): Likewise.
9481         * math/s_catanl.c (__catanl): Likewise.
9482         * math/s_ccosh.c (__ccosh): Likewise.
9483         * math/s_ccoshf.c (__ccoshf): Likewise.
9484         * math/s_ccoshl.c (__ccoshl): Likewise.
9485         * math/s_cexp.c (__cexp): Likewise.
9486         * math/s_cexpf.c (__cexpf): Likewise.
9487         * math/s_cexpl.c (__cexpl): Likewise.
9488         * math/s_clog10.c (__clog10): Likewise.
9489         * math/s_clog10f.c (__clog10f): Likewise.
9490         * math/s_clog10l.c (__clog10l): Likewise.
9491         * math/s_clog.c (__clog): Likewise.
9492         * math/s_clogf.c (__clogf): Likewise.
9493         * math/s_clogl.c (__clogl): Likewise.
9494         * math/s_csin.c (__csin): Likewise.
9495         * math/s_csinf.c (__csinf): Likewise.
9496         * math/s_csinh.c (__csinh): Likewise.
9497         * math/s_csinhf.c (__csinhf): Likewise.
9498         * math/s_csinhl.c (__csinhl): Likewise.
9499         * math/s_csinl.c (__csinl): Likewise.
9500         * math/s_csqrt.c (__csqrt): Likewise.
9501         * math/s_csqrtf.c (__csqrtf): Likewise.
9502         * math/s_csqrtl.c (__csqrtl): Likewise.
9503         * math/s_ctan.c (__ctan): Likewise.
9504         * math/s_ctanf.c (__ctanf): Likewise.
9505         * math/s_ctanh.c (__ctanh): Likewise.
9506         * math/s_ctanhf.c (__ctanhf): Likewise.
9507         * math/s_ctanhl.c (__ctanhl): Likewise.
9508         * math/s_ctanl.c (__ctanl): Likewise.
9509         * math/w_pow.c: Likewise.
9510         * math/w_powf.c: Likewise.
9511         * math/w_powl.c: Likewise.
9512         * math/w_scalb.c (sysv_scalb): Likewise.
9513         * math/w_scalbf.c (sysv_scalbf): Likewise.
9514         * math/w_scalbl.c (sysv_scalbl): Likewise.
9515         * misc/error.c (error_tail): Likewise.
9516         * misc/pselect.c (__pselect): Likewise.
9517         * nis/nis_callback.c (__nis_create_callback): Likewise.
9518         * nis/nis_call.c (__nisfind_server): Likewise.
9519         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9520         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9521         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9522         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9523         * nis/nis_lookup.c (nis_lookup): Likewise.
9524         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9525         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9526         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9527         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9528         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9529         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9530         * nis/nss_compat/compat-initgroups.c (add_group)
9531         (internal_getgrent_r): Likewise.
9532         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9533         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9534         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9535         (internal_getspnam_r): Likewise.
9536         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9537         (_nss_nis_getaliasbyname_r): Likewise.
9538         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9539         (_nss_nis_getntohost_r): Likewise.
9540         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9541         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9542         (_nss_nis_getgrgid_r): Likewise.
9543         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9544         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9545         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9546         (_nss_nis_gethostbyname4_r): Likewise.
9547         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9548         (initgroups_netid): Likewise.
9549         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9550         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9551         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9552         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9553         (_nss_nis_getprotobynumber_r): Likewise.
9554         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9555         (_nss_nis_getsecretkey): Likewise.
9556         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9557         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9558         (_nss_nis_getpwuid_r): Likewise.
9559         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9560         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9561         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9562         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9563         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9564         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9565         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9566         Likewise.
9567         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9568         (_nss_nisplus_getntohost_r): Likewise.
9569         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9570         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9571         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9572         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9573         Likewise.
9574         * nis/nss_nisplus/nisplus-initgroups.c
9575         (_nss_nisplus_initgroups_dyn): Likewise.
9576         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9577         (_nss_nisplus_getnetbyaddr_r): Likewise.
9578         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9579         (_nss_nisplus_getprotobynumber_r): Likewise.
9580         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9581         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9582         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9583         Likewise.
9584         * nis/nss_nisplus/nisplus-service.c
9585         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9586         (_nss_nisplus_getservbyport_r): Likewise.
9587         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9588         (_nss_nisplus_getspnam_r): Likewise.
9589         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9590         Likewise.
9591         * nscd/aicache.c (addhstaiX): Likewise.
9592         * nscd/cache.c (cache_search, prune_cache): Likewise.
9593         * nscd/connections.c (register_traced_file, send_ro_fd)
9594         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9595         (main_loop_epoll): Likewise.
9596         * nscd/grpcache.c (addgrbyX): Likewise.
9597         * nscd/hstcache.c (addhstbyX): Likewise.
9598         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9599         * nscd/mem.c (gc, mempool_alloc): Likewise.
9600         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9601         (addinnetgrX): Likewise.
9602         * nscd/nscd-client.h (__nscd_acquire_maplock)
9603         (__nscd_drop_map_ref): Likewise.
9604         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9605         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9606         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9607         Likewise.
9608         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9609         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9610         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9611         (__nscd_get_map_ref): Likewise.
9612         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9613         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9614         Likewise.
9615         * nscd/pwdcache.c (addpwbyX): Likewise.
9616         * nscd/selinux.c (preserve_capabilities): Likewise.
9617         * nscd/servicescache.c (addservbyX): Likewise.
9618         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9619         * posix/fnmatch.c (fnmatch): Likewise.
9620         * posix/getopt.c (_getopt_internal_r): Likewise.
9621         * posix/glob.c (glob, glob_in_dir): Likewise.
9622         * posix/wordexp.c (exec_comm_child): Likewise.
9623         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9624         (getanswer_r, gaih_getanswer_slice): Likewise.
9625         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9626         * resolv/res_init.c: Likewise.
9627         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9628         * resolv/res_query.c (__libc_res_nquery): Likewise.
9629         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9630         Likewise.
9631         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9632         * stdio-common/perror.c (perror): Likewise.
9633         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9634         * stdio-common/tmpnam.c (tmpnam): Likewise.
9635         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9636         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9637         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9638         Likewise.
9639         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9640         * stdlib/putenv.c (putenv): Likewise.
9641         * stdlib/setenv.c (__add_to_environ): Likewise.
9642         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9643         * stdlib/strtol_l.c (INTERNAL): Likewise.
9644         * string/memmem.c (memmem): Likewise.
9645         * string/strerror.c (strerror): Likewise.
9646         * string/strnlen.c (__strnlen): Likewise.
9647         * string/test-memmem.c (simple_memmem): Likewise.
9648         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9649         * sunrpc/pm_getport.c (__get_socket): Likewise.
9650         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9651         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9652         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9653         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9654         Likewise.
9655         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9656         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9657         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9658         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9659         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9660         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9661         Likewise.
9662         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9663         Likewise.
9664         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9665         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9666         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9667         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9668         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9669         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9670         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9671         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9672         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9673         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9674         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9675         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9676         Likewise.
9677         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9678         Likewise.
9679         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9680         Likewise.
9681         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9682         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9683         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9684         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9685         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9686         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9687         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9688         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9689         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9690         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9691         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9692         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9693         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9694         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9695         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9696         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9697         Likewise.
9698         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9699         Likewise.
9700         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9701         Likewise.
9702         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9703         Likewise.
9704         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9705         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9706         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9707         Likewise.
9708         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9709         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9710         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9711         * sysdeps/posix/sleep.c: Likewise.
9712         * sysdeps/posix/tempname.c: Likewise.
9713         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9714         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9715         Likewise.
9716         * sysdeps/powerpc/powerpc32/dl-machine.h
9717         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9718         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9719         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9720         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9721         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9722         Likewise.
9723         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9724         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9725         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9726         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9727         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9728         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9729         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9730         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9731         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9732         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9733         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9734         (elf_machine_lazy_rel): Likewise.
9735         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9736         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9737         (elf_machine_lazy_rel): Likewise.
9738         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9739         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9740         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9741         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9742         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9743         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9744         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9745         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9746         Likewise.
9747         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9748         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9749         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9750         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9751         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9752         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9753         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9754         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9755         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9756         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9757         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9758         Likewise.
9759         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9760         (__posix_fallocate64_l64): Likewise.
9761         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9762         (posix_fallocate): Likewise.
9763         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9764         Likewise.
9765         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9766         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9767         (getifaddrs_internal): Likewise.
9768         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9769         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9770         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9771         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9772         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9773         (__posix_fallocate64_l64): Likewise.
9774         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9775         Likewise.
9776         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9777         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9778         (__get_clockfreq): Likewise.
9779         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9780         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9781         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9783         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9784         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9785         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9786         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9787         Likewise.
9788         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9789         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9790         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9791         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9792         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9793         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9794         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9795         Likewise.
9796         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9797         (posix_fallocate): Likewise.
9798         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9799         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9800         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9801         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9802         (elf_machine_rela, elf_machine_rela_relative)
9803         (elf_machine_lazy_rel): Likewise.
9804         * time/asctime.c (asctime_internal): Likewise.
9805         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9806         * time/tzset.c (__tzset_parse_tz): Likewise.
9807         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9808         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9809         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9810         * wcsmbs/wcsmbsload.h: Likewise.
9812         [BZ #15894]
9813         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9815         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9816         (arena_get2): Remove THREAD_STATS conditionals.
9817         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9818         (__malloc_stats, int): Likewise.
9820 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9822         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9823         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9825         * manual/setjmp.texi: Fix typos/grammar errors.
9827         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9828         Only return early when n is <= 0.  Delete unused return statement.
9830         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9831         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9832         * debug/tst-longjmp_chk3.c: New file.
9834         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9835         (test_main): Replace code with set_fortify_handler call.
9836         * debug/test-strcpy_chk.c: Likewise.
9837         * debug/tst-chk1.c: Likewise.
9838         * debug/tst-longjmp_chk.c: Likewise.
9839         * test-skeleton.c: Include fcntl.h & paths.h
9840         (set_fortify_handler): Define.
9842         * debug/tst-longjmp_chk.c: Add header comment and include
9843         ../test-skeleton.c.
9844         (do_test): Mark static.
9845         (TEST_FUNCTION): Define.
9847         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9848         (IP_PMTUDISC_INTERFACE): Likewise.
9849         (IP_MULTICAST_IF): Likewise.
9850         (IP_MULTICAST_TTL): Likewise.
9851         (IP_MULTICAST_LOOP): Likewise.
9852         (IP_ADD_MEMBERSHIP): Likewise.
9853         (IP_DROP_MEMBERSHIP): Likewise.
9854         (IP_UNBLOCK_SOURCE): Likewise.
9855         (IP_BLOCK_SOURCE): Likewise.
9856         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9857         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9858         (IP_MSFILTER): Likewise.
9859         (MCAST_JOIN_GROUP): Likewise.
9860         (MCAST_BLOCK_SOURCE): Likewise.
9861         (MCAST_UNBLOCK_SOURCE): Likewise.
9862         (MCAST_LEAVE_GROUP): Likewise.
9863         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9864         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9865         (MCAST_MSFILTER): Likewise.
9866         (IP_MULTICAST_ALL): Likewise.
9867         (IP_UNICAST_IF): Likewise.
9869         * timezone/Makefile: Delete $(have-ksh) check.
9870         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9871         * timezone/tzselect.ksh: Add +x mode bits.
9873         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9874         (ANON_INODE_FS_MAGIC): Likewise.
9875         (BDEVFS_MAGIC): Likewise.
9876         (BINFMTFS_MAGIC): Likewise.
9877         (BTRFS_TEST_MAGIC): Likewise.
9878         (CRAMFS_MAGIC_WEND): Likewise.
9879         (DEBUGFS_MAGIC): Likewise.
9880         (ECRYPTFS_SUPER_MAGIC): Likewise.
9881         (EXT3_SUPER_MAGIC): Likewise.
9882         (EXT4_SUPER_MAGIC): Likewise.
9883         (FUTEXFS_SUPER_MAGIC): Likewise.
9884         (HOSTFS_SUPER_MAGIC): Likewise.
9885         (HUGETLBFS_MAGIC): Likewise.
9886         (MINIX3_SUPER_MAGIC): Likewise.
9887         (MTD_INODE_FS_MAGIC): Likewise.
9888         (NILFS_SUPER_MAGIC): Likewise.
9889         (OPENPROM_SUPER_MAGIC): Likewise.
9890         (PIPEFS_MAGIC): Likewise.
9891         (PSTOREFS_MAGIC): Likewise.
9892         (QNX6_SUPER_MAGIC): Likewise.
9893         (RAMFS_MAGIC): Likewise.
9894         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9895         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9896         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9897         (SECURITYFS_MAGIC): Likewise.
9898         (SELINUX_MAGIC): Likewise.
9899         (SMACK_MAGIC): Likewise.
9900         (SOCKFS_MAGIC): Likewise.
9901         (SQUASHFS_MAGIC): Likewise.
9902         (STACK_END_MAGIC): Likewise.
9903         (TMPFS_MAGIC): Likewise.
9904         (USBDEVICE_SUPER_MAGIC): Likewise.
9905         (V9FS_MAGIC): Likewise.
9906         (XENFS_SUPER_MAGIC): Likewise.
9907         (CRAMFS_MAGIC): Fix typo in comment.
9908         (EXT2_SUPER_MAGIC): Update comment.
9909         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9911 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9913         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9914         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9915         * sysdeps/unix/sysv/linux/arm: Move directory from
9916         ports/sysdeps/unix/sysv/linux/arm.
9917         * README: Update listing for arm-*-linux-gnueabi.
9919         * README: Remove mention of am33.
9921 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9923         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9924         than the comma operator, to avoid "rhs of comma has no effect"
9925         compiler warnings.
9926         (__sigfillset, __sigandset, __sigorset): Likewise.
9927         * include/signal.h (__sigemptyset): Likewise.
9928         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9930 2014-02-07  Allan McRae  <allan@archlinux.org>
9932         * version.h (RELEASE): Set to "development".
9933         (VERSION): Set to "2.19.90"
9934         * NEWS: Add 2.20 section.
9936 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9938         [BZ #16529]
9939         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9941 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9943         * manual/contrib.texi: Update entry for Carlos O'Donell,
9944         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9946 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9948         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9950         * sysdeps/unix/sysv/linux/kernel-features.h
9951         [__LINUX_KERNEL_VERSION >= 0x020621]
9952         (__ASSUME_PROC_PID_TASK_COMM): Define.
9954 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9956         [BZ #16398]
9957         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9958         conversion when destination buffer does not have enough space.
9959         * libio/tst-ftell-partial-wide.c: New test case.
9960         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9962         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9963         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9964         Leonard and Allan McRae.
9966 2014-02-04  David S. Miller  <davem@davemloft.net>
9968         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9969         32-bit.
9971 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9974         New file
9975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9976         New file
9977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9978         New file.
9979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9980         New file.
9981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9982         New file.
9983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9984         New file.
9985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9986         New file.
9987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9988         New file.
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9990         New file.
9991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9992         New file.
9993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9994         New file.
9995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9996         New file.
9997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9998         New file.
10000 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10002         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10003         * shlib-versions: Likewise.
10005 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10006             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10008         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10009         (abilist-pattern): New variable, set to %-le.abilist.
10011         * Makerules (abilist-pattern): New variable.
10012         (vpath): Use $(abilist-pattern) in place of %.abilist.
10013         (check-abi-% pattern rule): Likewise.
10014         (check-abi, update-abi): Likewise.
10016 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10018         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10020 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10022         * manual/startup.texi: Add next, previous, and top entries for
10023         the `Program Arguments' and `Environment Variables' nodes.
10025 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10027         * manual/macros.texi: Add comments before MTASC-safety macros.
10029         * manual/users.texi: Document MTASC-safety properties.
10031         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10032         (pthread_getspecific, pthread_setspecific): Format with
10033         @deftypefun, and add @safety note.
10034         * manual/signal.texi: Move comments that analyze the above
10035         functions to their home place.
10037 2014-02-03  Allan McRae  <allan@archlinux.org>
10039         * po/sl.po: Update Slovenian translation from translation project.
10041 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10043         * manual/time.texi (timegm): Add missing blank after @c.
10044         Reported by Joseph Myers <joseph@codesourcery.com>.
10046 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10048         * manual/check-safety.sh: New.
10049         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10051         * manual/terminal.texi: Document MTASC-safety properties.
10053         * manual/filesys.texi: Document MTASC-safety properties.
10055         * manual/errno.texi: Document MTASC-safety properties.
10057         * manual/intro.texi: Document safety identifiers and
10058         conditionals.
10060         * manual/string.texi (wcstok): Fix prototype.
10061         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10063         * manual/time.texi: Document MTASC-safety properties.
10065         * manual/string.texi: Document MTASC-safety properties.
10067         * manual/threads.texi: Document MTASC-safety properties.
10069         * manual/stdio.texi: Document MTASC-safety properties.
10071         * manual/syslog.texi: Document MTASC-safety properties.
10073         * manual/sysinfo.texi: Document MTASC-safety properties.
10075         * manual/startup.texi: Document MTASC-safety properties.
10077         * manual/socket.texi: Document MTASC-safety properties.
10079         * manual/signal.texi: Document MTASC-safety properties.
10081 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10083         * manual/setjmp.texi: Document MTASC-safety properties.
10085         * manual/search.texi: Document MTASC-safety properties.
10087         * manual/resource.texi: Document MTASC-safety properties.
10089         * manual/process.texi: Document MTASC-safety properties.
10091         * manual/platform.texi: Document MTASC-safety properties.
10093         * manual/pipe.texi: Document MTASC-safety properties.
10095         * manual/pattern.texi: Document MTASC-safety properties.
10097         * manual/message.texi: Document MTASC-safety properties.
10099         [BZ #12751]
10100         * manual/memory.texi: Document MTASC-safety properties.
10102         * manual/math.texi: Document MTASC-safety properties.
10104         * manual/locale.texi: Document MTASC-safety properties.
10106         * manual/llio.texi: Document MTASC-safety properties.
10108         * manual/libdl.texi: New.
10110         * manual/lang.texi: Document MTASC-safety properties.
10112         * manual/job.texi: Document MTASC-safety properties.
10114         * manual/getopt.texi: Document MTASC-safety properties.
10116         * manual/ctype.texi: Document MTASC-safety properties.
10118 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10120         [BZ #16046]
10121         * csu/libc-tls.c (static_map): Remove variable.
10122         (__libc_setup_tls): Use main executable's link map for TLS data.
10123         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10124         casing for LM_ID_BASE and GL(dl_nns).
10125         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10126         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10127         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10128         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10129         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10130         member.
10131         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10132         l_phnum members.
10134 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10136         * manual/debug.texi: Document MTASC-safety properties.
10138 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10140         [BZ #16510]
10141         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10142         of __x86_64__ when disabling x87 inline functions.
10144 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10146         * manual/charset.texi: Document MTASC-safety properties.
10148         * manual/crypt.texi: Document MTASC-safety properties.
10150         * manual/conf.texi: Document MTASC-safety properties.
10152         * manual/arith.texi: Document MTASC-safety properties.
10154         * manual/argp.texi: Document MTASC-safety properties.
10156         * manual/macros.texi: Introduce macros to document multi
10157         thread, asynchronous signal and asynchronous cancellation
10158         safety properties.
10159         * manual/intro.texi: Introduce the properties themselves.
10161 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10163         * sysdeps/sh/sh4/Makefile: New file.
10165 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10167         * math/gen-libm-test.pl ($srcdir): New variable.
10168         ($auto_input): Use it.
10170 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10172         [BZ #16506]
10173         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10174         access beyond array bounds when parsing netgroups file.
10176         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10177         the old buffer before realloc.
10179 2014-01-27  Allan McRae  <allan@archlinux.org>
10181         * po/fr.po: Update French translation from translation project.
10183 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10185         * sysdeps/sh/libm-test-ulps: Regenerate.
10187 2014-01-24  David S. Miller  <davem@davemloft.net>
10189         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10191 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10193         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10194         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10196 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10198         [BZ #16474]
10199         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10200         string pointers after reallocation.
10202 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10204         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10205         __SH4A__ instead of __SH_FPU_ANY__.
10207 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10209         * sysdeps/sh/fpu_control.h: New file.
10210         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10211         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10212         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10213         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10214         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10215         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10216         * sysdeps/sh/sys/ucontext.h: Remove.
10217         * sysdeps/sh/sys: Remove directory.
10219 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10221         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10222         s390/sys/ucontext.h.
10223         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10224         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10226 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10228         [BZ #15605]
10229         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10231 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10233         [BZ#16431]
10234         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10235         Adjust the vDSO correctly for internal calls.
10236         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10238 2014-01-20  Allan McRae  <allan@archlinux.org>
10240         * po/ca.po: Update Catalan translation from translation project.
10242 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10244         * sysdeps/s390/sotruss-lib.c: New file.
10246 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10248         [BZ#16430]
10249         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10250         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10251         local calls issues by not having a PLT stub required for IFUNC calls.
10252         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10254 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10256         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10257         * math/test-fpucw-static.c: Likewise.
10259 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10261         [BZ #16453]
10262         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10264 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10266         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10267         implementation for powerpc.
10269 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10271         [BZ #14782]
10272         * sysdeps/posix/system.c (__libc_system): Do not enable
10273         asynchronous cancellation.
10275 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10277         [BZ #16427]
10278         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10279         handling only for numbers special also in the IEEE case.
10281 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10283         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10285 2014-01-11  Allan McRae  <allan@archlinux.org>
10287         * po/bg.po: Update Bulgarian translation from translation project.
10289         * po/de.po: Update German translation from translation project.
10291 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10293         * sysdeps/generic/gcc-compat.h: New file.
10295 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10297         * benchtests/asin-inputs: Correct slow inputs.
10298         * benchtests/acos-inputs: Likewise.
10300 2014-01-10  Allan McRae  <allan@archlinux.org>
10302         * po:sv.po: Update Swedish translation from translation project.
10304         * po/vi.po: Update Vietnamese translation from translation project.
10306         * po/eo.po: Update Esperanto translation from translation project.
10308         * po/cs.po: Update Czech translation from translation project.
10310         * po/nl.po: Update Dutch translation from translation project.
10312         * po/pl.po: Update Polish translation from translation project.
10314         * po/ru.po: Update Russian translation from translation project.
10316         * po/uk.po: Update Ukrainian translation from translation project.
10318 2014-01-08  Brooks Moses  <bmoses@google.com>
10320         * elf/dl-load.c: Fix comment typo.
10322 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10324         * po/header.pot: Rename to...
10325         * po/pot.header: ... this.
10326         * po/Makefile: Use pot.header.
10328 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10329             Maxim Kuvyrkov  <maxim@kugelworks.com>
10331         [BZ #16394]
10332         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10333         SRC and DEST against LEN.
10335 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10337         [BZ #16414]
10338         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10339         implementation.
10340         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10342 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10346 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10348         [BZ #16408]
10349         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10350         for large positive arguments.
10352 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10354         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10356         * math/auto-libm-test-in: Mark various tests with
10357         xfail-rounding:ldbl-128ibm.
10358         * math/auto-libm-test-out: Regenerated.
10360         [BZ #16407]
10361         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10362         Increase overflow threshold.
10364 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10366         [BZ #14286]
10367         * stdio-common/vfprintf.c: Check for integer overflow.
10369 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10371         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10372         the first argument and return value of __tls_get_addr_internal.
10374 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10376         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10377         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10379 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10381         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10382         * sysdeps/s390/rtld-global-offsets.sym: New file.
10383         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10384         GLIBC_2.19 symbol.
10385         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10386         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10387         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10388         ... this.
10389         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10390         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10391         ... this.
10392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10393         Regenerate.
10394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10395         Regenerate.
10396         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10397         halfs of GPRs for high_gprs contexts.
10398         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10399         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10400         field.
10401         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10402         uc_flags field.
10403         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10404         64 bit versions:
10405         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10406         for high GPRs (uc_high_gprs) and for future extensions
10407         (__reserved).
10408         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10409         for future extensions (__reserved).
10410         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10411         64 bit versions:
10412         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10413         SC_HIGHGPRS offset definition.
10414         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10415         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10417         * Versions.def: Add GLIBC_2.19 for libpthread.
10418         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10419         siglongjmp for libpthread with GLIBC_2.19 symver.
10420         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10421         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10422         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10423         * sysdeps/s390/__longjmp.c: New file.
10424         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10425         * sysdeps/s390/longjmp.c: New file.
10426         * sysdeps/s390/setjmp.S: New file.
10427         * sysdeps/s390/sigjmp.S: New file.
10428         * sysdeps/s390/v1-longjmp.c: New file.
10429         * sysdeps/s390/v1-setjmp.h: New file.
10430         * sysdeps/s390/v1-sigjmp.c: New file.
10431         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10432         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10433         GLIBC_2.19 version.
10434         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10435         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10436         versioned symbols for ____longjmp_chk.
10437         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10438         Likewise.
10439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10440         Regenerate.
10441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10442         Regenerate.
10443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10444         Regenerate.
10445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10446         Regenerate.
10447         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10448         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10449         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10450         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10451         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10452         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10453         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10454         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10455         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10456         * sysdeps/s390/rtld-__longjmp.c: New file.
10457         * sysdeps/s390/rtld-setjmp.S: New file.
10459 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10461         [BZ #16400]
10462         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10463         Return -__logl (x) for small positive arguments without evaluating
10464         a polynomial.
10466 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10468         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10469         Rename to ...
10470         (__ptrace_peeksiginfo_args): ... this.
10471         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10472         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10473         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10475 2014-01-06  Allan McRae  <allan@archlinux.org>
10477         * inet/netinet/in.h: Fix typo in comment.
10479 2014-01-05  Andreas Jaeger  <aj@suse.de>
10481         * sysdeps/i386/fpu/libm-test-ulps: Update.
10483 2014-01-05  Allan McRae  <allan@archlinux.org>
10485         * po/libc.pot: Regenerated.
10487         * malloc/memusagestat.c: Fix gettext call formatting.
10489 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10491         * nscd/nscd.c: Improve usage() output.
10493 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10495         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10496         * sysdeps/unix/sysv/linux/configure: Regenerated.
10497         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10498         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10500 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10502         [BZ #16390]
10503         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10504         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10506 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10508         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10509         extra tokens at end of #undef directive.
10510         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10511         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10512         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10514 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10516         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10518         * math/auto-libm-test-in: Mark various tests with
10519         xfail-rounding:ldbl-128ibm.
10520         * math/auto-libm-test-out: Regenerated.
10522 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10524         [BZ #16386]
10525         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10526         numbers with subnormal high part when calculating exponent.
10528         [BZ #16385]
10529         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10530         fabs.
10532         [BZ #16384]
10533         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10534         M_LN2l.
10535         (__ieee754_acoshl): Use __log1pl not __log1p.
10537 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10539         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10540         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10541         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10542         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10543         (reused_arena, arena_get2): Convert to GNU style.
10544         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10545         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10546         (memalign_check, __malloc_set_state): Likewise.
10547         * malloc/mallocbug.c (main): Likewise.
10548         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10549         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10550         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10551         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10552         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10553         (__posix_memalign, malloc_info): Likewise.
10554         * malloc/malloc.h: Likewise.
10555         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10556         (mallochook, memalignhook, reallochook, mabort): Likewise.
10557         * malloc/mcheck.h: Likewise.
10558         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10559         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10560         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10561         * malloc/morecore.c (__default_morecore): Likewise.
10562         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10563         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10564         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10565         (print_and_abort): Likewise.
10566         * malloc/obstack.h: Likewise.
10567         * malloc/set-freeres.c (__libc_freeres): Likewise.
10568         * malloc/tst-mallocstate.c (main): Likewise.
10569         * malloc/tst-mtrace.c (main): Likewise.
10570         * malloc/tst-realloc.c (do_test): Likewise.
10572 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10574         [BZ #16366]
10575         * nscd/netgroupcache.c (do_notfound): New function.
10576         (addgetnetgrentX): Use it.
10578         [BZ # 16365]
10579         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10580         NSS_STATUS_NOTFOUND.
10582 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10584         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10587 2014-01-01  Allan McRae  <allan@archlinux.org>
10589         * scripts/update-copyrights: Update configure input file suffix.
10591         * NEWS: Update copyright year.
10592         * catgets/gencat.c: Likewise.
10593         * csu/version.c: Likewise.
10594         * debug/catchsegv.sh: Likewise.
10595         * debug/pcprofiledump.c: Likewise.
10596         * debug/xtrace.sh: Likewise.
10597         * elf/ldconfig.c: Likewise.
10598         * elf/ldd.bash.in: Likewise.
10599         * elf/pldd.c: Likewise.
10600         * elf/sotruss.ksh: Likewise.
10601         * elf/sprof.c: Likewise.
10602         * iconv/iconv_prog.c: Likewise.
10603         * iconv/iconvconfig.c: Likewise.
10604         * locale/programs/locale.c: Likewise.
10605         * locale/programs/localedef.c: Likewise.
10606         * login/programs/pt_chown.c: Likewise.
10607         * malloc/memusage.sh: Likewise.
10608         * malloc/memusagestat.c: Likewise.
10609         * malloc/mtrace.pl: Likewise.
10610         * manual/libc.texinfo: Likewise.
10611         * nscd/nscd.c: Likewise.
10612         * nss/getent.c: Likewise.
10613         * nss/makedb.c: Likewise.
10614         * posix/getconf.c: Likewise.
10615         * scripts/test-installation.pl: Likewise.
10617         * All files with FSF copyright notices: Update copyright dates
10618         using scripts/update-copyrights.
10619         * intl/plural.c: Regenerated.
10620         * locale/programs/charmap-kw.h: Likewise.
10621         * locale/programs/locfile-kw.h: Likewise.
10623 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10625         * sysdeps/unix/sysv/linux/configure: Regenerated.
10626         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10627         the linux/fanotify.h header.
10628         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10629         HAVE_LINUX_FANOTIFY_H is defined.
10631 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10633         * benchtests/cos-inputs: New inputs.
10634         * benchtests/sin-inputs: Likewise.
10636         * benchtests/atan-inputs: New inputs. Fix name of multiple
10637         precision fallback inputs.
10639         * benchtests/atanh-inputs: New inputs.
10640         * benchtests/tanh-inputs: Likewise.
10642         * benchtests/acosh-inputs: New inputs.
10643         * benchtests/asinh-inputs: Likewise.
10645         * benchtests/cosh-inputs: New inputs.
10646         * benchtests/sinh-inputs: Likewise.
10648         * benchtests/acos-inputs: Add more inputs.
10649         * benchtests/asin-inputs: Likewise.
10651 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10653         [BZ #16375]
10654         * manual/arith.texi: Fix spelling.
10655         * manual/charset.texi: Likewise.
10656         * manual/errno.texi: Likewise.
10657         * manual/filesys.texi: Likewise.
10658         * manual/lang.texi: Likewise.
10659         * manual/llio.texi: Likewise.
10660         * manual/locale.texi: Likewise.
10661         * manual/message.texi: Likewise.
10662         * manual/resource.texi: Likewise.
10663         * manual/search.texi: Likewise.
10664         * manual/setjmp.texi: Likewise.
10665         * manual/stdio.texi: Likewise.
10666         * manual/string.texi: Likewise.
10667         * manual/sysinfo.texi: Likewise.
10668         * manual/time.texi: Likewise.
10670 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10672         * po/sl.po: New file.
10674 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10676         * .gitignore: Add core/.gdbinit/.gdb_history.
10678 2013-12-27  Allan McRae  <allan@archlinux.org>
10680         [BZ #16369]
10681         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10682         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10684 2013-12-24  Brooks Moses  <bmoses@google.com>
10686         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10687         all compilers that claim C++98 compliance, not just GCC.
10688         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10689         Likewise.
10691 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10693         * NEWS: Restore accidentally deleted bug-fix entries.
10695 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10696             Ondřej Bílka  <neleai@seznam.cz>
10698         [BZ #15073]
10699         * malloc/malloc.c (_int_free): Perform sanity check only if we
10700         have_lock.
10702 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10704         [BZ #12986]
10705         * manual/stdio.texi (String Input Conversions): Clarify that character
10706         classes are not supported.
10708 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10712 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10714         [BZ #16337]
10715         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10716         Calculate results for small negative arguments directly rather
10717         than using reflection formula with special underflow handling.
10719         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10720         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10721         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10722         (fchflags): Likewise.
10723         (revoke): Likewise.
10724         (setlogin): Likewise.
10725         (sigaltstack): Likewise.
10726         (wait4): Likewise.
10727         (sigblock): Remove.
10728         (sigsetmask): Likewise.
10729         (wait3): Likewise.
10730         (waitpid): Likewise.
10731         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10732         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10733         file.
10734         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10735         * sysdeps/unix/bsd/Makefile: ... here.
10736         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10737         * sysdeps/unix/bsd/Versions: ... here.
10738         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10739         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10740         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10741         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10742         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10743         * sysdeps/unix/bsd/sigblock.c: ... here.
10744         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10745         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10746         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10747         * sysdeps/unix/bsd/sigvec.c: ... here.
10748         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10749         * sysdeps/unix/bsd/tcdrain.c: ... here.
10750         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10751         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10752         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10753         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10754         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10755         * sysdeps/unix/bsd/wait.c: ... here.
10756         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10757         * sysdeps/unix/bsd/wait3.c: ... here.
10758         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10759         * sysdeps/unix/bsd/waitpid.c: ... here.
10761 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10763         [BZ #16356]
10764         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10765         round-to-nearest for [!USE_AS_EXPM1L].
10766         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10767         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10768         more tests of exp and exp10.  Expect some exp10 tests to miss
10769         exceptions or fail in directed rounding modes.
10770         * math/auto-libm-test-out: Regenerated.
10771         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10772         (exp10_test_tonearest): New function.
10773         (exp10_towardzero_test_data): New array.
10774         (exp10_test_towardzero): New function.
10775         (exp10_downward_test_data): New array.
10776         (exp10_test_downward): New function.
10777         (exp10_upward_test_data): New array.
10778         (exp10_test_upward): New function.
10779         (main): Call the new functions.
10780         * sysdeps/i386/fpu/libm-test-ulps: Update.
10781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10783 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10785         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10786         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10787         * math/auto-libm-test-out: Regenerated.
10788         * math/libm-test.inc (acosh_test_data): Add more tests.
10789         (atanh_test_data): Likewise.
10790         (ceil_test_data): Likewise.
10791         (copysign_test_data): Likewise.
10792         * sysdeps/i386/fpu/libm-test-ulps: Update.
10793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10795         * timezone/checktab.awk: Update from tzcode 2013i.
10796         * timezone/private.h: Likewise.
10797         * timezone/scheck.c: Likewise.
10798         * timezone/tzfile.h: Likewise.
10799         * timezone/tzselect.ksh: Likewise.
10800         * timezone/zdump.c: Likewise.
10801         * timezone/zic.c: Likewise.
10803         * math/auto-libm-test-in: Add tests of cpow.
10804         * math/auto-libm-test-out: Regenerated.
10805         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10806         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10807         mpc_cc_c.
10808         (func_calc_desc): Add mpc_cc_c union field.
10809         (test_functions): Add cpow.
10810         (special_fill_2pi): New function.
10811         (special_real_inputs): Add 2pi.
10812         (calc_generic_results): Handle mpc_cc_c.
10813         * sysdeps/i386/fpu/libm-test-ulps: Update.
10814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10817         csqrt, ctan and ctanh.
10818         * math/auto-libm-test-out: Regenerated.
10819         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10820         (TEST_COND_x86): Likewise.
10821         (ccos_test_data): Use AUTO_TESTS_c_c.
10822         (ccosh_test_data): Likewise.
10823         (cexp_test_data): Likewise.
10824         (clog_test_data): Likewise.
10825         (csqrt_test_data): Likewise.
10826         (ctan_test_data): Likewise.
10827         (ctan_tonearest_test_data): Likewise.
10828         (ctan_towardzero_test_data): Likewise.
10829         (ctan_downward_test_data): Likewise.
10830         (ctan_upward_test_data): Likewise.
10831         (ctanh_test_data): Likewise.
10832         (ctanh_tonearest_test_data): Likewise.
10833         (ctanh_towardzero_test_data): Likewise.
10834         (ctanh_downward_test_data): Likewise.
10835         (ctanh_upward_test_data): Likewise.
10836         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10837         mpc_c_c.
10838         (func_calc_desc): Add mpc_c_c union field.
10839         (FUNC_mpc_c_c): New macro.
10840         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10841         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10842         ctanh.
10843         (special_fill_min_subnorm_p120): New function.
10844         (special_real_inputs): Add min_subnorm_p120.
10845         (calc_generic_results): Handle mpc_c_c.
10846         * sysdeps/i386/fpu/libm-test-ulps: Update.
10847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10849 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10851         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10852         (do_sin_slow): New functions.
10853         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10854         (cslow2, csloww1, csloww2): Use the new functions.
10856         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10857         Use M to change sign of result instead of X.  Assume X is
10858         positive.
10859         (csloww1): Likewise.
10860         (__sin): Adjust.
10861         (__cos): Adjust.
10863         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10864         arguments A and DA.
10865         (__sin): Adjust.
10866         (__cos): Likewise.
10868         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10869         (__cos): Likewise.
10870         (sloww1): Don't adjust sign of DX.
10871         (csloww1): Likewise.
10872         (sloww2): Use X directly and don't adjust sign of DX.
10873         (csloww2): Likewise.
10875 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10877         * math/auto-libm-test-in: Add tests of cabs and carg.
10878         * math/auto-libm-test-out: Regenerated.
10879         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10880         (carg_test_data): Likewise.
10881         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10882         mpc_c_f.
10883         (func_calc_desc): Add mpc_c_f union field.
10884         (test_functions): Add cabs and carg.
10885         (calc_generic_results): Handle mpc_c_f.
10887         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10888         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10889         as a macro and a compat symbol.
10890         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10891         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10892         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10893         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10894         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10895         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10896         not use .hidden.
10897         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10898         Likewise.
10899         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10900         Likewise.
10901         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10902         Likewise.
10903         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10904         Likewise.
10905         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10906         Likewise.
10907         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10908         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10909         from GLIBC_2.3.2.
10911 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10915 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10917         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10918         trailing whitespace removed.
10919         * scripts/config.guess: Update to version 2013-11-29.
10920         * scripts/config.sub: Update to version 2013-10-01.
10922         * math/auto-libm-test-in: Add tests of sincos.
10923         * math/auto-libm-test-out: Regenerated.
10924         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10925         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10926         mpfr_f_11.
10927         (func_calc_desc): Add mpfr_f_11 union field.
10928         (test_functions): Add sincos.
10929         (calc_generic_results): Handle mpfr_f_11.
10930         * sysdeps/i386/fpu/libm-test-ulps: Update.
10931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10933 2013-12-19  Andreas Schwab  <schwab@suse.de>
10935         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10936         CALL_MCOUNT.
10937         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10938         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10939         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10941 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10943         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10944         * sysdeps/i386/fpu/libm-test-ulps: Update.
10945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10947         [BZ #16293]
10948         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10949         round-to-nearest mode when using frndint.
10950         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10951         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10952         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10953         Likewise.
10954         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10955         sinh test to fail.
10956         * math/auto-libm-test-out: Regenerated.
10957         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10958         (TEST_COND_x86): Likewise.
10959         (expm1_tonearest_test_data): New array.
10960         (expm1_test_tonearest): New function.
10961         (expm1_towardzero_test_data): New array.
10962         (expm1_test_towardzero): New function.
10963         (expm1_downward_test_data): New array.
10964         (expm1_test_downward): New function.
10965         (expm1_upward_test_data): New array.
10966         (expm1_test_upward): New function.
10967         (main): Run the new test functions.
10968         * sysdeps/i386/fpu/libm-test-ulps: Update.
10969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10971         * include/features.h: Update comment documenting feature test
10972         macros.  Mention _DEFAULT_SOURCE in comment.
10973         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10974         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10975         _BSD_SOURCE and _SVID_SOURCE.
10976         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10977         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10978         !_SVID_SOURCE]: Likewise.
10979         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10980         (__USE_POSIX_IMPLICITLY): Define.
10981         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10982         (_POSIX_SOURCE): Undefine and redefine.
10983         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10984         (_POSIX_C_SOURCE): Likewise.
10985         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10986         (Feature Test Macros): Update documentation of default features.
10988 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10990         * benchtests/Makefile: Add bench-strtok.
10991         * benchtests/bench-strtok.c: New file: strtok benchtest.
10993 2013-12-19  Allan McRae  <allan@archlinux.org>
10995         * manual/install.texi: Suppress menu for plain text output.
10996         * INSTALL: Regenerated.
10998 2013-12-18  Brooks Moses  <bmoses@google.com>
11000         [BZ #15846]
11001         * misc/getauxval.c: Include errno.h.
11002         (__getauxval): Set errno to ENOENT if the requested type is not
11003         found.
11004         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11005         don't declare with __attribute_const__.
11006         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11007         * manual/startup.texi: Document that getauxval sets errno.
11009 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11011         * math/auto-libm-test-in: Add tests of jn and yn.
11012         * math/auto-libm-test-out: Regenerated.
11013         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11014         (yn_test_data): Likewise.
11015         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11016         mpfr_if_f.
11017         (func_calc_desc): Add mpfr_if_f union field.
11018         (FUNC_mpfr_if_f): New macro.
11019         (test_functions): Add jn and yn.
11020         (calc_generic_results): Assert type of second input for
11021         mpfr_ff_f.  Handle mpfr_if_f.
11022         (output_for_one_input_case): Disable all checking for arguments
11023         fitting floating-point types in case of an integer argument.
11024         * sysdeps/i386/fpu/libm-test-ulps: Update.
11025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11028         Don't expect fegetround reference in libm.so.
11030 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11032         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11033         $(config-cflags-nofma).
11035 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11037         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11038         * math/auto-libm-test-out: Regenerated.
11040         [BZ #16338]
11041         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11042         to determine exponent and adjust argument to have exponent of -1.
11043         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11044         log2.
11045         * math/auto-libm-test-out: Regenerated.
11046         * sysdeps/i386/fpu/libm-test-ulps: Update.
11047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11049 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11051         * manual/probes.texi: Remove cases when per-thread arenas are
11052         disabled.
11054 2013-12-18  Andreas Schwab  <schwab@suse.de>
11056         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11057         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11058         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11059         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11060         * sysdeps/i386/i686/multiarch/Makefile: Update.
11061         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11063 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11065         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11066         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11068 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11070         [BZ #15968]
11071         Support TZ transition times < 00:00:00.
11072         This is needed for version-3 tz-format files; it supports time
11073         stamps past 2037 for America/Godthab (the only entry in the tz
11074         database for which this change is relevant).
11075         * manual/time.texi (TZ Variable): Document transition times
11076         from -167:59:59 through -00:00:01.
11077         * time/tzset.c (tz_rule): Time of day is now signed.
11078         (__tzset_parse_tz): Parse negative time of day.
11080         Document TZ transition times >= 25:00:00.
11081         * manual/time.texi (TZ Variable): Document transition times from
11082         25:00:00 through 167:59:59.  These are already supported, and this
11083         support will help with version-3 tz-format files.
11085         * manual/time.texi (TZ Variable): Modernize North America example
11086         to reflect current (i.e., 2007-and-later) daylight saving rules.
11088         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11090 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11092         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11093         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11094         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11095         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11096         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11097         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11098         * sysdeps/unix/bsd/clock.c: Likewise.
11099         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11100         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11101         * sysdeps/unix/bsd/init-posix.c: Likewise.
11102         * sysdeps/unix/bsd/poll.c: Likewise.
11103         * sysdeps/unix/bsd/ptsname.c: Likewise.
11104         * sysdeps/unix/bsd/seekdir.c: Likewise.
11105         * sysdeps/unix/bsd/setegid.c: Likewise.
11106         * sysdeps/unix/bsd/seteuid.c: Likewise.
11107         * sysdeps/unix/bsd/setgid.c: Likewise.
11108         * sysdeps/unix/bsd/setrgid.c: Likewise.
11109         * sysdeps/unix/bsd/setruid.c: Likewise.
11110         * sysdeps/unix/bsd/setsid.c: Likewise.
11111         * sysdeps/unix/bsd/setuid.c: Likewise.
11112         * sysdeps/unix/bsd/sigaction.c: Likewise.
11113         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11114         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11115         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11116         * sysdeps/unix/bsd/telldir.c: Likewise.
11117         * sysdeps/unix/bsd/times.c: Likewise.
11118         * sysdeps/unix/bsd/usleep.c: Likewise.
11120         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11121         ($(objpfx)libbsd-compat.a): Remove rule.
11123         * include/features.h (__FAVOR_BSD): Do not define.
11124         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11125         features conflicting with POSIX.
11126         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11127         (_BSD_SOURCE): Remove description of not being a subset of other
11128         feature test macros.
11129         * manual/job.texi (getpgrp): Do not document BSD version.
11130         (getpgid): Do not document by reference to BSD getpgrp.
11131         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11132         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11133         * signal/signal.h [__FAVOR_BSD]: Likewise.
11134         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11135         instead of making contents conditional on [__FAVOR_BSD].
11136         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11138 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11142 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11144         [BZ #16314]
11145         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11146         values below 2**-450, not 2**-500.
11147         * math/auto-libm-test-in: Don't allow spurious underflow from
11148         hypot.
11149         * math/auto-libm-test-out: Regenerated.
11151         [BZ #16316]
11152         [BZ #16330]
11153         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11154         values of ha and hb and sort them after adjusting subnormal
11155         arguments.
11156         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11157         Likewise.
11158         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11159         values of ea and eb and sort them after adjusting subnormal
11160         arguments.
11161         * math/auto-libm-test-in: Do not expect some hypot tests of
11162         subnormals to fail.  Add more hypot tests.
11163         * math/auto-libm-test-out: Regenerated.
11165 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11167         [BZ #13304]
11168         * sysdeps/sh/s_fma.c: New file.
11169         * sysdeps/sh/s_fmaf.c: New file.
11170         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11171         version.
11172         * sysdeps/sh/Implies: Add sh/soft-fp.
11174 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11176         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11177         level of indirection to members `objname', `errstring', `malloced'.
11178         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11179         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11180         it as the __longjmp argument (just pass 1 instead).
11181         (_dl_catch_error): Initialize C with argument pointers and address of
11182         volatile local ERRCODE rather than copying values out of C at return.
11184 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11186         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11187         * math/auto-libm-test-out: Regenerated.
11188         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11189         (hypot_test_data): Likewise.
11190         (pow_test_data): Likewise.
11191         (pow_tonearest_test_data): Likewise.
11192         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11193         mpfr_ff_f.
11194         (func_calc_desc): Add mpfr_ff_f union field.
11195         (FUNC_mpfr_ff_f): New macro.
11196         (test_functions): Add atan2, hypot and pow.
11197         (special_fill_min): New function.
11198         (special_fill_minus_min): Likewise.
11199         (special_fill_min_subnorm): Likewise.
11200         (special_fill_minus_min_subnorm): Likewise.
11201         (special_real_inputs): Add min, -min, min_subnorm and
11202         -min_subnorm.
11203         (calc_generic_results): Handle mpfr_ff_f.
11204         * sysdeps/i386/fpu/libm-test-ulps: Update.
11205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11207 2013-12-16  Will Newton  <will.newton@linaro.org>
11209         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11210         (Aligned Memory Blocks): Add documentation for aligned_alloc
11211         and suggest it as an alternative to posix_memalign.
11212         (Hooks for Malloc): Document __memalign_hook is also called
11213         for aligned_alloc.  (Summary of Malloc): Add summary for
11214         aligned alloc.  Document __memalign_hook is also called
11215         for aligned_alloc.
11217 2013-12-16  Will Newton  <will.newton@linaro.org>
11219         * manual/memory.texi (Malloc Examples): Clarify default
11220         alignment documentation.  Suggest posix_memalign rather
11221         than memalign or valloc.
11222         (Aligned Memory Blocks): Remove suggestion to use memalign
11223         or valloc.  Remove obsolete comment about BSD.
11224         Document memalign errno values and mark the function obsolete.
11225         Document posix_memalign returned error codes.  Mark valloc
11226         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11227         called for posix_memalign and valloc.
11228         (Summary of Malloc): Add posix_memalign to function summary.
11229         __memalign_hook is also called for posix_memalign and valloc.
11231 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11233         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11234         TAYLOR_SIN.
11235         (__sin): Adjust.
11236         (__cos): Likewise.
11237         (sloww): Use mynumber union.  Expand ternary operator into
11238         if-else statements.
11239         (cslow): use mynumber union.
11241 2013-12-16  Allan McRae  <allan@archlinux.org>
11243         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11244         * configure: Regenerated.
11246         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11248         [BZ #14120]
11249         * configure.ac: Added --enable-maintainer-mode. Check for
11250         autoconf when enabled.
11251         * configure: Regenerated.
11253         * nscd/nscd.service: New file.
11254         * nscd/nscd.tmpfiles: New file.
11256 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11258         [BZ #12100]
11259         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11260         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11261         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11262         (strstr): Add __strstr_sse2_unaligned ifunc.
11263         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11264         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11265         (strcasestr): Remove __strcasestr_sse42 ifunc.
11266         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11270 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11272         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11273         * sysdeps/sh/bits/fenv.h: ... here.
11274         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11276 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11278         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11281         hypotf multiarch implementations.
11282         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11283         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11284         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11285         multiarch hypot for PPC64.
11286         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11287         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11288         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11289         multiarch hypotf for PPC64.
11291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11292         modff multiarch implementations.
11293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11296         multiarch modf for PPC64.
11297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11300         multiarch modff for PPC64.
11302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11303         and logl multiarch implementations.
11304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11307         multiarch logb for PPC64.
11308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11311         multiarch logb for PPC64.
11312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11315         multiarch logb for PPC64.
11317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11318         isinff multiarch implementation.
11319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11320         file.
11321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11323         multiarch isinf for PPC64.
11324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11325         file.
11326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11327         multiarch isinff for PPC64.
11329         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11330         finitef multiarch implementation.
11331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11332         file.
11333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11335         multiarch finite for PPC64.
11336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11337         file.
11338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11339         multiarch finitef for PPC64.
11341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11342         lrint multiarch implementation.
11343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11344         file.
11345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11347         multiarch llrint for PPC64.
11348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11349         multiarch lrint for PPC64.
11351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11352         copysignf multiarch implementation.
11353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11354         file.
11355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11356         file.
11357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11358         multiarch copysign for PPC64.
11359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11360         multiarch copysignf for PPC64.
11362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11363         multiarch implementation.
11364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11365         file.
11366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11367         file.
11368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11369         file.
11370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11371         file.
11372         multiarch llround for PPC64.
11373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11374         multiarch trunc for PPC64.
11375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11376         multiarch truncf for PPC64.
11378         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11379         multiarch implementation.
11380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11381         file.
11382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11383         file.
11384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11385         file.
11386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11387         file.
11388         multiarch llround for PPC64.
11389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11390         multiarch round for PPC64.
11391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11392         multiarch roundf for PPC64.
11394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11395         multiarch implementation.
11396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11397         file.
11398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11399         file.
11400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11401         file.
11402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11403         file.
11404         multiarch llround for PPC64.
11405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11406         multiarch floor for PPC64.
11407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11408         multiarch floorf for PPC64.
11410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11411         multiarch implementation.
11412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11413         file.
11414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11415         file.
11416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11417         file.
11418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11419         file.
11420         multiarch llround for PPC64.
11421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11422         multiarch ceil for PPC64.
11423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11424         multiarch ceilf for PPC64.
11426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11427         multiarch implementation.
11428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11429         file.
11430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11431         file.
11432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11433         file.
11434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11435         multiarch llround for PPC64.
11436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11437         multiarch lround for PPC64.
11439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11440         multiarch implementation.
11441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11444         file.
11445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11448         multiarch isnan for PPC64.
11449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11450         multiarch isnanf for PPC64.
11452         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11453         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11454         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11455         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11456         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11459         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11460         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11461         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11462         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11465         multiarch implementations.
11466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11467         (__libc_ifunc_impl_list): Likewise.
11468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11470         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11471         multiarch stpcpy for PPC64.
11473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11474         multiarch implementations.
11475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11476         (__libc_ifunc_impl_list): Likewise.
11477         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11478         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11479         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11480         multiarch strcpy for PPC64.
11482         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11483         redefine function name.
11484         (_wordcopy_fwd_dest_aligned): Likewise.
11485         (_wordcopy_bwd_aligned): Likewise.
11486         (_wordcopy_bwd_dest_aligned): Likewise.
11487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11488         multiarch implementations.
11489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11490         (__libc_ifunc_impl_list): Likewise.
11491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11492         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11493         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11495         multiarch wcscpy for PPC64.
11497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11498         multiarch implementations.
11499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11500         (__libc_ifunc_impl_list): Likewise.
11501         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11502         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11503         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11504         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11505         multiarch wcscpy for PPC64.
11507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11508         multiarch implementations.
11509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11510         (__libc_ifunc_impl_list): Likewise.
11511         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11512         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11513         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11514         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11515         multiarch wcsrchr for PPC64.
11517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11518         multiarch implementations.
11519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11520         (__libc_ifunc_impl_list): Likewise.
11521         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11522         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11523         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11524         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11525         multiarch wcschr for PPC64.
11527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11528         multiarch implementations.
11529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11530         (__libc_ifunc_impl_list): Likewise.
11531         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11532         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11533         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11534         multiarch strchrnul for PPC64.
11536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11537         implementations.
11538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11539         (__libc_ifunc_impl_list): Likewise.
11540         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11541         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11542         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11543         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11544         strchr for PPC64.
11546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11547         implementations.
11548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11549         (__libc_ifunc_impl_list): Likewise.
11550         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11551         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11552         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11553         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11554         strncmp for PPC64.
11556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11557         multiarch implementations.
11558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11559         (__libc_ifunc_impl_list): Likewise.
11560         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11561         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11562         strncasecmp for PPC64.
11563         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11564         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11565         multiarch strncasecmp_l for PPC64.
11567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11568         multiarch implementations.
11569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11570         (__libc_ifunc_impl_list): Likewise.
11571         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11572         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11573         multiarch strcasecmp for PPC64.
11574         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11575         file.
11576         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11577         multiarch strcasecmp_l for PPC64.
11579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11580         implementations.
11581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11582         (__libc_ifunc_impl_list): Likewise.
11583         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11584         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11585         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11586         strnlen for PPC64.
11588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11589         implementations.
11590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11591         (__libc_ifunc_impl_list): Likewise.
11592         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11593         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11594         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11595         strlen for PPC64.
11597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11598         implementations.
11599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11600         (__libc_ifunc_impl_list): Likewise.
11601         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11602         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11603         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11604         rawmemrchr for PPC64.
11606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11607         implementation.
11608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11609         (__libc_ifunc_impl_list): Likewise.
11610         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11611         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11612         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11613         memrchr for PPC64.
11615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11616         implementation.
11617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11618         (__libc_ifunc_impl_list): Likewise.
11619         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11620         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11621         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11622         memchr for PPC64.
11624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11625         implementation.
11626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11627         (__libc_ifunc_impl_list): Likewise.
11628         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11629         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11630         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11631         mempcpy for PPC64.
11633         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11634         avoid cretion of __bzero symbol.
11635         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11636         Likewise.
11637         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11638         Likewise.
11639         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11640         Likewise.
11641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11642         multiarch implementations.
11643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11644         (__libc_ifunc_impl_list): Likewise.
11645         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11646         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11647         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11648         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11649         bzero for PPC32.
11650         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11651         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11652         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11653         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11654         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11655         memset for PPC64.
11656         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11658         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11660         implementations.
11661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11662         (__libc_ifunc_impl_list): Likewise.
11663         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11664         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11665         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11666         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11667         memcmp for PPC64.
11669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11670         multiarch for POWER/PPC64.
11671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11672         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11673         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11674         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11675         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11676         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11678         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11679         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11680         memcpy for PPC64.
11682         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11683         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11684         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11685         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11686         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11687         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11688         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11689         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11690         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11691         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11692         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11693         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11694         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11695         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11696         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11705 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11707         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11709 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11711         * benchtests/Makefile (bench): Add exp2 and log2.
11712         (LDLIBS-bench-exp2): Add -lm.
11713         (LDLIBS-bench-log2): Likewise.
11714         * benchtests/exp2-inputs: New inputs file.
11715         * benchtests/log2-inputs: New inputs file.
11716         * benchtests/log-inputs: Add new inputs.
11717         * benchtests/tan-inputs: Likewise.
11719 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11721         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11722         definition...
11723         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11724         (csloww2): ... from here.
11726         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11727         instead of structures.
11728         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11729         (POLYNOMIAL): Likewise.
11730         (TAYLOR_SLOW): Likewise.
11731         (__sin): Likewise.
11732         (__cos): Likewise.
11733         (slow1): Likewise.
11734         (slow2): Likewise.
11735         (sloww): Likewise.
11736         (sloww1); Likewise.
11737         (sloww2): Likewise.
11738         (bsloww1): Likewise.
11739         (bsloww2): Likewise.
11740         (cslow2): Likewise.
11741         (csloww): Likewise.
11742         (csloww1): Likewise.
11743         (csloww2): Likewise.
11745 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11747         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11748         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11749         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11750         * malloc/hooks.c (realloc_check): Likewise.
11752         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11753         * malloc/arena.c: Remove PER_THREAD conditional.
11754         [!PER_THREAD]: Remove code.
11755         (ptmalloc_unlock_all2): Likewise.
11756         (ptmalloc_init): Likewise.
11757         (_int_new_arena): Likewise.
11758         (arena_get2): Likewise.
11759         * malloc/hooks.c (__malloc_get_state): Likewise.
11760         (__malloc_set_state): Likewise.
11761         * malloc/malloc.c: Likewise.
11762         (struct malloc_state): Likewise.
11763         (struct malloc_par): Likewise.
11764         (__libc_realloc): Likewise.
11765         (__libc_mallopt): Likewise.
11767 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11769         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11771 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11773         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11774         macro to a function.  Check for zero perturb_byte.
11775         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11777         * malloc/malloc.c: (force_reg): Remove.
11778         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11779         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11780         force_reg by atomic_forced_read.
11781         * malloc/arena.c (ptmalloc_init): Likewise.
11782         * malloc/hooks.c (top_check): Likewise.
11784 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11788 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11792 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11794         * math/auto-libm-test-in: Add tests of lgamma.
11795         * math/auto-libm-test-out: Regenerated.
11796         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11797         (M_LOG_2_SQRT_PIl): Likewise.
11798         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11799         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11800         mpfr_f_f1.
11801         (func_calc_desc): Add mpfr_f_f1 union field.
11802         (ARGS1): New macro.
11803         (ARGS2): Likewise.
11804         (ARGS3): Likewise.
11805         (ARGS4): Likewise.
11806         (RET1): Likewise.
11807         (RET2): Likewise.
11808         (CALC): Likewise.
11809         (FUNC): Likewise.
11810         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11811         (test_functions): Add lgamma.
11812         (calc_generic_results): Handle mpfr_f_f1.
11813         * sysdeps/i386/fpu/libm-test-ulps: Update.
11814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11816 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11818         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11819         __mpn_add_n for PowerPC64/POWER7.
11820         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11821         __mpn_sub_n for PowerPC64/POWER7.
11823         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11824         __mpn_addmul_1 for PowerPC64.
11825         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11826         __mpn_submul_1 for PowerPC64.
11827         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11828         for PowerPC64.
11829         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11830         for PowerPC64.
11832 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11834         [BZ #15089]
11835         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11837 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11839         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11841         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11842         add multiarch folders.
11843         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11844         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11845         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11846         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11847         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11848         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11849         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11850         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11851         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11852         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11853         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11862         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11864         New file.
11865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11866         New file.
11867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11868         multiarch __ieee754_hypot for PowerPC32.
11869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11870         New file.
11871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11872         New file.
11873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11874         multiarch __ieee754_hypotf for PowerPC32.
11876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11877         long_double_symbol only if __logbl is defined.
11878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11879         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11880         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11881         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11882         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11883         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11884         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11885         path for implementation.
11886         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11887         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11889         logb, and logbl multiarch implementations for PowerPC32.
11890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11891         file.
11892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11893         file.
11894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11895         multiarch logb for PowerPC32.
11896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11897         file.
11898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11899         file.
11900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11901         multiarch logbf for PowerPC32.
11902         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11904         file.
11905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11906         multiarch logbl implementation for PowerPC32.
11908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11909         and modff multiarch implementations.
11910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11911         New file.
11912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11913         New file.
11914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11915         multiarch modf for PowerPC32.
11916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11917         New file.
11918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11919         New file.
11920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11921         multiarch modff for PowerPC32.
11923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11924         and lrintf multiarch implementations.
11925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11926         New file.
11927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11928         New file.
11929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11930         multiarch lrint for PowerPC32.
11931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11932         file: multiarch lrintf for PowerPC32.
11934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11935         and lroundf multiarch implementations.
11936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11937         New file.
11938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11939         New file.
11940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11941         New file.
11942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11943         multiarch lround for PowerPC32.
11944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11945         file: multiarch lroundf for PowerPC32.
11947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11948         copysign and copysignf multiarch implementations.
11949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11950         New file.
11951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11952         New file.
11953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11954         file: multiarch copysign for PowerPC32.
11955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11956         file: multiarch copysignf for PowerPC32.
11958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11959         and truncf multiarch implementations.
11960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11961         New file.
11962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11963         file.
11964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11965         multiarch trunc for PowerPC32.
11966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11967         New file.
11968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11969         New file.
11970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11971         multiarch truncf for PowerPC32.
11973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11974         and roundf multiarch implementations.
11975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11976         New file.
11977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11978         file.
11979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11980         multiarch round for PowerPC32.
11981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11982         New file.
11983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11984         New file.
11985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11986         multiarch roundf for PowerPC32.
11988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11989         and floorf multiarch implementations.
11990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11991         New file.
11992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11993         file.
11994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11995         multiarch floor for PowerPC32.
11996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11997         New file.
11998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11999         New file.
12000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12001         multiarch floorf for PowerPC32.
12003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12004         and ceilf multiarch implementations.
12005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12006         New file.
12007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12008         file.
12009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12010         multiarch ceil for PowerPC32.
12011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12012         New file.
12013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12014         file.
12015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12016         multiarch ceilf for PowerPC32.
12018         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12019         is defined.
12020         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12021         FINITEF is defined.
12022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12023         and finitef multiarch implementations.
12024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12025         New file.
12026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12027         file.
12028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12029         multiarch finite for PowerPC32.
12030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12031         New file.
12032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12033         file: multiarch finitef for PowerPC32.
12035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12036         and isinff multiarch implementations.
12037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12038         file.
12039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12040         file.
12041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12042         multiarch isinf for PowerPC32.
12043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12044         New file.
12045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12046         multiarch isinff for PowerPC32.
12048         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12049         alias when __isnan is defined.
12050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12051         and isnanf multiarch implementations.
12052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12053         file.
12054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12055         file.
12056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12057         file.
12058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12059         file.
12060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12061         multiarch isnan for PowerPC32.
12062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12063         New file.
12064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12065         New file.
12066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12067         multiarch isnanf for PowerPC32.
12069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12070         and sqrtf multiarch implementations.
12071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12072         file.
12073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12074         file.
12075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12076         multiarch sqrt for PowerPC32.
12077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12078         file.
12079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12080         file.
12081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12082         multiarch sqrtf for PowerPC32.
12084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12085         and llroundf multiarch implementations.
12086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12087         New file.
12088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12089         New file.
12090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12091         New file.
12092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12093         file: multiarch llround for PowerPC32.
12094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12095         file: multiarch llroundf for PowerPC32.
12097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12098         multiarch PowerPC32 fpu implementations.
12099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12100         New file.
12101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12102         New file.
12103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12104         multiarch llrint for PowerPC32.
12105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12106         New file.
12107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12108         New file.
12109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12110         file.
12112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12114         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12115         file.
12116         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12117         file.
12118         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12119         file.
12120         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12121         multiarch wordcopy for PPC32.
12122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12123         wordcopy objects.
12124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12125         (__libc_ifunc_impl_list): Likewise.
12126         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12127         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12128         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12129         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12130         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12131         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12133         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12135         file.
12136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12137         file.
12138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12139         file.
12140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12141         multiarch wcscpy for PPC32.
12142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12143         multiarch objects.
12144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12145         (__libc_ifunc_impl_list): Likewise.
12146         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12147         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12148         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12149         sysdeps/powerpc/power6/wcscpy.c.
12151         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12153         file.
12154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12155         file.
12156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12157         file.
12158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12159         multiarch wcsrchr for PPC32.
12160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12161         multiarch objects.
12162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12163         (__libc_ifunc_impl_list): Likewise.
12164         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12165         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12166         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12167         sysdeps/powerpc/power6/wcsrchr.c.
12169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12170         file.
12171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12172         file.
12173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12175         multiarch wcschr for PPc32.
12176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12177         multiarch objects.
12178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12179         (__libc_ifunc_impl_list): Likewise.
12180         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12181         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12182         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12183         sysdeps/powerpc/power6/wcschr.c.
12185         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12186         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12187         file.
12188         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12189         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12190         file: multiarch strchr for PPC32.
12191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12192         multiarch objects.
12193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12194         (__libc_ifunc_impl_list): Likewise.
12196         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12197         name.
12198         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12199         file.
12200         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12201         file.
12202         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12203         multiarch strchrnul for PPC32.
12204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12205         multiarch objects.
12206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12207         (__libc_ifunc_impl_list): Likewise.
12209         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12210         file.
12211         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12212         multiarch strncasecmp for PPC32.
12213         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12214         file.
12215         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12216         multiarch strncasecmp_l for PPC32.
12217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12218         strncasecmp multiarch objects.
12219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12220         (__libc_ifunc_impl_list): Likewise.
12222         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12223         file.
12224         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12225         multiarch strncasecmp for PPC32.
12226         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12227         New file.
12228         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12229         multiarch strcasecmp_l for PPC32.
12230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12231         multiarch objects.
12232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12233         (__libc_ifunc_impl_list): Likewise.
12235         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12236         file.
12237         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12238         file.
12239         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12240         multiarch strncmp for PPC32.
12241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12242         multiarch objects.
12243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12244         (__libc_ifunc_impl_list): Likewise.
12246         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12247         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12248         file.
12249         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12250         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12252         multiarch objects.
12253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12254         (__libc_ifunc_impl_list): Likewise.
12256         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12257         file.
12258         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12259         file.
12260         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12262         multiarch objects.
12263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12264         (__libc_ifunc_impl_list): Likewise.
12266         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12267         file.
12268         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12269         file.
12270         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12271         multiarch rawmemchr for PPC32.
12272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12273         multiarch objects.
12274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12275         (__libc_ifunc_impl_list): Likewise.
12277         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12278         file.
12279         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12280         file.
12281         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12282         file: memrchr multiarch for PPC32.
12283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12284         multiarch objects.
12285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12286         (__libc_ifunc_impl_list): Likewise.
12288         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12289         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12290         file.
12291         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12292         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12293         multiarch memchr for PPC32.
12294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12295         multiarch objects.
12296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12297         (__libc_ifunc_impl_list): Likewise.
12299         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12300         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12301         file.
12302         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12303         file.
12304         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12305         file: multiarch mempcpy for PPC32.
12306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12307         multiarch objects.
12308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12309         (__libc_ifunc_impl_list): Likewise.
12311         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12312         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12313         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12314         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12315         multiarch bzero for PPC32.
12316         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12317         file.
12318         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12319         file.
12320         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12321         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12322         file: multiarch memset for PPC32.
12323         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12325         memset multiarch objects.
12326         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12327         (__libc_ifunc_impl_list): Likewise.
12329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12330         file.
12331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12333         memcmp for PPC32.
12334         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12336         multiarch objects.
12337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12338         (__libc_ifunc_impl_list): Likewise.
12340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12341         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12343         file.
12344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12345         file.
12346         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12347         file.
12348         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12349         multiarch memcpy for PPC32.
12350         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12351         multiarch objects.
12352         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12353         (__libc_ifunc_impl_list): Likewise.
12355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12356         support multiarch for POWER/PPC32.
12357         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12358         Likewise.
12359         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12361         Implies file to make multiarch folder appers before the fpu and
12362         default folder for power4 configuration.
12364 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12366         * scripts/bench.pl: Append volatile keyword to type.
12368 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12370         * sysdeps/sh/sotruss-lib.c: New file.
12371         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12373 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12377 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12379         [BZ #6810]
12380         * math/w_tgamma.c: Include <errno.h>.
12381         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12382         * math/w_tgammaf.c: Include <errno.h>.
12383         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12384         * math/w_tgammal.c: Include <errno.h>.
12385         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12386         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12387         underflow.  Add more tgamma tests.
12388         * math/auto-libm-test-out: Regenerated.
12389         * sysdeps/i386/fpu/libm-test-ulps: Update.
12390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12392         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12393         sin, sinh, tan, tanh, tgamma, y0 and y1.
12394         * math/auto-libm-test-out: Regenerated.
12395         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12396         (TEST_COND_x86): Likewise.
12397         (M_E2l): Remove macro.
12398         (M_E3l): Likewise.
12399         (M_2_SQRT_PIl): Likewise.
12400         (M_SQRT_PIl): Likewise.
12401         (M_1_DIV_El): Likewise.
12402         (log_test_data): Use AUTO_TESTS_f_f.
12403         (log10_test_data): Likewise.
12404         (log1p_test_data): Likewise.
12405         (log2_test_data): Likewise.
12406         (sin_test_data): Likewise.
12407         (sin_tonearest_test_data): Likewise.
12408         (sin_towardzero_test_data): Likewise.
12409         (sin_downward_test_data): Likewise.
12410         (sin_upward_test_data): Likewise.
12411         (sinh_test_data): Likewise.
12412         (sinh_tonearest_test_data): Likewise.
12413         (sinh_towardzero_test_data): Likewise.
12414         (sinh_downward_test_data): Likewise.
12415         (sinh_upward_test_data): Likewise.
12416         (tan_test_data): Likewise.
12417         (tan_tonearest_test_data): Likewise.
12418         (tan_towardzero_test_data): Likewise.
12419         (tan_downward_test_data): Likewise.
12420         (tan_upward_test_data): Likewise.
12421         (tanh_test_data): Likewise.
12422         (tgamma_test_data): Likewise.
12423         (y0_test_data): Likewise.
12424         (y1_test_data): Likewise.
12425         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12426         (special_real_inputs): Add pi/4.
12427         * sysdeps/i386/fpu/libm-test-ulps: Update.
12428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12430 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12432         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12433         "longjmp_target" static probes.
12434         (__longjmp): Rename to __longjmp_symbol.
12435         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12436         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12437         on which longjmp to generate.
12438         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12439         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12440         probe.
12441         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12442         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12443         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12444         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12445         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12446         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12448         __longjmp_symbol based on which __longjmp to generate.
12449         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12450         probe.
12451         (setjmp): Rename to setjmp_symbol.
12452         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12453         (_setjmp): Rename to _setjmp_symbol.
12454         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12455         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12456         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12457         which setjmp to generate.
12458         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12459         "longjmp_target" static probes.
12461 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12463         * benchtests/README: Add note about output arguments.
12464         * benchtests/bench-sincos.c: Remove file.
12465         * benchtests/sincos-inputs: New file.
12466         * scripts/bench.pl: Identify output arguments and define
12467         static variables for them.
12469         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12471         [BZ #15941]
12472         * Makefile (INSTALL): Add install-plain.texi as the primary
12473         dependency.
12474         * manual/install-plain.texi: New file.
12475         * manual/install.texi: Include node directive only for
12476         non-plaintext output.
12478 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12480         * stdlib/longlong.h: Update from GCC.
12482         [BZ #6807]
12483         [BZ #15901]
12484         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12485         * math/w_j0f.c (y0f): Likewise.
12486         * math/w_j0l.c (__y0l): Likewise.
12487         * math/w_j1.c (y1): Likewise.
12488         * math/w_j1f.c (y1f): Likewise.
12489         * math/w_j1l.c (__y1l): Likewise
12490         * math/w_jn.c (yn): Likewise.
12491         * math/w_jnf.c (ynf): Likewise.
12492         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12493         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12494         value for Bessel function domain errors outside _SVID_ mode.
12495         Adjust sign of return value for yn (negative integer, 0).
12496         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12497         by zero in return for negative x and set sign appropriately for
12498         negative n.
12499         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12500         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12501         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12502         expectations in error cases.
12503         (y1_test_data): Likewise.
12504         (yn_test_data): Likewise.
12505         * sysdeps/i386/fpu/libm-test-ulps: Update.
12506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12508 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12510         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12511         "64" to "64-v1".  Add "64-v2".
12512         (abi-64-options): Rename to ...
12513         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12514         (abi-64-condition): Rename to ...
12515         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12516         (abi-64-ld-soname): Rename to ...
12517         (abi-64-v1-ld-soname): ... this.
12518         (abi-64-v2-options): Define.
12519         (abi-64-v2-condition): Likewise.
12520         (abi-64-v2-ld-soname): Likewise.
12521         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12522         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12527 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12528             Alan Modra  <amodra@gmail.com>
12530         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12531         New versions for use with the ELFv2 ABI.
12532         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12533         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12534         declaration.
12535         (struct La_ppc64v2_retval): Likewise.
12536         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12537         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12538         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12539         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12540         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12541         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12542         Do not save or restore CR.
12543         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12544         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12545         return values for ELFv2 ABI.  Fix location of FPR return registers.
12546         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12547         updated values for _CALL_ELF == 2.
12548         (La_regs, La_retval, int_retval): Likewise.
12550 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12552         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12553         (FRAME_MIN_SIZE_PARM): Likewise.
12554         (FRAME_BACKCHAIN): Likewise.
12555         (FRAME_CR_SAVE): Likewise.
12556         (FRAME_LR_SAVE): Likewise.
12557         (FRAME_TOC_SAVE): Likewise.
12558         (FRAME_PARM_SAVE): Likewise.
12559         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12560         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12561         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12562         (call_mcount_parm_offset): New macro.
12563         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12564         (PROF): Use symbolic stack frame offsets.
12565         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12566         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12567         Redefine in terms of FRAME_MIN_SIZE.
12568         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12569         (_dl_profile_resolve): Likewise.  Update comment.
12570         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12571         symbols stack frame offsets.
12572         (__sigsetjmp): Likewise.
12573         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12574         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12575         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12576         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12579         (FRAME_BACKCHAIN): Remove.
12580         (FRAME_CR_SAVE): Likewise.
12581         (FRAME_LR_SAVE): Likewise.
12582         (FRAME_COMPILER_DW): Likewise.
12583         (FRAME_LINKER_DW): Likewise.
12584         (FRAME_TOC_SAVE): Likewise.
12585         (FRAME_PARM_SAVE): Likewise.
12586         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12587         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12588         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12590         (CHECK_SP): Use symbolic stack frame offsets.
12591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12592         zone" instead of caller's parameter save area for temp storage.
12593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12594         Likewise.  Also, use symbolic stack frame offsets.
12595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12596         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12597         our own stack frame instead of the caller's.
12598         (__socket): Use symbolic stack frame offsets.
12600 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12601             Alan Modra  <amodra@gmail.com>
12603         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12604         Define.
12605         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12606         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12607         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12608         New function.
12609         (elf_machine_fixup_plt): Call it.
12610         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12611         reloc arguments.
12612         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12613         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12614         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12615         r2 before calling target.
12617 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12618             Alan Modra  <amodra@gmail.com>
12620         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12621         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12622         versions of macros to support ELFv2 ABI.
12623         (LOCALENTRY): New macro.
12624         (ENTRY, EALIGN): Use it.
12625         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12626         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12627         fall through into ENTRY entry point.
12628         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12629         Only define if _CALL_ELF != 2.
12631         (elf_machine_matches_host): Verify ABI version matches.
12632         (RTLD_START): Use LOCALENTRY.
12633         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12634         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12635         (PLT_ENTRY_WORDS): New macro.
12636         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12637         (elf_machine_runtime_setup): Support ELFv2 ABI.
12638         (elf_machine_fixup_plt): Likewise.
12639         (elf_machine_plt_conflict): Likewise.
12640         (resolve_ifunc): Likewise.
12641         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12642         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12643         Likewise.
12644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12645         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12647         (makecontext): Support ELFv2 ABI.
12648         * elf/elf.h (EF_PPC64_ABI): Define.
12650 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12652         * sysdeps/powerpc/powerpc64/sysdep.h
12653         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12654         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12655         (ENTRY) [ASSEMBLER]: ... but instead here ...
12656         (EALIGN) [ASSEMBLER]: ... and here.
12657         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12658         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12659         (ENTRY_2) [!ASSEMBLER]: Use it.
12660         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12661         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12662         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12663         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12664         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12666         Use PPC64_LOAD_FUNCPTR.
12668         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12670 2013-12-04  Alan Modra  <amodra@gmail.com>
12672         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12673         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12674         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12675         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12677         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12678         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12679         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12680         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12681         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12682         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12684 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12687         (__makecontext): Fix incorrect CFI when backtracing out of
12688         context created via makecontext.
12689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12690         (__setcontext): Fix incorrect CFI during switch to new context.
12691         (__novec_setcontext): Likewise.
12693 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12695         [BZ #4772]
12696         * time/strptime_l.c (__strptime_internal): Allow modifiers
12697         in strptime.
12698         * time/tst-strptime.c (day_tests): Add testcase.
12700 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12702         * scripts/bench.pl: Skip over blank lines.
12704 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12706         [BZ #926]
12707         * manual/time.texi (Calendar Time): Clarify what timezone functions
12708         use.
12710 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12714 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12716         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12717         implementation.
12718         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12719         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12720         * debug/memset_chk.c (__memset_chk): Likewise.
12721         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12722         * debug/strncpy_chk.c: Likewise.
12724 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12726         [BZ #15268]
12727         [BZ #15425]
12728         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12729         (__ieee754_exp): For possibly underflowing results, check size of
12730         result and force underflow exception if required.
12731         * math/auto-libm-test-in: Add more tests of exp.
12732         * math/auto-libm-test-out: Regenerated.
12733         * sysdeps/i386/fpu/libm-test-ulps: Update.
12734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12736         [BZ #16283]
12737         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12738         * math/w_exp2f.c (__exp2f): Likewise.
12739         * math/w_exp2l.c (__exp2l): Likewise.
12740         * math/auto-libm-test-in: Do not allow missing errno on exp2
12741         underflow.
12742         * math/auto-libm-test-out: Regenerated.
12744 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12746         [BZ #16274]
12747         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12748         handle filename validation.
12749         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12750         (do_open): Delete.
12752 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12754         [BZ #6786]
12755         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12756         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12757         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12758         <float.h>.
12759         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12760         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12761         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12762         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12763         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12764         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12765         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12766         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12767         Add more erfc tests.
12768         * math/auto-libm-test-out: Regenerated.
12769         * sysdeps/i386/fpu/libm-test-ulps: Update.
12770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12772         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12773         exp2, expm1, j0 and j1.
12774         * math/auto-libm-test-out: Regenerated.
12775         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12776         (erfc_test_data): Likewise.
12777         (exp_test_data): Likewise.
12778         (exp_tonearest_test_data): Likewise.
12779         (exp_towardzero_test_data): Likewise.
12780         (exp_downward_test_data): Likewise.
12781         (exp_upward_test_data): Likewise.
12782         (exp10_test_data): Likewise.
12783         (exp2_test_data): Likewise.
12784         (expm1_test_data): Likewise.
12785         (j0_test_data): Likewise.
12786         (j1_test_data): Likewise.
12787         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12788         (input_flag_type): Add flag_xfail_rounding.
12789         (input_flags): Add xfail-rounding.
12790         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12791         (output_for_one_input_case): Handle flag_xfail_rounding.
12792         * sysdeps/i386/fpu/libm-test-ulps: Update.
12793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12795 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12797         [BZ #16289]
12798         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12799         division by 0.
12801 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12803         [BZ #16195]
12804         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12805         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12806         (STAP_PROBE0): New macro.
12807         (STAP_PROBE1): Likewise.
12808         (STAP_PROBE2): Likewise.
12809         (STAP_PROBE3): Likewise.
12810         (STAP_PROBE4): Likewise.
12812 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12814         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12816 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12818         * benchtests/Makefile (bench): Add sqrt.
12819         (LDLIBS-bench-sqrt): New.
12820         * benchtests/sqrt-input: New.
12822 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12824         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12825         (GAIH_EAI): Likewise.
12826         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12827         (gaih_inet): Likewise.
12828         (getaddrinfo): Don't use GAIH_EAI.
12830         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12831         (struct gaih): Remove definition.
12833 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12835         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12836         Use HERRNOP directly.
12838 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12842 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12844         * math/gen-auto-libm-tests.c (test_functions): Add more
12845         single-argument functions.
12846         (special_fill_pi_2): New function.
12847         (special_fill_minus_pi_2): Likewise.
12848         (special_fill_pi_6): Likewise.
12849         (special_fill_minus_pi_6): Likewise.
12850         (special_fill_pi_3): Likewise.
12851         (special_fill_2pi_3): Likewise.
12852         (special_fill_e): Likewise.
12853         (special_fill_1_e): Likewise.
12854         (special_fill_e_minus_1): Likewise.
12855         (special_real_inputs): Add more special inputs.
12856         (output_for_one_input_case): Do not require ERANGE on underflow to
12857         zero if round-to-nearest result does not underflow to zero, unless
12858         exact results required.
12859         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12860         atan, atanh, cbrt, cos and cosh.
12861         * math/auto-libm-test-out: Regenerated.
12862         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12863         (acos_tonearest_test_data): Likewise.
12864         (acos_towardzero_test_data): Likewise.
12865         (acos_downward_test_data): Likewise.
12866         (acos_upward_test_data): Likewise.
12867         (acosh_test_data): Likewise.
12868         (asin_test_data): Likewise.
12869         (asin_tonearest_test_data): Likewise.
12870         (asin_towardzero_test_data): Likewise.
12871         (asin_upward_test_data): Likewise.
12872         (asinh_test_data): Likewise.
12873         (atan_test_data): Likewise.
12874         (atanh_test_data): Likewise.
12875         (cbrt_test_data): Likewise.
12876         (cos_test_data): Likewise.
12877         (cos_tonearest_test_data): Likewise.
12878         (cos_towardzero_test_data): Likewise.
12879         (cos_downward_test_data): Likewise.
12880         (cos_upward_test_data): Likewise.
12881         (cosh_test_data): Likewise.
12882         (cosh_tonearest_test_data): Likewise.
12883         (cosh_towardzero_test_data): Likewise.
12884         (cosh_downward_test_data): Likewise.
12885         (cosh_upward_test_data): Likewise.
12886         * sysdeps/i386/fpu/libm-test-ulps: Update.
12887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12889 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12891         [BZ #6787]
12892         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12893         * math/w_exp10f.c (__exp10f): Likewise.
12894         * math/w_exp10l.c (__exp10l): Likewise.
12895         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12896         errno settings in existing tests.
12898         [BZ #14032]
12899         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12900         precision control set to double precision.
12901         * sysdeps/i386/fpu/w_sqrt.c: New file.
12902         * math/auto-libm-test-in: Add more tests.
12903         * math/auto-libm-test-out: Update.
12905         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12906         (sqrt_test_tonearest): New function.
12907         (sqrt_towardzero_test_data): New variable.
12908         (sqrt_test_towardzero): New function.
12909         (sqrt_downward_test_data): New variable.
12910         (sqrt_test_downward): New function.
12911         (sqrt_upward_test_data): New variable.
12912         (sqrt_test_upward): New function.
12913         (main): Call the new functions.
12915         * math/gen-auto-libm-tests.c: New file.
12916         * math/auto-libm-test-in: Likewise.
12917         * math/auto-libm-test-out: New generated file.
12918         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12919         variables.
12920         (%beautify): Add generated representations of zero.
12921         (top level): Set $auto_input and call parse_auto_input.
12922         (beautify): Remove trailing "f" from hex float constants.
12923         (parse_args): Handle XFAIL_TEST.
12924         (convert_condition): New function.
12925         (or_value): Likewise.
12926         (or_cond_value): Likewise.
12927         (generate_testfile): Handle AUTO_TESTS_* lines.
12928         (parse_auto_input): New function.
12929         * math/libm-test.inc (XFAIL_TEST): New macro.
12930         (ERRNO_UNCHANGED): Update value.
12931         (ERRNO_EDOM): Likewise.
12932         (ERRNO_ERANGE): Likewise.
12933         (IGNORE_RESULT): Likewise.
12934         (TEST_COND_flt_32): New macro.
12935         (TEST_COND_dbl_64): Likewise.
12936         (TEST_COND_ldbl_96_intel): Likewise.
12937         (TEST_COND_ldbl_96_m68k): Likewise.
12938         (TEST_COND_ldbl_128): Likewise.
12939         (TEST_COND_ldbl_128ibm): Likewise.
12940         (TEST_COND_long32): Likewise.
12941         (TEST_COND_long64): Likewise.
12942         (TEST_COND_before_rounding): Likewise.
12943         (TEST_COND_after_rounding): Likewise.
12944         (enable_test): Handle XFAIL_TEST flag.
12945         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12946         with finite results.
12947         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12948         auto-libm-test-out.
12950 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12951             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12953         [BZ #16214]
12954         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12955         __tls_get_addr_internal instead of __tls_get_offset in order to
12956         avoid GOT pointer dependency.  Make rtld export
12957         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12958         __tls_get_addr since we are a __tls_get_offset platform.
12959         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12960         GOT pointer being set up before.
12961         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12963 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12965         * manual/math.texi (Errors in Math Functions): Document accuracy
12966         goals.
12968         [BZ #15004]
12969         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12970         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12971         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12972         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12973         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12974         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12975         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12976         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12977         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12978         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12979         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12980         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12981         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12982         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12983         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12984         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12986         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12987         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12988         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12989         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12990         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12991         Likewise.
12992         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12993         Likewise.
12994         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12995         Likewise.
12996         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12997         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12998         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12999         atomic-feupdateenv and flt-rounds.
13000         * sysdeps/powerpc/nofpu/Versions (libc): Add
13001         __atomic_feholdexcept, __atomic_feclearexcept,
13002         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13003         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13004         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13005         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13006         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13007         here.
13008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13009         Update.
13011         * manual/arith.texi (FP Exceptions): Document that exceptions may
13012         not be raised when matherr is used.
13013         (Math Error Reporting): Document overflow in directed rounding
13014         modes.  Document that errno may not be set when finite values are
13015         returned on overflow.  Document intent to set errno on underflow
13016         only for underflow to zero.
13018         [BZ #16271]
13019         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13020         round-to-nearest then adjust result for other rounding modes.
13021         * include/fenv.h (fegetround): Use libm_hidden_proto.
13022         * math/fegetround.c (fegetround): Use libm_hidden_def.
13023         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13024         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13025         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13026         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13027         Likewise.
13028         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13029         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13030         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13031         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13033 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13035         [BZ #16077]
13036         * nss/Versions (libnss_files): Add
13037         _nss_files_gethostbyname3_r.
13038         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13039         New function.
13040         (HOST_DB_LOOKUP): Remove macro.
13041         (_nss_files_gethostbyname_r): Implement function without the
13042         HOST_DB_LOOKUP macro.
13043         (_nss_files_gethostbyname2_r): Likewise.
13045 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13047         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13049 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13051         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13052         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13053         warning.
13055 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13057         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13058         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13059         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13060         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13061         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13062         __fe_nomask_env_priv and attribute_hidden.
13063         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13064         (libc_feupdateenv_test_ppc): Likewise.
13065         (libc_feresetround_ppc): Likewise.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13067         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13068         compat_symbol macro.
13069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13070         (__fe_nomask_env): Likewise.
13071         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13073 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13075         * string/Makefile: Remove ifunc tests.
13076         * string/test-string.h: Define TEST_IFUNC.
13077         * string/test-bcopy-ifunc.c: Remove.
13078         * string/test-bzero-ifunc.c: Likewise.
13079         * string/test-memccpy-ifunc.c: Likewise.
13080         * string/test-memchr-ifunc.c: Likewise.
13081         * string/test-memcmp-ifunc.c: Likewise.
13082         * string/test-memcpy-ifunc.c: Likewise.
13083         * string/test-memmem-ifunc.c: Likewise.
13084         * string/test-memmove-ifunc.c: Likewise.
13085         * string/test-mempcpy-ifunc.c: Likewise.
13086         * string/test-memrchr-ifunc.c: Likewise.
13087         * string/test-memset-ifunc.c: Likewise.
13088         * string/test-rawmemchr-ifunc.c: Likewise.
13089         * string/test-stpcpy-ifunc.c: Likewise.
13090         * string/test-stpncpy-ifunc.c: Likewise.
13091         * string/test-strcasecmp-ifunc.c: Likewise.
13092         * string/test-strcasestr-ifunc.c: Likewise.
13093         * string/test-strcat-ifunc.c: Likewise.
13094         * string/test-strchr-ifunc.c: Likewise.
13095         * string/test-strchrnul-ifunc.c: Likewise.
13096         * string/test-strcmp-ifunc.c: Likewise.
13097         * string/test-strcpy-ifunc.c: Likewise.
13098         * string/test-strcspn-ifunc.c: Likewise.
13099         * string/test-strlen-ifunc.c: Likewise.
13100         * string/test-strncasecmp-ifunc.c: Likewise.
13101         * string/test-strncat-ifunc.c: Likewise.
13102         * string/test-strncmp-ifunc.c: Likewise.
13103         * string/test-strncpy-ifunc.c: Likewise.
13104         * string/test-strnlen-ifunc.c: Likewise.
13105         * string/test-strpbrk-ifunc.c: Likewise.
13106         * string/test-strrchr-ifunc.c: Likewise.
13107         * string/test-strspn-ifunc.c: Likewise.
13108         * string/test-strstr-ifunc.c: Likewise.
13110 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13112         * benchtests/Makefile: Remove ifunc tests.
13113         * benchtests/bench-string.h: Define TEST_IFUNC.
13114         * benchtests/bench-bcopy-ifunc.c: Remove.
13115         * benchtests/bench-bzero-ifunc.c: Likewise.
13116         * benchtests/bench-memccpy-ifunc.c: Likewise.
13117         * benchtests/bench-memchr-ifunc.c: Likewise.
13118         * benchtests/bench-memcmp-ifunc.c: Likewise.
13119         * benchtests/bench-memcpy-ifunc.c: Likewise.
13120         * benchtests/bench-memmem-ifunc.c: Likewise.
13121         * benchtests/bench-memmove-ifunc.c: Likewise.
13122         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13123         * benchtests/bench-memrchr-ifunc.c: Likewise.
13124         * benchtests/bench-memset-ifunc.c: Likewise.
13125         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13126         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13127         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13128         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13129         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13130         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13131         * benchtests/bench-strcat-ifunc.c: Likewise.
13132         * benchtests/bench-strchr-ifunc.c: Likewise.
13133         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13134         * benchtests/bench-strcmp-ifunc.c: Likewise.
13135         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13136         * benchtests/bench-strcpy-ifunc.c: Likewise.
13137         * benchtests/bench-strcspn-ifunc.c: Likewise.
13138         * benchtests/bench-strlen-ifunc.c: Likewise.
13139         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13140         * benchtests/bench-strncat-ifunc.c: Likewise.
13141         * benchtests/bench-strncmp-ifunc.c: Likewise.
13142         * benchtests/bench-strncpy-ifunc.c: Likewise.
13143         * benchtests/bench-strnlen-ifunc.c: Likewise.
13144         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13145         * benchtests/bench-strrchr-ifunc.c: Likewise.
13146         * benchtests/bench-strsep-ifunc.c: Likewise.
13147         * benchtests/bench-strspn-ifunc.c: Likewise.
13148         * benchtests/bench-strstr-ifunc.c: Likewise.
13150 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13152         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13154 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13156         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13157         * rt/aio.h: Likewise.
13158         * sysdeps/gnu/bits/utmp.h: Likewise.
13159         * sysdeps/gnu/bits/utmpx.h: Likewise.
13160         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13161         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13162         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13163         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13164         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13165         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13166         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13167         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13168         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13169         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13170         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13171         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13172         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13174         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13175         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13176         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13177         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13178         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13179         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13180         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13181         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13182         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13183         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13184         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13186         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13187         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13188         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13189         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13190         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13191         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13192         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13193         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13194         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13195         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13196         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13197         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13198         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13199         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13200         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13201         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13203 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13205         [BZ #16245]
13206         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13207         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13209 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13211         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13212         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13213         Likewise.
13215 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13217         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13218         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13219         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13220         (__fesetround): Remove define.
13221         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13222         rounding and exceptions handling.
13223         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13224         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13225         (__fe_nomask_env): Likewise.
13226         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13227         __fegetround instead of fegetround.
13228         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13229         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13231 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13233         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13234         it's there.
13236         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13238 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13240         [BZ #11157]
13241         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13242         (encrypt_r): Likewise.
13243         * malloc/obstack.h (obstack_free): Likewise.
13244         * posix/unistd.h (encrypt): Likewise.
13246 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13248         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13249         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13250         DL_CALL_DT_FINI() that call the functions directly.
13251         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13252         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13253         * elf/dl-fini.c: Likewise.
13255 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13257         * malloc/hooks.c (memalign_check): Add alignment rounding.
13258         * malloc/malloc.c (_mid_memalign): New function.
13259         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13260         Implement by calling _mid_memalign.
13261         * manual/probes.texi (Memory Allocation Probes): Remove
13262         memory_valloc_retry and memory_pvalloc_retry.
13264 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13266         * locale/programs/locarchive.c (open_archive): Add const
13267         qualifier to ARCHIVEFNAME and copy default fname to
13268         DEFAULT_FNAME.
13270         [BZ #15601]
13271         * libio/tst-widetext.input: Rename Oriya to Odia.
13272         * locale/iso-639.def: Likewise.
13274         * manual/probes.texi (Mathematical Function Probes): Add
13275         documentation for sin, cos, asin and acos probes.
13276         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13277         (__sin32): Add slowasin probe.
13278         (__cos32): Add slowacos probe.
13279         (__mpsin): Add slowsin probe.
13280         (__mpcos): Add slowcos probe.
13282 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13284         [BZ #15483]
13285         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13286         thread-local __sim_exceptions_thread and global
13287         __sim_exceptions_global.
13288         (__sim_disabled_exceptions): Change to thread-local
13289         __sim_disabled_exceptions_thread and global
13290         __sim_disabled_exceptions_global.
13291         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13292         and global __sim_round_mode_global.
13293         (__simulate_exceptions): Use thread-local floating-point state and
13294         set global state from it as needed.
13295         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13296         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13297         __sim_round_mode_thread.
13298         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13299         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13300         and global __sim_exceptions_global.
13301         (__sim_disabled_exceptions): Change to thread-local
13302         __sim_disabled_exceptions_thread and global
13303         __sim_disabled_exceptions_global.
13304         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13305         and global __sim_round_mode_global.
13306         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13307         (SIM_SET_GLOBAL): Likewise.
13308         * sysdeps/powerpc/soft-fp/sfp-machine.h
13309         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13310         __sim_round_mode_thread.
13311         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13312         __sim_disabled_exceptions_thread.
13313         (__sim_exceptions): Change to __sim_exceptions_thread.
13314         (__sim_disabled_exceptions): Change to
13315         __sim_disabled_exceptions_thread.
13316         (__sim_round_mode): Change to __sim_round_mode_thread.
13317         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13318         thread-local floating-point state and set global state from it as
13319         needed.
13320         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13321         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13322         (__sim_disabled_exceptions): Remove extern declaration.
13323         (feenableexcept): Use thread-local floating-point state and set
13324         global state from it as needed.
13325         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13326         extern declaration.
13327         (__sim_disabled_exceptions): Likewise.
13328         (__sim_round_mode): Likewise.
13329         (__fegetenv): Use thread-local floating-point state.
13330         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13331         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13332         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13333         floating-point state and set global state from it as needed.
13334         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13335         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13336         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13337         Likewise.
13338         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13339         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13340         Likewise.
13341         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13342         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13343         Use __sim_round_mode_thread.
13344         * math/test-fenv-tls.c: New file.
13345         * math/Makefile (tests): Add test-fenv-tls.
13346         ($(objpfx)test-fenv-tls): Depend on
13347         $(common-objpfx)nptl/libpthread.so.
13349 2013-11-19  Andreas Schwab  <schwab@suse.de>
13351         * locale/programs/locale.c (show_info): Decode wordarray elements.
13352         * locale/categories.def (LC_MONETARY): Add element for
13353         _NL_MONETARY_CRNCYSTR.
13354         * locale/C-monetary.c (conversion_rate): New variable.
13355         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13356         element.
13358 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13360         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13361         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13363 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13365         * elf/Makefile (tst-auxv): New test.
13366         * elf/tst-auxv.c: New
13367         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13369 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13371         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13372         (hidden_proto): Caller changed.
13373         (hidden_tls_proto): New macro.
13374         (libc_hidden_tls_proto): Likewise.
13375         (rtld_hidden_tls_proto): Likewise.
13376         (libm_hidden_tls_proto): Likewise.
13377         (libresolv_hidden_tls_proto): Likewise.
13378         (librt_hidden_tls_proto): Likewise.
13379         (libdl_hidden_tls_proto): Likewise.
13380         (libnss_files_hidden_tls_proto): Likewise.
13381         (libnsl_hidden_tls_proto): Likewise.
13382         (libnss_nisplus_hidden_tls_proto): Likewise.
13383         (libutil_hidden_tls_proto): Likewise.
13385 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13387         [BZ #10253]
13388         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13389         (decompose_rpath): Defer expansion to fillin_rpath.
13390         (_dl_init_paths): Pass linkmap to fillin_rpath.
13392 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13394         * benchtests/Makefile: Add strsep.
13395         * benchtests/bench-strsep.c: New file: strsep benchtest.
13396         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13398 2013-11-18  Andreas Schwab  <schwab@suse.de>
13400         * locale/programs/locale.c (show_info) [case byte]: Check for
13401         '\377' instead of '\177'.
13402         * locale/C-monetary.c (not_available): Always use "\377".
13403         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13404         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13405         detect unavailable sign_posn locale elements.
13406         * locale/localeconv.c (__localeconv): For grouping and
13407         mon_grouping handle "\177" and "\377" like no grouping.
13408         (INT_ELEM): New macro.  Use it to set all numeric members.
13409         * locale/programs/ld-monetary.c (monetary_read)
13410         <tok_mon_grouping>: Normalize single -1 to the empty string.
13411         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13412         Likewise.
13414 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13416         [BZ #16055]
13417         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13418         when we match (nil).
13419         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13421 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13423         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13424         (NO_TEST_INLINE): Update value.
13425         (ERRNO_UNCHANGED): Likewise.
13426         (ERRNO_EDOM): Likewise.
13427         (ERRNO_ERANGE): Likewise.
13428         (IGNORE_RESULT): Likewise.
13429         (check_float_internal): Check signs of NaN results if
13430         TEST_NAN_SIGN used.
13431         (check_complex): Pass TEST_NAN_SIGN flag through to second
13432         check_float_internal call.
13433         (copysign_test_data): Add tests with quiet NaNs as second
13434         argument.  Use TEST_NAN_SIGN.
13435         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13436         TEST_NAN_SIGN.
13437         (signbit_test_data): Add tests of quiet NaN argument.
13438         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13440         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13441         $ignore_result.
13442         (parse_args): Handle function results specified as IGNORE.
13443         * math/libm-test.inc (IGNORE_RESULT): New macro.
13444         (check_float_internal): Do not check numerical result if flag
13445         IGNORE_RESULT set.
13446         (check_complex): Pass through IGNORE_RESULT to second
13447         check_float_internal call.
13448         (check_int): Do not check numerical result if flag IGNORE_RESULT
13449         set.
13450         (check_long): Likewise.
13451         (check_bool): Likewise.
13452         (check_longlong): Likewise.
13453         (lrint_test_data): Add tests of infinite and NaN arguments.
13454         (lrint_tonearest_test_data): Likewise.
13455         (lrint_towardzero_test_data): Likewise.
13456         (lrint_downward_test_data): Likewise.
13457         (lrint_upward_test_data): Likewise.
13458         (llrint_test_data): Likewise.
13459         (llrint_tonearest_test_data): Likewise.
13460         (llrint_towardzero_test_data): Likewise.
13461         (llrint_downward_test_data): Likewise.
13462         (llrint_upward_test_data): Likewise.
13463         (lround_test_data): Likewise.
13464         (llround_test_data): Likewise.
13466         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13467         (ERRNO_UNCHANGED): Update value.
13468         (ERRNO_EDOM): Likewise.
13469         (ERRNO_ERANGE): Likewise.
13470         (NO_TEST_INLINE_FLOAT): New macro.
13471         (NO_TEST_INLINE_DOUBLE): Likewise.
13472         (enable_test): New function.
13473         (RUN_TEST_f_f): Check enable_test before running test.
13474         (RUN_TEST_2_f): Likewise.
13475         (RUN_TEST_fff_f): Likewise.
13476         (RUN_TEST_c_f): Likewise.
13477         (RUN_TEST_f_f1): Likewise.
13478         (RUN_TEST_fF_f1): Likewise.
13479         (RUN_TEST_fI_f1): Likewise.
13480         (RUN_TEST_ffI_f1): Likewise.
13481         (RUN_TEST_c_c): Likewise.
13482         (RUN_TEST_cc_c): Likewise.
13483         (RUN_TEST_f_i): Likewise.
13484         (RUN_TEST_f_i_tg): Likewise.
13485         (RUN_TEST_ff_i_tg): Likewise.
13486         (RUN_TEST_f_b): Likewise.
13487         (RUN_TEST_f_b_tg): Likewise.
13488         (RUN_TEST_f_l): Likewise.
13489         (RUN_TEST_f_L): Likewise.
13490         (RUN_TEST_fFF_11): Likewise.
13491         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13492         conditionals.
13493         (cosh_test_data): Likewise.
13494         (exp_test_data): Likewise.
13495         (expm1_test_data): Likewise.
13496         (hypot_test_data): Likewise.
13497         (pow_test_data): Likewise.
13498         (sinh_test_data): Likewise.
13499         (tanh_test_data): Likewise.
13500         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13501         flags argument.
13503         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13504         tests with quiet NaN input and output.
13505         (acosh_test_data): Likewise.
13506         (asin_test_data): Likewise.
13507         (asinh_test_data): Likewise.
13508         (atan_test_data): Likewise.
13509         (atanh_test_data): Likewise.
13510         (atan2_test_data): Likewise.
13511         (cbrt_test_data): Likewise.
13512         (cos_test_data): Likewise.
13513         (cosh_test_data): Likewise.
13514         (erf_test_data): Likewise.
13515         (erfc_test_data): Likewise.
13516         (exp_test_data): Likewise.
13517         (exp10_test_data): Likewise.
13518         (exp2_test_data): Likewise.
13519         (expm1_test_data): Likewise.
13520         (hypot_test_data): Likewise.
13521         (j0_test_data): Likewise.
13522         (j1_test_data): Likewise.
13523         (jn_test_data): Likewise.
13524         (lgamma_test_data): Likewise.
13525         (log_test_data): Likewise.
13526         (log10_test_data): Likewise.
13527         (log1p_test_data): Likewise.
13528         (log2_test_data): Likewise.
13529         (pow_test_data): Likewise.
13530         (scalb_test_data): Likewise.
13531         (sin_test_data): Likewise.
13532         (sincos_test_data): Likewise.
13533         (sinh_test_data): Likewise.
13534         (tan_test_data): Likewise.
13535         (tanh_test_data): Likewise.
13536         (tgamma_test_data): Likewise.
13537         (y0_test_data): Likewise.
13538         (y1_test_data): Likewise.
13539         (yn_test_data): Likewise.
13541         [BZ #16167]
13542         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13543         argument being NaN and avoid computations with second argument in
13544         that case.
13545         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13546         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13547         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13549 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13551         * locale/iso-639.def: Add Chitwani Tharu (the).
13553 2013-11-14  Andreas Schwab  <schwab@suse.de>
13555         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13556         word instead of empty string.
13558 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13561         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13563         (__fe_nomask_env): Likewise.
13565 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13567         * benchtests/bench-timing.h: Include time.h.
13569 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13571         [BZ #15997]
13572         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13573         to 3.4.0 for x32.
13574         * sysdeps/unix/sysv/linux/configure: Regenerated.
13576 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13578         [BZ #16151]
13579         * stdlib/strtod_l.c (round_and_return): Do not consider
13580         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13581         exponent one less than half the least subnormal exponent.
13582         * stdlib/test-strtod-round-data: Add more tests.
13583         * stdlib/tst-strtod-round.c (tests): Regenerated.
13585 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13587         [BZ #14143]
13588         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13589         (__fe_mask_env): Likewise.
13590         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13591         libm_hidden_proto and add function prototype.
13592         (__fe_mask_env): Add function prototype.
13593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13594         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13596         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13598         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13600 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13602         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13603         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13605 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13607         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13608         of htab_find_slot().
13610 2013-11-11  David S. Miller  <davem@davemloft.net>
13612         [BZ #16150]
13613         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13614         symbol in the non-vis3 case in static builds.
13615         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13616         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13617         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13618         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13620 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13622         [BZ #387]
13623         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13624         it is empty.
13626 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13628         * benchtests/Makefile: Add bench-strtod.
13629         * benchtests/bench-strtod.c: New file: strtod benchtest
13631 2013-11-11  Andreas Schwab  <schwab@suse.de>
13633         [BZ #16153]
13634         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13635         terminating NUL in key length.
13637 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13639         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13640         Add artificial ODP entry for vDSO symbol for PPC64.
13641         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13642         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13644 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13646         [BZ #15374]
13647         * nss/getent.c (services_keys): Recognize services starting with digit.
13649 2013-11-06  David S. Miller  <davem@davemloft.net>
13651         [BZ #15985]
13652         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13653         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13655 2013-11-06  Will Newton  <will.newton@linaro.org>
13657         * manual/memory.texi (Malloc Examples): Remove register
13658         keyword from examples.
13660 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13662         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13664 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13666         [BZ #6981]
13667         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13668         depending on [__GCC_IEC_559 > 0].
13669         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13670         depending on [__GCC_IEC_559_COMPLEX > 0].
13672 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13674         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13675         to iso-639.def.
13677 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13679         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13681 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13683         [BZ #16112]
13684         * malloc/malloc (malloc_info): Do not handle first bin as
13685         special case.
13687 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13689         * locale/iso-639.def: Add Central Nahuatl (nhn).
13691 2013-11-01  Bruno Haible  <bruno@clisp.org>
13693         [BZ #7003]
13694         * manual/math.texi (BSD Random): Specify range upper bound as
13695         in POSIX.
13697 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13699         * locale/iso-639.def: Add Meadow Mari (mhr).
13701 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13703         [BZ #14752], [BZ #15763]
13704         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13705         Validate name.
13706         * rt/tst_shm.c: Add test for escaping directory.
13708 2013-10-31  Andreas Schwab  <schwab@suse.de>
13710         [BZ #15917]
13711         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13712         followed by 'x' as part of digit sequence.
13713         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13715 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13717         [BZ #16037]
13718         * configure.ac: allow GNU Make 4.0 and greater.
13719         * configure: Regenerated.
13721 2013-10-30  Will Newton  <will.newton@linaro.org>
13723         [BZ #16038]
13724         * malloc/hooks.c (memalign_check): Limit alignment to the
13725         maximum representable power of two.
13726         * malloc/malloc.c (__libc_memalign): Likewise.
13727         * malloc/tst-memalign.c (do_test): Add test for very
13728         large alignment values.
13729         * malloc/tst-posix_memalign.c (do_test): Likewise.
13731 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13733         [BZ #11087]
13734         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13735         (munmap_chunk): Likewise.
13736         (mremap_chunk): Likewise.
13738 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13740         [BZ #15799]
13741         * stdlib/div.c (div): Remove obsolete code.
13742         * stdlib/ldiv.c (ldiv): Likewise.
13743         * stdlib/lldiv.c (lldiv): Likewise.
13745 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13747         [BZ #16071]
13748         * nss/nss_files/files-XXX.c (get_contents_ret): New
13749         enumerator.
13750         (get_contents): New function.
13751         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13753 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13755         * configure.in: Moved to ...
13756         * configure.ac: ... here. Change reference to configure.in
13757         to configure.ac.
13758         * sysdeps/arm/preconfigure.ac: ... here.
13759         configure.in to configure.ac.
13760         * sysdeps/gnu/configure.in: Moved to ...
13761         * sysdeps/gnu/configure.ac: ... here.
13762         * sysdeps/i386/configure.in: Moved to ...
13763         * sysdeps/i386/configure.ac: ... here.
13764         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13765         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13766         * sysdeps/mach/configure.in: Moved to ...
13767         * sysdeps/mach/configure.ac: ... here.
13768         * sysdeps/mach/hurd/configure.in: Moved to ...
13769         * sysdeps/mach/hurd/configure.ac: ... here.
13770         * sysdeps/powerpc/configure.in: Moved to ...
13771         * sysdeps/powerpc/configure.ac: ... here.
13772         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13773         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13774         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13775         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13776         * sysdeps/s390/s390-32/configure.in: Moved to ...
13777         * sysdeps/s390/s390-32/configure.ac: ... here.
13778         * sysdeps/s390/s390-64/configure.in: Moved to ...
13779         * sysdeps/s390/s390-64/configure.ac: ... here.
13780         * sysdeps/sh/configure.in: Moved to ...
13781         * sysdeps/sh/configure.ac: ... here.
13782         * sysdeps/sparc/configure.in: Moved to ...
13783         * sysdeps/sparc/configure.ac: ... here.
13784         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13785         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13786         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13787         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13788         * sysdeps/x86_64/configure.in: Moved to ...
13789         * sysdeps/x86_64/configure.ac: ... here.
13790         * sysdeps/x86_64/preconfigure.in: Moved to ...
13791         * sysdeps/x86_64/preconfigure.ac: ... here.
13792         * aclocal.m4: Change reference to configure.in to configure.ac.
13793         * config.h.in: Likewise.
13794         * manual/install.texi: Likewise.
13795         * manual/maint.texi: Likewise.
13796         * Makefile: Likewise.
13797         * malloc/Makefile: Likewise.
13798         * nscd/Makefile: Likewise.
13799         * Makeconfig: Change reference to configure.in and
13800         preconfigure.in to configure.ac and preconfigure.ac
13801         respectively.
13802         * INSTALL: Regenerated.
13803         * configure: Likewise.
13804         * sysdeps/gnu/configure: Likewise.
13805         * sysdeps/i386/configure: Likewise.
13806         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13807         * sysdeps/mach/configure: Likewise.
13808         * sysdeps/mach/hurd/configure: Likewise.
13809         * sysdeps/powerpc/configure: Likewise.
13810         * sysdeps/powerpc/powerpc32/configure: Likewise.
13811         * sysdeps/powerpc/powerpc64/configure: Likewise.
13812         * sysdeps/s390/s390-32/configure: Likewise.
13813         * sysdeps/s390/s390-64/configure: Likewise.
13814         * sysdeps/sh/configure: Likewise.
13815         * sysdeps/sparc/configure: Likewise.
13816         * sysdeps/unix/sysv/linux/configure: Likewise.
13817         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13818         * sysdeps/x86_64/configure: Likewise.
13819         * sysdeps/x86_64/preconfigure: Likewise.
13821 2013-10-29  Andreas Schwab  <schwab@suse.de>
13823         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13825 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13827         * benchtests/pow-inputs: Add new inputs.
13829         * benchtests/exp-inputs: Add new inputs.
13831         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13832         conditional check for return value.
13833         (__cos32): Likewise.
13835 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13837         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13838         to provide a boost for large inputs with word alignment.
13839         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13840         implementation based on optimized PPC64 strcpy.
13841         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13842         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13843         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13844         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13846 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13848         [BZ #2801]
13849         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13851 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13853         [BZ #14876]
13854         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13855         * time/tst-strptime.c (day_tests): Add testcase.
13857 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13859         [BZ #14029]
13860         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13862 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13864         [BZ #16074]
13865         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13866         MAP_FAILED on error.
13868 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13870         [BZ #16072]
13871         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13872         heap for large requests.
13874 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13876         [BZ #9954]
13877         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13878         result if the result has no associated interface.
13879         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13880         interface for all 127.X.Y.Z addresses.
13882 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13884         * locale/iso-639.def: Add Ligurian (lij)
13886 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13888         [BZ #15825]
13889         * sunrpc/rpc_main.c: Document rpcgen -5.
13891 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13893         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13895 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13897         [BZ #10278]
13898         * posix/glob.c: Match only directories when trailing slash is present.
13899         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13900         (main): Add testcase.
13902 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13904         [BZ #15670]
13905         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13907 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13909         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13910         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13911         AUTH_DES and cindex for FIPS 140-2.
13912         (DES Encryption): Add cindex FIPS 46-3.
13914         * locale/locarchive.h (struct locarhandle): Add fname.
13915         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13916         if an optional argument was specified to --list-archive,
13917         otherwise NULL.
13918         * locale/programs/locarchive.c (show_archive_content): Take new
13919         argument fname and pass it via ah.fname to open_archive.
13920         * locale/programs/localedef.h: Update decl.
13921         (open_archive): If AH->fname is non-null, open that file
13922         rather than the default file name, and don't ignore ENOENT.
13923         (create_archive): Set AH.fname to NULL.
13924         (delete_locales_from_archive): Likewise.
13925         (add_locales_to_archive): Likewise.
13926         * locale/programs/locfile.c (write_all_categories): Likewise.
13928 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13929             Aldy Hernandez  <aldyh@redhat.com>
13931         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13932         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13933         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13934         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13935         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13936         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13937         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13938         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13939         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13940         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13941         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13942         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13943         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13944         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13945         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13946         Likewise.
13947         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13948         Likewise.
13949         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13950         Likewise.
13951         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13952         Likewise.
13953         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13954         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13955         Likewise.
13956         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13957         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13958         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13959         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13960         Likewise.
13961         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13962         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13963         * sysdeps/powerpc/preconfigure: Likewise.
13964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13965         Likewise.
13966         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13967         Replace contents of file by #include of <fenv_libc.h>.
13968         * sysdeps/powerpc/soft-fp/sfp-machine.h
13969         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13970         and <sys/prctl.h>.
13971         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13972         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13973         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13974         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13975         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13976         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13977         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13984         Allow copysignl PLT reference to be missing.
13986 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13987             Joseph Myers  <joseph@codesourcery.com
13989         [BZ #15948]
13990         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13991         single character.
13992         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13994 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13996         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13997         * elf/tst-tls1.c: Likewise.
13998         * elf/tst-tls10.h: Likewise.
13999         * elf/tst-tls14.c: Likewise.
14000         * elf/tst-tls2.c: Likewise.
14001         * elf/tst-tls3.c: Likewise.
14002         * elf/tst-tls4.c: Likewise.
14003         * elf/tst-tls5.c: Likewise.
14004         * elf/tst-tls6.c: Likewise.
14005         * elf/tst-tls7.c: Likewise.
14006         * elf/tst-tls8.c: Likewise.
14007         * elf/tst-tls9.c: Likewise.
14008         * elf/tst-tlsmod1.c: Likewise.
14009         * elf/tst-tlsmod13.c: Likewise.
14010         * elf/tst-tlsmod13a.c: Likewise.
14011         * elf/tst-tlsmod14a.c: Likewise.
14012         * elf/tst-tlsmod16a.c: Likewise.
14013         * elf/tst-tlsmod16b.c: Likewise.
14014         * elf/tst-tlsmod2.c: Likewise.
14015         * elf/tst-tlsmod3.c: Likewise.
14016         * elf/tst-tlsmod4.c: Likewise.
14017         * elf/tst-tlsmod5.c: Likewise.
14018         * elf/tst-tlsmod6.c: Likewise.
14020 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14022         [BZ #12486]
14023         * malloc/malloc.c: remove checks for statistics.
14025 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14027         [BZ #15277]
14028         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14029         * inet/tst-network.c: Add testcase.
14031 2013-10-17  Andreas Schwab  <schwab@suse.de>
14033         [BZ #15218]
14034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14035         to determine canonical name.
14037 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14039         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14040         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14041         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14042         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14043         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14044         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14045         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14046         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14047         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14048         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14049         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14050         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14051         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14052         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14053         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14054         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14055         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14056         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14057         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14058         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14059         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14061         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14062         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14063         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14064         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14065         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14066         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14067         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14068         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14069         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14070         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14071         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14072         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14073         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14074         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14075         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14076         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14077         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14078         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14079         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14080         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14081         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14082         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14083         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14084         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14085         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14086         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14087         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14088         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14089         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14090         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14091         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14092         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14093         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14094         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14095         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14096         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14098 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14100         [BZ #16041]
14101         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14102         make result into a quiet NaN.
14104 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14106         * soft-fp/adddf3.c: Fix horizontal whitespace.
14107         * soft-fp/addsf3.c: Likewise.
14108         * soft-fp/addtf3.c: Likewise.
14109         * soft-fp/divdf3.c: Likewise.
14110         * soft-fp/divsf3.c: Likewise.
14111         * soft-fp/divtf3.c: Likewise.
14112         * soft-fp/double.h: Likewise.
14113         * soft-fp/eqdf2.c: Likewise.
14114         * soft-fp/eqsf2.c: Likewise.
14115         * soft-fp/eqtf2.c: Likewise.
14116         * soft-fp/extenddftf2.c: Likewise.
14117         * soft-fp/extended.h: Likewise.
14118         * soft-fp/extendsfdf2.c: Likewise.
14119         * soft-fp/extendsftf2.c: Likewise.
14120         * soft-fp/extendxftf2.c: Likewise.
14121         * soft-fp/fixdfdi.c: Likewise.
14122         * soft-fp/fixdfsi.c: Likewise.
14123         * soft-fp/fixdfti.c: Likewise.
14124         * soft-fp/fixsfdi.c: Likewise.
14125         * soft-fp/fixsfsi.c: Likewise.
14126         * soft-fp/fixsfti.c: Likewise.
14127         * soft-fp/fixtfdi.c: Likewise.
14128         * soft-fp/fixtfsi.c: Likewise.
14129         * soft-fp/fixtfti.c: Likewise.
14130         * soft-fp/fixunsdfdi.c: Likewise.
14131         * soft-fp/fixunsdfsi.c: Likewise.
14132         * soft-fp/fixunsdfti.c: Likewise.
14133         * soft-fp/fixunssfdi.c: Likewise.
14134         * soft-fp/fixunssfsi.c: Likewise.
14135         * soft-fp/fixunssfti.c: Likewise.
14136         * soft-fp/fixunstfdi.c: Likewise.
14137         * soft-fp/fixunstfsi.c: Likewise.
14138         * soft-fp/fixunstfti.c: Likewise.
14139         * soft-fp/floatdidf.c: Likewise.
14140         * soft-fp/floatdisf.c: Likewise.
14141         * soft-fp/floatditf.c: Likewise.
14142         * soft-fp/floatsidf.c: Likewise.
14143         * soft-fp/floatsisf.c: Likewise.
14144         * soft-fp/floatsitf.c: Likewise.
14145         * soft-fp/floattidf.c: Likewise.
14146         * soft-fp/floattisf.c: Likewise.
14147         * soft-fp/floattitf.c: Likewise.
14148         * soft-fp/floatundidf.c: Likewise.
14149         * soft-fp/floatundisf.c: Likewise.
14150         * soft-fp/floatunditf.c: Likewise.
14151         * soft-fp/floatunsidf.c: Likewise.
14152         * soft-fp/floatunsisf.c: Likewise.
14153         * soft-fp/floatunsitf.c: Likewise.
14154         * soft-fp/floatuntidf.c: Likewise.
14155         * soft-fp/floatuntisf.c: Likewise.
14156         * soft-fp/floatuntitf.c: Likewise.
14157         * soft-fp/fmadf4.c: Likewise.
14158         * soft-fp/fmasf4.c: Likewise.
14159         * soft-fp/fmatf4.c: Likewise.
14160         * soft-fp/gedf2.c: Likewise.
14161         * soft-fp/gesf2.c: Likewise.
14162         * soft-fp/getf2.c: Likewise.
14163         * soft-fp/ledf2.c: Likewise.
14164         * soft-fp/lesf2.c: Likewise.
14165         * soft-fp/letf2.c: Likewise.
14166         * soft-fp/muldf3.c: Likewise.
14167         * soft-fp/mulsf3.c: Likewise.
14168         * soft-fp/multf3.c: Likewise.
14169         * soft-fp/negdf2.c: Likewise.
14170         * soft-fp/negsf2.c: Likewise.
14171         * soft-fp/negtf2.c: Likewise.
14172         * soft-fp/op-1.h: Likewise.
14173         * soft-fp/op-2.h: Likewise.
14174         * soft-fp/op-4.h: Likewise.
14175         * soft-fp/op-8.h: Likewise.
14176         * soft-fp/op-common.h: Likewise.
14177         * soft-fp/quad.h: Likewise.
14178         * soft-fp/single.h: Likewise.
14179         * soft-fp/soft-fp.h: Likewise.
14180         * soft-fp/sqrtdf2.c: Likewise.
14181         * soft-fp/sqrtsf2.c: Likewise.
14182         * soft-fp/sqrttf2.c: Likewise.
14183         * soft-fp/subdf3.c: Likewise.
14184         * soft-fp/subsf3.c: Likewise.
14185         * soft-fp/subtf3.c: Likewise.
14186         * soft-fp/truncdfsf2.c: Likewise.
14187         * soft-fp/trunctfdf2.c: Likewise.
14188         * soft-fp/trunctfsf2.c: Likewise.
14189         * soft-fp/trunctfxf2.c: Likewise.
14190         * soft-fp/unorddf2.c: Likewise.
14191         * soft-fp/unordsf2.c: Likewise.
14192         * soft-fp/unordtf2.c: Likewise.
14194 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14196         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14197         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14199 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14201         * elf/dl-libc.c: Clear initfini list after freeing.
14203 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14205         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14206         * soft-fp/addsf3.c: Likewise.
14207         * soft-fp/addtf3.c: Likewise.
14208         * soft-fp/divdf3.c: Likewise.
14209         * soft-fp/divsf3.c: Likewise.
14210         * soft-fp/divtf3.c: Likewise.
14211         * soft-fp/double.h: Likewise.
14212         * soft-fp/eqdf2.c: Likewise.
14213         * soft-fp/eqsf2.c: Likewise.
14214         * soft-fp/eqtf2.c: Likewise.
14215         * soft-fp/extenddftf2.c: Likewise.
14216         * soft-fp/extended.h: Likewise.
14217         * soft-fp/extendsfdf2.c: Likewise.
14218         * soft-fp/extendsftf2.c: Likewise.
14219         * soft-fp/extendxftf2.c: Likewise.
14220         * soft-fp/fixdfdi.c: Likewise.
14221         * soft-fp/fixdfsi.c: Likewise.
14222         * soft-fp/fixdfti.c: Likewise.
14223         * soft-fp/fixsfdi.c: Likewise.
14224         * soft-fp/fixsfsi.c: Likewise.
14225         * soft-fp/fixsfti.c: Likewise.
14226         * soft-fp/fixtfdi.c: Likewise.
14227         * soft-fp/fixtfsi.c: Likewise.
14228         * soft-fp/fixtfti.c: Likewise.
14229         * soft-fp/fixunsdfdi.c: Likewise.
14230         * soft-fp/fixunsdfsi.c: Likewise.
14231         * soft-fp/fixunsdfti.c: Likewise.
14232         * soft-fp/fixunssfdi.c: Likewise.
14233         * soft-fp/fixunssfsi.c: Likewise.
14234         * soft-fp/fixunssfti.c: Likewise.
14235         * soft-fp/fixunstfdi.c: Likewise.
14236         * soft-fp/fixunstfsi.c: Likewise.
14237         * soft-fp/fixunstfti.c: Likewise.
14238         * soft-fp/floatdidf.c: Likewise.
14239         * soft-fp/floatdisf.c: Likewise.
14240         * soft-fp/floatditf.c: Likewise.
14241         * soft-fp/floatsidf.c: Likewise.
14242         * soft-fp/floatsisf.c: Likewise.
14243         * soft-fp/floatsitf.c: Likewise.
14244         * soft-fp/floattidf.c: Likewise.
14245         * soft-fp/floattisf.c: Likewise.
14246         * soft-fp/floattitf.c: Likewise.
14247         * soft-fp/floatundidf.c: Likewise.
14248         * soft-fp/floatundisf.c: Likewise.
14249         * soft-fp/floatunsidf.c: Likewise.
14250         * soft-fp/floatunsisf.c: Likewise.
14251         * soft-fp/floatuntidf.c: Likewise.
14252         * soft-fp/floatuntisf.c: Likewise.
14253         * soft-fp/floatuntitf.c: Likewise.
14254         * soft-fp/fmadf4.c: Likewise.
14255         * soft-fp/fmasf4.c: Likewise.
14256         * soft-fp/fmatf4.c: Likewise.
14257         * soft-fp/gedf2.c: Likewise.
14258         * soft-fp/gesf2.c: Likewise.
14259         * soft-fp/getf2.c: Likewise.
14260         * soft-fp/ledf2.c: Likewise.
14261         * soft-fp/lesf2.c: Likewise.
14262         * soft-fp/letf2.c: Likewise.
14263         * soft-fp/muldf3.c: Likewise.
14264         * soft-fp/mulsf3.c: Likewise.
14265         * soft-fp/multf3.c: Likewise.
14266         * soft-fp/negdf2.c: Likewise.
14267         * soft-fp/negsf2.c: Likewise.
14268         * soft-fp/negtf2.c: Likewise.
14269         * soft-fp/op-1.h: Likewise.
14270         * soft-fp/op-2.h: Likewise.
14271         * soft-fp/op-4.h: Likewise.
14272         * soft-fp/op-8.h: Likewise.
14273         * soft-fp/op-common.h: Likewise.
14274         * soft-fp/quad.h: Likewise.
14275         * soft-fp/single.h: Likewise.
14276         * soft-fp/soft-fp.h: Likewise.
14277         * soft-fp/sqrtdf2.c: Likewise.
14278         * soft-fp/sqrtsf2.c: Likewise.
14279         * soft-fp/sqrttf2.c: Likewise.
14280         * soft-fp/subdf3.c: Likewise.
14281         * soft-fp/subsf3.c: Likewise.
14282         * soft-fp/subtf3.c: Likewise.
14283         * soft-fp/truncdfsf2.c: Likewise.
14284         * soft-fp/trunctfdf2.c: Likewise.
14285         * soft-fp/trunctfsf2.c: Likewise.
14286         * soft-fp/trunctfxf2.c: Likewise.
14287         * soft-fp/unorddf2.c: Likewise.
14288         * soft-fp/unordsf2.c: Likewise.
14289         * soft-fp/unordtf2.c: Likewise.
14291 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14293         [BZ #15672]
14294         * misc/error.c (error_tail): Fix possible buffer overflow.
14296 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14298         [BZ #13028]
14299         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14300         address.
14302 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14304         [BZ #832]
14305         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14306         testing pipefail option.
14308 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14310         * soft-fp/double.h: Indent preprocessor directives inside #if.
14311         * soft-fp/extended.h: Likewise.
14312         * soft-fp/op-2.h: Likewise.
14313         * soft-fp/op-4.h: Likewise.
14314         * soft-fp/op-common.h: Likewise.
14315         * soft-fp/quad.h: Likewise.
14316         * soft-fp/single.h: Likewise.
14317         * soft-fp/soft-fp.h: Likewise.
14319 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14321         * iconv/iconv_prog.c: Fix typos.
14322         * stdio-common/psiginfo-data.h: Likewise.
14324 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14326         [BZ #15764]
14327         * locale/setlocale.c: Fix typo.
14329 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14331         [BZ #16036]
14332         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14333         signaling NaN arguments.
14334         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14335         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14337         [BZ #14910]
14338         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14339         unordered operands.
14340         * soft-fp/gesf2.c (__gesf2): Likewise.
14341         * soft-fp/getf2.c (__getf2): Likewise.
14342         * soft-fp/ledf2.c (__ledf2): Likewise.
14343         * soft-fp/lesf2.c (__lesf2): Likewise.
14344         * soft-fp/letf2.c (__letf2): Likewise.
14346         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14347         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14348         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14349         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14350         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14351         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14352         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14353         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14354         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14355         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14356         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14357         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14358         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14359         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14360         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14361         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14362         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14363         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14364         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14365         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14366         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14367         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14368         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14369         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14370         * soft-fp/floattidf.c (__floattidf): Likewise.
14371         * soft-fp/floattisf.c (__floattisf): Likewise.
14372         * soft-fp/floattitf.c (__floattitf): Likewise.
14373         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14374         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14375         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14376         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14377         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14378         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14379         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14380         * soft-fp/gesf2.c (__gesf2): Likewise.
14381         * soft-fp/getf2.c (__getf2): Likewise.
14382         * soft-fp/ledf2.c (__ledf2): Likewise.
14383         * soft-fp/lesf2.c (__lesf2): Likewise.
14384         * soft-fp/letf2.c (__letf2): Likewise.
14386         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14387         Undefine and redefine.
14388         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14389         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14390         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14391         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14392         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14393         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14394         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14395         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14396         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14397         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14398         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14399         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14400         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14401         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14402         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14404         [BZ #16032]
14405         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14406         without decrementing exponent if mantissa >= that for the
14407         denominator, not >.
14408         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14409         denominator, not >.  Decrement exponent in < case instead of
14410         incrementing in >= case.
14411         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14412         without decrementing exponent if mantissa >= that for the
14413         denominator, not >.
14415         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14416         computing saturated result for unsigned overflow.
14418 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14419             Jeff Law  <law@redhat.com>
14421         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14422         (atan2Mp): Add systemtap probe marker.
14423         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14424         (__ieee754_log): Add systemtap probe marker.
14425         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14426         (atanMp): Add systemtap probe marker.
14427         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14428         (tanMp): Add systemtap probe marker.
14429         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14430         (__slowexp): Add systemtap probe marker.
14431         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14432         (__slowpow): Add systemtap probe marker.
14433         * manual/probes.texi: Document probes.
14435 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14437         [BZ #15362]
14438         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14439         written.
14440         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14441         written.
14442         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14443         written to buffer but not flushed.
14444         * libio/iofwrite_u.c:  Likewise.
14445         * libio/iopadn.c:  Return bytes returned even if EOF was
14446         encountered.
14447         * libio/iowpadn.c:  Likewise.
14448         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14449         if _IO_padn does not write the whole buffer.
14450         [!COMPILE_WPRINTF] (PAD): Likewise.
14452 2013-10-10  David S. Miller  <davem@davemloft.net>
14454         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14455         directory block.
14457 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14459         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14460         instead of FSF address.
14461         * soft-fp/fixdfti.c: Likewise.
14462         * soft-fp/fixsfti.c: Likewise.
14463         * soft-fp/fixtfti.c: Likewise.
14464         * soft-fp/fixunsdfti.c: Likewise.
14465         * soft-fp/fixunssfti.c: Likewise.
14466         * soft-fp/fixunstfti.c: Likewise.
14467         * soft-fp/floattidf.c: Likewise.
14468         * soft-fp/floattisf.c: Likewise.
14469         * soft-fp/floattitf.c: Likewise.
14470         * soft-fp/floatuntidf.c: Likewise.
14471         * soft-fp/floatuntisf.c: Likewise.
14472         * soft-fp/floatuntitf.c: Likewise.
14473         * soft-fp/trunctfxf2.c: Likewise.
14475         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14476         * soft-fp/fixdfti.c: Likewise.
14477         * soft-fp/fixsfti.c: Likewise.
14478         * soft-fp/fixtfti.c: Likewise.
14479         * soft-fp/fixunsdfti.c: Likewise.
14480         * soft-fp/fixunssfti.c: Likewise.
14481         * soft-fp/fixunstfti.c: Likewise.
14482         * soft-fp/floattidf.c: Likewise.
14483         * soft-fp/floattisf.c: Likewise.
14484         * soft-fp/floattitf.c: Likewise.
14485         * soft-fp/floatuntidf.c: Likewise.
14486         * soft-fp/floatuntisf.c: Likewise.
14487         * soft-fp/floatuntitf.c: Likewise.
14488         * soft-fp/trunctfxf2.c: Likewise.
14490 2013-10-10  David S. Miller  <davem@davemloft.net>
14492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14494 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14496         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14497         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14498         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14499         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14500         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14501         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14502         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14504         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14505         for NaNs before doing comparisons on argument.
14506         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14507         Likewise.
14509 2013-10-10  Will Newton  <will.newton@linaro.org>
14511         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14512         passed to _int_memalign does not overflow.
14514 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14516         * scripts/bench.pl: Add include-sources directive.
14517         * benchtests/README: Update documentation.
14519 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14521         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14522         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14523         instead of FP_INIT_ROUNDMODE.
14524         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14525         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14527         [BZ #16034]
14528         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14529         copy class of input value.
14530         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14531         not handle exceptions.
14532         * soft-fp/negsf2.c (__negsf2): Likewise.
14533         * soft-fp/negtf2.c (__negtf2): Likewise.
14534         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14536 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14538         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14539         semicolon.  From Linux kernel.
14541 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14543         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14545 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14547         [BZ #156]
14548         * manual/socket.texi: Added statement about buffer
14549         for gethostbyname2_r.
14551 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14553         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14554         Use .p2align directive instead, throughout.
14555         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14556         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14557         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14558         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14559         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14560         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14561         * sysdeps/x86_64/strchr.S: Likewise.
14562         * sysdeps/x86_64/strrchr.S: Likewise.
14564 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14566         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14568         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14570         * sysdeps/generic/math_private.h (__mpsin1): Remove
14571         declaration.
14572         (__mpcos1): Likewise.
14573         (__mpsin): New argument __range_reduce.
14574         (__mpcos): Likewise.
14575         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14576         (slow): Use __mpsin and __mpcos.
14577         (slow1): Likewise.
14578         (slow2): Likewise.
14579         (sloww): Likewise.
14580         (sloww1): Likewise.
14581         (sloww2): Likewise.
14582         (bsloww): Likewise.
14583         (bsloww1): Likewise.
14584         (bsloww2): Likewise.
14585         (cslow2): Likewise.
14586         (csloww): Likewise.
14587         (csloww1): Likewise.
14588         (csloww2): Likewise.
14589         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14590         range_reduce.  Merge in __mpsin1.
14591         (__mpcos): Likewise.
14592         (__mpsin1): Remove.
14593         (__mpcos1): Likewise.
14595 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14597         * locale/loadlocale.c (_nl_intern_locale_data): Use
14598         LOCFILE_ALIGNED_P.
14599         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14600         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14601         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14602         obstack data is appropriately aligned.
14603         (obstack_int32_grow_fast): Likewise.
14604         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14605         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14606         (add_locale_uint32_array): Likewise.
14608 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14610         * benchtests/Makefile: Remove ARGLIST and RET variables.
14611         ($(objpfx)bench-%.c): Pass only function name to the script.
14612         * benchtests/README: Update documentation.
14613         * benchtests/acos-inputs: Add new directives.
14614         * benchtests/acosh-inputs: Likewise.
14615         * benchtests/asin-inputs: Likewise.
14616         * benchtests/asinh-inputs: Likewise.
14617         * benchtests/atan-inputs: Likewise.
14618         * benchtests/atanh-inputs: Likewise.
14619         * benchtests/cos-inputs: Likewise.
14620         * benchtests/cosh-inputs: Likewise.
14621         * benchtests/exp-inputs: Likewise.
14622         * benchtests/log-inputs: Likewise.
14623         * benchtests/pow-inputs: Likewise.
14624         * benchtests/rint-inputs: Likewise.
14625         * benchtests/sin-inputs: Likewise.
14626         * benchtests/sinh-inputs: Likewise.
14627         * benchtests/tan-inputs: Likewise.
14628         * benchtests/tanh-inputs: Likewise.
14629         * scripts/bench.pl: Add support for new directives.
14631 2013-10-07  Alan Modra  <amodra@gmail.com>
14633         * README: Fix careless merge.
14635 2013-10-05  Alan Modra  <amodra@gmail.com>
14637         * NEWS: Mention powerpc64le support and bugs fixed.
14638         * README: Both big-endian and little-endian powerpc64 supported.
14640 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14642         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14643         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14644         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14645         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14647 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14649         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14650         match prototype.
14652 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14654         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14655         Move -mhard-float appending from
14656         ports/sysdeps/powerpc/powerpc32/Makefile.
14657         [$(with-fp) = yes] (ASFLAGS): Likewise.
14658         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14659         * sysdeps/powerpc/nofpu: Move directory from
14660         ports/sysdeps/powerpc/nofpu.
14661         * sysdeps/powerpc/soft-fp: Move directory from
14662         ports/sysdeps/powerpc/soft-fp.
14663         * sysdeps/powerpc/powerpc32/405: Move directory from
14664         ports/sysdeps/powerpc/powerpc32/405.
14665         * sysdeps/powerpc/powerpc32/440: Move directory from
14666         ports/sysdeps/powerpc/powerpc32/440.
14667         * sysdeps/powerpc/powerpc32/464: Move directory from
14668         ports/sysdeps/powerpc/powerpc32/464.
14669         * sysdeps/powerpc/powerpc32/476: Move directory from
14670         ports/sysdeps/powerpc/powerpc32/476.
14671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14672         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14674         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14676         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14678         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14680         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14681         * README: Update for powerpc-*-linux-gnu software floating point
14682         support in libc.
14684         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14685         case to powerpc/powerpc32*.
14686         * sysdeps/unix/sysv/linux/configure: Regenerated.
14688         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14689         (_FPU_MASK_OM): Define as 0x04.
14690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14692         0x00c10080.
14693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14694         0x0000003c.
14695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14698         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14699         getcontext_e500.
14700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14701         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14702         setcontext_e500.
14703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14704         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14705         and setcontext_e500.
14707 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14709         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14711 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14713         * manual/threads.texi (Default Thread Attributes): Fix typo.
14715 2013-10-04  Will Newton  <will.newton@linaro.org>
14717         * malloc/Makefile: Add tst-memalign.
14718         * malloc/tst-memalign.c: New file.
14720         * malloc/tst-posix_memalign.c: Add comments.
14721         (do_test): Add comments and call free on all potentially
14722         allocated pointers. Add space after cast.
14724         * malloc/tst-pvalloc.c: Add comments.
14725         (do_test): Add comments and call free on all potentially
14726         allocated pointers. Remove duplicate check for NULL pointer.
14727         Add space after cast.
14729         * malloc/tst-valloc.c: Add comments.
14730         (do_test): Add comments and call free on all potentially
14731         allocated pointers. Remove duplicate check for NULL pointer.
14732         Add space after cast.
14734 2013-10-04  Alan Modra  <amodra@gmail.com>
14736         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14737         Use stdint types in rather than __attribute__((mode())).
14738         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14740 2013-10-04  Alan Modra  <amodra@gmail.com>
14742         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14743         Correct handling of unaligned relocs for little-endian.
14744         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14746 2013-10-04  Alan Modra  <amodra@gmail.com>
14748         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14749         * configure: Regenerate.
14750         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14751         * shlib-versions: Likewise.
14753 2013-10-04  Alan Modra  <amodra@gmail.com>
14755         * string/tester.c (test_memrchr): Increment reported test cycle.
14757 2013-10-04  Alan Modra  <amodra@gmail.com>
14759         * string/test-memcpy.c (do_one_test): When reporting errors, print
14760         string address and don't overrun end of string.
14762 2013-10-04  Alan Modra  <amodra@gmail.com>
14764         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14765         insrdi.  Make better use of reg selection to speed exit slightly.
14766         Schedule entry path a little better.  Remove useless "are we done"
14767         checks on entry to main loop.  Handle wrapping around zero address.
14768         Correct main loop count.  Handle single left-over word from main
14769         loop inline rather than by using loop_small.  Remove extra word
14770         case in loop_small caused by wrong loop count.  Add little-endian
14771         support.
14772         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14773         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14774         cache hint.
14775         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14776         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14777         support.  Avoid rlwimi.
14778         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14780 2013-10-04  Alan Modra  <amodra@gmail.com>
14782         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14783         insrdi.  Formatting.
14784         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14785         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14786         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14787         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14788         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14789         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14791 2013-10-04  Alan Modra  <amodra@gmail.com>
14793         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14794         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14795         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14796         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14797         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14798         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14799         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14800         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14801         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14802         use of regs.  Use power7 mtocrf.  Tidy function tails.
14804 2013-10-04  Alan Modra  <amodra@gmail.com>
14806         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14807         Formatting.  Consistently use rXXX register defines or rN defines.
14808         Use early exit labels that avoid restoring unused non-volatile regs.
14809         Make cr field use more consistent with rWORDn compares.  Rename
14810         regs used as shift registers for unaligned loop, using rN defines
14811         for short lifetime/multiple use regs.
14812         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14813         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14814         addi 1,1,64 to pop stack frame.  Simplify return value code.
14815         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14817 2013-10-04  Alan Modra  <amodra@gmail.com>
14819         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14820         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14821         rather than rlwimi.
14822         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14823         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14824         little-endian support.  Correct typos.
14825         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14826         rather than rlwimi.
14827         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14828         in loop and entry code to keep "and." results.
14829         (strchr): Add little-endian support.  Comment.  Move cntlzd
14830         earlier in tail.
14831         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14833 2013-10-04  Alan Modra  <amodra@gmail.com>
14835         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14836         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14837         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14838         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14840 2013-10-04  Alan Modra  <amodra@gmail.com>
14842         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14843         (rTMP): Define as r11.
14844         (strcmp): Add little-endian support.  Optimise tail.
14845         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14846         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14847         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14848         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14849         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14850         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14851         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14853 2013-10-04  Alan Modra  <amodra@gmail.com>
14855         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14856         little-endian support.  Remove unnecessary "are we done" tests.
14857         Handle "s" wrapping around zero and extremely large "size".
14858         Correct main loop count.  Handle single left-over word from main
14859         loop inline rather than by using small_loop.  Correct comments.
14860         Delete "zero" tail, use "end_max" instead.
14861         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14863 2013-10-04  Alan Modra  <amodra@gmail.com>
14865         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14866         support.  Don't branch over align.
14867         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14868         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14869         support.  Rearrange tmp reg use to suit.  Comment.
14870         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14872 2013-10-04  Alan Modra  <amodra@gmail.com>
14874         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14876 2013-10-04  Alan Modra  <amodra@gmail.com>
14878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14879         conditional form of branch and link when obtaining pc.
14880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14882 2013-10-04  Alan Modra  <amodra@gmail.com>
14884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14885         HIWORD/LOWORD.
14886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14889 2013-10-04  Alan Modra  <amodra@gmail.com>
14891         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14892         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14893         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14894         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14895         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14896         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14897         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14898         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14899         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14900         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14902 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14903             Alistair Popple <alistair@ozlabs.au.ibm.com>
14904             Alan Modra <amodra@gmail.com>
14906         [BZ #15723]
14907         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14908         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14909         _dl_hwcap access for little-endian.
14910         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14911         destroy vmx regs when saving unaligned.
14912         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14913         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14914         destroy vmx regs when saving unaligned.
14916 2013-10-04  Alan Modra  <amodra@gmail.com>
14918         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14919         Don't use a union to pack hi/low value.
14921 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14923         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14924         for little-endian.
14925         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14926         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14927         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14928         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14929         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14931 2013-10-04  Alan Modra  <amodra@gmail.com>
14933         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14934         constants to usual value for .cst8 section, and remove redundant
14935         high address load.
14936         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14937         constant for 0x1p52.  Load little-endian words of double from
14938         correct stack offsets.
14940 2013-10-04  Alan Modra  <amodra@gmail.com>
14942         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14943         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14944         words of double from correct stack offsets.
14945         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14946         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14947         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14948         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14949         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14950         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14951         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14952         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14953         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14954         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14955         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14956         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14957         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14958         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14959         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14960         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14961         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14963 2013-10-04  Alan Modra  <amodra@gmail.com>
14965         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14966         64-bit int/double union.
14967         (_FPU_SETCW): Likewise.
14968         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14969         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14971 2013-10-04  Alan Modra  <amodra@gmail.com>
14973         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14974         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14976 2013-10-04  Alan Modra  <amodra@gmail.com>
14978         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14979         use vector int constants.
14980         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14982 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14984         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14985         array with long long.
14986         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14987         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14988         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14989         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14990         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14991         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14992         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14993         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14994         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14995         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14996         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14997         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14998         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15000 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15002         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15003         (__signbit): Likewise.  Correct for little-endian.
15004         (__signbitl): Call __signbit.
15005         (lrint): Correct for little-endian.
15006         (lrintf): Call lrint.
15008 2013-10-04  Alan Modra  <amodra@gmail.com>
15010         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15011         union 32-bit int array member with 64-bit int array.
15012         (t515, tm256): Double rather than long double.
15013         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15015 2013-10-04  Alan Modra  <amodra@gmail.com>
15017         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15018         Delete.
15019         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15020         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15021         version of math_ldbl.h.
15023 2013-10-04  Alan Modra  <amodra@gmail.com>
15025         [BZ #15734], [BZ #15735]
15026         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15027         all uses of ieee875 long double macros and unions.  Simplify test
15028         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15029         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15030         normalize after ldbl_extract_mantissa, and don't add hidden bit
15031         already handled.  Don't treat low word of ieee854 mantissa like
15032         low word of IBM long double and mask off bit when testing for
15033         zero.
15034         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15035         all uses of ieee875 long double macros and unions.  Simplify tests
15036         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15037         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15038         two1022, instead use their values.  Recognise that tests for large
15039         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15040         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15041         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15042         test for 0.0L and nan.  Correct negation.
15043         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15044         ieee875 long double macros and unions.  Correct output for large
15045         magnitude x.  Correct absolute value calculation.
15046         (__erfcl): Likewise.
15047         * math/libm-test.inc: Add tests for errors discovered in IBM long
15048         double versions of fmodl, remainderl, erfl and erfcl.
15050 2013-10-04  Alan Modra  <amodra@gmail.com>
15052         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15053         all uses of ieee854 long double macros and unions.  Simplify tests
15054         for long doubles that are fully specified by the high double.
15055         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15056         Likewise.
15057         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15058         Remove dead code too.
15059         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15060         (__ieee754_ynl): Likewise.
15061         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15062         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15063         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15064         Remove dead code too.
15065         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15066         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15067         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15068         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15069         Simplify.
15070         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15071         Simplify.
15072         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15073         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15075         Comment on variable precision.
15076         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15077         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15078         Likewise.
15079         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15080         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15081         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15082         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15083         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15085 2013-10-04  Alan Modra  <amodra@gmail.com>
15087         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15088         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15089         all uses of ieee854 long double macros and unions.
15090         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15091         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15092         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15093         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15094         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15095         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15096         Likewise.
15097         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15098         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15099         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15100         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15101         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15102         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15103         Simplify sign and nan test too.
15104         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15105         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15106         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15107         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15108         Likewise.
15109         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15110         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15111         Likewise.
15112         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15113         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15114         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15115         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15116         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15117         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15119 2013-10-04  Alan Modra  <amodra@gmail.com>
15121         * stdio-common/printf_size.c (__printf_size): Don't use
15122         union ieee854_long_double in fpnum union.
15123         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15124         signbit macro to retrieve sign from long double.
15125         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15126         retrieve sign from long double.
15127         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15128         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15129         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15130         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15131         * math/test-misc.c (main): Don't use union ieee854_long_double.
15133 2013-10-04  Alan Modra  <amodra@gmail.com>
15135         [BZ #15680]
15136         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15137         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15138         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15139         calculation.  Remove unnecessary test for denormal exponent.
15140         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15141         Correct handling of denormals.  Avoid undefined shift behaviour.
15142         Correct normalisation of low mantissa when low double is denormal.
15143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15144         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15145         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15146         Correct normalisation of low mantissa.  Test for overflow of high
15147         mantissa and normalise.
15148         (ldbl_nearbyint): Use more readable constant for two52.
15149         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15150         (__mpn_construct_long_double): Fix test for overflow of high
15151         mantissa and correct normalisation.  Avoid undefined shift.
15153 2013-10-04  Alan Modra  <amodra@gmail.com>
15155         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15156         (union ibm_extended_long_double): Define as an array of ieee754_double.
15157         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15158         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15159         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15160         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15161         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15162         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15163         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15164         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15165         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15166         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15167         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15169 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15171         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15172         page size instead of calling getpagesize.
15174         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15175         (LOCFILE_ALIGN_MASK): Likewise.
15176         (LOCFILE_ALIGN_UP): Likewise.
15177         (LOCFILE_ALIGNED_P): Likewise.
15178         * locale/programs/ld-collate.c (collate_output): Use the new
15179         macros instead of __alignof__ (int32_t).
15180         * locale/weight.h (findidx): Likewise.
15182 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15184         [BZ #431]
15185         * manual/string.texi: Fix strncat and wcsncat.
15187 2013-10-03  Brooks Moses  <bmoses@google.com>
15189         [BZ #15915]
15190         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15191         * Makerules: ...here, and adjust associated comments.
15193 2013-10-02  Will Newton  <will.newton@linaro.org>
15195         * malloc/Makefile: Add tst-pvalloc.
15196         * malloc/tst-pvalloc.c: New file.
15198 2013-10-02  Will Newton  <will.newton@linaro.org>
15200         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15201         improve test coverage.
15203 2013-10-02  Will Newton  <will.newton@linaro.org>
15205         * malloc/Makefile: Add tst-posix_memalign.
15206         * malloc/tst-posix_memalign.c: New file.
15208 2013-10-01  Eric Blake  <eblake@redhat.com>
15210         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15211         Use __THROWNL rather than __THROW on static functions.
15213 2013-09-30  Petr Machata  <pmachata@redhat.com>
15215         * elf/elf.h (R_AARCH64_ABS16): New macro.
15216         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15217         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15218         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15219         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15220         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15221         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15222         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15223         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15224         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15225         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15226         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15227         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15228         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15229         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15230         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15231         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15232         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15233         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15234         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15235         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15236         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15237         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15238         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15239         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15240         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15241         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15242         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15243         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15244         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15245         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15246         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15247         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15248         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15249         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15250         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15251         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15252         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15253         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15254         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15255         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15256         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15257         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15258         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15259         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15260         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15261         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15262         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15263         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15264         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15265         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15266         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15267         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15268         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15269         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15270         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15271         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15272         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15273         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15274         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15275         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15276         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15277         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15278         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15279         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15280         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15281         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15282         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15283         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15284         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15285         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15286         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15287         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15288         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15289         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15290         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15291         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15292         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15293         (R_AARCH64_TLSDESC_LDR): Likewise.
15294         (R_AARCH64_TLSDESC_ADD): Likewise.
15295         (R_AARCH64_TLSDESC_CALL): Likewise.
15297 2013-09-30  Andreas Schwab  <schwab@suse.de>
15299         [BZ #15048]
15300         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15301         the nss database lookup.
15302         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15305 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15307         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15309 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15311         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15312         ${Bash-specific parameter/pattern/string} parameter expansion.
15313         * sysdeps/unix/make-syscalls.sh: Likewise.
15315 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15317         * sysdeps/sh/stackguard-macros.h: New file.
15319 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15323         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15324         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15325         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15326         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15328 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15330         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15331         Fix thread ID register.
15333 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15335         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15336         [POSIX || UNIX98]: Require rather than permitting all symbols from
15337         <time.h>.
15338         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15339         element of struct sched_param.
15340         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15341         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15342         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15343         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15344         constant.
15346 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15348         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15349         argument calculation.
15351 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15353         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15354         Expect macro.
15355         [POSIX] (pthread_attr_t): Do not require type.
15356         [POSIX] (pthread_cond_t): Likewise.
15357         [POSIX] (pthread_condattr_t): Likewise.
15358         [POSIX] (pthread_key_t): Likewise.
15359         [POSIX] (pthread_mutex_t): Likewise.
15360         [POSIX] (pthread_mutexattr_t): Likewise.
15361         [POSIX] (pthread_once_t): Likewise.
15362         [POSIX] (pthread_t): Likewise.
15363         [POSIX-based standards] (pthread_atfork): Expect function.
15365 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15366             Richard Sandiford  <richard@codesourcery.com>
15368         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15369         (swap_endianness_p): New extern variable.
15370         (set_big_endian): New inline function.
15371         (maybe_swap_uint32): Likewise.
15372         (maybe_swap_uint32_array): Likewise.
15373         (maybe_swap_uint32_obstack): Likewise.
15374         * locale/programs/locfile.c: Include <stdbool.h>.
15375         (swap_endianness_p): New variable.
15376         (add_locale_uint32): Call maybe_swap_uint32.
15377         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15378         (write_locale_data): Call maybe_swap_uint32_array.
15379         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15380         maybe_swap_uint32.
15381         (obstack_int32_grow_fast): Likewise.
15382         (output_weightwc): Call maybe_swap_uint32_obstack.
15383         (collate_output): Likewise.
15384         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15385         (OPT_LITTLE_ENDIAN): Likewise.
15386         (options): Add --little-endian and --big-endian options.
15387         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15388         * locale/programs/locarchive.c: Include "locfile.h".
15389         (GET): New macro.
15390         (SET): Likewise.
15391         (INC): Likewise.
15392         (create_archive): Use the new macros to access fields of
15393         structures directly mapped from or written to locale archives.
15394         (oldlocrecentcmp): Likewise.
15395         (enlarge_archive): Likewise.
15396         (insert_name): Likewise.
15397         (add_alias): Likewise.
15398         (add_locale): Likewise.
15399         (delete_locales_from_archive): Likewise.
15400         (show_archive_content): Likewise.
15401         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15402         locale data.
15404 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15406         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15407         http://www.gnu.org/doc/freemanuals.texi.
15408         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15410 2013-09-24  Will Newton  <will.newton@linaro.org>
15412         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15413         macro.
15415 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15417         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15418         unsigned char.
15420 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15422         * manual/threads.texi (POSIX Threads): Fix a typo.
15424 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15426         [BZ #14547]
15427         * string/tst-strcoll-overflow.c: New test case.
15428         * string/Makefile (xtests): Add tst-strcoll-overflow.
15429         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15430         cache if string sizes may cause integer overflow.
15432         [BZ #14547]
15433         * string/strcoll_l.c (coll_seq): New members rule, idx,
15434         save_idx and back_us.
15435         (get_next_seq_nocache): New function.
15436         (do_compare_nocache): New function.
15437         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15438         when malloc fails.
15440 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15442         [BZ #15754]
15443         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15444         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15445         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15447         [BZ #15754]
15448         * elf/Makefile (tests): Add tst-ptrguard1.
15449         (tests-static): Add tst-ptrguard1-static.
15450         (tst-ptrguard1-ARGS): Define.
15451         (tst-ptrguard1-static-ARGS): Define.
15452         * elf/tst-ptrguard1.c: New file.
15453         * elf/tst-ptrguard1-static.c: New file.
15454         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15455         * sysdeps/i386/stackguard-macros.h: Likewise.
15456         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15457         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15458         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15459         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15460         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15461         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15463 2013-09-23  Hector Marco  <hecmargi@upv.es>
15464             Ismael Ripoll  <iripoll@disca.upv.es>
15465             Carlos O'Donell  <carlos@redhat.com>
15467         [BZ #15754]
15468         * sysdeps/generic/stackguard-macros.h: Define
15469         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15470         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15471         Define __pointer_chk_guard_local.
15472         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15473         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15475 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15477         [BZ #15859]
15478         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15480 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15482         * include/string.h (__ffs): Declare as hidden.
15483         * string/ffs.c (__ffs): Define as hidden.
15484         * sysdeps/i386/ffs.c (__ffs): Likewise.
15485         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15486         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15487         * sysdeps/s390/ffs.c (__ffs): Likewise.
15488         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15490 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15492         * NEWS: Mention malloc probes.
15494         * malloc/arena.c (new_heap): New memory_heap_new probe.
15495         (grow_heap): New memory_heap_more probe.
15496         (shrink_heap): New memory_heap_less probe.
15497         (heap_trim): New memory_heap_free probe.
15498         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15499         (systrim): New memory_sbrk_less probe.
15500         * manual/probes.texi: Document them.
15502         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15503         * manual/probes.texi: Document it.
15505         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15506         (__libc_realloc): Add memory_realloc_retry probe.
15507         (__libc_memalign): Add memory_memalign_retry probe.
15508         (__libc_valloc): Add memory_valloc_retry probe.
15509         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15510         (__libc_calloc): Add memory_calloc_retry probe.
15511         * manual/probes.texi: Document them.
15513         * malloc/arena.c (get_free_list): Add probe
15514         memory_arena_reuse_free_list.
15515         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15516         and memory_arena_reuse.
15517         (arena_get2) [!PER_THREAD]: Likewise.
15518         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15519         memory_arena_reuse_realloc.
15520         * manual/probes.texi: Document them.
15522         * malloc/malloc.c (__libc_free): Add
15523         memory_mallopt_free_dyn_thresholds probe.
15524         (__libc_mallopt): Add multiple memory_mallopt probes.
15525         * manual/probes.texi: Document them.
15527         * malloc/malloc.c: Include stap-probe.h.
15528         (__libc_mallopt): Add memory_mallopt probe.
15529         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15530         * manual/probes.texi: New.
15531         * manual/Makefile (chapters): Add probes.
15532         * manual/threads.texi: Set next node.
15534 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15536         [BZ #15963, #13985]
15537         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15538         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15539         Add `Chinese' to `nan' entry name.
15541 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15543         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15544         (POLYNOMIAL): Likewise.
15545         (TAYLOR_SINCOS): Likewise.
15546         (TAYLOR_SLOW): Likewise.
15547         (__sin): Use TAYLOR_SINCOS.
15548         (__cos): Likewise.
15549         (slow): Use TAYLOR_SLOW.
15550         (sloww): Likewise.
15551         (bsloww): Likewise.
15552         (csloww): Likewise.
15554 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15556         * stdlib/strtod_l.c: Fix buffer overrun.
15558 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15560         * benchtests/Makefile (bench): Add sincos.
15561         * benchtests/bench-sincos.c: New file.
15563         * math/libm-test.inc (cos_test_data): New test inputs.
15564         (sin_test_data): Likewise.
15566         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15567         macro.
15568         (__sin): Use it.
15569         (__cos): Likewise.
15570         (slow1): Likewise.
15571         (slow2): Likewise.
15572         (sloww1): Likewise.
15573         (sloww2): Likewise.
15574         (bsloww1): Likewise.
15575         (bsloww2): Likewise.
15576         (cslow2): Likewise.
15577         (csloww1): Likewise.
15578         (csloww2): Likewise.
15580         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15581         function.
15582         (__sin): Use it.
15583         (__cos): Likewise.
15585         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15586         gotos.
15587         (__cos): Likewise.
15589 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15591         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15592         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15593         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15594         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15595         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15596         * elf/cache.c (print_entry): Handle the new cache flags.
15598 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15599             Aldy Hernandez  <aldyh@redhat.com>
15601         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15602         Change condition to [_SOFT_FLOAT].
15603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15615         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15618         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15619         declaration.
15621 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15623         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15624         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15625         (__longjmp): Use LOAD_GP to load saved GPRs.
15626         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15627         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15628         (__sigsetjmp): Use SAVE_GP to save GPRs.
15630         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15631         Do not append -msoft-float.
15632         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15634 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15636         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15638 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15640         [BZ #15966]
15641         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15642         (_FPU_GETCW): Use initial "__" on variable and field names but not
15643         on macro parameter name.
15644         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15645         parentheses around reference to macro parameter.
15647 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15649         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15650         prototype.
15651         (ctype_startup): Use uint32_t in cast and sizeof for
15652         ctype->charnames.
15654 2013-09-11  Jia Liu  <proljc@gmail.com>
15656         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15657         __daddr_t_defined.
15658         [__FreeBSD__]: Likewise.
15660 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15663         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15664         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15665         (strchr): Remove __strchr_sse42 ifunc selection.
15666         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15667         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15669 2013-09-11  Will Newton  <will.newton@linaro.org>
15671         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15672         parameter to RES. Remove hardcoded 1000 value.
15673         * benchtests/bench-skeleton.c (main): Pass RES parameter
15674         to TIMING_INIT and multiply result by 1000.
15676 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15680 2013-09-11  Andreas Schwab  <schwab@suse.de>
15682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15683         if not defined.
15684         (O_TMPFILE) [__USE_GNU]: Define.
15685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15686         Define.
15688 2013-09-11  Will Newton  <will.newton@linaro.org>
15690         [BZ #15857]
15691         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15692         does not overflow.
15694 2013-09-11  Will Newton  <will.newton@linaro.org>
15696         [BZ #15856]
15697         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15698         does not overflow.
15700 2013-09-11  Will Newton  <will.newton@linaro.org>
15702         [BZ #15855]
15703         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15704         does not overflow.
15706 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15708         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15709         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15710         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15711         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15712         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15714 2013-09-10  Allan McRae  <allan@archlinux.org>
15716         [BZ #15748]
15717         * manual/arith.texi (Parsing of Floats): Clarify
15718         cross-reference.
15720         [BZ #15849]
15721         * manual/install.texi (Running make install): Mention
15722         --enable-pt-chown.
15723         * INSTALL: Regenerated.
15725 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15727         * csu/init-first.c (_init): Remove the !SHARED condition around
15728         FPU control word initialization.
15729         * elf/dl-support.c (_dl_fpu_control): New variable.
15730         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15731         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15732         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15733         * math/test-fpucw-static.c: New file.
15734         * math/test-fpucw-ieee.c: New file.
15735         * math/test-fpucw-ieee-static.c: New file.
15736         * math/Makefile (tests): Add `test-fpucw-ieee' and
15737         `$(tests-static)'.
15738         (tests-static): New variable.
15739         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15740         dependency to...
15741         [($(build-shared),yes)]
15742         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15743         ... this.
15744         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15745         New dependency.
15747 2013-09-09  Allan McRae  <allan@archlinux.org>
15749         [BZ #15939]
15750         * manual/string.texi (Collation Functions): Fix typo in
15751         strcoll example.
15752         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15754         [BZ #15893]
15755         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15757         [BZ #15892]
15758         * libio/memstream.c (open_memstream): Fix memory leak.
15759         * libio/wmemstream.c (open_wmemstream): Likewise.
15761         [BZ #15895]
15762         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15764 2013-09-09  Will Newton  <will.newton@linaro.org>
15766         * malloc/Makefile: Add tst-realloc to tests.
15767         * malloc/tst-realloc.c: New file.
15769 2013-09-09  Allan McRae  <allan@archlinux.org>
15771         [BZ #15844]
15772         * COPYING: Update from GNU website to fix FSF address.
15773         * COPYING.LIB: Likewise.
15775 2013-09-06  David S. Miller  <davem@davemloft.net>
15777         * po/zh_TW.po: Update Chinese (traditional) translation from
15778         translation project.
15780 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15781             Joseph Myers  <joseph@codesourcery.com>
15783         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15784         "localeinfo.h".
15785         (obstack_chunk_alloc): New macro.
15786         (obstack_chunk_free): Likewise.
15787         (record_offset): New function.
15788         (init_locale_data): Likewise.
15789         (align_locale_data): Likewise.
15790         (add_locale_empty): Likewise.
15791         (add_locale_raw_data): Likewise.
15792         (add_locale_raw_obstack): Likewise.
15793         (add_locale_string): Likewise.
15794         (add_locale_wstring): Likewise.
15795         (add_locale_uint32): Likewise.
15796         (add_locale_uint32_array): Likewise.
15797         (add_locale_char): Likewise.
15798         (start_locale_structure): Likewise.
15799         (end_locale_structure): Likewise.
15800         (start_locale_prelude): Likewise.
15801         (end_locale_prelude): Likewise.
15802         (write_locale_data): Take locale_file structure rather than an
15803         iovec.
15804         * locale/programs/locfile.h: Include "obstack.h".
15805         (struct locale_file): Change to store locale file contents instead
15806         of header.
15807         (init_locale_data): New prototype.
15808         (align_locale_data): Likewise.
15809         (add_locale_empty): Likewise.
15810         (add_locale_raw_data): Likewise.
15811         (add_locale_raw_obstack): Likewise.
15812         (add_locale_string): Likewise.
15813         (add_locale_wstring): Likewise.
15814         (add_locale_uint32): Likewise.
15815         (add_locale_uint32_array): Likewise.
15816         (add_locale_char): Likewise.
15817         (start_locale_structure): Likewise.
15818         (end_locale_structure): Likewise.
15819         (start_locale_prelude): Likewise.
15820         (end_locale_prelude): Likewise.
15821         (write_locale_data): Update prototype.
15822         * locale/programs/3level.h (struct TABLE): Remove result field.
15823         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15824         Use new locale_file interface.
15825         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15826         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15827         * locale/programs/ld-address.c (address_output): Use new
15828         locale_file interface.
15829         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15830         NO_ADD_LOCALE.
15831         (collate_finish): Don't call collseq_table_finalize.
15832         (collate_output): Use new locale_file interface.
15833         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15834         in file.
15835         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15836         (TABLE): Move defines earlier in file.
15837         (ELEMENT): Likewise.
15838         (DEFAULT): Likewise.
15839         (wctrans_table_add): Move macro and inline function earlier in
15840         file.
15841         (struct wctype_table): Move type earlier in file.
15842         (add_locale_wctype_table): New static prototype.
15843         (struct locale_ctype_t): Use logical types instead of struct iovec
15844         pointers for members.
15845         (ctype_output): Use new locale_file interface.
15846         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15847         new locale_file interface.
15848         (allocate_arrays): Update for use of new locale_file interface.
15849         * locale/programs/ld-identification.c (identification_output): Use
15850         new locale_file interface.
15851         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15852         * locale/programs/ld-messages.c (messages_output): Likewise.
15853         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15854         * locale/programs/ld-name.c (name_output): Likewise.
15855         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15856         * locale/programs/ld-paper.c (paper_output): Likewise.
15857         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15858         * locale/programs/ld-time.c (time_output): Likewise.
15860 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15862         * benchtests/Makefile: Add memrchr benchmark.
15863         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15864         benchmark as memrchr.
15865         * benchtests/bench-memrchr-ifunc.c: New file.
15866         * benchtests/bench-memrchr.c: New file.
15868 2013-09-06   Will Newton  <will.newton@linaro.org>
15870         * benchtests/Makefile (string-bench): Add memcpy.
15872 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15873             Cong Wang  <amwang@redhat.com>
15875         [BZ #15850]
15876         * sysdeps/unix/sysv/linux/bits/in.h
15877         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15878         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15879         before __USE_KERNEL_IPV6_DEFS uses.
15880         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15881         IPPROTO_BEETPH.
15882         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15883         sockaddr_in6, or ipv6_mreq.
15885 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15887         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15888         memory access for final bytes in some large inputs.
15889         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15891 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15893         * string/test-memrchr.c: New file.
15894         * string/test-memrchr-ifunc.c: New file.
15895         * string/Makefile: Add new memrchr testcase.
15897 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15899         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15900         fanotify_init returns EPERM.
15902 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15904         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15905         errors.
15906         (top level): Treat second token from macro or constant entries for
15907         allowed headers as allowed.
15908         * include/complex.h: Condition internal declarations on
15909         [!_ISOMAC].
15910         * include/fenv.h: Condition include of <stdbool.h> and internal
15911         declarations on [!_ISOMAC].
15913 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15915         [BZ #15923]
15916         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15918 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15920         * configure.in (--enable-versioning): Remove configure option.
15921         (libc_cv_asm_symver_directive): Remove configure test.
15922         (libc_cv_ld_version_script_option): Likewise.
15923         (VERSIONING): Remove variable and AC_SUBST.
15924         (DO_VERSIONING): Remove AC_DEFINE.
15925         * configure: Regenerated.
15926         * config.h.in (DO_VERSIONING): Remove macro.
15927         * Makerules [$(versioning) = yes]: Change conditionals to
15928         [$(build-shared) = yes].
15929         * config.make.in (versioning): Remove variable.
15930         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15931         [$(build-shared) = yes].
15932         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15933         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15934         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15935         [$(build-shared) = yes].
15936         * extra-lib.mk [$(versioning) = yes]: Likewise.
15937         * hurd/Makefile [$(versioning) = yes]: Likewise.
15938         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15939         [SHARED].
15940         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15941         [SHARED].
15942         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15943         [SHARED && !NO_HIDDEN].
15944         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15945         [SHARED].
15946         [SHARED && DO_VERSIONING]: Likewise..
15947         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15948         [$(build-shared) = yes].
15949         * manual/install.texi (--disable-versioning): Remove
15950         documentation.
15951         * INSTALL: Regenerated.
15952         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15953         to [SHARED].
15954         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15955         [$(build-shared) = yes].
15956         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15957         * sysdeps/i386/i686/multiarch/strstr-c.c
15958         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15959         [SHARED && !NO_HIDDEN].
15960         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15961         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15962         * sysdeps/powerpc/powerpc32/dl-machine.c
15963         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15964         * sysdeps/powerpc/powerpc32/sysdep.h
15965         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15966         to [SHARED && PIC && !NO_HIDDEN].
15967         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15968         conditional to [SHARED].
15970 2013-09-04   Will Newton  <will.newton@linaro.org>
15972         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15973         * benchtests/bench-string.h: Include bench-timing.h instead
15974         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15975         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15976         call to HP_TIMING_DIFF_INIT.
15977         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15978         instead of hp-timing.h macros.
15979         * benchtests/bench-memchr.c: Likewise.
15980         * benchtests/bench-memcmp.c: Likewise.
15981         * benchtests/bench-memcpy.c: Likewise.
15982         * benchtests/bench-memmem.c: Likewise.
15983         * benchtests/bench-memmove.c: Likewise.
15984         * benchtests/bench-memset.c: Likewise.
15985         * benchtests/bench-rawmemchr.c: Likewise.
15986         * benchtests/bench-strcasecmp.c: Likewise.
15987         * benchtests/bench-strcasestr.c: Likewise.
15988         * benchtests/bench-strcat.c: Likewise.
15989         * benchtests/bench-strchr.c: Likewise.
15990         * benchtests/bench-strcmp.c: Likewise.
15991         * benchtests/bench-strcpy.c: Likewise.
15992         * benchtests/bench-strcpy_chk.c: Likewise.
15993         * benchtests/bench-strlen.c: Likewise.
15994         * benchtests/bench-strncasecmp.c: Likewise.
15995         * benchtests/bench-strncat.c: Likewise.
15996         * benchtests/bench-strncmp.c: Likewise.
15997         * benchtests/bench-strncpy.c: Likewise.
15998         * benchtests/bench-strnlen.c: Likewise.
15999         * benchtests/bench-strpbrk.c: Likewise.
16000         * benchtests/bench-strrchr.c: Likewise.
16001         * benchtests/bench-strspn.c: Likewise.
16002         * benchtests/bench-strstr.c: Likewise.
16004 2013-09-04  Will Newton  <will.newton@linaro.org>
16006         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16008 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16010         [BZ #15427]
16011         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16012         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16013         * math/libm-test.inc (lgamma_test_data): Add more tests.
16014         * sysdeps/i386/fpu/libm-test-ulps: Update.
16015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16017 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16019         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16020         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16021         Add ifunc.
16022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16023         Add strcmp-sse2-unaligned
16024         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16026 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16028         * Versions.def (libc): Add GLIBC_2.19.
16030 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16032         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16033         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16035 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16037         [BZ #14155]
16038         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16039         intermediate calculations in recurrence.
16040         (__ieee754_ynf): Likewise.
16041         * math/libm-test.inc (jn_test_data): Do not allow spurious
16042         underflow exception.  Add more tests.
16043         (yn_test_data): Add more tests.
16044         * sysdeps/i386/fpu/libm-test-ulps: Update.
16045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16047 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16049         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16051 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16053         * csu/init-first.c: Fix then/than typos.
16054         * locale/programs/ld-collate.c: Likewise.
16055         * locale/programs/linereader.h: Likewise.
16056         * manual/charset.texi: Likewise.
16057         * manual/filesys.texi: Likewise.
16058         * manual/stdio.texi: Likewise.
16059         * manual/string.texi: Likewise.
16060         * stdlib/fmtmsg.c: Likewise.
16061         * sysdeps/i386/stpncpy.S: Likewise.
16062         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16063         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16064         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16065         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16067 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16069         * elf/dl-open.c: Fix typos.
16070         * iconvdata/gbbig5.c: Likewise.
16071         * iconvdata/iso-2022-jp.c: Likewise.
16072         * iconv/gconv_int.h: Likewise.
16073         * iconv/loop.c: Likewise.
16074         * nis/rpcsvc/nis.h: Likewise.
16075         * resolv/ns_name.c: Likewise.
16076         * stdio-common/vfscanf.c: Likewise.
16077         * streams/stropts.h: Likewise.
16078         * sunrpc/rpc_thread.c: Likewise.
16079         * sysdeps/i386/strpbrk.S: Likewise.
16080         * sysdeps/ieee754/k_standard.c: Likewise.
16081         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16082         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16083         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16084         * sysdeps/mach/hurd/profil.c: Likewise.
16085         * sysdeps/s390/dl-procinfo.h: Likewise.
16086         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16087         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16088         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16089         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16090         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16092 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16094         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16095         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16097 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16099         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16100         aix specific files.
16101         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16102         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16103         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16104         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16105         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16106         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16107         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16108         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16110 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16111             Roland McGrath  <roland@hack.frob.com>
16113         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16114         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16116 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16118         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16119         __executable_start symbol instead of _start.
16121 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16123         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16124         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16125         Move macros to...
16126         * sysdeps/gnu/ldsodefs.h: ... this new file.
16128         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16129         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16130         instead of ELFOSABI_LINUX.
16132         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16133         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16134         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16135         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16136         Likewise.
16137         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16138         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16139         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16140         Likewise.
16141         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16142         (ibm_extended_long_double): Add ieee_nan member.
16143         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16144         (do_test): New function.
16146         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16147         TEST_TRUNC.
16148         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16149         functions, renamed from truncdfsf_test, trunctfsf_test,
16150         trunctfdf_test.
16151         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16152         functions.
16153         (do_test): Run all these.
16155 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16157         * argp/argp-help.c: Fix typos.
16158         * argp/argp-parse.c: Likewise.
16159         * debug/backtracesyms.c: Likewise.
16160         * elf/elf.h: Likewise.
16161         * malloc/malloc.c: Likewise.
16162         * nis/nis_print.c: Likewise.
16163         * resolv/res_comp.c: Likewise.
16164         * stdlib/stdlib.h: Likewise.
16165         * sunrpc/clnt_tcp.c: Likewise.
16166         * sunrpc/clnt_udp.c: Likewise.
16167         * sunrpc/clnt_unix.c: Likewise.
16168         * sysdeps/unix/bsd/ptsname.c: Likewise.
16169         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16170         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16172         Likewise.
16173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16174         Likewise.
16175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16176         Likewise.
16177         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16179 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16181         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16184 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16186         [BZ #15897]
16187         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16188         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16189         ($(objpfx)bug-dl-leaf): New rule.
16190         ($(objpfx)bug-dl-leaf.so): Likewise.
16191         ($(objpfx)bug-dl-leaf.out): Likewise.
16192         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16193         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16194         * dlfcn/bug-dl-leaf.c: New test.
16195         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16196         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16197         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16198         (dlclose): Likewise.
16199         (dlmopen): Likewise.
16201 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16203         * include/netdb.h [!_ISOMAC]:
16204         Don't include <tls.h>.
16205         (h_errno, __libc_h_errno): Move declaration and macros out of
16206         [_LIBC_REENTRANT].
16208         * include/resolv.h [_RESOLV_H_]:
16209         Don't include <tls.h>.
16210         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16211         * resolv/res_libc.c: Don't include <tls.h>.
16212         (_res): Use __attribute__ ((nocommon)) in place of
16213         __attribute__ ((section (".bss"))).
16215         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16216         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16218         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16220         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16221         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16223         * resolv/res_mkquery.c: Include <sys/time.h>.
16225         * inet/ifreq.c: Moved to ...
16226         * sysdeps/unix/ifreq.c: ... here.
16227         * inet/ifreq.c: New file, true stub version.
16229         * socket/sa_len.c: New file.
16230         * socket/Makefile (aux): Add it.
16231         * sysdeps/unix/sysv/linux/Makefile
16232         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16233         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16234         and #include <socket/sa_len.c>.
16235         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16236         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16238         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16239         * bits/socket.h: ... here.
16241         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16242         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16243         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16245 2013-08-27  Andreas Schwab  <schwab@suse.de>
16247         [BZ #15736]
16248         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16249         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16250         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16251         * string/test-strcasecmp.c (test_main): Run tests in several
16252         locales.
16253         * string/test-strncasecmp.c (test_main): Likewise.
16255         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16256         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16257         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16258         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16259         (__strncasecmp_ssse3) [PIC]: Likewise.
16261 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16263         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16265         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16266         instead of explicitly declaring xdecrypt.
16267         * nis/nss_nis/nis-publickey.c: Likewise.
16269 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16271         [BZ #15890]
16272         * nscd/aicache.c: Include res_hconf.h.
16273         (addhstaiX): Initialize res_hconf.
16275 2013-08-26  Andreas Schwab  <schwab@suse.de>
16277         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16278         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16280 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16282         * nscd/aicache.c (addhstaiX): Fix indentation.
16284 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16286         * configure.ac: Quote $build_pt_chown test.
16287         * configure: Regenerated.
16289 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16291         [BZ #15532]
16292         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16293         * math/s_cexpf.c (__cexpf): Likewise.
16294         * math/s_cexpl.c (__cexpl): Likewise.
16295         * math/libm-test.inc (cexp_test_data): Correct expected return
16296         value for NaN + i0.  Add another test.
16298 2013-08-22  David S. Miller  <davem@davemloft.net>
16300         * po/ca.po: Update Catalan translation from translation project.
16301         * po/uk.po: Add Ukrainian translations from translation project.
16303 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16305         [BZ #15797]
16306         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16307         is infinite, not alongside NaN test.
16308         * math/s_fdimf.c (__fdimf): Likewise.
16309         * math/s_fdiml.c (__fdiml): Likewise.
16310         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16311         errno is unchanged.
16313 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16315         * argp/argp-help.c: Fix typos.
16316         * crypt/speeds.c: Likewise.
16317         * csu/check_fds.c: Likewise.
16318         * elf/dl-load.c: Likewise.
16319         * elf/dl-open.c: Likewise.
16320         * elf/reldep3.c: Likewise.
16321         * elf/reldep.c: Likewise.
16322         * elf/sprof.c: Likewise.
16323         * iconv/iconv_charmap.c: Likewise.
16324         * iconv/skeleton.c: Likewise.
16325         * iconv/strtab.c: Likewise.
16326         * io/lockf64.c: Likewise.
16327         * libio/libioP.h: Likewise.
16328         * resolv/gai_notify.c: Likewise.
16329         * resolv/ns_name.c: Likewise.
16330         * resolv/ns_samedomain.c: Likewise.
16331         * resolv/res_send.c: Likewise.
16332         * stdlib/random.c: Likewise.
16333         * sunrpc/rpc/xdr.h: Likewise.
16334         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16335         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16336         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16337         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16338         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16339         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16340         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16341         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16342         * sysdeps/mach/hurd/check_fds.c: Likewise.
16343         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16344         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16345         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16346         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16347         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16348         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16349         * sysdeps/pthread/aio_notify.c: Likewise.
16350         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16351         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16352         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16353         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16354         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16356 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16358         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16359         version if bit_Slow_SSE4_2 is set.
16360         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16361         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16363 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16365         [BZ #15867]
16366         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16367         trampoline stack frame information.
16368         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16369         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16370         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16371         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16372         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16373         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16374         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16375         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16376         sa_flags value.
16377         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16378         interrupting a syscall and set with option SA_SIGINFO.
16380 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16382         [BZ #15531]
16383         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16384         argument is infinite.
16385         * math/s_cprojf.c (__cprojf): Likewise.
16386         * math/s_cprojl.c (__cprojl): Likewise.
16387         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16388         * math/libm-test.inc (cproj_test_data): Add more tests.
16390         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16392         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16393         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16394         size.  Use __ffs to determine corresponding shift.
16396 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16397             Roland McGrath  <roland@hack.frob.com>
16399         * Makefile (INSTALL): Remove trailing blank lines from output of
16400         makeinfo.
16402 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16404         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16405         Align 32 bit compat elf_greg to 8 bytes.
16407 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16409         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16411 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16413         * string/strcoll_l.c (coll_seq): New structure.
16414         (get_next_seq_cached): New function.
16415         (get_next_seq): New function.
16416         (do_compare): New function.
16417         (STRCOLL): Use GNU style definition.  Simplify implementation
16418         by using get_next_seq, get_next_seq_cached and do_compare.
16420 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16422         [BZ #14699]
16423         CVE-2013-4237
16424         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16425         member.
16426         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16427         member.
16428         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16429         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16430         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16431         conditional.
16432         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16433         GETDENTS_64BIT_ALIGNED.
16434         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16435         * manual/filesys.texi (Reading/Closing Directory): Document
16436         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16437         strongly.
16438         * manual/conf.texi (Limits for Files): Add portability note to
16439         NAME_MAX, PATH_MAX.
16440         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16442 2013-08-13  Andreas Schwab  <schwab@suse.de>
16444         [BZ #15749]
16445         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16446         of fabs.
16447         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16448         LDBL_MAX_EXP >= 16384]: Add tests for it.
16450 2013-08-12  David S. Miller  <davem@davemloft.net>
16452         * version.h (RELEASE): Set to "development".
16453         (VERSION): Set to "2.18.90".
16454         * NEWS: Add 2.19 section.
16456 2013-08-03  David S. Miller  <davem@davemloft.net>
16458         * po/ko.po: Update Korean translation from translation project.
16460 2013-08-01  David S. Miller  <davem@davemloft.net>
16462         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16463         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16464         Bilka.
16466 2013-07-30  David S. Miller  <davem@davemloft.net>
16468         * po/fr.po: Update French translation from translation project.
16470 2013-07-28  David S. Miller  <davem@davemloft.net>
16472         * po/cs.po: Update Czech translation from translation project.
16474         * po/sv.po: Update Swedish translation from translation project.
16476 2013-07-27  David S. Miller  <davem@davemloft.net>
16478         * po/eo.po: Update Esperanto translation from translation project.
16480         * po/vi.po: Update Vietnamese translation from translation project.
16482         * po/de.po: Update German translation from translation project.
16484 2013-07-26  David S. Miller  <davem@davemloft.net>
16486         * po/bg.po: Update Bulgarian translation from translation project.
16488         * po/nl.po: Update Dutch translation from translation project.
16489         * po/pl.po: Update Polish translation from translation project.
16490         * po/ru.po: Update Russian translation from translation project.
16492 2013-07-24  David S. Miller  <davem@davemloft.net>
16494         * po/libc.pot: Update.
16496 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16498         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16499         variable page size.
16500         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16501         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16502         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16504 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16506         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16508 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16509             Andreas Schwab  <schwab@suse.de>
16510             Roland McGrath  <roland@hack.frob.com>
16511             Joseph Myers  <joseph@codesourcery.com>
16512             Carlos O'Donell  <carlos@redhat.com>
16514         [BZ #15755]
16515         * config.h.in: Define HAVE_PT_CHOWN.
16516         * config.make.in (build-pt-chown): New variable.
16517         * configure.in (--enable-pt_chown): New configure option.
16518         * configure: Regenerate.
16519         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16520         build-pt-chown is enabled.
16521         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16522         pt_chown to fix pty ownership.
16523         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16524         CLOSE_ALL_FDS.
16525         * manual/install.texi (Configuring and compiling): Mention
16526         --enable-pt_chown. Add @findex for grantpt.
16527         * INSTALL: Regenerate.
16529 2013-07-20  David S. Miller  <davem@davemloft.net>
16531         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16532         difference between 32-bit and 64-bit.
16534 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16536         [BZ #15711]
16537         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16538         Avoid system header dependency with -ffreestanding.
16539         ($(objpfx)bits/syscall%d): Likewise.
16541 2013-07-13  David S. Miller  <davem@davemloft.net>
16543         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16544         underflows from atanl/atan2l due to bug 15319.
16545         (casinh_test_data): Likewise.
16547 2013-07-07  David S. Miller  <davem@davemloft.net>
16549         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16551 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16553         * sysdeps/i386/fpu/libm-test-ulps: Update.
16554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16556 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16558         * configure.in (--enable-lock-elision): Fix message text.
16559         * INSTALL: Regenerate.
16560         * configure: Regenerate.
16562 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16566 2013-07-03  Andreas Jaeger  <aj@suse.de>
16568         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16569         define.
16570         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16571         (ptrace_peeksiginfo_args): Add.
16572         (__ptrace_peeksiginfo_flags): Add.
16573         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16574         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16575         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16577 2013-07-03  Allan McRae  <allan@archlinux.org>
16579         * sysdeps/i386/fpu/libm-test-ulps: Update.
16581 2013-07-02  David S. Miller  <davem@davemloft.net>
16583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16585 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16589 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16591         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16594 2013-07-02  Andi Kleen <ak@linux.intel.com>
16596         * config.h.in (ENABLE_LOCK_ELISION): Add.
16597         * configure.in (--enable-lock-elision): Add option.
16598         * manual/install.texi: Document --enable lock elision.
16599         * configure: Regenerate
16600         * INSTALL: Regenerate.
16602 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16604         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16605         SSE4.2 strcasecmp for libc.a.
16606         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16608 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16610         [BZ #13304]
16611         * soft-fp/op-common.h (_FP_FMA): New macro.
16612         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16613         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16614         (_FP_MUL_MEAT_1_imm): ... here.
16615         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16616         (_FP_MUL_MEAT_1_wide): ... here.
16617         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16618         (_FP_MUL_MEAT_1_hard): ... here.
16619         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16620         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16621         (_FP_MUL_MEAT_2_wide): ... here.
16622         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16623         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16624         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16625         (_FP_MUL_MEAT_2_gmp): ... here.
16626         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16627         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16628         (_FP_MUL_MEAT_4_wide): ... here.
16629         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16630         (_FP_MUL_MEAT_4_gmp): ... here.
16631         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16632         (_FP_WFRACBITS_DW_S): Likewise.
16633         (_FP_WFRACXBITS_DW_S): Likewise.
16634         (_FP_HIGHBIT_DW_S): Likewise.
16635         (FP_FMA_S): Likewise.
16636         (_FP_FRAC_HIGH_DW_S): Likewise.
16637         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16638         (_FP_WFRACBITS_DW_D): Likewise.
16639         (_FP_WFRACXBITS_DW_D): Likewise.
16640         (_FP_HIGHBIT_DW_D): Likewise.
16641         (FP_FMA_D): Likewise.
16642         (_FP_FRAC_HIGH_DW_D): Likewise.
16643         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16644         (_FP_WFRACBITS_DW_E): Likewise.
16645         (_FP_WFRACXBITS_DW_E): Likewise.
16646         (_FP_HIGHBIT_DW_E): Likewise.
16647         (FP_FMA_E): Likewise.
16648         (_FP_FRAC_HIGH_DW_E): Likewise.
16649         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16650         (_FP_WFRACBITS_DW_Q): Likewise.
16651         (_FP_WFRACXBITS_DW_Q): Likewise.
16652         (_FP_HIGHBIT_DW_Q): Likewise.
16653         (FP_FMA_Q): Likewise.
16654         (_FP_FRAC_HIGH_DW_Q): Likewise.
16655         * soft-fp/fmasf4.c: New file.
16656         * soft-fp/fmadf4.c: Likewise.
16657         * soft-fp/fmatf4.c: Likewise.
16659 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16662         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16663         Silvermont.
16664         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16665         macro.
16666         (index_Slow_SSE4_2): Likewise.
16667         (index_Prefer_PMINUB_for_stringop): Likewise.
16668         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16669         bit_Slow_SSE4_2 is set.
16670         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16671         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16673 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16675         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16676         rtld_global._dl_hwcap2.
16677         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16678         POWER8.
16679         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16680         POWER8 feature descriptions defined in _dl_hwcap2.
16681         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16682         string handling for POWER8 feature bits.
16683         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16684         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16685         _dl_powerpc_cap_flags.
16686         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16687         * sysdeps/powerpc/rtld-global-offsets.sym
16688         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16689         _dl_hwcap2 in the rtld_global_ro structure.
16691 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16693         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16694         hardware capabilities in support of AT_HWCAP2.
16695         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16696         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16697         GLRO(dl_hwcap2).
16698         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16699         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16700         explicitly the unknown a_type display mechanism is used.
16701         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16702         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16703         struct member.
16704         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16705         to macro prototype for AT_HWCAP2 support.
16706         * sysdeps/i386/dl-procinfo.h: Likewise.
16707         * sysdeps/s390/dl-procinfo.h: Likewise.
16708         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16709         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16710         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16711         return -1 for unknown a_type display fallback.
16712         * sysdeps/sparc/dl-procinfo.h: Likewise.
16713         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16714         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16716 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16718         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16719         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16721 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16723         [BZ #12492]
16724         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16725         mprotect making __stack_prot writable.
16727 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16728             Joseph Myers  <joseph@codesourcery.com>
16730         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16731         as being properly aligned.
16733 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16735         * dlfcn/modstatic5.c: New file.
16736         * dlfcn/tststatic5.c: New file.
16737         * dlfcn/Makefile (tests): Add tststatic5.
16738         (tests-static): Likewise.
16739         (modules-names): Add modstatic5.
16740         (tststatic5-ENV): New variable.
16741         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16743         [BZ #15022]
16744         * elf/dl-support.c (_dl_main_map): New variable.
16745         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16746         (_dl_nns, _dl_load_adds): Set to 1.
16747         (_dl_initial_searchlist): Refer to _dl_main_map.
16748         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16749         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16750         call to _dl_get_origin.
16751         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16752         around call_map.
16753         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16754         * dlfcn/modstatic3.c: New file.
16755         * dlfcn/tststatic3.c: New file.
16756         * dlfcn/tststatic4.c: New file.
16757         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16758         (tests-static): Likewise.
16759         (modules-names): Add modstatic3.
16760         (tststatic3-ENV, tststatic4-ENV): New variables.
16761         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16762         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16764 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16766         * configure.in (CC): Require GCC version 4.4 or later.
16767         * configure: Regenerated.
16768         * manual/install.texi (Tools for Compilation): Update GCC version
16769         requirement.
16770         * INSTALL: Regenerated.
16772 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16774         [BZ #15674]
16775         * string/test-memcmp.c (check2): New.
16776         (main): Call check2.
16778         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16780 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16782         [BZ #15022]
16783         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16784         over to...
16785         (dl_open_worker) [!SHARED]: ... here.
16787 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16789         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16791 2013-06-25  Richard Henderson  <rth@redhat.com>
16793         * locale/programs/locarchive.c: Include <libc-internal.h>
16795 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16797         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16798         trailing whitespace removed.
16800 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16802         [BZ #10283]
16803         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16804         * locale/programs/locarchive.c: Include libc-mmap.h.
16805         (prepare_address_space): Take two new outputs (the mmap base and len).
16806         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16807         values.
16808         (create_archive): Declare new mmap base and len values for
16809         prepare_address_space, and store the result in ah.
16810         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16811         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16812         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16813         Declare new mmap base and len values for
16814         prepare_address_space, and store the result in new_ah.
16815         (open_archive): Declare new mmap base and len values for
16816         prepare_address_space, and store the result in ah.
16817         (close_archive): If ah->mmap_base is not NULL, use that and
16818         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16819         * sysdeps/generic/libc-mmap.h: New file.
16821 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16823         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16824         (ALIGN_UP): Likewise.
16825         (PTR_ALIGN_DOWN): Likewise.
16826         (PTR_ALIGN_UP): Likewise.
16828 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16830         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16831         entry mapped to PPC_PLATFORM_POWER8.
16832         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16833         POWER8.
16834         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16835         (_dl_string_platform): Add case for exporting platform position for
16836         POWER8.
16837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16838         search path to sysdeps/powerpc/powerpc32/power8 directory.
16839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16840         search path to sysdeps/powerpc/powerpc64/power8 directory.
16841         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16842         power7 directories.
16843         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16844         power7 directories.
16846 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16848         * INSTALL: Regenerate.
16850         * nscd/connections.c (nscd_init): Fix comment.
16852 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16854         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16856         [BZ #15667]
16857         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16858         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16860 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16862         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16863         DL_DST_REQ_STATIC.
16864         (DL_DST_REQ_STATIC): Remove macro.
16866 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16868         [BZ #7006]
16869         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16870         with a shift of 0 bits.
16872 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16874         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16875         $(tststatic-ENV).
16877 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16879         [BZ #15655]
16880         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16882 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16884         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16885         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16886         accepts -fno-tree-loop-distribute-patterns.
16887         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16888         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16889         recursive call.
16890         * string/memset.c (memset): Likewise.
16891         * string/test-memmove.c (simple_memmove): Disable loop transformation
16892         to library calls.
16893         * string/test-memset.c (simple_memset): Likewise.
16894         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16895         * benchtests/bench-memset.c (simple_memset): Likewise.
16896         * configure: Regenerated.
16898 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16900         * math/test-misc.c (main): Ignore fesetround failure when failures
16901         of subsequent rounding tests would be ignored.
16903         [BZ #15654]
16904         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16905         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16906         * math/fegetenv.c (__fegetenv): Return 0.
16907         * math/fegetexcept.c (fegetexcept): Return 0.
16908         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16909         FE_TONEAREST.
16910         * math/feholdexcpt.c (feholdexcept): Return 0.
16911         * math/fesetenv.c (__fesetenv): Return 0.
16912         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16913         argument FE_TONEAREST.
16914         * math/feupdateenv.c (__feupdateenv): Return 0.
16915         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16917 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16919         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16920         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16921         ($(objpfx)rtld-%.os rules): Use them.
16923 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16925         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16926         fields.
16928 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16930         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16931         length of target pattern, then descending length of dependency pattern.
16932         * configure.in (AWK): Require gawk 3.1.2 or newer.
16933         * manual/install.texi (Tools for Compilation): Say that we do.
16934         * configure: Regenerated.
16936         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16937         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16938         * scripts/sysd-rules.awk: ... this new script.
16939         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16940         than a glob-style pattern.
16942 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16944         * math/test-misc.c (main): Do not treat incorrectly rounded
16945         conversions as failure unless ROUNDING_TESTS passes.
16947 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16949         [BZ #15631]
16950         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16951         restore exception state around main square root computation, then
16952         check for inexactness explicitly.
16954         * math/libm-test.inc (fma_test_data): Add another test.
16956 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16958         * manual/threads.texi (Non-POSIX Extensions): New document
16959         node.  Document pthread_getattr_default_np and
16960         pthread_setattr_default_np.
16962         * Versions.def (libpthread): Add GLIBC_2.18.
16963         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16965         Likewise.
16966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16967         Likewise.
16968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16969         Likewise.
16970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16971         Likewise.
16972         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16973         Likewise.
16974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16975         Likewise.
16976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16977         Likewise.
16978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16979         Likewise.
16980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16981         Likewise.
16983 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16986         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16988 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16989             H.J. Lu  <hjl.tools@gmail.com>
16991         [BZ #15627]
16992         * sysdeps/x86_64/rtld-memset.c: Remove file.
16993         * sysdeps/x86_64/rtld-memset.S: New file.
16995 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16997         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16998         (test_in_one_mode): Take arguments for whether the rounding mode
16999         is supported for each floating-point type.
17000         (do_test): Pass new arguments to test_in_one_mode using
17001         ROUNDING_TESTS.
17003 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17005         * posix/tst-waitid.c (do_test): Distinguish different instances of
17006         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17007         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17008         before entering the kernel for waitpid.
17010 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17012         * NEWS: Fix note on clock function precision.  Text by Roland
17013         McGrath.
17015 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17017         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17018         it into place only when and if the sanity check passes.
17020 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17022         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17023         output for whether conversion result is exact.  Take argument
17024         indicating whether type is IBM long double.
17025         (round_for_all): Change need_exact field to ibm_ld.
17026         * stdlib/tst-strtod-round.c (struct exactness): New type.
17027         (struct test): Change bool ld_ok field to struct exactness exact.
17028         (TEST): Update all definitions for change to field.
17029         (tests): Regenerate array contents.
17030         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17031         field value.  Check for IBM long double here.
17032         (do_test): Update calls to test_in_one_mode.
17034 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17036         [BZ #12515]
17037         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17038         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17040 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17042         [BZ #15605]
17043         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17044         generated by the compiler on loop optimizations.
17045         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17046         general definitions.
17048 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17050         * math/bug-nextafter.c: Include <math-tests.h>.
17051         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17052         the relevant type.
17053         * math/bug-nexttoward.c: Include <math-tests.h>.
17054         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17055         the relevant type.
17056         * math/test-misc.c: Include <math-tests.h>.
17057         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17058         the relevant type.
17060 2013-06-12  Andreas Jaeger  <aj@suse.de>
17062         * po/ia.po: Update Interlingua translation from translation
17063         project.
17065 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17067         * include/fenv.h: Include stdbool.h.
17068         (struct rm_ctx): New structure.
17069         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17070         Define macro.
17071         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17072         (SET_RESTORE_ROUNDF): Likewise.
17073         (SET_RESTORE_ROUNDL): Likewise.
17074         (SET_RESTORE_ROUND_NOEX): Likewise.
17075         (SET_RESTORE_ROUND_NOEXF): Likewise.
17076         (SET_RESTORE_ROUND_NOEXL): Likewise.
17077         (SET_RESTORE_ROUND_53BIT): Likewise.
17078         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17079         (libc_feresetround_noexf_ctx): Likewise.
17080         (libc_feresetround_noexl_ctx): Likewise.
17081         (libc_feholdsetround_53bit_ctx): Likewise.
17082         (libc_feresetround_53bit_ctx): Likewise.
17083         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17084         (libc_feholdexcept_setround_sse_ctx): New function.
17085         (libc_fesetenv_sse_ctx): Likewise.
17086         (libc_feupdateenv_sse_ctx): Likewise.
17087         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17088         (libc_feholdexcept_setround_387_ctx): Likewise.
17089         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17090         (libc_feholdsetround_387_prec_ctx): Likewise.
17091         (libc_feholdsetround_387_ctx): Likewise.
17092         (libc_feholdsetround_387_53bit_ctx): Likewise.
17093         (libc_feholdsetround_sse_ctx): Likewise.
17094         (libc_feresetround_sse_ctx): Likewise.
17095         (libc_feresetround_387_ctx): Likewise.
17096         (libc_feupdateenv_387_ctx): Likewise.
17097         (libc_feholdexcept_setroundf_ctx): Define macro.
17098         (libc_fesetenvf_ctx): Likewise.
17099         (libc_feupdateenvf_ctx): Likewise.
17100         (libc_feholdsetroundf_ctx): Likewise.
17101         (libc_feresetroundf_ctx): Likewise.
17102         (libc_feholdexcept_setround_ctx): Likewise.
17103         (libc_fesetenv_ctx): Likewise.
17104         (libc_feupdateenv_ctx): Likewise.
17105         (libc_feholdsetround_ctx): Likewise.
17106         (libc_feresetround_ctx): Likewise.
17107         (libc_feholdexcept_setroundl_ctx): Likewise.
17108         (libc_feupdateenvl_ctx): Likewise.
17109         (libc_feholdsetroundl_ctx): Likewise.
17110         (libc_feresetroundl_ctx): Likewise.
17111         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17112         (libc_feresetround_53bit_ctx): Likewise.
17114 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17116         * locale/iso-639.def: Convert to UTF-8.
17118 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17120         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17121         (EXCEPTION_TESTS_double): Likewise.
17122         (EXCEPTION_TESTS_long_double): Likewise.
17123         (EXCEPTION_TESTS): Likewise.
17124         * math/libm-test.inc (test_exceptions): Only test exceptions if
17125         EXCEPTION_TESTS (FLOAT).
17127 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17129         * benchtests/Makefile (string-bench): Add strcpy_chk and
17130         stpcpy_chk.
17131         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17132         * benchtests/bench-stpcpy_chk.c: New file.
17133         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17134         * benchtests/bench-strcpy_chk.c: New file.
17135         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17136         code.
17137         (do_test): Likewise.
17139 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17141         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17142         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17143         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17144         with tabs where appropriate.
17145         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17146         dl-procinfo.h.
17147         [PPC_PLATFORM_PPC440]: Likewise.
17148         [PPC_PLATFORM_PPC464]: Likewise.
17149         [PPC_PLATFORM_PPC476]: Likewise.
17150         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17151         ppc464, and ppc476 platform strings merging from ports/
17152         dl-procinfo.h.
17154 2013-06-11  Andreas Schwab  <schwab@suse.de>
17156         [BZ #14991]
17157         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17158         (from_ucs4_idx): Regenerate.
17159         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17160         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17161         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17162         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17163         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17164         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17165         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17166         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17167         from FROM_LOOP and TO_LOOP specific macros.
17168         (BODY): Handle combining characters.
17169         * iconvdata/BIG5HKSCS.irreversible: Update.
17170         * iconvdata/BIG5HKSCS.precomposed: New file.
17171         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17172         characters.
17173         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17175 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17177         * include/sys/time.h: Fix indentation and add copyright header.
17179         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17180         (do_test): Likewise.
17181         * string/test-memchr.c (do_one_test): Likewise.
17182         (do_test): Likewise.
17183         * string/test-memcmp.c (do_one_test): Likewise.
17184         (do_test): Likewise.
17185         * string/test-memcpy.c (do_one_test): Likewise.
17186         (do_test): Likewise.
17187         * string/test-memmem.c (do_one_test): Likewise.
17188         (do_test): Likewise.
17189         (do_random_tests): Likewise.
17190         * string/test-memmove.c (do_one_test): Likewise.
17191         (do_test): Likewise.
17192         * string/test-memset.c (do_one_test): Likewise.
17193         (do_test): Likewise.
17194         * string/test-rawmemchr.c (do_one_test): Likewise.
17195         (do_test): Likewise.
17196         * string/test-strcasecmp.c (do_one_test): Likewise.
17197         (do_test): Likewise.
17198         * string/test-strcasestr.c (do_one_test): Likewise.
17199         (do_test): Likewise.
17200         * string/test-strcat.c (do_one_test): Likewise.
17201         (do_test): Likewise.
17202         * string/test-strchr.c (do_one_test): Likewise.
17203         (do_test): Likewise.
17204         * string/test-strcmp.c (do_one_test): Likewise.
17205         (do_test): Likewise.
17206         * string/test-strcpy.c (do_one_test): Likewise.
17207         (do_test): Likewise.
17208         * string/test-string.h: Likewise.
17209         (test_init): Likewise.
17210         * string/test-strlen.c (do_one_test): Likewise.
17211         (do_test): Likewise.
17212         * string/test-strncasecmp.c (do_one_test): Likewise.
17213         (do_test): Likewise.
17214         * string/test-strncat.c (do_one_test): Likewise.
17215         (do_test): Likewise.
17216         * string/test-strncmp.c (do_one_test): Likewise.
17217         (do_test_limit): Likewise.
17218         (do_test): Likewise.
17219         * string/test-strncpy.c (do_one_test): Likewise.
17220         (do_test): Likewise.
17221         * string/test-strnlen.c (do_one_test): Likewise.
17222         (do_test): Likewise.
17223         * string/test-strpbrk.c (do_one_test): Likewise.
17224         (do_test): Likewise.
17225         * string/test-strrchr.c (do_one_test): Likewise.
17226         (do_test): Likewise.
17227         * string/test-strspn.c (do_one_test): Likewise.
17228         (do_test): Likewise.
17229         * string/test-strstr.c (do_one_test): Likewise.
17230         (do_test): Likewise.
17232         * benchtests/Makefile (string-bench): Add string benchmarks.
17233         * benchtests/bench-bcopy-ifunc.c: New file.
17234         * benchtests/bench-bcopy.c: New file.
17235         * benchtests/bench-bzero-ifunc.c: New file.
17236         * benchtests/bench-bzero.c: New file.
17237         * benchtests/bench-memccpy-ifunc.c: New file.
17238         * benchtests/bench-memccpy.c: New file.
17239         * benchtests/bench-memchr-ifunc.c: New file.
17240         * benchtests/bench-memchr.c: New file.
17241         * benchtests/bench-memcmp-ifunc.c: New file.
17242         * benchtests/bench-memcmp.c: New file.
17243         * benchtests/bench-memmem-ifunc.c: New file.
17244         * benchtests/bench-memmem.c: New file.
17245         * benchtests/bench-memmove-ifunc.c: New file.
17246         * benchtests/bench-memmove.c: New file.
17247         * benchtests/bench-mempcpy-ifunc.c: New file.
17248         * benchtests/bench-mempcpy.c: New file.
17249         * benchtests/bench-memset-ifunc.c: New file.
17250         * benchtests/bench-memset.c: New file.
17251         * benchtests/bench-rawmemchr-ifunc.c: New file.
17252         * benchtests/bench-rawmemchr.c: New file.
17253         * benchtests/bench-stpcpy-ifunc.c: New file.
17254         * benchtests/bench-stpcpy.c: New file.
17255         * benchtests/bench-stpncpy-ifunc.c: New file.
17256         * benchtests/bench-stpncpy.c: New file.
17257         * benchtests/bench-strcasecmp-ifunc.c: New file.
17258         * benchtests/bench-strcasecmp.c: New file.
17259         * benchtests/bench-strcasestr-ifunc.c: New file.
17260         * benchtests/bench-strcasestr.c: New file.
17261         * benchtests/bench-strcat-ifunc.c: New file.
17262         * benchtests/bench-strcat.c: New file.
17263         * benchtests/bench-strchr-ifunc.c: New file.
17264         * benchtests/bench-strchr.c: New file.
17265         * benchtests/bench-strchrnul-ifunc.c: New file.
17266         * benchtests/bench-strchrnul.c: New file.
17267         * benchtests/bench-strcmp-ifunc.c: New file.
17268         * benchtests/bench-strcmp.c: New file.
17269         * benchtests/bench-strcpy-ifunc.c: New file.
17270         * benchtests/bench-strcpy.c: New file.
17271         * benchtests/bench-strcspn-ifunc.c: New file.
17272         * benchtests/bench-strcspn.c: New file.
17273         * benchtests/bench-strlen-ifunc.c: New file.
17274         * benchtests/bench-strlen.c: New file.
17275         * benchtests/bench-strncasecmp-ifunc.c: New file.
17276         * benchtests/bench-strncasecmp.c: New file.
17277         * benchtests/bench-strncat-ifunc.c: New file.
17278         * benchtests/bench-strncat.c: New file.
17279         * benchtests/bench-strncmp-ifunc.c: New file.
17280         * benchtests/bench-strncmp.c: New file.
17281         * benchtests/bench-strncpy-ifunc.c: New file.
17282         * benchtests/bench-strncpy.c: New file.
17283         * benchtests/bench-strnlen-ifunc.c: New file.
17284         * benchtests/bench-strnlen.c: New file.
17285         * benchtests/bench-strpbrk-ifunc.c: New file.
17286         * benchtests/bench-strpbrk.c: New file.
17287         * benchtests/bench-strrchr-ifunc.c: New file.
17288         * benchtests/bench-strrchr.c: New file.
17289         * benchtests/bench-strspn-ifunc.c: New file.
17290         * benchtests/bench-strspn.c: New file.
17291         * benchtests/bench-strstr-ifunc.c: New file.
17292         * benchtests/bench-strstr.c: New file.
17294         * benchtests/Makefile: Disable parallel execution of targets.
17295         (string-bench): Add memcpy.
17296         (benchset): New variable to store a list of benchmark sets.
17297         (bench-func): Renamed from bench.
17298         (bench-set): New target.
17299         (bench): Depend on bench-func and bench-set.
17300         * benchtests/README: Add section on benchmark sets.
17301         * benchtests/bench-memcpy-ifunc.c: New file.
17302         * benchtests/bench-memcpy.c: New file.
17303         * benchtests/bench-string.h: New file.
17305 2013-06-11  Andreas Schwab  <schwab@suse.de>
17307         [BZ #15577]
17308         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17309         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17310         values in the triple.
17311         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17312         terminator in the group key.
17314 2013-06-11  Andreas Jaeger  <aj@suse.de>
17316         * po/zh_TW.po: Update Chinese (traditional) translation from
17317         translation project.
17319 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17321         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17322         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17323         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17324         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17325         (clock_getcpuclockid): Likewise.
17326         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17327         Add weak_alias and libc_hidden_def.
17328         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17329         * rt/clock_gettime.c (clock_gettime): Rename to
17330         __clock_gettime.  Add weak_alias and libc_hidden_def.
17331         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17332         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17333         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17334         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17335         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17336         Likewise.
17337         * rt/clock_settime.c (clock_settime): Rename to
17338         __clock_settime.  Add weak_alias and libc_hidden_def.
17339         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17341 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17343         * mach/err_boot.sub: Remove trailing whitespace.
17344         * mach/err_ipc.sub: Likewise.
17345         * mach/err_mach.sub: Likewise.
17347         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17348         (ROUNDING_TESTS_double): Likewise.
17349         (ROUNDING_TESTS_long_double): Likewise.
17350         (ROUNDING_TESTS): Likewise.
17351         * math/libm-test.inc: Include <math-tests.h>.
17352         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17353         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17354         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17355         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17357 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17359         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17360         of assigning.
17362 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17364         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17365         otherwise empty TRANS lines.
17366         * sysdeps/gnu/errlist.c: Regenerated.
17368         * catgets/gencat.c (error_print): Use (void) in function
17369         definition.
17370         * crypt/crypt_util.c (__init_des): Likewise.
17371         * crypt/speeds.c (Stop): Likewise.
17372         (main): Likewise.
17373         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17374         * inet/ruserpass.c (token): Likewise.
17375         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17376         * intl/localealias.c (extend_alias_table): Likewise.
17377         * intl/plural-exp.c (init_germanic_plural): Likewise.
17378         * libio/fcloseall.c (__fcloseall): Likewise.
17379         * libio/genops.c (_IO_flush_all): Likewise.
17380         (_IO_flush_all_linebuffered): Likewise.
17381         (_IO_cleanup): Likewise.
17382         (_IO_iter_begin): Likewise.
17383         (_IO_iter_end): Likewise.
17384         (_IO_list_lock): Likewise.
17385         (_IO_list_unlock): Likewise.
17386         (_IO_list_resetlock): Likewise.
17387         * libio/getchar.c (getchar): Likewise.
17388         * libio/getchar_u.c (getchar_unlocked): Likewise.
17389         * libio/getwchar.c (getwchar): Likewise.
17390         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17391         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17392         * login/getpt.c (__getpt): Likewise.
17393         * login/tst-utmp.c (main): Likewise.
17394         * malloc/hooks.c (__malloc_check_init): Likewise.
17395         * malloc/malloc.c (__malloc_stats): Likewise.
17396         * malloc/mtrace.c (tr_break): Likewise.
17397         (mtrace): Likewise.
17398         (muntrace): Likewise.
17399         * misc/fstab.c (endfsent): Likewise.
17400         * misc/getclktck.c (__getclktck): Likewise.
17401         * misc/getdtsz.c (__getdtablesize): Likewise.
17402         * misc/gethostid.c (gethostid): Likewise.
17403         * misc/getpagesize.c (__getpagesize): Likewise.
17404         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17405         (__get_nprocs): Likewise.
17406         (__get_phys_pages): Likewise.
17407         (__get_avphys_pages): Likewise.
17408         * misc/getttyent.c (getttyent): Likewise.
17409         (setttyent): Likewise.
17410         (endttyent): Likewise.
17411         * misc/getusershell.c (getusershell): Likewise.
17412         (endusershell): Likewise.
17413         (setusershell): Likewise.
17414         (initshells): Likewise.
17415         * misc/hsearch.c (__hdestroy): Likewise.
17416         * misc/sync.c (sync): Likewise.
17417         * misc/syslog.c (closelog_internal): Likewise.
17418         (closelog): Likewise.
17419         * misc/ttyslot.c (ttyslot): Likewise.
17420         * misc/vhangup.c (vhangup): Likewise.
17421         * posix/fork.c (__fork): Likewise.
17422         * posix/getegid.c (__getegid): Likewise.
17423         * posix/geteuid.c (__geteuid): Likewise.
17424         * posix/getgid.c (__getgid): Likewise.
17425         * posix/getpid.c (__getpid): Likewise.
17426         * posix/getppid.c (__getppid): Likewise.
17427         * posix/getuid.c (__getuid): Likewise.
17428         * posix/pause.c (pause): Likewise.
17429         * posix/setpgrp.c (setpgrp): Likewise.
17430         * posix/setsid.c (__setsid): Likewise.
17431         * posix/test-vfork.c (noop): Likewise.
17432         * resolv/gethnamaddr.c (_endhtent): Likewise.
17433         (_gethtent): Likewise.
17434         (ht_endhostent): Likewise.
17435         (gethostent): Likewise.
17436         (dns_service): Likewise.
17437         * stdlib/drand48.c (drand48): Likewise.
17438         * stdlib/lrand48.c (lrand48): Likewise.
17439         * stdlib/mrand48.c (mrand48): Likewise.
17440         * stdlib/rand.c (rand): Likewise.
17441         * stdlib/random.c (__random): Likewise.
17442         * stdlib/setenv.c (clearenv): Likewise.
17443         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17444         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17445         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17446         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17447         (__get_nprocs): Likewise.
17448         (__get_phys_pages): Likewise.
17449         (__get_avphys_pages): Likewise.
17450         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17451         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17452         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17453         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17454         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17455         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17456         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17457         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17458         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17459         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17460         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17461         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17462         * sysdeps/posix/clock.c (clock): Likewise.
17463         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17464         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17465         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17466         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17467         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17468         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17469         (__get_nprocs_conf): Likewise.
17470         (__get_phys_pages): Likewise.
17471         (__get_avphys_pages): Likewise.
17472         * time/clock.c (clock): Likewise.
17473         * time/tzset.c (__tzname_max): Likewise.
17475 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17477         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17478         (__bswap_32): Do not use "register".
17479         * crypt/crypt.c (_ufc_doit_r): Likewise.
17480         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17481         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17482         * gmon/gmon.c (__monstartup): Likewise.
17483         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17484         * hurd/hurdmalloc.c (more_memory): Likewise.
17485         (malloc): Likewise.
17486         (free): Likewise.
17487         (realloc): Likewise.
17488         (malloc_fork_prepare): Likewise.
17489         (malloc_fork_parent): Likewise.
17490         (malloc_fork_child): Likewise.
17491         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17492         (_svcauth_des): Likewise.
17493         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17494         * inet/inet_net.c (inet_network): Likewise.
17495         * inet/inet_netof.c (inet_netof): Likewise.
17496         * inet/rcmd.c (__validuser2_sa): Likewise.
17497         * io/fts.c (fts_open): Likewise.
17498         (fts_load): Likewise.
17499         (fts_close): Likewise.
17500         (fts_read): Likewise.
17501         (fts_children): Likewise.
17502         (fts_build): Likewise.
17503         (fts_stat): Likewise.
17504         (fts_sort): Likewise.
17505         (fts_alloc): Likewise.
17506         (fts_lfree): Likewise.
17507         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17508         (_IO_file_xsgetn): Likewise.
17509         (_IO_file_xsgetn_mmap): Likewise.
17510         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17511         (_IO_cookie_write): Likewise.
17512         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17513         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17514         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17515         * malloc/obstack.c (_obstack_begin): Likewise.
17516         (_obstack_begin_1): Likewise.
17517         (_obstack_newchunk): Likewise.
17518         (_obstack_allocated_p): Likewise.
17519         (obstack_free): Likewise.
17520         (_obstack_memory_used): Likewise.
17521         * misc/getttyent.c (getttynam): Likewise.
17522         (getttyent): Likewise.
17523         (skip): Likewise.
17524         (value): Likewise.
17525         * misc/getusershell.c (initshells): Likewise.
17526         * misc/syslog.c (__vsyslog_chk): Likewise.
17527         * misc/ttyslot.c (ttyslot): Likewise.
17528         * nis/nis_hash.c (__nis_hash): Likewise.
17529         * posix/fnmatch_loop.c (FCT): Likewise.
17530         * posix/getconf.c (print_all): Likewise.
17531         (main): Likewise.
17532         * posix/getopt.c (exchange): Likewise.
17533         * posix/glob.c (globfree): Likewise.
17534         (prefix_array): Likewise.
17535         (__glob_pattern_type): Likewise.
17536         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17537         (NS_GET32): Likewise.
17538         (NS_PUT16): Likewise.
17539         (NS_PUT32): Likewise.
17540         * resolv/gethnamaddr.c (getanswer): Likewise.
17541         (gethostbyname2): Likewise.
17542         (gethostbyaddr): Likewise.
17543         (_gethtent): Likewise.
17544         (_gethtbyname2): Likewise.
17545         (_gethtbyaddr): Likewise.
17546         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17547         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17548         * resolv/res_init.c (__res_vinit): Likewise.
17549         (net_mask): Likewise.
17550         * resolv/res_mkquery.c (outchar): Likewise.
17551         (PRINT): Likewise.
17552         * stdio-common/printf_fp.c (outchar): Likewise.
17553         (PRINT): Likewise.
17554         * stdio-common/printf_fphex.c (outchar): Likewise.
17555         (PRINT): Likewise.
17556         * stdio-common/printf_size.c (outchar): Likewise.
17557         (PRINT): Likewise.
17558         * stdio-common/test_rdwr.c (main): Likewise.
17559         * stdio-common/tfformat.c (matches): Likewise.
17560         * stdio-common/vfprintf.c (outchar): Likewise.
17561         (printf_unknown): Likewise.
17562         (buffered_vfprintf): Likewise.
17563         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17564         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17565         (ReadFile): Likewise.
17566         * stdlib/qsort.c (SWAP): Likewise.
17567         (_quicksort): Likewise.
17568         * stdlib/setenv.c (__add_to_environ): Likewise.
17569         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17570         * stdlib/strtol_l.c (__strtol_l): Likewise.
17571         * stdlib/tst-strtod.c (main): Likewise.
17572         * stdlib/tst-strtol.c (main): Likewise.
17573         * stdlib/tst-strtoll.c (main): Likewise.
17574         * string/bits/string2.h (__strcmp_cc): Likewise.
17575         (__strcmp_cg): Likewise.
17576         (__strcspn_c1): Likewise.
17577         (__strcspn_c2): Likewise.
17578         (__strcspn_c3): Likewise.
17579         (__strspn_c1): Likewise.
17580         (__strspn_c2): Likewise.
17581         (__strspn_c3): Likewise.
17582         (__strsep_1c): Likewise.
17583         (__strsep_2c): Likewise.
17584         (__strsep_3c): Likewise.
17585         * string/memccpy.c (__memccpy): Likewise.
17586         * string/stpcpy.c (__stpcpy): Likewise.
17587         * string/strcmp.c (strcmp): Likewise.
17588         * string/strrchr.c (strrchr): Likewise.
17589         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17590         Likewise.
17591         * sysdeps/mach/hurd/getcwd.c
17592         (_hurd_canonicalize_directory_name_internal): Likewise.
17593         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17594         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17595         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17596         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17597         Likewise, in both definitions.
17598         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17599         definitions.
17600         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17601         64] (__bswap_64): Likewise.
17602         * time/test_time.c (main): Likewise.
17603         * time/tzfile.c (__tzfile_read): Likewise.
17604         (__tzfile_compute): Likewise.
17605         * time/tzset.c (__tzset_parse_tz): Likewise.
17606         (tzset_internal): Likewise.
17607         (compute_change): Likewise.
17608         * wcsmbs/wcscat.c (__wcscat): Likewise.
17609         * wcsmbs/wcschr.c (wcschr): Likewise.
17610         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17611         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17612         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17613         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17614         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17615         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17616         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17617         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17618         * wcsmbs/wmemset.c (wmemset): Likewise.
17620 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17622         * scripts/config.guess: Update to version 2013-05-16.
17623         * scripts/config.sub: Update to version 2013-04-24.
17624         * scripts/install-sh: Update to version 2011-11-20.07.
17625         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17626         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17628 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17630         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17631         * elf/sln.c: Likewise.
17632         * hurd/hurd/ioctl.h: Likewise.
17633         * hurd/hurdmalloc.c: Likewise.
17634         * hurd/xattr.c: Likewise.
17635         * include/shlib-compat.h: Likewise.
17636         * inet/ruserpass.c: Likewise.
17637         * libio/iofgets_u.c: Likewise.
17638         * libio/iofgetws_u.c: Likewise.
17639         * locale/programs/ld-identification.c: Likewise.
17640         * locale/programs/ld-time.c: Likewise.
17641         * mach/msg-destroy.c: Likewise.
17642         * nss/nss_files/files-netgrp.c: Likewise.
17643         * resolv/res_data.c: Likewise.
17644         * soft-fp/op-1.h: Likewise.
17645         * soft-fp/op-2.h: Likewise.
17646         * soft-fp/op-4.h: Likewise.
17647         * soft-fp/op-common.h: Likewise.
17648         * stdio-common/printf_fphex.c: Likewise.
17649         * stdlib/strtod_l.c: Likewise.
17650         * sunrpc/rpc/clnt.h: Likewise.
17651         * sysdeps/generic/framestate.c: Likewise.
17652         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17653         * sysdeps/i386/bsd-setjmp.S: Likewise.
17654         * sysdeps/i386/__longjmp.S: Likewise.
17655         * sysdeps/i386/setjmp.S: Likewise.
17656         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17657         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17658         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17659         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17661         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17662         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17663         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17664         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17665         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17666         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17667         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17668         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17669         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17670         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17671         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17672         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17673         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17674         * sysdeps/ieee754/support.c: Likewise.
17675         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17676         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17677         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17678         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17679         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17680         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17681         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17682         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17683         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17684         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17685         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17686         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17687         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17688         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17689         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17690         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17691         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17694 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17696         * posix/transbug.c: Remove executable mode.
17698 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17700         * crypt/speeds.c: Remove trailing whitespace.
17701         * dlfcn/default.c: Likewise.
17702         * elf/ifuncdep2.c: Likewise.
17703         * elf/ifuncmain1.c: Likewise.
17704         * elf/ifuncmain1vis.c: Likewise.
17705         * elf/testobj.h: Likewise.
17706         * elf/tst-stackguard1.c: Likewise.
17707         * gmon/sys/gmon.h: Likewise.
17708         * hurd/hurdmsg.c: Likewise.
17709         * hurd/new-fd.c: Likewise.
17710         * hurd/ports-get.c: Likewise.
17711         * iconvdata/ibm1008_420.c: Likewise.
17712         * inet/tst-getni1.c: Likewise.
17713         * inet/tst-getni2.c: Likewise.
17714         * libio/ioungetc.c: Likewise.
17715         * libio/wfiledoalloc.c: Likewise.
17716         * manual/libm-err-tab.pl: Likewise.
17717         * math/w_dremf.c: Likewise.
17718         * misc/ftruncate.c: Likewise.
17719         * posix/bug-glob2.c: Likewise.
17720         * posix/tst-pcre.c: Likewise.
17721         * posix/wait4.c: Likewise.
17722         * resolv/README: Likewise.
17723         * resolv/res_debug.h: Likewise.
17724         * resolv/tst-inet_ntop.c: Likewise.
17725         * setjmp/bug269-setjmp.c: Likewise.
17726         * soft-fp/extended.h: Likewise.
17727         * soft-fp/op-1.h: Likewise.
17728         * soft-fp/op-2.h: Likewise.
17729         * soft-fp/op-4.h: Likewise.
17730         * soft-fp/op-8.h: Likewise.
17731         * soft-fp/testit.c: Likewise.
17732         * stdio-common/bug16.c: Likewise.
17733         * stdlib/random.c: Likewise.
17734         * sunrpc/rpcsvc/rquota.x: Likewise.
17735         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17736         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17737         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17738         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17739         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17740         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17741         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17742         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17743         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17744         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17745         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17746         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17747         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17748         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17750         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17751         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17752         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17753         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17754         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17755         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17756         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17757         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17758         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17759         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17760         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17761         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17762         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17763         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17764         * sysdeps/ieee754/s_lib_version.c: Likewise.
17765         * sysdeps/mach/hurd/check_fds.c: Likewise.
17766         * sysdeps/mach/hurd/getsockname.c: Likewise.
17767         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17768         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17769         * sysdeps/powerpc/bits/link.h: Likewise.
17770         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17771         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17772         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17773         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17774         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17775         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17776         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17777         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17778         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17779         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17780         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17781         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17782         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17783         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17784         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17785         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17786         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17787         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17788         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17789         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17790         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17791         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17792         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17793         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17794         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17795         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17796         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17797         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17798         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17799         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17800         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17801         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17802         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17803         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17804         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17805         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17806         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17807         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17808         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17809         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17810         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17811         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17812         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17813         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17814         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17815         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17816         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17817         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17818         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17819         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17820         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17821         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17822         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17823         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17824         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17825         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17826         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17827         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17828         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17829         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17830         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17831         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17832         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17833         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17834         * sysdeps/powerpc/sysdep.h: Likewise.
17835         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17836         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17837         * sysdeps/sh/dl-trampoline.S: Likewise.
17838         * sysdeps/sh/memset.S: Likewise.
17839         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17840         * sysdeps/sh/strlen.S: Likewise.
17841         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17842         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17843         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17844         * sysdeps/sparc/sparc32/rem.S: Likewise.
17845         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17846         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17847         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17848         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17849         * sysdeps/sparc/sparc32/urem.S: Likewise.
17850         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17851         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17852         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17853         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17854         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17855         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17856         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17857         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17858         * sysdeps/unix/bsd/times.c: Likewise.
17859         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17860         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17864         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17865         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17866         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17867         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17868         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17869         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17870         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17871         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17872         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17873         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17874         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17875         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17876         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17877         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17878         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17879         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17880         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17881         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17882         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17883         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17884         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17885         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17886         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17887         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17888         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17889         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17890         * sysdeps/x86_64/strcspn.S: Likewise.
17892 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17894         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17895         generated file.  Regenerate properly from gen-translit.pl.
17896         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17897         locale/C-translit.h.
17899 2013-06-05  Andreas Schwab  <schwab@suse.de>
17901         [BZ #15100]
17902         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17903         week as 6 instead of -1.
17904         * time/tst-strptime.c (day_tests): Add test case.
17906 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17908         * sysdeps/generic/math_private.h
17909         (libc_feholdexcept_setround_53bit): Replace with
17910         libc_feholdsetround_53bit.
17911         (libc_feupdateenv_53bit): Replace with
17912         libc_feresetround_53bit.
17913         (SET_RESTORE_ROUND_53BIT): Adjust.
17915 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17917         * string/test-strchrnul.c: Add copyright header.
17919         * posix/tst-getaddrinfo4.c: Increase test timeout.
17921 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17923         [BZ #15536]
17924         * math/libm-test.inc (MAX_EXP): Remove
17925         (MIN_EXP): Define.
17926         (ulp): Use MIN_EXP - MANT_DIG.
17927         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17929 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17931         * po/be.po: Revert last change.
17932         * po/zh_CN.po: Likewise.
17933         * po/header.pot: Likewise.
17935 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17937         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17938         link-libc-deps to empty as target-specific variable.
17939         * Makerules (link-libc-args): New variable.
17940         (libc-for-link): Likewise.
17941         (link-libc-deps): Likewise.
17942         (lib%.so): Depend on $(link-libc-deps).  Link with
17943         $(link-libc-args).
17944         (build-module): Link with $(link-libc-args).
17945         (build-module-asneeded): Likewise.
17946         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17947         list of objects.
17948         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17949         target-specific variable.
17950         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17951         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17952         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17953         libc.
17954         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17955         libc and ld.so.
17956         ($(objpfx)libpcprofile.so): Likewise.
17957         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17958         libc_nonshared.a.
17959         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17960         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17961         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17962         $(link-libc-deps).
17963         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17964         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17965         * login/Makefile ($(objpfx)libutil.so): Likewise.
17966         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17967         * math/Makefile ($(objpfx)libm.so): Likewise.
17968         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17969         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17970         variable instead of depending directly on libc.
17971         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17972         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17973         $(link-libc-deps).
17974         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17975         libc.
17976         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17977         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17978         ($(objpfx)libanl.so): Likewise.
17979         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17980         ld.so.
17981         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17982         $(link-libc-deps).
17983         * sysdeps/i386/fpu/Makefile: Remove file.
17984         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17985         ($(objpfx)libm.so): Remove dependency on ld.so.
17987 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17989         [BZ # 15553]
17990         * nis/yp_xdr.c (XDRMAXNAME): Define.
17991         (XDRMAXRECORD): Define.
17992         (xdr_domainname): Use XDRMAXNAME.
17993         (xdr_mapname): Likewise.
17994         (xdr_peername): Likewise.
17995         (xdr_keydat): Use XDRMAXRECORD.
17996         (xdr_valdat): Likewise.
17998 2013-05-30  Jeff Law  <law@redhat.com>
18000         [BZ #14256]
18001         * manual/errno.texi (ESTALE): Update to account for more than
18002         just NFS file systems.
18003         * sysdeps/gnu/errlist.c: Regenerated.
18005 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18007         [BZ #15465]
18008         * elf/Makefile (tests): Add tst-null-argv.
18009         (modules-names):  Add tst-null-argv-lib.
18010         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18011         (tst-null-argv-ENV): Set environment for tst-null-argv.
18012         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18013         (RTLD_PROGNAME): New macro.
18014         * elf/tst-null-argv.c: New test case.
18015         * elf/tst-null-argv-lib.c: Library for test case.
18016         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18017         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18018         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18019         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18020         * elf/dl-init.c (call_init): Likewise.
18021         (_dl_init): Likewise.
18022         * elf/dl-load.c (print_search_path): Likewise.
18023         (_dl_map_object): Likewise.
18024         * elf/dl-lookup.c (do_lookup_x): Likewise.
18025         (add_dependency): Likewise.
18026         (_dl_lookup_symbol_x): Likewise.
18027         (_dl_debug_bindings): Likewise.
18028         * elf/dl-open.c (_dl_show_scope): Likewise.
18029         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18030         * elf/dl-version.c (match_symbol): Likewise.
18031         (_dl_check_map_versions): Likewise.
18032         * elf/rtld.c (dl_main): Likewise.
18033         (print_unresolved): Use RTLD_PROGNAME.
18034         (print_missing_version): Likewise.
18035         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18036         (elf_machine_rela): Likewise.
18037         * sysdeps/powerpc/powerpc32/dl-machine.c
18038         (__process_machine_rela): Likewise.
18039         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18040         Likewise.
18041         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18042         Likewise.
18043         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18044         Likewise.
18045         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18046         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18047         Likewise.
18048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18049         Likewise.
18050         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18052 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18054         * po/be.po: Add descriptive title.
18055         * po/zh_CN.po: Likewise.
18056         * po/header.pot: Likewise.
18058 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18060         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18061         error message.
18062         (enlarge_archive): Likewise.
18064 2013-05-28  Ben North  <ben@redfrontdoor.org>
18066         * manual/arith.texi (frexp): It is the magnitude of the return
18067         value which lies in [0.5, 1), not the return value itself.
18069 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18073 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18075         * stdio-common/bug26.c (main): Correct fscanf template.
18077         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18078         declare _dl_skip_args.
18080         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18081         Don't declare.
18083         * manual/platform.texi: Add missing @end deftypefun.
18085 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18087         [BZ #15529]
18088         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18089         bit of mantissa of 2^16382.
18090         * math/libm-test.inc (hypot_test_data): Add more tests.
18092         * math/libm-test.inc: Add drem and pow10 to list of tested
18093         functions.
18094         (pow10_test): New function.
18095         (drem_test): Likewise.
18096         (drem_test_tonearest): Likewise.
18097         (drem_test_towardzero): Likewise.
18098         (drem_test_downward): Likewise.
18099         (drem_test_upward): Likewise.
18100         (main): Call the new functions.
18102         * math/libm-test.inc (finite_test_data): Remove.
18103         (finite_test): Run tests from isfinite_test_data.
18104         (gamma_test_data): Remove.
18105         (gamma_test): Run tests from lgamma_test_data.
18106         * sysdeps/i386/fpu/libm-test-ulps: Update.
18107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18109 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18111         * manual/platform.texi: Add PowerPC PPR function set documentation.
18112         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18113         implementation.
18115 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18117         * math/libm-test.inc (MAX_EXP): Define.
18118         (ULPDIFF): Define.
18119         (ulp): New function.
18120         (check_float_internal): Use ULPDIFF.
18121         (cpow_test): Disable failing test.
18122         (check_ulp): Test ulp() implemetnation.
18123         (main): Call check_ulp before starting tests.
18125 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18127         * math/gen-libm-test.pl (generate_testfile): Do not handle
18128         START_DATA and END_DATA.
18129         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18130         END_DATA.
18131         (acos_tonearest_test_data): Likewise.
18132         (acos_towardzero_test_data): Likewise.
18133         (acos_downward_test_data): Likewise.
18134         (acos_upward_test_data): Likewise.
18135         (acosh_test_data): Likewise.
18136         (asin_test_data): Likewise.
18137         (asin_tonearest_test_data): Likewise.
18138         (asin_towardzero_test_data): Likewise.
18139         (asin_downward_test_data): Likewise.
18140         (asin_upward_test_data): Likewise.
18141         (asinh_test_data): Likewise.
18142         (atan_test_data): Likewise.
18143         (atanh_test_data): Likewise.
18144         (atan2_test_data): Likewise.
18145         (cabs_test_data): Likewise.
18146         (cacos_test_data): Likewise.
18147         (cacosh_test_data): Likewise.
18148         (carg_test_data): Likewise.
18149         (casin_test_data): Likewise.
18150         (casinh_test_data): Likewise.
18151         (catan_test_data): Likewise.
18152         (catanh_test_data): Likewise.
18153         (cbrt_test_data): Likewise.
18154         (ccos_test_data): Likewise.
18155         (ccosh_test_data): Likewise.
18156         (ceil_test_data): Likewise.
18157         (cexp_test_data): Likewise.
18158         (cimag_test_data): Likewise.
18159         (clog_test_data): Likewise.
18160         (clog10_test_data): Likewise.
18161         (conj_test_data): Likewise.
18162         (copysign_test_data): Likewise.
18163         (cos_test_data): Likewise.
18164         (cos_tonearest_test_data): Likewise.
18165         (cos_towardzero_test_data): Likewise.
18166         (cos_downward_test_data): Likewise.
18167         (cos_upward_test_data): Likewise.
18168         (cosh_test_data): Likewise.
18169         (cosh_tonearest_test_data): Likewise.
18170         (cosh_towardzero_test_data): Likewise.
18171         (cosh_downward_test_data): Likewise.
18172         (cosh_upward_test_data): Likewise.
18173         (cpow_test_data): Likewise.
18174         (cproj_test_data): Likewise.
18175         (creal_test_data): Likewise.
18176         (csin_test_data): Likewise.
18177         (csinh_test_data): Likewise.
18178         (csqrt_test_data): Likewise.
18179         (ctan_test_data): Likewise.
18180         (ctan_tonearest_test_data): Likewise.
18181         (ctan_towardzero_test_data): Likewise.
18182         (ctan_downward_test_data): Likewise.
18183         (ctan_upward_test_data): Likewise.
18184         (ctanh_test_data): Likewise.
18185         (ctanh_tonearest_test_data): Likewise.
18186         (ctanh_towardzero_test_data): Likewise.
18187         (ctanh_downward_test_data): Likewise.
18188         (ctanh_upward_test_data): Likewise.
18189         (erf_test_data): Likewise.
18190         (erfc_test_data): Likewise.
18191         (exp_test_data): Likewise.
18192         (exp_tonearest_test_data): Likewise.
18193         (exp_towardzero_test_data): Likewise.
18194         (exp_downward_test_data): Likewise.
18195         (exp_upward_test_data): Likewise.
18196         (exp10_test_data): Likewise.
18197         (exp2_test_data): Likewise.
18198         (expm1_test_data): Likewise.
18199         (fabs_test_data): Likewise.
18200         (fdim_test_data): Likewise.
18201         (finite_test_data): Likewise.
18202         (floor_test_data): Likewise.
18203         (fma_test_data): Likewise.
18204         (fma_towardzero_test_data): Likewise.
18205         (fma_downward_test_data): Likewise.
18206         (fma_upward_test_data): Likewise.
18207         (fmax_test_data): Likewise.
18208         (fmin_test_data): Likewise.
18209         (fmod_test_data): Likewise.
18210         (fpclassify_test_data): Likewise.
18211         (frexp_test_data): Likewise.
18212         (gamma_test_data): Likewise.
18213         (hypot_test_data): Likewise.
18214         (ilogb_test_data): Likewise.
18215         (isfinite_test_data): Likewise.
18216         (isgreater_test_data): Likewise.
18217         (isgreaterequal_test_data): Likewise.
18218         (isinf_test_data): Likewise.
18219         (isless_test_data): Likewise.
18220         (islessequal_test_data): Likewise.
18221         (islessgreater_test_data): Likewise.
18222         (isnan_test_data): Likewise.
18223         (isnormal_test_data): Likewise.
18224         (issignaling_test_data): Likewise.
18225         (isunordered_test_data): Likewise.
18226         (j0_test_data): Likewise.
18227         (j1_test_data): Likewise.
18228         (jn_test_data): Likewise.
18229         (ldexp_test_data): Likewise.
18230         (lgamma_test_data): Likewise.
18231         (lrint_test_data): Likewise.
18232         (lrint_tonearest_test_data): Likewise.
18233         (lrint_towardzero_test_data): Likewise.
18234         (lrint_downward_test_data): Likewise.
18235         (lrint_upward_test_data): Likewise.
18236         (llrint_test_data): Likewise.
18237         (llrint_tonearest_test_data): Likewise.
18238         (llrint_towardzero_test_data): Likewise.
18239         (llrint_downward_test_data): Likewise.
18240         (llrint_upward_test_data): Likewise.
18241         (log_test_data): Likewise.
18242         (log10_test_data): Likewise.
18243         (log1p_test_data): Likewise.
18244         (log2_test_data): Likewise.
18245         (logb_test_data): Likewise.
18246         (logb_downward_test_data): Likewise.
18247         (lround_test_data): Likewise.
18248         (llround_test_data): Likewise.
18249         (modf_test_data): Likewise.
18250         (nearbyint_test_data): Likewise.
18251         (nextafter_test_data): Likewise.
18252         (nexttoward_test_data): Likewise.
18253         (pow_test_data): Likewise.
18254         (pow_tonearest_test_data): Likewise.
18255         (pow_towardzero_test_data): Likewise.
18256         (pow_downward_test_data): Likewise.
18257         (pow_upward_test_data): Likewise.
18258         (remainder_test_data): Likewise.
18259         (remainder_tonearest_test_data): Likewise.
18260         (remainder_towardzero_test_data): Likewise.
18261         (remainder_downward_test_data): Likewise.
18262         (remainder_upward_test_data): Likewise.
18263         (remquo_test_data): Likewise.
18264         (rint_test_data): Likewise.
18265         (rint_tonearest_test_data): Likewise.
18266         (rint_towardzero_test_data): Likewise.
18267         (rint_downward_test_data): Likewise.
18268         (rint_upward_test_data): Likewise.
18269         (round_test_data): Likewise.
18270         (scalb_test_data): Likewise.
18271         (scalbn_test_data): Likewise.
18272         (scalbln_test_data): Likewise.
18273         (signbit_test_data): Likewise.
18274         (sin_test_data): Likewise.
18275         (sin_tonearest_test_data): Likewise.
18276         (sin_towardzero_test_data): Likewise.
18277         (sin_downward_test_data): Likewise.
18278         (sin_upward_test_data): Likewise.
18279         (sincos_test_data): Likewise.
18280         (sinh_test_data): Likewise.
18281         (sinh_tonearest_test_data): Likewise.
18282         (sinh_towardzero_test_data): Likewise.
18283         (sinh_downward_test_data): Likewise.
18284         (sinh_upward_test_data): Likewise.
18285         (sqrt_test_data): Likewise.
18286         (tan_test_data): Likewise.
18287         (tan_tonearest_test_data): Likewise.
18288         (tan_towardzero_test_data): Likewise.
18289         (tan_downward_test_data): Likewise.
18290         (tan_upward_test_data): Likewise.
18291         (tanh_test_data): Likewise.
18292         (tgamma_test_data): Likewise.
18293         (trunc_test_data): Likewise.
18294         (y0_test_data): Likewise.
18295         (y1_test_data): Likewise.
18296         (yn_test_data): Likewise.
18297         (significand_test_data): Likewise.
18299         * math/gen-libm-test.pl (@functions): Remove variable.
18300         (generate_testfile): Don't handle START and END lines.
18301         * math/libm-test.inc (START): New macro.
18302         (END): Likewise.
18303         (END_COMPLEX): Likewise.
18304         (acos_test): Use END macro without arguments.
18305         (acos_test_tonearest): Likewise.
18306         (acos_test_towardzero): Likewise.
18307         (acos_test_downward): Likewise.
18308         (acos_test_upward): Likewise.
18309         (acosh_test): Likewise.
18310         (asin_test): Likewise.
18311         (asin_test_tonearest): Likewise.
18312         (asin_test_towardzero): Likewise.
18313         (asin_test_downward): Likewise.
18314         (asin_test_upward): Likewise.
18315         (asinh_test): Likewise.
18316         (atan_test): Likewise.
18317         (atanh_test): Likewise.
18318         (atan2_test): Likewise.
18319         (cabs_test): Likewise.
18320         (cacos_test): Use END_COMPLEX macro without arguments.
18321         (cacosh_test): Likewise.
18322         (carg_test): Use END macro without arguments.
18323         (casin_test): Use END_COMPLEX macro without arguments.
18324         (casinh_test): Likewise.
18325         (catan_test): Likewise.
18326         (catanh_test): Likewise.
18327         (cbrt_test): Use END macro without arguments.
18328         (ccos_test): Use END_COMPLEX macro without arguments.
18329         (ccosh_test): Likewise.
18330         (ceil_test): Use END macro without arguments.
18331         (cexp_test): Use END_COMPLEX macro without arguments.
18332         (cimag_test): Use END macro without arguments.
18333         (clog_test): Use END_COMPLEX macro without arguments.
18334         (clog10_test): Likewise.
18335         (conj_test): Likewise.
18336         (copysign_test): Use END macro without arguments.
18337         (cos_test): Likewise.
18338         (cos_test_tonearest): Likewise.
18339         (cos_test_towardzero): Likewise.
18340         (cos_test_downward): Likewise.
18341         (cos_test_upward): Likewise.
18342         (cosh_test): Likewise.
18343         (cosh_test_tonearest): Likewise.
18344         (cosh_test_towardzero): Likewise.
18345         (cosh_test_downward): Likewise.
18346         (cosh_test_upward): Likewise.
18347         (cpow_test): Use END_COMPLEX macro without arguments.
18348         (cproj_test): Likewise.
18349         (creal_test): Use END macro without arguments.
18350         (csin_test): Use END_COMPLEX macro without arguments.
18351         (csinh_test): Likewise.
18352         (csqrt_test): Likewise.
18353         (ctan_test): Likewise.
18354         (ctan_test_tonearest): Likewise.
18355         (ctan_test_towardzero): Likewise.
18356         (ctan_test_downward): Likewise.
18357         (ctan_test_upward): Likewise.
18358         (ctanh_test): Likewise.
18359         (ctanh_test_tonearest): Likewise.
18360         (ctanh_test_towardzero): Likewise.
18361         (ctanh_test_downward): Likewise.
18362         (ctanh_test_upward): Likewise.
18363         (erf_test): Use END macro without arguments.
18364         (erfc_test): Likewise.
18365         (exp_test): Likewise.
18366         (exp_test_tonearest): Likewise.
18367         (exp_test_towardzero): Likewise.
18368         (exp_test_downward): Likewise.
18369         (exp_test_upward): Likewise.
18370         (exp10_test): Likewise.
18371         (exp2_test): Likewise.
18372         (expm1_test): Likewise.
18373         (fabs_test): Likewise.
18374         (fdim_test): Likewise.
18375         (finite_test): Likewise.
18376         (floor_test): Likewise.
18377         (fma_test): Likewise.
18378         (fma_test_towardzero): Likewise.
18379         (fma_test_downward): Likewise.
18380         (fma_test_upward): Likewise.
18381         (fmax_test): Likewise.
18382         (fmin_test): Likewise.
18383         (fmod_test): Likewise.
18384         (fpclassify_test): Likewise.
18385         (frexp_test): Likewise.
18386         (gamma_test): Likewise.
18387         (hypot_test): Likewise.
18388         (ilogb_test): Likewise.
18389         (isfinite_test): Likewise.
18390         (isgreater_test): Likewise.
18391         (isgreaterequal_test): Likewise.
18392         (isinf_test): Likewise.
18393         (isless_test): Likewise.
18394         (islessequal_test): Likewise.
18395         (islessgreater_test): Likewise.
18396         (isnan_test): Likewise.
18397         (isnormal_test): Likewise.
18398         (issignaling_test): Likewise.
18399         (isunordered_test): Likewise.
18400         (j0_test): Likewise.
18401         (j1_test): Likewise.
18402         (jn_test): Likewise.
18403         (ldexp_test): Likewise.
18404         (lgamma_test): Likewise.
18405         (lrint_test): Likewise.
18406         (lrint_test_tonearest): Likewise.
18407         (lrint_test_towardzero): Likewise.
18408         (lrint_test_downward): Likewise.
18409         (lrint_test_upward): Likewise.
18410         (llrint_test): Likewise.
18411         (llrint_test_tonearest): Likewise.
18412         (llrint_test_towardzero): Likewise.
18413         (llrint_test_downward): Likewise.
18414         (llrint_test_upward): Likewise.
18415         (log_test): Likewise.
18416         (log10_test): Likewise.
18417         (log1p_test): Likewise.
18418         (log2_test): Likewise.
18419         (logb_test): Likewise.
18420         (logb_test_downward): Likewise.
18421         (lround_test): Likewise.
18422         (llround_test): Likewise.
18423         (modf_test): Likewise.
18424         (nearbyint_test): Likewise.
18425         (nextafter_test): Likewise.
18426         (nexttoward_test): Likewise.
18427         (pow_test): Likewise.
18428         (pow_test_tonearest): Likewise.
18429         (pow_test_towardzero): Likewise.
18430         (pow_test_downward): Likewise.
18431         (pow_test_upward): Likewise.
18432         (remainder_test): Likewise.
18433         (remainder_test_tonearest): Likewise.
18434         (remainder_test_towardzero): Likewise.
18435         (remainder_test_downward): Likewise.
18436         (remainder_test_upward): Likewise.
18437         (remquo_test): Likewise.
18438         (rint_test): Likewise.
18439         (rint_test_tonearest): Likewise.
18440         (rint_test_towardzero): Likewise.
18441         (rint_test_downward): Likewise.
18442         (rint_test_upward): Likewise.
18443         (round_test): Likewise.
18444         (scalb_test): Likewise.
18445         (scalbn_test): Likewise.
18446         (scalbln_test): Likewise.
18447         (signbit_test): Likewise.
18448         (sin_test): Likewise.
18449         (sin_test_tonearest): Likewise.
18450         (sin_test_towardzero): Likewise.
18451         (sin_test_downward): Likewise.
18452         (sin_test_upward): Likewise.
18453         (sincos_test): Likewise.
18454         (sinh_test): Likewise.
18455         (sinh_test_tonearest): Likewise.
18456         (sinh_test_towardzero): Likewise.
18457         (sinh_test_downward): Likewise.
18458         (sinh_test_upward): Likewise.
18459         (sqrt_test): Likewise.
18460         (tan_test): Likewise.
18461         (tan_test_tonearest): Likewise.
18462         (tan_test_towardzero): Likewise.
18463         (tan_test_downward): Likewise.
18464         (tan_test_upward): Likewise.
18465         (tanh_test): Likewise.
18466         (tgamma_test): Likewise.
18467         (trunc_test): Likewise.
18468         (y0_test): Likewise.
18469         (y1_test): Likewise.
18470         (yn_test): Likewise.
18471         (significand_test): Likewise.
18473 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18475         [BZ #15381]
18476         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18478 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18480         [BZ #14894]
18481         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18482         __ppc_mdoio and __ppc_mdoom.
18483         * manual/platform.texi: Document new functions __ppc_yield,
18484         __ppc_mdoio and __ppc_mdoom.
18486 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18488         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18489         (main): Mention "tls" pseudo-hwcap is legacy.
18490         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18492 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18494         * math/gen-libm-test.pl (parse_args): Output only string of
18495         arguments as text for test name, not full call or descriptions of
18496         tests for extra outputs.
18497         (generate_testfile): Do not pass function name to parse_args.
18498         Generate this_func variable from START.
18499         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18500         field to arg_str.
18501         (struct test_ff_f_data): Likewise.
18502         (test_ff_f_data_nexttoward): Likewise.
18503         (struct test_fi_f_data): Likewise.
18504         (struct test_fl_f_data): Likewise.
18505         (struct test_if_f_data): Likewise.
18506         (struct test_fff_f_data): Likewise.
18507         (struct test_c_f_data): Likewise.
18508         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18509         (struct test_fF_f1_data): Likewise.
18510         (struct test_ffI_f1_data): Likewise.
18511         (struct test_c_c_data): Rename test_name field to arg_str.
18512         (struct test_cc_c_data): Likewise.
18513         (struct test_f_i_data): Likewise.
18514         (struct test_ff_i_data): Likewise.
18515         (struct test_f_l_data): Likewise.
18516         (struct test_f_L_data): Likewise.
18517         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18518         and extra2_name.
18519         (COMMON_TEST_SETUP): New macro.
18520         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18521         (COMMON_TEST_CLEANUP): Likewise.
18522         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18523         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18524         macros.
18525         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18526         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18527         macros.
18528         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18529         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18530         cleanup macros.
18531         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18532         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18533         macros.
18534         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18535         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18536         macros.
18537         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18538         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18539         cleanup macros.
18540         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18541         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18542         cleanup macros.
18543         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18544         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18545         cleanup macros.
18546         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18547         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18548         macros.
18549         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18550         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18551         macros.
18552         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18553         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18554         macros.
18555         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18556         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18557         cleanup macros.
18558         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18559         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18560         cleanup macros.
18561         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18562         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18563         macros.
18564         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18565         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18566         cleanup macros.
18567         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18568         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18569         macros.
18570         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18571         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18572         macros.
18573         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18574         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18575         cleanup macros.
18576         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18578 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18580         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18581         to _sifields.sigfault.
18582         (si_addr_lsb): Define new macro.
18583         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18584         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18585         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18587 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18589         [BZ #15441]
18590         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18591         returns -1.
18592         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18593         null return -1.
18594         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18595         loading the domain.
18597 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18599         * math/gen-libm-test.pl (parse_args): Do not include expected
18600         result in test name.
18601         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18602         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18603         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18604         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18605         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18608 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18610         * benchtests/Makefile: Sort function entries.
18612         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18613         tanh, asinh, acosh, atanh.
18614         * benchtests/acos-inputs: New file.
18615         * benchtests/acosh-inputs: New file.
18616         * benchtests/asin-inputs: New file.
18617         * benchtests/asinh-inputs: New file.
18618         * benchtests/atanh-inputs: New file.
18619         * benchtests/cosh-inputs: New file.
18620         * benchtests/log-inputs: New file.
18621         * benchtests/sinh-inputs: New file.
18622         * benchtests/tanh-inputs: New file.
18624 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18626         [BZ #15339]
18627         * posix/tst-getaddrinfo4.c: New test.
18628         * posix/Makefile (tests): Add it.
18630 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18632         [BZ #15339]
18633         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18634         when no services were used.
18635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18636         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18638 2013-05-21  Andreas Schwab  <schwab@suse.de>
18640         [BZ #15014]
18641         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18642         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18643         successful.
18644         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18645         redundant variable declarations and reallocation of buffer when
18646         parsing as IPv6 address.  Always set NSS status when called from
18647         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18648         buffer too small.  Correct computation of needed size.
18649         * nss/Makefile (tests): Add test-digits-dots.
18650         * nss/test-digits-dots.c: New test.
18652 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18654         * benchtests/Makefile: Remove instructions for adding
18655         benchmark tests.
18656         * benchtests/README: New file to explain how to execute and
18657         enhance the benchmark tests.
18659 2013-05-21  Andreas Schwab  <schwab@suse.de>
18661         [BZ #15493]
18662         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18663         * setjmp/tst-sigsetjmp.c: New test.
18665 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18667         * sysdeps/x86_64/memset.S (memset): New implementation.
18668         (__bzero): Likewise.
18669         (__memset_tail): New function.
18671 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18673         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18674         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18675         __memcpy_sse2_unaligned ifunc selection.
18676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18677         Add memcpy-sse2-unaligned.S.
18678         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18679         Add: __memcpy_sse2_unaligned.
18681 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18683         [BZ #15490]
18684         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18685         math_force_eval before restoring floating-point envrionment.
18686         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18687         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18688         Likewise.
18689         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18690         <math_private.h>.
18691         (__nearbyintl): Use math_force_eval before restoring
18692         floating-point environment.
18693         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18695         * math/gen-libm-test.pl (special_functions): Remove.
18696         (parse_args): Don't handle TEST_extra.  Handle functions with no
18697         return value.
18698         * math/libm-test.inc (struct test_sincos_data): Replace with
18699         struct test_fFF_11_data.
18700         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18701         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18702         (sincos_test_data): Change element type to struct
18703         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18704         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18705         RUN_TEST_LOOP_sincos.
18706         * math/README.libm-test: Don't mention special handling of
18707         individual functions.
18708         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18709         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18710         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18711         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18712         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18715         * math/gen-libm-test.pl (get_variable): Remove function.
18716         (parse_args): Don't show pointer parameters to call in test
18717         names.  Use "extra output N" in test names for extra outputs
18718         rather than naming variables.
18720 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18722         [BZ #15488]
18723         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18724         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18725         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18726         double tests.
18727         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18728         disable.
18729         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18730         check_long_double.
18732         * math/gen-libm-test.pl (@tests): Remove variable.
18733         ($count): Likewise.
18734         (new_test): Remove function.
18735         (show_exceptions): New function.
18736         (special_functions): Use show_exceptions instead of new_test.
18737         (parse_args): Likewise.
18738         (generate_testfile): Pass only function name in generated call to
18739         print_max_error or print_complex_max_error.
18740         (get_ulps): Do not handle complex tests specially.
18741         (output_test): Rename to ...
18742         (get_all_ulps_for_test): ... this.  Return a string rather than
18743         printing to a file.  Require ulps to be present.
18744         (output_ulps): Generate arrays rather than #defines.
18745         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18746         (struct ulp_data): New type.
18747         (BUILD_COMPLEX_ULP): Remove macro.
18748         (compare_ulp_data): New function.
18749         (find_ulps): Likewise.
18750         (find_test_ulps): Likewise.
18751         (find_function_ulps): Likewise.
18752         (find_complex_function_ulps): Likewise.
18753         (print_max_error): Determine allowed ulps using
18754         find_function_ulps.
18755         (print_complex_max_error): Determine allowed ulps using
18756         find_complex_function_ulps.
18757         (check_float_internal): Determine max ulps using find_test_ulps.
18758         (check_float): Do not take max_ulp parameter.  Update call to
18759         check_float_internal.
18760         (check_complex): Likewise.
18761         (check_int): Do not take max_ulp parameter.
18762         (check_long): Likewise.
18763         (check_bool): Likewise.
18764         (check_longlong): Likewise.
18765         (struct test_f_f_data): Remove max_ulp field.
18766         (struct test_ff_f_data): Likewise.
18767         (struct test_ff_f_data_nexttoward): Likewise.
18768         (struct test_fi_f_data): Likewise.
18769         (struct test_fl_f_data): Likewise.
18770         (struct test_if_f_data): Likewise.
18771         (struct test_fff_f_data): Likewise.
18772         (struct test_c_f_data): Likewise.
18773         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18774         (struct test_fF_f1_data): Likewise.
18775         (struct test_ffI_f1_data): Likewise.
18776         (struct test_c_c_data): Remove max_ulp field.
18777         (struct test_cc_c_data): Likewise.
18778         (struct test_f_i_data): Likewise.
18779         (struct test_ff_i_data): Likewise.
18780         (struct test_f_l_data): Likewise.
18781         (struct test_f_L_data): Likewise.
18782         (struct test_sincos_data): Likewise.
18783         (RUN_TEST_f_f): Do not handle ulps.
18784         (RUN_TEST_LOOP_f_f): Likewise.
18785         (RUN_TEST_2_f): Likewise.
18786         (RUN_TEST_LOOP_2_f): Likewise.
18787         (RUN_TEST_fff_f): Likewise.
18788         (RUN_TEST_LOOP_fff_f): Likewise.
18789         (RUN_TEST_c_f): Likewise.
18790         (RUN_TEST_LOOP_c_f): Likewise.
18791         (RUN_TEST_f_f1): Likewise.
18792         (RUN_TEST_LOOP_f_f1): Likewise.
18793         (RUN_TEST_fF_f1): Likewise.
18794         (RUN_TEST_LOOP_fF_f1): Likewise.
18795         (RUN_TEST_fI_f1): Likewise.
18796         (RUN_TEST_LOOP_fI_f1): Likewise.
18797         (RUN_TEST_ffI_f1): Likewise.
18798         (RUN_TEST_LOOP_ffI_f1): Likewise.
18799         (RUN_TEST_c_c): Likewise.
18800         (RUN_TEST_LOOP_c_c): Likewise.
18801         (RUN_TEST_cc_c): Likewise.
18802         (RUN_TEST_LOOP_cc_c): Likewise.
18803         (RUN_TEST_f_i): Likewise.
18804         (RUN_TEST_LOOP_f_i): Likewise.
18805         (RUN_TEST_f_i_tg): Likewise.
18806         (RUN_TEST_LOOP_f_i_tg): Likewise.
18807         (RUN_TEST_ff_i_tg): Likewise.
18808         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18809         (RUN_TEST_f_b): Likewise.
18810         (RUN_TEST_LOOP_f_b): Likewise.
18811         (RUN_TEST_f_b_tg): Likewise.
18812         (RUN_TEST_LOOP_f_b_tg): Likewise.
18813         (RUN_TEST_f_l): Likewise.
18814         (RUN_TEST_LOOP_f_l): Likewise.
18815         (RUN_TEST_f_L): Likewise.
18816         (RUN_TEST_LOOP_f_L): Likewise.
18817         (RUN_TEST_sincos): Likewise.
18818         (RUN_TEST_LOOP_sincos): Likewise.
18820 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18822         [BZ #15480]
18823         [BZ #15485]
18824         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18825         main case of finite arguments, set rounding mode to FE_TONEAREST
18826         and discard exceptions.
18827         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18828         exceptions.
18829         (remainder_tonearest_test_data): New variable.
18830         (remainder_test_tonearest): New function.
18831         (remainder_towardzero_test_data): New variable.
18832         (remainder_test_towardzero): New function.
18833         (remainder_downward_test_data): New variable.
18834         (remainder_test_downward): New function.
18835         (remainder_upward_test_data): New variable.
18836         (remainder_test_upward): New function.
18837         (main): Call the new test functions.
18839         * math/libm-test.inc (struct test_f_f1_data): Remove field
18840         extra_init.
18841         (struct test_fF_f1_data): Likewise.
18842         (struct test_ffI_f1_data): Likewise.
18843         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18844         based on value of EXTRA_EXPECTED.
18845         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18846         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18847         EXTRA_VAR based on value of EXTRA_EXPECTED.
18848         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18849         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18850         EXTRA_VAR based on value of EXTRA_EXPECTED.
18851         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18852         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18853         EXTRA_VAR based on value of EXTRA_EXPECTED.
18854         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18855         * math/gen-libm-test.pl (parse_args): Don't output initializers
18856         for extra output values.
18858         * math/libm-test.inc (check_int): Expect result to be exactly
18859         equal to expected value and do not handle ulps.
18860         (check_long): Likewise.
18861         (check_longlong): Likewise.
18863         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18864         exceptions.
18865         (cimag_test_data): Likewise.
18866         (conj_test_data): Likewise.
18867         (copysign_test_data): Likewise.
18868         (cproj_test_data): Likewise.
18869         (creal_test_data): Likewise.
18870         (fabs_test_data): Likewise.
18871         (fdim_test_data): Likewise.
18872         (finite_test_data): Likewise.
18873         (floor_test_data): Likewise.
18874         (fmax_test_data): Likewise.
18875         (fmin_test_data): Likewise.
18876         (fmod_test_data): Likewise.
18877         (fpclassify_test_data): Likewise.
18878         (frexp_test_data): Likewise.
18879         (ilogb_test_data): Likewise.
18880         (isfinite_test_data): Likewise.
18881         (isgreater_test_data): Likewise.
18882         (isgreaterequal_test_data): Likewise.
18883         (isinf_test_data): Likewise.
18884         (isless_test_data): Likewise.
18885         (islessequal_test_data): Likewise.
18886         (islessgreater_test_data): Likewise.
18887         (isnan_test_data): Likewise.
18888         (isnormal_test_data): Likewise.
18889         (issignaling_test_data): Likewise.
18890         (isunordered_test_data): Likewise.
18891         (ldexp_test_data): Likewise.
18892         (lrint_test_data): Likewise.
18893         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18894         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18895         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18896         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18897         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18898         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18899         test input.
18900         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18901         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18902         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18903         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18904         that test input.
18905         (lrint_downward_test_data): Test for "inexact" exceptions.
18906         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18907         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18908         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18909         test input.
18910         (lrint_upward_test_data): Test for "inexact" exceptions.
18911         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18912         test input.
18913         (llrint_test_data): Test for "inexact" exceptions.
18914         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18915         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18916         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18917         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18918         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18919         (llrint_downward_test_data): Test for "inexact" exceptions.
18920         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18921         (llrint_upward_test_data): Test for "inexact" exceptions.
18922         (logb_test_data): Likewise.
18923         (logb_downward_test_data): Likewise.
18924         (nextafter_test_data): Likewise.
18925         (nexttoward_test_data): Likewise.
18926         (remainder_test_data): Likewise.
18927         (remquo_test_data): Likewise.
18928         (scalbn_test_data): Likewise.
18929         (scalbln_test_data): Likewise.
18930         (signbit_test_data): Likewise.
18931         (sqrt_test_data): Likewise.
18932         (significand_test_data): Likewise.
18934 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18936         [BZ #15424]
18937         * benchtests/bench-modf.c (struct args): Mark arg0 as
18938         volatile.
18939         * scripts/bench.pl: Mark members of struct args as volatile.
18941 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18943         [BZ # 15497]
18944         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18945         negative infinity on POWER6 or lower.
18946         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18948 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18950         [BZ #15442]
18951         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18952         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18953         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18954         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18955         (_FP_SETQNAN): New macro.
18956         (_FP_SETQNAN_SEMIRAW): Likewise.
18957         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18958         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18959         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18960         (FP_EXTEND): Use _FP_FRAC_SNANP.
18961         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18962         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18963         into account.
18964         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18965         New macro.
18966         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18967         Likewise.
18969 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18971         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18972         with DIVIDE_BY_ZERO_EXCEPTION.
18973         (gamma_test_data): Likewise.
18974         (lgamma_test_data): Likewise.
18975         (log_test_data): Likewise.
18976         (log10_test_data): Likewise.
18977         (log2_test_data): Likewise.
18978         (tgamma_test_data): Likewise.
18980         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18981         (acos_test_tonearest): Likewise.
18982         (acos_test_towardzero): Likewise.
18983         (acos_test_downward): Likewise.
18984         (acos_test_upward): Likewise.
18985         (acosh_test): Likewise.
18986         (asin_test): Likewise.
18987         (asin_test_tonearest): Likewise.
18988         (asin_test_towardzero): Likewise.
18989         (asin_test_downward): Likewise.
18990         (asin_test_upward): Likewise.
18991         (asinh_test): Likewise.
18992         (atan_test): Likewise.
18993         (atanh_test): Likewise.
18994         (atan2_test): Likewise.
18995         (cabs_test): Likewise.
18996         (cacos_test): Likewise.
18997         (cacosh_test): Likewise.
18998         (casin_test): Likewise.
18999         (casinh_test): Likewise.
19000         (catan_test): Likewise.
19001         (catanh_test): Likewise.
19002         (cbrt_test): Likewise.
19003         (ccos_test): Likewise.
19004         (ccosh_test): Likewise.
19005         (cexp_test): Likewise.
19006         (clog_test): Likewise.
19007         (clog10_test): Likewise.
19008         (cos_test): Likewise.
19009         (cos_test_tonearest): Likewise.
19010         (cos_test_towardzero): Likewise.
19011         (cos_test_downward): Likewise.
19012         (cos_test_upward): Likewise.
19013         (cosh_test): Likewise.
19014         (cosh_test_tonearest): Likewise.
19015         (cosh_test_towardzero): Likewise.
19016         (cosh_test_downward): Likewise.
19017         (cosh_test_upward): Likewise.
19018         (cpow_test): Likewise.
19019         (csin_test): Likewise.
19020         (csinh_test): Likewise.
19021         (csqrt_test): Likewise.
19022         (ctan_test): Likewise.
19023         (ctan_test_tonearest): Likewise.
19024         (ctan_test_towardzero): Likewise.
19025         (ctan_test_downward): Likewise.
19026         (ctan_test_upward): Likewise.
19027         (ctanh_test): Likewise.
19028         (ctanh_test_tonearest): Likewise.
19029         (ctanh_test_towardzero): Likewise.
19030         (ctanh_test_downward): Likewise.
19031         (ctanh_test_upward): Likewise.
19032         (erf_test): Likewise.
19033         (erfc_test): Likewise.
19034         (exp_test): Likewise.
19035         (exp_test_tonearest): Likewise.
19036         (exp_test_towardzero): Likewise.
19037         (exp_test_downward): Likewise.
19038         (exp_test_upward): Likewise.
19039         (exp10_test): Likewise.
19040         (exp2_test): Likewise.
19041         (expm1_test): Likewise.
19042         (fmod_test): Likewise.
19043         (gamma_test): Likewise.
19044         (hypot_test): Likewise.
19045         (j0_test): Likewise.
19046         (j1_test): Likewise.
19047         (jn_test): Likewise.
19048         (lgamma_test): Likewise.
19049         (log_test): Likewise.
19050         (log10_test): Likewise.
19051         (log1p_test): Likewise.
19052         (log2_test): Likewise.
19053         (logb_test_downward): Likewise.
19054         (pow_test): Likewise.
19055         (pow_test_tonearest): Likewise.
19056         (pow_test_towardzero): Likewise.
19057         (pow_test_downward): Likewise.
19058         (pow_test_upward): Likewise.
19059         (remainder_test): Likewise.
19060         (remquo_test): Likewise.
19061         (sin_test): Likewise.
19062         (sin_test_tonearest): Likewise.
19063         (sin_test_towardzero): Likewise.
19064         (sin_test_downward): Likewise.
19065         (sin_test_upward): Likewise.
19066         (sincos_test): Likewise.
19067         (sinh_test): Likewise.
19068         (sinh_test_tonearest): Likewise.
19069         (sinh_test_towardzero): Likewise.
19070         (sinh_test_downward): Likewise.
19071         (sinh_test_upward): Likewise.
19072         (sqrt_test): Likewise.
19073         (tan_test): Likewise.
19074         (tan_test_tonearest): Likewise.
19075         (tan_test_towardzero): Likewise.
19076         (tan_test_downward): Likewise.
19077         (tan_test_upward): Likewise.
19078         (tanh_test): Likewise.
19079         (tgamma_test): Likewise.
19080         (y0_test): Likewise.
19081         (y1_test): Likewise.
19082         (yn_test): Likewise.
19084         * math/gen-libm-test.pl (adjust_arg): Remove function.
19085         (special_function): Remove argument $in_func.  Only handle
19086         generating output for tables of tests, not inside functions.
19087         (parse_args): Likewise.
19088         (generate_testfile): Remove variable $in_func.  Update call to
19089         parse_args.
19090         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19091         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19092         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19093         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19094         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19095         (MAX_VALUE_INIT): Rename macro to max_value.
19096         (MIN_VALUE_INIT): Rename macro to min_value.
19097         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19098         (plus_zero): Remove variable.
19099         (minus_zero): Likewise.
19100         (plus_infty): Likewise.
19101         (minus_infty): Likewise.
19102         (qnan_value): Likewise.
19103         (max_value): Likewise.
19104         (min_value): Likewise.
19105         (min_subnorm_value): Likewise.
19107 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19109         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19110         uint64_t or uint32_t usage.
19111         * crypt/sha256-block.c: Likewise.
19112         * crypt/sha256-crypt.c: Likewise.
19113         * crypt/sha256.c: Likewise.
19114         * crypt/sha512-block.c: Likewise.
19115         * crypt/sha512-crypt.c: Likewise.
19116         * crypt/sha512.c: Likewise.
19117         * debug/backtrace-tst.c: Likewise.
19118         * debug/pcprofiledump.c: Likewise.
19119         * elf/cache.c: Likewise.
19120         * elf/dl-cache.c: Likewise.
19121         * elf/dl-misc.c: Likewise.
19122         * elf/dl-profile.c: Likewise.
19123         * elf/dl-support.c: Likewise.
19124         * elf/ldconfig.c: Likewise.
19125         * elf/sprof.c: Likewise.
19126         * iconv/dummy-repertoire.c: Likewise.
19127         * iconv/iconv_charmap.c: Likewise.
19128         * iconv/skeleton.c: Likewise.
19129         * iconvdata/8bit-generic.c: Likewise.
19130         * iconvdata/cp737.h: Likewise.
19131         * iconvdata/cp775.h: Likewise.
19132         * iconvdata/ibm1008.h: Likewise.
19133         * iconvdata/ibm1025.h: Likewise.
19134         * iconvdata/ibm1046.h: Likewise.
19135         * iconvdata/ibm1097.h: Likewise.
19136         * iconvdata/ibm1112.h: Likewise.
19137         * iconvdata/ibm1122.h: Likewise.
19138         * iconvdata/ibm1123.h: Likewise.
19139         * iconvdata/ibm1124.h: Likewise.
19140         * iconvdata/ibm1129.h: Likewise.
19141         * iconvdata/ibm1130.h: Likewise.
19142         * iconvdata/ibm1132.h: Likewise.
19143         * iconvdata/ibm1133.h: Likewise.
19144         * iconvdata/ibm1137.h: Likewise.
19145         * iconvdata/ibm1140.h: Likewise.
19146         * iconvdata/ibm1141.h: Likewise.
19147         * iconvdata/ibm1142.h: Likewise.
19148         * iconvdata/ibm1143.h: Likewise.
19149         * iconvdata/ibm1144.h: Likewise.
19150         * iconvdata/ibm1145.h: Likewise.
19151         * iconvdata/ibm1146.h: Likewise.
19152         * iconvdata/ibm1147.h: Likewise.
19153         * iconvdata/ibm1148.h: Likewise.
19154         * iconvdata/ibm1149.h: Likewise.
19155         * iconvdata/ibm1153.h: Likewise.
19156         * iconvdata/ibm1154.h: Likewise.
19157         * iconvdata/ibm1155.h: Likewise.
19158         * iconvdata/ibm1156.h: Likewise.
19159         * iconvdata/ibm1157.h: Likewise.
19160         * iconvdata/ibm1158.h: Likewise.
19161         * iconvdata/ibm1160.h: Likewise.
19162         * iconvdata/ibm1161.h: Likewise.
19163         * iconvdata/ibm1162.h: Likewise.
19164         * iconvdata/ibm1163.h: Likewise.
19165         * iconvdata/ibm1164.h: Likewise.
19166         * iconvdata/ibm1166.h: Likewise.
19167         * iconvdata/ibm1167.h: Likewise.
19168         * iconvdata/ibm12712.h: Likewise.
19169         * iconvdata/ibm1390.h: Likewise.
19170         * iconvdata/ibm1399.h: Likewise.
19171         * iconvdata/ibm16804.h: Likewise.
19172         * iconvdata/ibm4517.h: Likewise.
19173         * iconvdata/ibm4899.h: Likewise.
19174         * iconvdata/ibm4909.h: Likewise.
19175         * iconvdata/ibm4971.h: Likewise.
19176         * iconvdata/ibm5347.h: Likewise.
19177         * iconvdata/ibm803.h: Likewise.
19178         * iconvdata/ibm856.h: Likewise.
19179         * iconvdata/ibm901.h: Likewise.
19180         * iconvdata/ibm902.h: Likewise.
19181         * iconvdata/ibm9030.h: Likewise.
19182         * iconvdata/ibm9066.h: Likewise.
19183         * iconvdata/ibm921.h: Likewise.
19184         * iconvdata/ibm922.h: Likewise.
19185         * iconvdata/ibm9448.h: Likewise.
19186         * iconvdata/isiri-3342.h: Likewise.
19187         * iconvdata/jis0201.h: Likewise.
19188         * include/link.h: Likewise.
19189         * include/netdb.h: Likewise.
19190         * inet/check_native.c: Likewise.
19191         * inet/check_pf.c: Likewise.
19192         * inet/getipv4sourcefilter.c: Likewise.
19193         * inet/getnameinfo.c: Likewise.
19194         * inet/getsourcefilter.c: Likewise.
19195         * inet/htonl.c: Likewise.
19196         * inet/setipv4sourcefilter.c: Likewise.
19197         * inet/setsourcefilter.c: Likewise.
19198         * inet/test-inet6_opt.c: Likewise.
19199         * inet/tst-network.c: Likewise.
19200         * locale/C-collate.c: Likewise.
19201         * locale/C-ctype.c: Likewise.
19202         * locale/C-time.c: Likewise.
19203         * locale/C-translit.h: Likewise.
19204         * locale/loadarchive.c: Likewise.
19205         * locale/programs/3level.h: Likewise.
19206         * locale/programs/charmap.c: Likewise.
19207         * locale/programs/charmap.h: Likewise.
19208         * locale/programs/ld-address.c: Likewise.
19209         * locale/programs/ld-collate.c: Likewise.
19210         * locale/programs/ld-ctype.c: Likewise.
19211         * locale/programs/ld-identification.c: Likewise.
19212         * locale/programs/ld-measurement.c: Likewise.
19213         * locale/programs/ld-messages.c: Likewise.
19214         * locale/programs/ld-monetary.c: Likewise.
19215         * locale/programs/ld-name.c: Likewise.
19216         * locale/programs/ld-numeric.c: Likewise.
19217         * locale/programs/ld-paper.c: Likewise.
19218         * locale/programs/ld-telephone.c: Likewise.
19219         * locale/programs/ld-time.c: Likewise.
19220         * locale/programs/linereader.c: Likewise.
19221         * locale/programs/locale.c: Likewise.
19222         * locale/programs/locarchive.c: Likewise.
19223         * locale/programs/locfile.h: Likewise.
19224         * locale/programs/repertoire.c: Likewise.
19225         * locale/programs/simple-hash.c: Likewise.
19226         * locale/programs/simple-hash.h: Likewise.
19227         * malloc/memusage.c: Likewise.
19228         * malloc/memusagestat.c: Likewise.
19229         * nis/nis_defaults.c: Likewise.
19230         * nis/nis_hash.c: Likewise.
19231         * nis/nis_print.c: Likewise.
19232         * nis/nis_xdr.c: Likewise.
19233         * nscd/connections.c: Likewise.
19234         * nscd/hstcache.c: Likewise.
19235         * nscd/nscd_gethst_r.c: Likewise.
19236         * nscd/nscd_getserv_r.c: Likewise.
19237         * nscd/nscd_helper.c: Likewise.
19238         * nscd/servicescache.c: Likewise.
19239         * nss/makedb.c: Likewise.
19240         * nss/nss_db/db-XXX.c: Likewise.
19241         * nss/nss_db/db-initgroups.c: Likewise.
19242         * nss/nss_db/db-netgrp.c: Likewise.
19243         * nss/nss_files/files-network.c: Likewise.
19244         * nss/nss_files/files-parse.c: Likewise.
19245         * posix/bug-regex5.c: Likewise.
19246         * posix/fnmatch_loop.c: Likewise.
19247         * posix/regcomp.c: Likewise.
19248         * posix/regexec.c: Likewise.
19249         * posix/tst-rfc3484-2.c: Likewise.
19250         * posix/tst-rfc3484-3.c: Likewise.
19251         * posix/tst-rfc3484.c: Likewise.
19252         * resolv/nss_dns/dns-canon.c: Likewise.
19253         * resolv/nss_dns/dns-network.c: Likewise.
19254         * resolv/res_init.c: Likewise.
19255         * resolv/res_mkquery.c: Likewise.
19256         * resolv/tst-aton.c: Likewise.
19257         * stdlib/cxa_atexit.c: Likewise.
19258         * stdlib/cxa_finalize.c: Likewise.
19259         * stdlib/gen-fpioconst.c: Likewise.
19260         * stdlib/strtol_l.c: Likewise.
19261         * string/tst-endian.c: Likewise.
19262         * sunrpc/auth_des.c: Likewise.
19263         * sunrpc/clnt_udp.c: Likewise.
19264         * sunrpc/rtime.c: Likewise.
19265         * sunrpc/svcauth_des.c: Likewise.
19266         * sunrpc/xdr.c: Likewise.
19267         * sunrpc/xdr_intXX_t.c: Likewise.
19268         * sunrpc/xdr_rec.c: Likewise.
19269         * sysdeps/generic/ldconfig.h: Likewise.
19270         * sysdeps/generic/ldsodefs.h: Likewise.
19271         * sysdeps/generic/memusage.h: Likewise.
19272         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19273         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19274         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19275         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19276         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19277         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19278         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19279         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19280         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19281         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19282         * sysdeps/posix/getaddrinfo.c: Likewise.
19283         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19284         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19285         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19286         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19287         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19288         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19289         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19290         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19291         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19292         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19293         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19294         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19295         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19296         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19297         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19298         * sysdeps/x86_64/dl-tls.h: Likewise.
19299         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19300         * time/alt_digit.c: Likewise.
19301         * time/era.c: Likewise.
19302         * wcsmbs/tst-c16c32-1.c: Likewise.
19304 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19306         * math/libm-test.inc (struct test_sincos_data): New type.
19307         (RUN_TEST_LOOP_sincos): New macro.
19308         (sincos_test_data): New variable.
19309         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19311 2013-05-16  Richard Henderson  <rth@redhat.com>
19313         * math/atest-exp2.c (LIMB64): New macro.
19314         (CONSTSZ): New macro.
19315         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19316         (hexdig): Move ...
19317         (print_mpn_fp): ... to function scope.
19318         (read_mpn_hex): Remove.
19319         (get_log2): Remove.
19320         (exp2_mpn): Use mp_log2.
19321         (main): Use mp_exp1.
19323 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19325         * math/libm-test.inc: Remove comment about not testing "inexact"
19326         exceptions.
19327         (INEXACT_EXCEPTION): New macro.
19328         (NO_INEXACT_EXCEPTION): Likewise.
19329         (INVALID_EXCEPTION_OK): Update value.
19330         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19331         (OVERFLOW_EXCEPTION_OK): Likewise.
19332         (UNDERFLOW_EXCEPTION_OK): Likewise.
19333         (IGNORE_ZERO_INF_SIGN): Likewise.
19334         (ERRNO_UNCHANGED): Likewise.
19335         (ERRNO_EDOM): Likewise.
19336         (ERRNO_ERANGE): Likewise.
19337         (test_exceptions): Handle testing "inexact" exceptions.
19338         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19339         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19340         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19341         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19342         INEXACT_EXCEPTION.
19343         (rint_towardzero_test_data): Likewise.
19344         (rint_downward_test_data): Likewise.
19345         (rint_upward_test_data): Likewise.
19347         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19348         with OVERFLOW_EXCEPTION.
19349         (exp10_test_data): Likewise.
19350         (exp2_test_data): Likewise.
19351         (expm1_test_data): Likewise.
19352         (lgamma_test_data): Likewise.
19353         (pow_test_data): Likewise.
19354         (tgamma_test_data): Likewise.
19355         (yn_test_data): Remove duplicate test of overflow.
19357         * math/libm-test.inc (struct test_cc_c_data): New type.
19358         (RUN_TEST_LOOP_cc_c): New macro.
19359         (cpow_test_data): New variable.
19360         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19362         * math/libm-test.inc (struct test_f_L_data): New type.
19363         (RUN_TEST_LOOP_f_L): New macro.
19364         (llrint_test_data): New variable.
19365         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19366         (llrint_tonearest_test_data): New variable.
19367         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19368         (llrint_towardzero_test_data): New variable.
19369         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19370         (llrint_downward_test_data): New variable.
19371         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19372         (llrint_upward_test_data): New variable.
19373         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19374         (llround_test_data): New variable.
19375         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19377 2013-05-13  Peter Collingbourne  <pcc@google.com>
19379         * math/atest-exp2.c (get_log2): Remove const attribute.
19381 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19383         * math/libm-test.inc (struct test_f_l_data): New type.
19384         (RUN_TEST_LOOP_f_l): New macro.
19385         (lrint_test_data): New variable.
19386         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19387         (lrint_tonearest_test_data): New variable.
19388         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19389         (lrint_towardzero_test_data): New variable.
19390         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19391         (lrint_downward_test_data): New variable.
19392         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19393         (lrint_upward_test_data): New variable.
19394         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19395         (lround_test_data): New variable.
19396         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19398 2013-05-15  Peter Collingbourne  <pcc@google.com>
19400         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19401         (EXTRACT_WORDS64) Use where appropriate.
19402         (INSERT_WORDS64) Likewise.
19404         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19405         constraints with x constraints.
19406         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19408         * malloc/obstack.c (_obstack_compat): Add initializer.
19410 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19412         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19413         si_trapno and add si_addr_lsb to _sifields.sigfault.
19414         (si_trapno): Remove macro.
19415         (si_addr_lsb): Define new macro.
19416         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19418 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19420         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19421         instead of TEST_f_l.
19422         (llrint_test_tonearest): Likewise.
19423         (llrint_test_towardzero): Likewise.
19424         (llrint_test_downward): Likewise.
19425         (llrint_test_upward): Likewise.
19426         (llround_test): Likewise.
19428         * math/libm-test.inc (struct test_f_i_data): Add comment.
19429         (RUN_TEST_LOOP_f_b): New macro.
19430         (RUN_TEST_LOOP_f_b_tg): Likewise.
19431         (finite_test_data): New variable.
19432         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19433         (isfinite_test_data): New variable.
19434         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19435         (isinf_test_data): New variable.
19436         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19437         (isnan_test_data): New variable.
19438         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19439         (isnormal_test_data): New variable.
19440         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19441         (issignaling_test_data): New variable.
19442         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19443         (signbit_test_data): New variable.
19444         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19446         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19447         with INVALID_EXCEPTION.
19448         (acosh_test_data): Likewise.
19449         (asin_test_data): Likewise.
19450         (atanh_test_data): Likewise.
19451         (fmod_test_data): Likewise.
19452         (log_test_data): Likewise.
19453         (log10_test_data): Likewise.
19454         (log2_test_data): Likewise.
19455         (pow_test_data): Likewise.
19456         (sqrt_test_data): Likewise.
19457         (y0_test_data): Likewise.
19458         (y1_test_data): Likewise.
19459         (yn_test_data): Likewise.
19461         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19462         function contents.
19464         * math/libm-test.inc (struct test_ff_i_data): New type.
19465         (RUN_TEST_LOOP_ff_i_tg): New macro.
19466         (isgreater_test_data): New variable.
19467         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19468         (isgreaterequal_test_data): New variable.
19469         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19470         (isless_test_data): New variable.
19471         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19472         (islessequal_test_data): New variable.
19473         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19474         (islessgreater_test_data): New variable.
19475         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19476         (isunordered_test_data): New variable.
19477         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19479 2013-05-14  David S. Miller  <davem@davemloft.net>
19481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19483 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19485         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19487         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19488         extra_test to int.
19489         (struct test_f_i_data): Change type of max_ulp to int.
19491         * math/libm-test.inc (test_ffI_f1_data): New type.
19492         (RUN_TEST_LOOP_ffI_f1): New macro.
19493         (remquo_test_data): New variable.
19494         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19496         * setjmp/tst-setjmp-fp.c: New file.
19497         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19498         (link-libm): New variable.
19499         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19501         * math/libm-test.inc (struct test_f_i_data): New type.
19502         (RUN_TEST_LOOP_f_i): New macro.
19503         (RUN_TEST_LOOP_f_i_tg): Likewise.
19504         (fpclassify_test_data): New variable.
19505         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19506         (ilogb_test_data): New variable.
19507         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19509         * math/libm-test.inc (scalbln_test): Correct function name in END
19510         call.
19512         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19513         (RUN_TEST_LOOP_fI_f1): New macro.
19514         (frexp_test_data): New variable.
19515         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19517         * math/libm-test.inc (struct test_fF_f1_data): New type.
19518         (RUN_TEST_LOOP_fF_f1): New macro.
19519         (modf_test_data): New variable.
19520         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19522         * math/libm-test.inc (struct test_f_f1_data): New type.
19523         (RUN_TEST_LOOP_f_f1): New macro.
19524         (gamma_test_data): New variable.
19525         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19526         (lgamma_test_data): New variable.
19527         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19529 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19531         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19532         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19533         (main): Comment "tls" pseudo-hwcap.
19535 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19537         * math/libm-test.inc (struct test_fl_f_data): New type.
19538         (RUN_TEST_LOOP_fl_f): New variable.
19539         (scalbln_test_data): New variable.
19540         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19542         * math/libm-test.inc (struct test_fi_f_data): New type.
19543         (RUN_TEST_LOOP_fi_f): New macro.
19544         (ldexp_test_data): New variable.
19545         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19546         (scalbn_test_data): New variable.
19547         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19549         * math/libm-test.inc (struct test_c_f_data): New type.
19550         (RUN_TEST_LOOP_c_f): New macro.
19551         (cabs_test_data): New variable.
19552         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19553         (carg_test_data): New variable.
19554         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19555         (cimag_test_data): New variable.
19556         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19557         (creal_test_data): New variable.
19558         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19560         * math/libm-test.inc (struct test_if_f_data): New type.
19561         (RUN_TEST_LOOP_if_f): New macro.
19562         (jn_test_data): New variable.
19563         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19564         (yn_test_data): New variable.
19565         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19567         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19569 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19571         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19572         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19574 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19576         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19577         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19578         (bench-deps): Add bench-timing.h.
19579         * benchtests-bench-skeleton.c: Include bench-timing.h.
19580         (main): Use TIMING_* macros instead of clock_gettime.
19581         * benchtests/bench-timing.h: New file.
19583         [BZ #14582]
19584         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19585         Renamed from _LIB_VERSION.
19586         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19588 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19590         * math/libm-test.inc (struct test_fff_f_data): New type.
19591         (RUN_TEST_LOOP_fff_f): New macro.
19592         (fma_test_data): New variable.
19593         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19594         (fma_towardzero_test_data): New variable.
19595         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19596         (fma_downward_test_data): New variable.
19597         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19598         (fma_upward_test_data): New variable.
19599         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19601         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19602         (struct test_c_c_data): New type.
19603         (RUN_TEST_LOOP_c_c): New macro.
19604         (cacos_test_data): New variable.
19605         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19606         (cacosh_test_data): New variable.
19607         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19608         (casin_test_data): New variable.
19609         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19610         (casinh_test_data): New variable.
19611         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19612         (catan_test_data): New variable.
19613         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19614         (catanh_test_data): New variable.
19615         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19616         (ccos_test_data): New variable.
19617         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19618         (ccosh_test_data): New variable.
19619         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19620         (cexp_test_data): New variable.
19621         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19622         (clog_test_data): New variable.
19623         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19624         (clog10_test_data): New variable.
19625         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19626         (conj_test_data): New variable.
19627         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19628         (cproj_test_data): New variable.
19629         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19630         (csin_test_data): New variable.
19631         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19632         (csinh_test_data): New variable.
19633         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19634         (csqrt_test_data): New variable.
19635         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19636         (ctan_test_data): New variable.
19637         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19638         (ctan_tonearest_test_data): New variable.
19639         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19640         (ctan_towardzero_test_data): New variable.
19641         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19642         (ctan_downward_test_data): New variable.
19643         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19644         (ctan_upward_test_data): New variable.
19645         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19646         (ctanh_test_data): New variable.
19647         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19648         (ctanh_tonearest_test_data): New variable.
19649         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19650         (ctanh_towardzero_test_data): New variable.
19651         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19652         (ctanh_downward_test_data): New variable.
19653         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19654         (ctanh_upward_test_data): New variable.
19655         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19656         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19657         of BUILD_COMPLEX.
19659         * math/libm-test.inc (struct test_ff_f_data): New type.
19660         (struct test_ff_f_data_nexttoward): Likewise.
19661         (RUN_TEST_LOOP_2_f): New macro.
19662         (RUN_TEST_LOOP_ff_f): Likewise.
19663         (atan2_test_data): New variable.
19664         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19665         (copysign_test_data): New variable.
19666         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19667         (fdim_test_data): New variable.
19668         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19669         (fmax_test_data): New variable.
19670         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19671         (fmin_test_data): New variable.
19672         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19673         (fmod_test_data): New variable.
19674         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19675         (hypot_test_data): New variable.
19676         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19677         (nextafter_test_data): New variable.
19678         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19679         (nexttoward_test_data): New variable.
19680         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19681         (pow_test_data): New variable.
19682         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19683         (pow_tonearest_test_data): New variable.
19684         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19685         (pow_towardzero_test_data): New variable.
19686         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19687         (pow_downward_test_data): New variable.
19688         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19689         (pow_upward_test_data): New variable.
19690         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19691         (remainder_test_data): New variable.
19692         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19693         (scalb_test_data): New variable.
19694         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19695         * sysdeps/i386/fpu/libm-test-ulps: Update.
19697 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19699         * math/libm-test.inc (fma_test): Use max_value instead of local
19700         variable fltmax.
19701         (nextafter_test): Likewise.
19703         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19704         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19705         (acos_downward_test_data): New variable.
19706         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19707         (acos_upward_test_data): New variable.
19708         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19709         (acosh_test_data): New variable.
19710         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19711         (asin_test_data): New variable.
19712         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19713         (asin_tonearest_test_data): New variable.
19714         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19715         (asin_towardzero_test_data): New variable.
19716         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19717         (asin_downward_test_data): New variable.
19718         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19719         (asin_upward_test_data): New variable.
19720         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19721         (asinh_test_data): New variable.
19722         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19723         (atan_test_data): New variable.
19724         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19725         (atanh_test_data): New variable.
19726         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19727         (cbrt_test_data): New variable.
19728         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19729         (ceil_test_data): New variable.
19730         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19731         (cos_test_data): New variable.
19732         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19733         (cos_tonearest_test_data): New variable.
19734         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19735         (cos_towardzero_test_data): New variable.
19736         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19737         (cos_downward_test_data): New variable.
19738         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19739         (cos_upward_test_data): New variable.
19740         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19741         (cosh_test_data): New variable.
19742         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19743         (cosh_tonearest_test_data): New variable.
19744         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19745         (cosh_towardzero_test_data): New variable.
19746         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19747         (cosh_downward_test_data): New variable.
19748         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19749         (cosh_upward_test_data): New variable.
19750         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19751         (erf_test_data): New variable.
19752         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19753         (erfc_test_data): New variable.
19754         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19755         (exp_test_data): New variable.
19756         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19757         (exp_tonearest_test_data): New variable.
19758         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19759         (exp_towardzero_test_data): New variable.
19760         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19761         (exp_downward_test_data): New variable.
19762         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19763         (exp_upward_test_data): New variable.
19764         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19765         (exp10_test_data): New variable.
19766         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19767         (exp2_test_data): New variable.
19768         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19769         (expm1_test_data): New variable.
19770         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19771         (fabs_test_data): New variable.
19772         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19773         (floor_test_data): New variable.
19774         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19775         (j0_test_data): New variable.
19776         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19777         (j1_test_data): New variable.
19778         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19779         (log_test_data): New variable.
19780         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19781         (log10_test_data): New variable.
19782         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19783         (log1p_test_data): New variable.
19784         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19785         (log2_test_data): New variable.
19786         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19787         (logb_test_data): New variable.
19788         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19789         (logb_downward_test_data): New variable.
19790         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19791         (nearbyint_test_data): New variable.
19792         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19793         (rint_test_data): New variable.
19794         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19795         (rint_tonearest_test_data): New variable.
19796         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19797         (rint_towardzero_test_data): New variable.
19798         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19799         (rint_downward_test_data): New variable.
19800         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19801         (rint_upward_test_data): New variable.
19802         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19803         (round_test_data): New variable.
19804         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19805         (sin_test_data): New variable.
19806         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19807         (sin_tonearest_test_data): New variable.
19808         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19809         (sin_towardzero_test_data): New variable.
19810         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19811         (sin_downward_test_data): New variable.
19812         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19813         (sin_upward_test_data): New variable.
19814         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19815         (sinh_test_data): New variable.
19816         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19817         (sinh_tonearest_test_data): New variable.
19818         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19819         (sinh_towardzero_test_data): New variable.
19820         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19821         (sinh_downward_test_data): New variable.
19822         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19823         (sinh_upward_test_data): New variable.
19824         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19825         (sqrt_test_data): New variable.
19826         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19827         (tan_test_data): New variable.
19828         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19829         (tan_tonearest_test_data): New variable.
19830         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19831         (tan_towardzero_test_data): New variable.
19832         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19833         (tan_downward_test_data): New variable.
19834         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19835         (tan_upward_test_data): New variable.
19836         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19837         (tanh_test_data): New variable.
19838         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19839         (tgamma_test_data): New variable.
19840         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19841         (trunc_test_data): New variable.
19842         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19843         (y0_test_data): New variable.
19844         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19845         (y1_test_data): New variable.
19846         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19847         (significand_test_data): New variable.
19848         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19850 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19852         [BZ #12387]
19853         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19855 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19857         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19859 2013-05-10  Andreas Jaeger  <aj@suse.de>
19861         [BZ #15448]
19862         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19863         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19865 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19867         * math/gen-libm-test.pl (adjust_arg): New function.
19868         (special_functions): Handle generating output in both functions
19869         and arrays.
19870         (parse_args): Likewise.
19871         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19872         $in_func argument to parse_args.
19873         * math/libm-test.inc (struct test_f_f_data): New type.
19874         (IF_ROUND_INIT_): New macro.
19875         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19876         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19877         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19878         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19879         (ROUND_RESTORE_): Likewise.
19880         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19881         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19882         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19883         (ROUND_RESTORE_FE_UPWARD): Likewise.
19884         (RUN_TEST_LOOP_f_f): New macro.
19885         (acos_test_data): New variable.
19886         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19887         (acos_tonearest_test_data): New variable.
19888         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19890 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19892         * benchtests/bench-skeleton.c (startup): Fix coding style.
19894 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19896         [BZ #6809]
19897         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19898         negative infinity argument.
19899         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19900         negative infinity argument.
19901         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19902         negative infinity argument.
19903         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19904         domain errors.
19906 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19908         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19909         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19910         * iconv/iconv_prog.c (main): Likewise.
19911         * locale/programs/charmap-dir.c (charmap_readdir)
19912         (fopen_uncompressed): Likewise.
19913         * locale/programs/locfile.c (siblings_uncached)
19914         (write_locale_data): Use lstat64 instead of lstat.
19915         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19916         stat.
19918 2013-05-10  Andreas Jaeger  <aj@suse.de>
19920         [BZ #15395]
19921         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19922         localization.
19923         Include <locale.h>.
19925 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19927         * elf/dl-close.c (_dl_close_worker): Add comments.
19929 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19931         [BZ #15359]
19932         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19933         high part of pi/2.
19934         (__ieee754_rem_pio2l): Update comments.
19936         [BZ #15429]
19937         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19938         high part of pi/2.
19939         (__ieee754_rem_pio2l): Update comments.
19941         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19942         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19944         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19945         M_PI_4l.
19947         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19948         (M_PI_34_LOG10El): Likewise.
19949         (M_PI2_LOG10El): Likewise.
19950         (M_PI4_LOG10El): Likewise.
19951         (M_PI_LOG10El): Likewise.
19953 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19957 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19959         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19960         (MINUS_ZERO_INIT): Likewise.
19961         (PLUS_INFTY_INIT): Likewise.
19962         (MINUS_INFTY_INIT): Likewise.
19963         (QNAN_VALUE_INIT): Likewise.
19964         (MAX_VALUE_INIT): Likewise.
19965         (MIN_VALUE_INIT): Likewise.
19966         (MIN_SUBNORM_VALUE_INIT): Likewise.
19967         (plus_zero): Initialize with PLUS_ZERO_INIT.
19968         (minus_zero): Initialize with MINUS_ZERO_INIT.
19969         (plus_infty): Initialize with PLUS_INFTY_INIT.
19970         (minus_infty): Initialize with MINUS_INFTY_INIT.
19971         (qnan_value): Initialize with QNAN_VALUE_INIT.
19972         (max_value): Initialize with MAX_VALUE_INIT.
19973         (min_value): Initialize with MIN_VALUE_INIT.
19974         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19976         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19977         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19978         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19979         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19981         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19982         (RUN_TEST_2_f): Likewise.
19983         (RUN_TEST_ff_f): Likewise.
19984         (RUN_TEST_fi_f): Likewise.
19985         (RUN_TEST_fl_f): Likewise.
19986         (RUN_TEST_fff_f): Likewise.
19987         (RUN_TEST_c_f): Likewise.
19988         (RUN_TEST_f_f1): Likewise.
19989         (RUN_TEST_fF_f1): Likewise.
19990         (RUN_TEST_fI_f1): Likewise.
19991         (RUN_TEST_ffI_f1): Likewise.
19992         (RUN_TEST_c_c): Likewise.
19993         (RUN_TEST_cc_c): Likewise.
19994         (RUN_TEST_f_i): Likewise.
19995         (RUN_TEST_f_i_tg): Likewise.
19996         (RUN_TEST_ff_i_tg): Likewise.
19997         (RUN_TEST_f_b): Likewise.
19998         (RUN_TEST_f_b_tg): Likewise.
19999         (RUN_TEST_f_l): Likewise.
20000         (RUN_TEST_f_L): Likewise.
20001         (RUN_TEST_sincos): Likewise.
20002         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20003         whether to show exceptions.  Do not include ");\n" in return
20004         value.
20005         (special_functions): Output call to RUN_TEST_sincos instead of
20006         check_float calls.  Update calls to new_test.
20007         (parse_args): Output call to single RUN_TEST_* macro instead of
20008         check_* calls and other assignments.  Update calls to new_test.
20010         [BZ #2546]
20011         [BZ #2560]
20012         [BZ #5159]
20013         [BZ #15426]
20014         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20015         input to result for tgamma overflow.
20016         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20017         (gamma_coeff): New variable.
20018         (NCOEFF): New macro.
20019         (gamma_positive): New function.
20020         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20021         underflow here.  Use gamma_positive instead of exp (lgamma) for
20022         other arguments.
20023         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20024         (gamma_coeff): New variable.
20025         (NCOEFF): New macro.
20026         (gammaf_positive): New function.
20027         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20028         underflow here.  Use gamma_positive instead of exp (lgamma) for
20029         other arguments.
20030         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20031         (gamma_coeff): New variable.
20032         (NCOEFF): New macro.
20033         (gammal_positive): New function.
20034         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20035         underflow here.  Use gamma_positive instead of exp (lgamma) for
20036         other arguments.
20037         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20038         (gamma_coeff): New variable.
20039         (NCOEFF): New macro.
20040         (gammal_positive): New function.
20041         (__ieee754_gammal_r): Handle positive infinity, overflow and
20042         underflow here.  Handle NaN the same as positive infinity.  Remove
20043         check x < 0xffffffff for negative integers.  Use gamma_positive
20044         instead of exp (lgamma) for other arguments.
20045         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20046         (gamma_coeff): New variable.
20047         (NCOEFF): New macro.
20048         (gammal_positive): New function.
20049         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20050         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20051         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20052         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20053         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20054         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20055         * sysdeps/generic/math_private.h (__gamma_productf): New
20056         prototype.
20057         (__gamma_product): Likewise.
20058         (__gamma_productl): Likewise.
20059         * math/Makefile (libm-calls): Add gamma_product.
20060         * math/libm-test.inc (tgamma_test): Add more tests.
20061         * sysdeps/i386/fpu/libm-test-ulps: Update.
20062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20064 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20066         * benchtests/bench-skeleton.c (main): Preheat CPU.
20068 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20070         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20072 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20074         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20075         and _dl_skip_args_internal.
20077 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20079         * manual/message.texi (Message Translation): Talk about users.
20080         Message to key mapping impacts design.
20082 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20084         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20086         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20088         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20089         * sysdeps/wordsize-64/glob64.c: ... here.
20091         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20092         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20093         New macros.
20095         * debug/getlogin_r_chk.c: Moved to ...
20096         * login/getlogin_r_chk.c: ... here.
20097         * debug/Makefile (routines): Move getlogin_r_chk to ...
20098         * login/Makefile (routines): ... here.
20099         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20100         * login/Versions (libc: GLIBC_2.4): ... here.
20102         * io/poll.c (__poll): Renamed from poll.
20103         Add libc_hidden_def.
20104         (poll): Define as weak alias.
20106         * debug/ptsname_r_chk.c: Moved to ...
20107         * login/ptsname_r_chk.c: ... here.
20108         * debug/Makefile (routines): Move ptsname_r_chk to ...
20109         * login/Makefile (routines): ... here.
20110         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20111         * login/Versions (libc: GLIBC_2.4): ... here.
20113         * posix/getlogin.c: Moved to ...
20114         * login/getlogin.c: ... here.
20115         * posix/getlogin_r.c: Moved to ...
20116         * login/getlogin_r.c: ... here.
20117         * posix/getlogin_r.c: Moved to ...
20118         * login/getlogin_r.c: ... here.
20119         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20120         * login/Makefile (routines): ... here.
20121         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20122         * login/Versions (libc: GLIBC_2.0): ... here.
20124         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20125         (setrlimit): Define as weak alias.
20127         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20128         Call __ names for open, ftruncate, and close.
20129         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20130         (truncate): Define as weak alias.
20132 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20134         * math/gen-libm-test.pl (parse_args): Initialize x before each
20135         test of frexp, modf and remquo.
20137         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20138         test signgam value.
20140 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20142         [BZ #15418]
20143         [BZ #15419]
20144         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20145         internal tests.
20146         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20148 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20150         * elf/dl-writev.h: New file.
20151         * elf/dl-misc.c: Include it.
20152         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20153         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20155 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20157         * math/libm-test.inc (noXFails): Remove variable.
20158         (noXPasses): Likewise.
20159         (BUILD_COMPLEX_INT): Remove macro.
20160         (print_screen): Remove xfail argument.
20161         (print_screen_max_error): Likewise.
20162         (update_stats): Likewise.
20163         (print_max_error): Likewise.  Update calls to other affected
20164         functions.
20165         (print_complex_max_error): Likewise.
20166         (test_single_exception): Update calls to print_screen.
20167         (test_single_errno): Likewise.
20168         (check_float_internal): Remove xfail argument.  Update calls to
20169         other affected functions.
20170         (check_float): Likewise.
20171         (check_complex): Likewise.
20172         (check_int): Likewise.
20173         (check_long): Likewise.
20174         (check_bool): Likewise.
20175         (check_longlong): Likewise.
20176         (main): Don't print noXFails and noXPasses.
20177         * math/gen-libm-test.pl (top level): Don't mention expected
20178         failure handling in comment.
20179         (new_test): Don't handle expected failures.
20180         (parse_args): Don't mention expected failure handling in comment.
20181         (generate_testfile): Don't handle expected failures.
20182         (parse_ulps): Likewise.
20183         (print_ulps_file): Likewise.
20184         (get_failure): Remove function.
20185         (output_test): Don't handle expected failures.
20186         * make/README.libm-test: Don't mention expected failure handling.
20188         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20189         (minus_zero): Likewise.
20190         (plus_infty): Likewise.
20191         (minus_infty): Likewise.
20192         (qnan_value): Likewise.
20193         (max_value): Likewise.
20194         (min_value): Likewise.
20195         (min_subnorm_value): Likewise.
20196         (initialize): Do not initialize those variables dynamically.
20198 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20200         * io/open.c (__open_2): Moved to ...
20201         * io/open_2.c: ... this new file.
20202         * io/open64.c (__open64_2): Moved to ...
20203         * io/open64_2.c: ... this new file.
20204         * io/openat.c (__openat_2): Moved to ...
20205         * io/openat_2.c: ... this new file.
20206         * io/openat64.c (__openat64_2): Moved to ...
20207         * io/openat64_2.c: ... this new file.
20208         * io/Makefile (routines): Add them.
20209         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20210         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20211         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20212         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20213         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20214         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20215         (__openat64): Add hidden_ver.
20216         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20217         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20219         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20220         Separately conditionalize setting of GLRO(dl_sysinfo) so
20221         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20222         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20224 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20226         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20228         definition.
20229         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20230         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20231         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20232         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20233         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20235 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20237         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20238         test signgam value.
20240         * math/libm-test.inc (hypot_test): Do not use
20241         IGNORE_ZERO_INF_SIGN.
20243 2013-05-03  Andreas Jaeger  <aj@suse.de>
20245         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20246         Linux 3.9.
20247         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20248         (PF_MAX): Adjust for VSOCK change.
20250 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20254 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20256         [BZ #15264]
20257         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20258         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20259         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20261 2013-05-02  David S. Miller  <davem@davemloft.net>
20263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20265 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20267         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20269 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20271         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20273 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20275         [BZ #14952]
20276         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20277         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20278         Use __attribute__ ((__gnu_inline__)).
20279         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20280         Don't use __attribute__ ((__gnu_inline__)).
20282 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20284         [BZ #15423]
20285         * math/s_catan.c (__catan): Handle small real or imaginary part of
20286         input specially to avoid spurious underflow.
20287         * math/s_catanf.c (__catanf): Likewise.
20288         * math/s_catanh.c (__catanh): Likewise.
20289         * math/s_catanhf.c (__catanhf): Likewise.
20290         * math/s_catanhl.c (__catanhl): Likewise.
20291         * math/s_catanl.c (__catanl): Likewise.
20292         * math/libm-test.inc (catan_test): Add more tests.
20293         (catanh_test): Likewise.
20294         * sysdeps/i386/fpu/libm-test-ulps: Update.
20295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20297 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20301 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20303         [BZ #15416]
20304         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20305         accurately for denominator in atan2.
20306         * math/s_catanf.c (__catanf): Likewise.
20307         * math/s_catanh.c (__catanh): Likewise.
20308         * math/s_catanhf.c (__catanhf): Likewise.
20309         * math/s_catanhl.c (__catanhl): Likewise.
20310         * math/s_catanl.c (__catanl): Likewise.
20311         * math/libm-test.inc (catan_test): Add more tests.
20312         (catanh_test): Likewise.
20313         * sysdeps/i386/fpu/libm-test-ulps: Update.
20314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20316 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20318         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20320         * benchtests/Makefile (bench): Remove slow benchmarks.
20321         * benchtests/atan-inputs: Add slow benchmark inputs.
20322         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20323         (BENCH_FUNC): Accept variant offset.
20324         (VARIANT): Define.
20325         * benchtests/bench-skeleton.c (main): Run benchmark for each
20326         variant.
20327         * benchtests/cos-inputs: Add slow benchmark inputs.
20328         * benchtests/exp-inputs: Likewise.
20329         * benchtests/pow-inputs: Likewise.
20330         * benchtests/sin-inputs: Likewise.
20331         * benchtests/slowatan-inputs: Remove.
20332         * benchtests/slowatan.c: Remove.
20333         * benchtests/slowcos-inputs: Remove.
20334         * benchtests/slowcos.c: Remove.
20335         * benchtests/slowexp-inputs: Remove.
20336         * benchtests/slowexp.c: Remove.
20337         * benchtests/slowpow-inputs: Remove.
20338         * benchtests/slowpow.c: Remove.
20339         * benchtests/slowsin-inputs: Remove.
20340         * benchtests/slowsin.c: Remove.
20341         * benchtests/slowtan-inputs: Remove.
20342         * benchtests/slowtan.c: Remove.
20343         * benchtests/tan-inputs: Add slow benchmark inputs.
20344         * scripts/bench.pl: Parse comments and directives.
20346         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20347         in CPPFLAGS.
20348         ($(objpfx)bench-%.c): Remove *-ITER.
20349         * benchtests/bench-modf.c: Remove definition of ITER.
20350         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20351         (main): Loop for DURATION seconds instead of fixed number of
20352         iterations.
20353         * scripts/bench.pl: Don't expect iterations in parameters.
20355 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20357         * io/fchdir.c (__fchdir): Renamed from fchdir.
20358         (fchdir): Define as weak alias.
20360 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20362         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20363         (ERRNO_EDOM): Likewise.
20364         (ERRNO_ERANGE): Likewise.
20365         (noErrnoTests): New variable.
20366         (init_max_error): Set errno to 0.
20367         (test_single_errno): New function.
20368         (test_errno): Likewise.
20369         (check_float_internal): Call test_errno.  Set errno to 0.
20370         (check_complex): Refer to errno tests in comment.
20371         (check_int): Call test_errno.  Set errno to 0.
20372         (check_long): Likewise.
20373         (check_bool): Likewise.
20374         (check_longlong): Likewise.
20375         (cos_test): Use ERRNO_* flags for errno tests instead of
20376         check_int.
20377         (expm1_test): Likewise.
20378         (fmod_test): Likewise.
20379         (ilogb_test): Likewise.
20380         (lgamma_test): Likewise.
20381         (pow_test): Likewise.
20382         (remainder_test): Likewise.
20383         (sin_test): Likewise.
20384         (tan_test): Likewise.
20385         (yn_test): Likewise.
20386         (initialize): Set errno to 0.
20387         (main): Print number of errno tests.
20388         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20390 2013-04-29  Andreas Jaeger  <aj@suse.de>
20392         [BZ #15084]
20393         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20394         and RES_USEVC.
20396         [BZ #15085]
20397         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20398         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20399         unimplemented.
20401         [BZ #15380]
20402         * stdlib/random.c (__initstate): Return NULL if
20403         __initstate fails.
20405         [BZ #15086]
20406         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20407         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20408         RES_SNGLKUPREOP.
20410 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20414 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20416         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20417         of individual tests.
20418         (casin_test): Likewise.
20419         (casinh_test): Likewise.
20421 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20423         [BZ #15409]
20424         * math/s_catan.c (__catan): Handle arguments with large real or
20425         imaginary part separately without squaring.
20426         * math/s_catanf.c (__catanf): Likewise.
20427         * math/s_catanh.c (__catanh): Likewise.
20428         * math/s_catanhf.c (__catanhf): Likewise.
20429         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20430         and redefine.
20431         (__catanhl): Handle arguments with large real or imaginary part
20432         separately without squaring.
20433         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20434         and redefine.
20435         (__catanl): Handle arguments with large real or imaginary part
20436         separately without squaring.
20437         * math/libm-test.inc (catan_test): Add more tests.
20438         (catanh_test): Likewise.
20439         * sysdeps/i386/fpu/libm-test-ulps: Update.
20440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20442 2013-04-27  Andreas Jaeger  <aj@suse.de>
20444         [BZ #15007]
20445         * stdlib/stdlib.h: Update guards for qecvt.
20446         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20447         <stdlib.h>.
20449 2013-04-27  Allan McRae  <allan@archlinux.org>
20451         * sysdeps/i386/fpu/libm-test-ulps: Update.
20453 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20455         [BZ #15406]
20456         * math/s_catan.c: Include <float.h>.
20457         (__catan): Ensure underflow exception occurs for underflowed
20458         result.
20459         * math/s_catanf.c: Include <float.h>.
20460         (__catanf): Ensure underflow exception occurs for underflowed
20461         result.
20462         * math/s_catanh.c: Include <float.h>.
20463         (__catanh): Ensure underflow exception occurs for underflowed
20464         result.
20465         * math/s_catanhf.c: Include <float.h>.
20466         (__catanhf): Ensure underflow exception occurs for underflowed
20467         result.
20468         * math/s_catanhl.c: Include <float.h>.
20469         (__catanhl): Ensure underflow exception occurs for underflowed
20470         result.
20471         * math/s_catanl.c: Include <float.h>.
20472         (__catanl): Ensure underflow exception occurs for underflowed
20473         result.
20474         * math/libm-test.inc (catan_test): Add more tests.
20475         (catanh_test): Likewise.
20477         [BZ #15405]
20478         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20479         underflowed result.
20480         * math/s_ccoshf.c (__ccoshf): Likewise.
20481         * math/s_ccoshl.c (__ccoshl): Likewise.
20482         * math/s_csin.c (__csin): Likewise.
20483         * math/s_csinf.c (__csinf): Likewise.
20484         * math/s_csinh.c (__csinh): Likewise.
20485         * math/s_csinhf.c (__csinhf): Likewise.
20486         * math/s_csinhl.c (__csinhl): Likewise.
20487         * math/s_csinl.c (__csinl): Likewise.
20488         * math/libm-test.inc (ccos_test): Add more tests.
20489         (ccosh_test): Likewise.
20490         (csin_test): Likewise.
20491         (csinh_test): Likewise.
20493 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20495         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20496         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20497         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20498         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20499         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20500         powerpc/power5+/fpu folders.
20501         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20504 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20508 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20510         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20511         additions to variable.
20512         [$(config-machine) = x86_64] (modules-names): Likewise.
20513         ($(objpfx)tst-audit3): Remove dependency.
20514         ($(objpfx)tst-audit3.out): Likewise.
20515         ($(objpfx)tst-audit4): Likewise.
20516         ($(objpfx)tst-audit4.out): Likewise.
20517         ($(objpfx)tst-audit5): Likewise.
20518         ($(objpfx)tst-audit5.out): Likewise.
20519         ($(objpfx)tst-audit6): Likewise.
20520         ($(objpfx)tst-audit6.out): Likewise.
20521         ($(objpfx)tst-audit7): Likewise.
20522         ($(objpfx)tst-audit7.out): Likewise.
20523         (tst-audit3-ENV): Remove variable.
20524         (tst-audit4-ENV): Likewise.
20525         (tst-audit5-ENV): Likewise.
20526         (tst-audit6-ENV): Likewise.
20527         (tst-audit7-ENV): Likewise.
20528         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20529         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20530         addition to variable.
20531         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20532         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20533         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20534         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20535         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20536         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20537         tst-audit3, tst-audit4 and tst-audit5.
20538         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20539         tst-audit6 and tst-audit7.
20540         [$(subdir) = elf] (modules-names): Add audit modules for those
20541         tests.
20542         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20543         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20544         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20545         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20546         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20547         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20548         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20549         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20550         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20551         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20552         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20553         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20554         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20555         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20556         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20557         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20558         Likewise.
20559         [$(subdir) = elf && $(config-cflags-avx) = yes]
20560         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20561         [$(subdir) = elf && $(config-cflags-avx) = yes]
20562         (CFLAGS-tst-auditmod4a.c): Likewise.
20563         [$(subdir) = elf && $(config-cflags-avx) = yes]
20564         (CFLAGS-tst-auditmod4b.c): Likewise.
20565         [$(subdir) = elf && $(config-cflags-avx) = yes]
20566         (CFLAGS-tst-auditmod6b.c): Likewise.
20567         [$(subdir) = elf && $(config-cflags-avx) = yes]
20568         (CFLAGS-tst-auditmod6c.c): Likewise.
20569         [$(subdir) = elf && $(config-cflags-avx) = yes]
20570         (CFLAGS-tst-auditmod7b.c): Likewise.
20571         * elf/tst-audit3.c: Move to ...
20572         * sysdeps/x86_64/tst-audit3.c: ... here.
20573         * elf/tst-audit4.c: Move to ...
20574         * sysdeps/x86_64/tst-audit4.c: ... here.
20575         * elf/tst-audit5.c: Move to ...
20576         * sysdeps/x86_64/tst-audit5.c: ... here.
20577         * elf/tst-audit6.c: Move to ...
20578         * sysdeps/x86_64/tst-audit6.c: ... here.
20579         * elf/tst-audit7.c: Move to ...
20580         * sysdeps/x86_64/tst-audit7.c: ... here.
20581         * elf/tst-auditmod3a.c: Move to ...
20582         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20583         * elf/tst-auditmod3b.c: Move to ...
20584         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20585         * elf/tst-auditmod4a.c: Move to ...
20586         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20587         * elf/tst-auditmod4b.c: Move to ...
20588         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20589         * elf/tst-auditmod5a.c: Move to ...
20590         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20591         * elf/tst-auditmod5b.c: Move to ...
20592         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20593         * elf/tst-auditmod6a.c: Move to ...
20594         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20595         * elf/tst-auditmod6b.c: Move to ...
20596         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20597         * elf/tst-auditmod6c.c: Move to ...
20598         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20599         * elf/tst-auditmod7a.c: Move to ...
20600         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20601         * elf/tst-auditmod7b.c: Move to ...
20602         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20604 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20606         [BZ #15366]
20607         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20608         define unconditionally.
20609         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20610         define unconditionally.
20611         (INT8_C, INT16_C, etc.): Likewise.
20613 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20615         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20616         __ehdr_start with hidden visibility.
20618         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20620 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20622         * math/libm-test.inc (cos_test): Use accurate hex constants.
20623         (sincost_test): Likewise.
20625 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20627         * math/libm-test.inc (catan_test): Add more tests.
20628         (catanh_test): Likewise.
20630         * math/s_catanf.c (__catanf): Use suffixed floating-point
20631         constants.
20632         * math/s_catanhf.c (__catanhf): Likewise.
20633         * math/s_catanhl.c (__catanhl): Likewise.
20634         * math/s_catanl.c (__catanl): Likewise.
20636         [BZ #15394]
20637         * math/s_catan.c (__catan): Calculate imaginary part of result
20638         with log1p not log unless computing log of number close to 0.
20639         * math/s_catanf.c (__catanf): Likewise.
20640         * math/s_catanl.c (__catanl): Likewise.
20641         * math/s_catanh.c (__catanh): Calculate real part of result with
20642         log1p not log unless computing log of number close to 0.
20643         * math/s_catanhf.c (__catanhf): Likewise.
20644         * math/s_catanhl.c (__catanhl): Likewise.
20645         * math/libm-test.inc (catan_test): Add more tests.
20646         (catanh_test): Likewise.
20647         * sysdeps/i386/fpu/libm-test-ulps: Update.
20648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20650 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20652         * benchtests/Makefile: Mention files in which fast and slow
20653         paths of math functions are implemented.
20655 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20657         * sysdeps/posix/timespec_get.c: New file.
20659 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20661         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20662         POWER.
20663         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20664         for POWER.
20665         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20666         powerpc/power5/fpu folders.
20667         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20668         * benchtests/Makefile: Add modf testcase.
20669         * benchtests/bench-modf.c: New file: Benchmark test for mo
20671 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20673         [BZ #14888]
20674         * time/Makefile (tests): Add tst-strptime-whitespace.
20675         * time/strptime_l.c (get_number): Use ISSPACE.
20676         (__strptime_internal): Likewise.
20677         * time/tst-strptime-whitespace.c: New test case.
20679 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20681         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20682         member.
20683         (_nss_files_init): Set it here.
20685 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20687         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20688         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20689         unsigned.
20691 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20693         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20695 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20697         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20698         size just once.
20700 2013-04-21  David S. Miller  <davem@davemloft.net>
20702         * po/ru.po: Update Russion translation from translation project.
20704 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20706         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20707         and setfsgid.
20709 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20711         * configure.in: Remove i386 configure warning. Remove i386 case.
20712         * configure: Regenerate.
20713         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20714         Add example to error message.
20715         * sysdeps/i386/configure: Regenerate.
20717 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20719         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20720         slowtan.
20721         * benchtests/cos-inputs: New file.
20722         * benchtests/slowcos-inputs: New file.
20723         * benchtests/slowcos.c: New file.
20724         * benchtests/slowtan-inputs: New file.
20725         * benchtests/slowtan.c: New file.
20726         * benchtests/tan-inputs: New file.
20728 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20730         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20731         considered kosher.
20733 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20735         * benchtests/Makefile: Include cppflags-iterator.mk to add
20736         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20738         * Makefile.in (bench-clean): New target.
20739         * benchtests/Makefile (bench-clean): Likewise.
20741 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20743         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20745 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20747         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20749 2013-04-15  Andreas Schwab  <schwab@suse.de>
20751         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20752         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20753         * nscd/pwdcache.c (cache_addpw): Likewise.
20754         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20755         more than recsize.
20757 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20759         * benchtests/Makefile (bench): Write all output to
20760         bench-out.tmp together.
20762 2013-04-15  Andreas Schwab  <schwab@suse.de>
20764         * nscd/nscd.c (main): Don't fork again after closing files.
20766 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20768         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20770         * benchtests/Rules (bench-deps): Collect dependencies into a
20771         single variable.  Add Makefile to dependencies.
20772         ($(objpfx)bench-%.c): Depend on bench-deps.
20774 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20775             Xavier Roche  <roche+kml2@exalead.com>
20777         [BZ #15361]
20778         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20779         just that it's a file descriptor.
20780         * manual/llio.texi (Synchronizing AIO Operations): Update description
20781         for EBADF error from aio_fsync.
20783 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20785         * Rules (bench): Move target definition...
20786         * benchtests/Makefile: ... here.
20788 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20790         * math/libm-test.inc (cos_test): Fix PI/2 test.
20791         (sincos_test): Likewise.
20792         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20793         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20795 2013-04-11  Andreas Schwab  <schwab@suse.de>
20797         [BZ #13988]
20798         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20799         accept exponent character only when digits were seen.
20800         * stdio-common/Makefile (tests): Add bug26.
20801         * stdio-common/bug26.c: New file.
20803         [BZ #14293]
20804         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20805         non-freeable.
20807 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20809         * Makeconfig (rtld-prefix): Define built linker prefix.
20810         * Rules (run-bench): Use it.
20811         * math/Makefile (run-regen-ulps): Likewise.
20813         * Rules (bench): Remove eval.
20815 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20816             Roland McGrath  <roland@hack.frob.com>
20817             Ondrej Bilka  <neleai@seznam.cz>
20819         [BZ #15346]
20820         * time/getdate.c: Include ctype.h and alloca.h.
20821         (__getdate_r): Trim leading and trailing spaces of input.
20822         * time/tst-getdate.c (tests): Add tests with leading and
20823         trailing spaces.
20825 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20827         [BZ #14280]
20828         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20829         when computing value.
20831 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20833         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20834         Use testrun.sh to run libm tests.
20836         [BZ #15309]
20837         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20839 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20841         [BZ #15264]
20842         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20844 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20846         * Makefile.in (regen-ulps): New target.
20847         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20848         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20849         [ifneq (no,$(PERL)] (regen-ulps): New target.
20850         [ifeq (no,$(PERL)] (regen-ulps): New target.
20851         * math/libm-test.inc (ulps_file_name): Define.
20852         (output_dir): New variable.
20853         (options): Add "output-dir" option.
20854         (parse_opt): Handle 'o' case.
20855         (main): If output_dir is non-NULL use it as a prefix
20856         otherwise use "".
20857         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20859 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20861         [BZ #10060, #10062]
20862         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20863         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20864         fail configure if __sync_val_compare_and_swap is not inlined.
20865         * sysdeps/i386/configure: Regenerate.
20866         * configure.in: Build for i686 when configured for i386.
20867         * configure: Regenerate.
20868         * README: Remove i386 reference.
20870 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20872         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20873         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20875 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20877         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20878         (lmsnanval): New variables.
20879         (F): Add conversion tests.
20880         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20881         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20883         * stdio-common/tstdiomisc.c (F): Properly collect individual
20884         tests' results.
20886         [BZ #14686, #15336]
20887         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20888         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20889         Instead, use input NaN values or generate a qNaN by arithmetic
20890         operation.  Also fix bugs to comply with the standard.
20891         * math/libm-test.inc (remainder_test): Add more tests.
20893         [BZ #15335, #15342]
20894         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20896         input NaN values or generate a qNaN by arithmetic operation.
20898         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20899         unreachable code.
20901         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20902         definitions.
20904 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20906         [BZ #14478]
20907         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20908         underflowed result.
20909         * math/s_cexpf.c (__cexpf): Likewise.
20910         * math/s_cexpl.c (__cexpl): Likewise.
20911         * math/libm-test.inc (cexp_test): Add more tests.
20913 2013-04-03  Andreas Schwab  <schwab@suse.de>
20915         [BZ #15330]
20916         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20917         order arrays from heap if bigger than alloca cutoff.
20919 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20921         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20922         (SNAN_TESTS_double): Refer to GCC PR56831.
20923         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20924         GCC PR56828.
20926 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20928         * Rules (bench): Move bench.out after the run is complete.
20930         * Rules (bench): Echo currently running benchmark.
20932         * benchtests/Makefile (bench): Add atan and slowatan.
20933         * benchtests/atan-inputs: New file.
20934         * benchtests/slowatan-inputs: New file.
20935         * benchtests/slowatan.c: New file.
20937         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20939         its value.
20941         [BZ #15305]
20942         * sysdeps/unix/sysv/linux/kernel-features.h
20943         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20944         __ASSUME_XFS_RESTRICTED_CHOWN.
20945         * sysdeps/unix/sysv/linux/pathconf.c
20946         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20947         Save and restore errno.
20949 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20951         [BZ #15327]
20952         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20953         arguments using __kernel_casinh.
20954         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20955         arguments using __kernel_casinhf.
20956         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20957         arguments using __kernel_casinhl.
20958         * math/libm-test.inc (cacosh_test): Add more tests.
20959         * sysdeps/i386/fpu/libm-test-ulps: Update.
20960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20962 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20964         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20965         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20967         * bench/Makefile (bench): Add sin and slowsin.
20968         * benchtests/sin-inputs: New file.
20969         * benchtests/slowsin-inputs: New file.
20970         * benchtests/slowsin.c: New file.
20972         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20973         (bench): Add slowexp and slowpow.
20974         (exp-ITER): Increase iterations.
20975         (pow-ITER): Likewise.
20976         * benchtests/exp-inputs: Change input.
20977         * benchtests/pow-inputs: Likewise.
20978         * benchtests/slowexp-inputs: New file.
20979         * benchtests/slowexp.c: New file.
20980         * benchtests/slowpow-inputs: New file.
20981         * benchtests/slowpow.c: New file.
20983 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20985         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20986         instructions.
20987         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20988         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20989         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20990         * benchtests/Makefile: Add rint benchtest.
20991         * benchtests/rint-inputs: Input for rint benchtest.
20993 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20995         * Versions.def (libm): Add GLIBC_2.18.
20996         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20997         hidden libm prototypes.
20998         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20999         * math/Makefile (libm-calls): Add s_issignaling.
21000         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21001         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21002         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21003         declaration.
21004         * math/math.h [__USE_GNU] (issignaling): New macro.
21005         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21006         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21007         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21008         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21009         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21010         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21011         * manual/arith.texi (issignaling): New section.
21012         * manual/libm-err-tab.pl (@all_functions): Update comment.
21013         * math/gen-libm-test.pl (parse_args): Apply special handling for
21014         issignaling.
21015         * math/libm-test.inc (print_float, issignaling_test): New
21016         functions.
21017         (check_float_internal): Add issignaling checks.
21018         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21019         default definition.
21020         * sysdeps/powerpc/math-tests.h: New file.
21021         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21022         tests.
21023         * math/test-snan.c (TEST_FUNC): Likewise.
21025 2013-03-30  David S. Miller  <davem@davemloft.net>
21027         * po/de.po: Update from translation team.
21029 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21031         [BZ #10357]
21032         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21033         imaginary part less than 1.0 and real part less than 0.5
21034         specially.
21035         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21036         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21037         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21038         (cacos_test): Add more tests.
21039         (casin_test): Likewise.
21040         (casinh_test): Likewise.
21041         * sysdeps/i386/fpu/libm-test-ulps: Update.
21042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21044 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21046         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21047         ONE with its value.
21049         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21050         (__pow_mp): Replace ONE and MONE with their values.
21051         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21052         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21053         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21054         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21055         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21056         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21058         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21060         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21061         (__pow_mp): Replace ZERO and MZERO with their values.
21062         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21063         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21064         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21065         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21066         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21067         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21068         (__sqr): Likewise.
21070         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21072         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21074 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21076         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21077         Declare with __attribute__ ((weak)).
21078         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21079         Call __call_tls_dtors only if it's not NULL.
21081 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21083         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21084         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21085         magic __ehdr_start linker symbol if it's defined.
21086         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21087         them up here if it was already done.
21089         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21090         (_dl_aux_init): Use const in cast when setting it.
21091         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21092         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21093         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21095         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21096         Declare them here.
21097         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21098         * csu/libc-tls.c: Nor here.
21099         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21101         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21102         (__libc_message): Never call vsyslog.
21104 2013-03-28  Alan Modra  <amodra@gmail.com>
21106         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21107         Define as empty.
21108         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21109         Likewise.
21111 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21113         [BZ #15214]
21114         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21115         underflow.
21116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21118 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21120         [BZ #15304]
21121         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21122         Don't add gid passed as argument.
21124         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21126 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21128         [BZ #15307]
21129         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21130         imaginary part between 1.0 and 1.5 and real part less than 0.5
21131         specially.
21132         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21133         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21134         * math/libm-test.inc (cacos_test): Add more tests.
21135         (casin_test): Likewise.
21136         (casinh_test): Likewise.
21137         * sysdeps/i386/fpu/libm-test-ulps: Update.
21138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21140 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21142         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21143         constants.
21144         (norm): Likewise.
21145         (denorm): Likewise.
21146         (__dbl_mp): Likewise.
21147         (add_magnitudes): Likewise.
21148         (sub_magnitudes): Likewise.
21149         (__add): Likewise.
21150         (__sub): Likewise.
21151         (__mul): Likewise.
21152         (__sqr): Likewise.
21153         (__inv): Likewise.
21154         (__dvd): Likewise.
21156         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21157         commented code.
21158         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21159         (__dubcos): Likewise.
21160         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21161         (__ieee754_acos): Likewise.
21162         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21163         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21164         (__exp1): Likewise.
21165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21166         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21167         (log1): Likewise.
21168         (my_log2): Likewise.
21169         (checkint): Likewise.
21170         * sysdeps/ieee754/dbl-64/e_remainder.c
21171         (__ieee754_remainder): Likewise.
21172         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21173         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21174         (bsloww): Likewise.
21175         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21177         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21178         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21179         MANTISSA_STORE_T to store computations on mantissa.  Use
21180         macros for rounding and division.
21181         (denorm): Likewise.
21182         (__dbl_mp): Likewise.
21183         (add_magnitudes): Likewise.
21184         (sub_magnitudes): Likewise.
21185         (__mul): Likewise.
21186         (__sqr): Likewise.
21187         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21188         powers of two in terms of TWOPOW macro.
21189         (mp_no): Make type of mantissa as MANTISSA_T.
21190         [!RADIXI]: Define RADIXI.
21191         [!TWO52]: Define TWO52.
21192         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21194 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21196         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21197         llroundl symbol when building for PPC32.
21199 2013-03-24  Mark H Weaver  <mhw@netris.org>
21201         * manual/arith.texi (Normalization Functions): Fix prototypes for
21202         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21204 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21206         [BZ #13889]
21207         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21208         high value to check if expl overflow.
21209         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21210         to check for underflow and overflow.
21211         * math/libm-test.inc: Add exp test.
21213 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21215         [BZ #11120]
21216         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21217         with NOT_IN_libc.
21219 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21221         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21222         symbol.
21224 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21226         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21227         wrap blocks consisting of several statements.
21229         * sysdeps/generic/math-tests.h: New file.
21230         * sysdeps/i386/fpu/math-tests.h: Likewise.
21231         * math/test-snan.c: Include it.
21232         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21234 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21236         [BZ #15285]
21237         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21238         (__ieee754_j0l): Do not improve calculations using cos of twice
21239         input for inputs above LDBL_MAX / 2.0L.
21240         (__ieee754_y0l): Likewise.
21241         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21242         (__ieee754_j1l): Do not improve calculations using cos of twice
21243         input for inputs above LDBL_MAX / 2.0L.
21244         (__ieee754_y1l): Likewise.
21245         * math/libm-test.inc (j0_test): Add another test.
21246         (j1_test): Likewise.
21247         (y0_test): Likewise.
21248         (y1_test): Likewise.
21249         * sysdeps/i386/fpu/libm-test-ulps: Update.
21251 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21253         * Rules ($(objpfx)bench-%.c): Include code from a C source
21254         file.
21256 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21258         [BZ #15287]
21259         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21260         imaginary part 1.0 and real part less than 0.5 specially.
21261         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21262         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21263         * math/libm-test.inc (cacos_test): Add more tests.
21264         (casin_test): Likewise.
21265         (casinh_test): Likewise.
21266         * sysdeps/i386/fpu/libm-test-ulps: Update.
21267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21269 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21271         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21272         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21274 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21276         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21277         * config.make.in (config-cflags-sse4): Remove variable.
21278         (config-cflags-avx): Likewise.
21279         (config-cflags-sse2avx): Likewise.
21280         (config-cflags-novzeroupper): Likewise.
21281         (config-asflags-i686): Likewise.
21282         (have-mfma4): Likewise.
21283         (have-as-vis3): Likewise.
21284         (MIG): Likewise.
21285         * configure.in (MIG): Do not AC_SUBST.
21286         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21287         (libc_cv_cc_sse4): Do not AC_SUBST.
21288         (libc_cv_cc_avx): Likewise.
21289         (libc_cv_cc_sse2avx): Likewise.
21290         (libc_cv_cc_novzeroupper): Likewise.
21291         (libc_cv_cc_fma4): Likewise.
21292         (libc_cv_as_i686): Likewise.
21293         (libc_cv_sparc_as_vis3): Likewise.
21294         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21295         LIBC_CONFIG_VAR.
21296         (config-asflags-i686): Likewise.
21297         (config-cflags-avx): Likewise.
21298         (config-cflags-sse2avx): Likewise.
21299         (have-mfma4): Likewise.
21300         (config-cflags-novzeroupper): Likewise.
21301         * sysdeps/mach/configure.in (MIG): Likewise.
21302         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21303         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21304         LIBC_CONFIG_VAR.
21305         (config-cflags-avx): Likewise.
21306         (config-cflags-sse2avx): Likewise.
21307         (have-mfma4): Likewise.
21308         (config-cflags-novzeroupper): Likewise.
21309         * configure: Regenerated.
21310         * sysdeps/i386/configure: Likewise.
21311         * sysdeps/mach/configure: Likewise.
21312         * sysdeps/sparc/configure: Likewise.
21313         * sysdeps/x86_64/configure: Likewise.
21315 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21317         [BZ #14812]
21318         * locale/programs/localedef.c (options): Put N_ translation marker
21319         on argument names, not just descriptions.
21321 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21323         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21325 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21327         [BZ #14176]
21328         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21330 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21332         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21333         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21334         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21335         [!BEFORE_ABORT] (before_abort): New function.
21336         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21337         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21338         (writev_for_fatal): New function.
21339         (WRITEV_FOR_FATAL): New macro; call that.
21340         (backtrace_and_maps): New function.
21341         (BEFORE_ABORT): New macro; call that.
21342         (struct str_list): Type removed.
21343         (__libc_message, __libc_fatal): Functions removed.
21344         Include <sysdeps/posix/libc_fatal.c> instead.
21346 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21348         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21349         constants.
21350         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21351         double constants.
21353 2013-03-19  Andreas Schwab  <schwab@suse.de>
21355         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21356         * sysdeps/gnu/configure: Regenerate.
21358         * configure.in: Substitute libc_cv_rtlddir.
21359         * configure: Regenerate.
21360         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21361         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21362         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21363         * elf/Makefile (install-others, CFLAGS-interp.c)
21364         (ldso_install, common-ldd-rewrite): Likewise.
21365         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21366         $(inst_slibdir)/$(rtld-installed-name).
21367         * scripts/rellns-sh: Add -p option.
21368         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21369         for source.
21371 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21373         * manual/nptl.texi: Renamed to ...
21374         * manual/threads.texi: ... this.
21375         * manual/Makefile (chapters): Update.
21377 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21379         [BZ #14812]
21380         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21381         on argument names, not just descriptions.
21382         * malloc/memusagestat.c (options): Likewise.
21383         * nss/getent.c (options): Likewise.
21385 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21387         [BZ #14812]
21388         * iconv/iconv_prog.c (options): Put N_ translation marker
21389         on argument names, not just descriptions.
21390         * iconv/iconvconfig.c (options): Likewise.
21392 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21394         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21395         implementation which is faster on all x86_64 architectures.
21396         Tested on AMD, Intel Nehalem, SNB, IVB.
21397         * sysdeps/x86_64/strnlen.S: Likewise.
21399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21400         Remove all multiarch strlen and strnlen versions.
21401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21402         Remove strlen and strnlen related parts.
21404         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21405         Inline strlen part.
21406         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21408         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21409         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21410         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21411         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21412         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21413         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21415 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21417         * manual/memory.texi (Malloc Tunable Parameters):
21418         Sort parameters alphabetically. Add comments for missing entries.
21420 2013-03-17  David S. Miller  <davem@davemloft.net>
21422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21424 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21426         [BZ #15283]
21427         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21428         for arguments at most half maximum finite value.
21429         * math/libm-test.inc (j0_test): Add more tests.
21430         (j1_test): Likewise.
21431         (y0_test): Likewise.
21432         (y1_test): Likewise.
21433         * sysdeps/i386/fpu/libm-test-ulps: Update.
21434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21436         [BZ #14155]
21437         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21438         1 / x and functions P and Q for arguments above 0x1p256L.
21439         (__ieee754_y0l): Likewise.
21440         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21441         (__ieee754_y1l): Likewise.
21442         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21443         (j1_test): Likewise.
21444         (y0_test): Likewise.
21445         (y1_test): Likewise.
21447 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21449         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21450         variable.
21452 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21454         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21455         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21456         zero since it's initialized to EXEC_PAGESIZE.
21458         * sysdeps/unix/sysv/linux/ldsodefs.h
21459         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21460         * sysdeps/generic/ldsodefs.h: ... here.
21462 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21464         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21466         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21467         math/test-snan.c.
21468         * math/test-snan.c: Renamed from
21469         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21470         * math/Makefile (tests): Add test-snan.
21471         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21472         test-powerpc-snan.
21474         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21475         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21476         functions.
21477         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21478         __builtin_nan family of functions.
21479         * math/libm-test.inc (initialize): Initialize qnan_value with
21480         __builtin_nan family of functions.
21481         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21482         Remove variables.
21483         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21484         Remove functions.
21485         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21486         storage class.  Initialize qNaN_var and sNaN_var with
21487         __builtin_nan and __builtin_nans families of functions,
21488         respectively.
21490         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21491         (sqrt_test): Remove duplicate test with qNaN input.
21492         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21493         (round_test, signbit_test, significand_test): Note missing +/-Inf
21494         as well as qNaN tests.
21496         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21497         qNaN_var.  Fix a few strings, too.
21498         * math/libm-test.inc (nan_value): Rename to qnan_value.
21499         * math/gen-libm-test.pl (%beautify): Adjust to that.
21500         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21501         * math/test-misc.c (main): Likewise.
21502         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21503         to __qnan_bytes, and __qnan_union, respectively.
21504         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21505         Likewise.
21506         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21507         and lqnanval, respectively.
21508         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21509         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21510         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21511         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21513         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21514         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21515         doubles.
21517         * math/test-misc.c (main): Fix copy'n'pastos.
21518         * misc/tst-efgcvt.c (special): Likewise.
21520         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21521         Remove declarations.
21523 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21525         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21526         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21527         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21528         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21530 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21532         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21533         macro to return vdso values correctly in IFUNC implementations.
21534         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21535         Optimization by using IFUNC.
21537 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21538             Richard Henderson  <rth@redhat.com>
21539             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21541         * Makefile.in (bench): New target.
21542         * NEWS: Mention the benchmark framework.
21543         * Rules (bench): Likewise.
21544         (binaries-bench): Generate binaries for functions to
21545         benchmark.
21546         * benchtests/Makefile: New makefile for benchmark tests.
21547         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21548         programs.
21549         * benchtests/exp-inputs: New input file for EXP function.
21550         * benchtests/pow-inputs: New input file for POW function.
21551         * scripts/bench.pl: New script to generate source files for
21552         benchmark programs.
21554 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21556         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21557         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21558         computations on mantissa.  Use macros for rounding and
21559         division.
21560         (denorm): Likewise.
21561         (__dbl_mp): Likewise.
21562         (add_magnitudes): Likewise.
21563         (sub_magnitudes): Likewise.
21564         (__mul): Likewise.
21565         (__sqr): Likewise.
21566         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21567         powers of two in terms of TWOPOW macro.
21568         (mp_no): Make type of mantissa as MANTISSA_T.
21569         [!RADIXI]: Define RADIXI.
21570         [!TWO52]: Define TWO52.
21571         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21573         * manual/nptl.texi (cindex): Modify threads to pthreads.
21575 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21577         * sysdeps/x86_64/preconfigure: Regenerated.
21579 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21581         [BZ #14155]
21582         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21583         0x1p28 and above.
21584         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21585         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21586         0x1p28 and above.
21587         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21588         * math/libm-test.inc (j0_test): Do not allow one spurious
21589         underflow exception.
21590         (y1_test): Likewise.
21592 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21594         * manual/Makefile (chapters): Add nptl.
21595         * manual/debug.texi (Debugging Support): Add link to Threads
21596         chapter.
21597         * manual/nptl.texi: New file.
21599         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21601 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21603         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21604         for non-NULL pointer before the memory validity test. Pointed
21605         out by Holger Brunck <holger.brunck@keymile.com>.
21607 2013-03-13  Andreas Schwab  <schwab@suse.de>
21609         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21610         instead of .os.
21612 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21614         * timezone/zic.c: Update from tzcode 2013b.
21616 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21618         * manual/install.texi (Configuring and compiling):
21619         Mention i686 and i586.
21620         * INSTALL: Regenerate.
21622 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21624         * sysdeps/init_array/elf-init.c: New file.
21625         * csu/elf-init.c
21626         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21627         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21629         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21630         __gmon_start__ as global, but as static with a .preinit_array pointer.
21631         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21632         * sysdeps/init_array/crti.S: New file, empty except for comments.
21633         * sysdeps/init_array/crtn.S: Likewise.
21635 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21637         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21638         definining bcopy.
21639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21640         Remove Prefer_SSE_for_memop.
21641         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21642         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21643         HAS_PREFER_SSE_FOR_MEMOP.
21644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21645         memset-x86-64.
21646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21647         Remove bzero, memset ifunc support.
21648         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21649         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21650         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21651         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21653 2013-03-11  Andreas Schwab  <schwab@suse.de>
21655         [BZ #15234]
21656         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21657         by SHLIB_COMPAT.
21658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21659         (GLIBC_2.16): Remove pthread_atfork.
21661 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21663         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21664         (ptestcases.h): Likewise.
21666 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21668         * Makeconfig ($(common-objpfx)config.status): Depend on
21669         sysdeps/*/preconfigure{,.in} too.
21671 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21673         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21674         (__free_hook): Use void * instead of __malloc_ptr_t.
21675         (__malloc_hook): Likewise.
21676         (__realloc_hook): Likewise.
21677         (__memalign_hook): Likewise.
21678         (__after_morecore_hook): Likewise.
21679         * malloc/arena.c (save_malloc_hook): Likewise.
21680         (save_free_hook): Likewise.
21681         * malloc/hooks.c (malloc_hook_ini): Likewise.
21682         (realloc_hook_ini): Likewise.
21683         (memalign_hook_ini): Likewise.
21684         * malloc/malloc.c (malloc_hook_ini): Likewise.
21685         (realloc_hook_ini): Likewise.
21686         (memalign_hook_ini): Likewise.
21687         (__free_hook): Likewise.
21688         (__malloc_hook): Likewise.
21689         (__realloc_hook): Likewise.
21690         (__memalign_hook): Likewise.
21691         (__libc_malloc): Likewise.
21692         (__libc_free): Likewise.
21693         (__libc_realloc): Likewise.
21694         (__libc_memalign): Likewise.
21695         (__libc_valloc): Likewise.
21696         (__libc_pvalloc): Likewise.
21697         (__libc_calloc): Likewise.
21698         (__posix_memalign): Likewise.
21699         * malloc/morecore.c (__sbrk): Likewise.
21700         (__default_morecore): Likewise.
21702         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21704         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21705         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21706         __malloc_ptrdiff_t.
21708         * malloc/malloc.h (__malloc_size_t): Remove macro.
21709         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21710         __malloc_size_t.
21711         (old_memalign_hook): Likewise.
21712         (old_realloc_hook): Likewise.
21713         (struct hdr): Likewise.
21714         (flood): Likewise.
21715         (mallochook): Likewise.
21716         (memalignhook): Likewise.
21717         (reallochook): Likewise.
21718         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21719         (tr_old_realloc_hook): Likewise.
21720         (tr_old_memalign_hook): Likewise.
21721         (tr_mallochook): Likewise.
21722         (tr_reallochook): Likewise.
21723         (tr_memalignhook): Likewise.
21725 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21727         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21728         default_ldbl_pack and using as default implementation.
21729         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21730         implementation.
21731         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21732         redundant definition.
21733         (ldbl_insert_mantissa): Likewise.
21734         (ldbl_canonicalize): Likewise.
21735         (ldbl_nearbyint): Likewise.
21736         (ldbl_pack): Rename to ldbl_pack_ppc.
21737         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21738         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21739         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21741 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21743         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21744         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21745         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21746         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21748         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21749         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21750         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21752 2013-03-07  Andreas Jaeger  <aj@suse.de>
21754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21755         bits/mman-linux.h.
21757 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21759         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21760         Include mpa.h and declare __MPEXP.
21761         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21762         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21763         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21764         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21765         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21766         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21767         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21769         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21770         (__slowpow): Use long double EXPL and LOGL functions to
21771         compute POW.
21772         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21773         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21774         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21775         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21776         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21777         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21780         intermediate variable to calculate exponent.
21781         (__sqr): Likewise.
21782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21783         Likewise.
21784         (__sqr): Likewise.
21786         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21787         [!NO__SQR]: Define __sqr.
21788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21789         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21790         sysdeps/ieee754/dbl-64/mpa.c.
21791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21793         [BZ #12723]
21794         * posix/Makefile (tests): Add tst-pathconf.
21795         * posix/tst-pathconf.c: New test case.
21796         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21797         _PC_PIPE_BUF.
21798         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21800 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21802         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21804 2013-03-06  Andreas Jaeger  <aj@suse.de>
21806         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21807         definition via __MAP_ANONYMOUS.
21809         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21810         it's not part of Linux headers.
21812         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21813         (MAP_HUGE_MASK): Define.
21815         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21816         Define.
21817         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21818         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21819         Define.
21820         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21821         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21822         Define.
21823         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21824         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21825         Define.
21826         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21828         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21829         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21830         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21831         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21832         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21833         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21835         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21836         Handle f2fs.
21838         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21839         Handle f2fs and efivarfs.
21841         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21842         f2fs.
21844         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21845         (EFIVARFS_MAGIC): Add.
21846         (F2FS_LINK_MAX): Add.
21848 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21850         * stdio-common/vfprintf.c: Replace __builtin_expect with
21851         __glibc_unlikely.
21853 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21855         [BZ #13550]
21856         * sysdeps/generic/bp-sym.h: Remove file.
21857         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21858         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21859         <bp-sym.h> and <bp-asm.h>.
21860         (__longjmp): Don't use BP_SYM.
21861         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21862         and <bp-asm.h>.
21863         (memcpy): Don't use BP_SYM.
21864         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21865         <bp-sym.h> and <bp-asm.h>.
21866         (memcpy): Don't use BP_SYM.
21867         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21868         <bp-asm.h>.
21869         (memcpy): Don't use BP_SYM.
21870         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21871         <bp-asm.h>.
21872         (memset): Don't use BP_SYM.
21873         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21874         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21875         (__bzero): Don't use BP_SYM.
21876         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21877         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21878         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21879         <bp-sym.h> and <bp-asm.h>.
21880         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21881         pointers.
21882         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21883         <bp-sym.h> and <bp-asm.h>.
21884         (memcpy): Don't use BP_SYM.
21885         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21886         <bp-sym.h> and <bp-asm.h>.
21887         (memset): Don't use BP_SYM.
21888         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21889         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21890         (__bzero): Don't use BP_SYM.
21891         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21892         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21893         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21894         <bp-sym.h> and <bp-asm.h>.
21895         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21896         pointers.
21897         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21898         <bp-sym.h> and <bp-asm.h>.
21899         (memcpy): Don't use BP_SYM.
21900         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21901         <bp-sym.h> and <bp-asm.h>.
21902         (memset): Don't use BP_SYM.
21903         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21904         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21905         (__bzero): Don't use BP_SYM.
21906         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21907         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21908         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21909         <bp-sym.h> and <bp-asm.h>.
21910         (__memchr): Don't use BP_SYM.
21911         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21912         <bp-sym.h> and <bp-asm.h>.
21913         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21914         pointers.
21915         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21916         <bp-sym.h> and <bp-asm.h>.
21917         (memcpy): Don't use BP_SYM.
21918         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21919         <bp-sym.h> and <bp-asm.h>.
21920         (__mempcpy): Don't use BP_SYM.
21921         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21922         <bp-sym.h> and <bp-asm.h>.
21923         (__memrchr): Don't use BP_SYM.
21924         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21925         <bp-sym.h> and <bp-asm.h>.
21926         (memset): Don't use BP_SYM.
21927         (__bzero): Likewise.
21928         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21929         <bp-sym.h> and <bp-asm.h>.
21930         (__rawmemchr): Don't use BP_SYM.
21931         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21932         <bp-sym.h> and <bp-asm.h>.
21933         (__STRCMP): Don't use BP_SYM.
21934         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21935         <bp-sym.h> and <bp-asm.h>.
21936         (strchr): Don't use BP_SYM.
21937         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21938         <bp-sym.h> and <bp-asm.h>.
21939         (__strchrnul): Don't use BP_SYM.
21940         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21941         <bp-sym.h> and <bp-asm.h>.
21942         (strlen): Don't use BP_SYM.
21943         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21944         <bp-sym.h> and <bp-asm.h>.
21945         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21946         pointers.
21947         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21948         <bp-sym.h> and <bp-asm.h>.
21949         (__strnlen): Don't use BP_SYM.
21950         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21951         <bp-sym.h> and <bp-asm.h>.
21952         (__GI__setjmp): Don't use BP_SYM.
21953         (_setjmp): Likewise.
21954         (__sigsetjmp): Likewise.
21955         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21956         (L(start_addresses)): Don't use BP_SYM.
21957         (_start): Likewise.
21958         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21959         <bp-asm.h>.
21960         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21961         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21962         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21963         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21964         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21965         <bp-asm.h>.
21966         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21967         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21968         about bounded pointers.
21969         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21970         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21971         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21972         <bp-asm.h>.
21973         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21974         about bounded pointers.  Remove GKM FIXME comments.
21975         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21976         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21977         <bp-asm.h>.
21978         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21979         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21980         Remove GKM FIXME comments.
21981         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21982         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21983         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21984         <bp-asm.h>.
21985         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21986         about bounded pointers.  Remove GKM FIXME comment.
21987         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21988         and <bp-asm.h>.
21989         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21990         pointers.
21991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21992         <bp-sym.h> and <bp-asm.h>.
21993         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21995         <bp-sym.h> and <bp-asm.h>.
21996         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21997         comment.
21999 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22001         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22002         call free(NULL).
22004 2013-03-05  David S. Miller  <davem@davemloft.net>
22006         * po/es.po: Update from translation team.
22008 2013-03-05  Andreas Jaeger  <aj@suse.de>
22010         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22011         <bits/mman-linux.h>.
22012         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22013         is fine.
22014         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22015         <bits/mman-linux.h> to end of file.
22016         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22017         is fine.
22018         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22019         <bits/mman-linux.h> to end of file.
22020         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22021         is fine.
22022         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22023         <bits/mman-linux.h> to end of file.
22025         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22026         (MCL_CURRENT, MCL_FUTURE): Define here.
22028 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22030         [BZ #15232]
22031         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22032         attribute_hidden.
22033         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22035 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22037         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22038         fourth parameter needed for rt_sigprocmask syscall.
22039         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22040         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22041         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22042         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22043         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22044         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22046 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22048         [BZ #13550]
22049         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22050         comment about bounded pointers.
22051         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22052         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22054 2013-03-04  Andreas Jaeger  <aj@suse.de>
22056         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22057         common definitions.
22059         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22060         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22061         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22062         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22063         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22064         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22066 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22068         [BZ #15055]
22069         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22070         __ieee754_sqrl instead of __sqrl.
22072 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22074         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22075         * sysdeps/powerpc/fpu_control.h: ... here.
22076         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22077         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22078         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22079         * sysdeps/powerpc/bits/mathinline.h: ... here.
22081 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22083         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22084         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22085         to just [NEED_DL_SYSINFO_DSO].
22086         * elf/dl-support.c: Likewise.
22087         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22088         * elf/rtld.c (dl_main): Likewise.
22089         * elf/setup-vdso.h (setup_vdso): Likewise.
22090         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22091         * sysdeps/unix/sysv/linux/dl-sysdep.c
22092         (_dl_discover_osversion): Likewise.
22094 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22096         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22097         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22099 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22101         * NEWS: Mention libm performance improvements and non-x86 PI
22102         futex support.
22104         * csu/libc-start.c (__pthread_initialize_minimal): Change
22105         function arguments.
22106         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22108 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22110         [BZ #13550]
22111         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22112         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22113         <bp-sym.h> and <bp-asm.h>.
22114         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22115         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22116         and <bp-asm.h>.
22117         (memcpy): Don't use BP_SYM.
22118         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22119         <bp-asm.h>.
22120         (__mpn_add_n): Don't use BP_SYM.
22121         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22122         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22123         and <bp-asm.h>.
22124         (__mpn_addmul_1): Don't use BP_SYM.
22125         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22126         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22127         <bp-sym.h>.
22128         (_setjmp): Don't use BP_SYM.
22129         (__novmx_setjmp): Likewise.
22130         (__GI__setjmp): Likewise.
22131         (__vmx_setjmp): Likewise.
22132         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22133         <bp-sym.h>.
22134         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22135         (__bzero): Don't use BP_SYM.
22136         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22137         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22138         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22139         <bp-sym.h> and <bp-asm.h>.
22140         (memcpy): Don't use BP_SYM.
22141         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22142         <bp-sym.h> and <bp-asm.h>.
22143         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22144         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22145         <bp-sym.h> and <bp-asm.h>.
22146         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22147         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22148         <bp-asm.h>.
22149         (__mpn_lshift): Don't use BP_SYM.
22150         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22151         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22152         <bp-asm.h>.
22153         (memset): Don't use BP_SYM.
22154         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22155         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22156         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22157         <bp-asm.h>.
22158         (__mpn_mul_1): Don't use BP_SYM.
22159         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22160         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22161         <bp-sym.h> and <bp-asm.h>.
22162         (memcmp): Don't use BP_SYM.
22163         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22164         <bp-sym.h> and <bp-asm.h>.
22165         (memcpy): Don't use BP_SYM.
22166         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22167         <bp-sym.h> and <bp-asm.h>.
22168         (memset): Don't use BP_SYM.
22169         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22170         <bp-sym.h> and <bp-asm.h>.
22171         (strncmp): Don't use BP_SYM.
22172         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22173         <bp-sym.h> and <bp-asm.h>.
22174         (memcpy): Don't use BP_SYM.
22175         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22176         <bp-sym.h> and <bp-asm.h>.
22177         (memset): Don't use BP_SYM.
22178         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22179         <bp-sym.h> and <bp-asm.h>.
22180         (__memchr): Don't use BP_SYM.
22181         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22182         <bp-sym.h> and <bp-asm.h>.
22183         (memcmp): Don't use BP_SYM.
22184         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22185         <bp-sym.h> and <bp-asm.h>.
22186         (memcpy): Don't use BP_SYM.
22187         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22188         <bp-sym.h> and <bp-asm.h>.
22189         (__mempcpy): Don't use BP_SYM.
22190         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22191         <bp-sym.h> and <bp-asm.h>.
22192         (__memrchr): Don't use BP_SYM.
22193         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22194         <bp-sym.h> and <bp-asm.h>.
22195         (memset): Don't use BP_SYM.
22196         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22197         <bp-sym.h> and <bp-asm.h>.
22198         (__rawmemchr): Don't use BP_SYM.
22199         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22200         <bp-sym.h> and <bp-asm.h>.
22201         (__STRCMP): Don't use BP_SYM.
22202         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22203         <bp-sym.h> and <bp-asm.h>.
22204         (strchr): Don't use BP_SYM.
22205         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22206         <bp-sym.h> and <bp-asm.h>.
22207         (__strchrnul): Don't use BP_SYM.
22208         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22209         <bp-sym.h> and <bp-asm.h>.
22210         (strlen): Don't use BP_SYM.
22211         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22212         <bp-sym.h> and <bp-asm.h>.
22213         (strncmp): Don't use BP_SYM.
22214         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22215         <bp-sym.h> and <bp-asm.h>.
22216         (__strnlen): Don't use BP_SYM.
22217         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22218         <bp-asm.h>.
22219         (__mpn_rshift): Don't use BP_SYM.
22220         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22221         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22222         <bp-sym.h> and <bp-asm.h>.
22223         (__sigsetjmp): Don't use BP_SYM.
22224         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22225         (L(start_addresses)): Don't use BP_SYM.
22226         (_start): Likewise.
22227         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22228         <bp-asm.h>.
22229         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22230         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22231         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22232         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22233         <bp-asm.h>.
22234         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22235         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22236         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22237         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22238         <bp-asm.h>.
22239         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22240         comments.
22241         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22242         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22243         <bp-asm.h>.
22244         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22245         FIXME comments.
22246         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22247         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22248         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22249         <bp-asm.h>.
22250         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22251         comment.
22252         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22253         and <bp-asm.h>.
22254         (strncmp): Don't use BP_SYM,
22255         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22256         <bp-asm.h>.
22257         (__mpn_sub_n): Don't use BP_SYM.
22258         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22259         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22260         and <bp-asm.h>.
22261         (__mpn_submul_1): Don't use BP_SYM.
22262         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22264         <bp-sym.h> and <bp-asm.h>.
22265         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22267         <bp-sym.h> and <bp-asm.h>.
22268         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22269         comment.
22271 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22274         Use ZK to minimize writes to Z.
22275         (sub_magnitudes): Simplify code a bit.
22276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22277         Use ZK to minimize writes to Z.
22278         (sub_magnitudes): Simplify code a bit.
22280 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22282         * csu/gmon-start.c: Add special exception to license text.
22284 2013-02-27  Richard Henderson  <rth@redhat.com>
22286         * scripts/config.guess: Update from config.git.
22287         * scripts/config.sub: Likewise.
22289 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22291         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22293         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22295         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22297         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22299         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22301 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22303         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22304         [$(build-shared = yes].
22306 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22308         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22309         (__mul): Reduce iterations for calculating mantissa.
22311         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22312         MPTWO.
22313         (__mpranred): Likewise.
22315         [BZ #15160]
22316         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22317         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22319 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22321         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22322         Define __attribute__.
22324 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22326         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22327         unused.
22328         * posix/regex_internal.h (__attribute): Remove.
22329         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22330         (re_string_context_at): Likewise.
22331         (bitset_not): Use __attribute__ and mark function as possibly
22332         unused.
22333         (bitset_merge): Likewise.
22334         (bitset_mask): Likewise.
22335         (re_string_char_size_at): Likewise.
22336         (re_string_wchar_at): Likewise.
22337         (re_string_elem_size_at): Likewise.
22339 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22341         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22342         code.
22343         (cc32): Likewise.
22345         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22346         (__acr): Likewise.
22347         (__cpy): Likewise.
22348         (norm): Likewise.
22349         (denorm): Likewise.
22350         (__dbl_mp): Likewise.
22351         (add_magnitudes): Likewise.
22352         (sub_magnitudes): Likewise.
22353         (__mul): Likewise.
22354         (__inv): Likewise.
22356         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22357         style.
22359         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22360         style.
22362         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22363         code.
22365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22366         up changes with default code.
22367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22368         Likewise.
22370 2013-02-24  Allan McRae  <allan@archlinux.org>
22372         * manual/socket.texi (The Internet Namespace): Order menu items
22373         to match that in the file.
22375         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22376         node listing of the info page menu.
22378 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22380         [BZ #13550]
22381         * sysdeps/i386/bp-asm.h: Remove file.
22382         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22383         (PARMS): Do not use macros from bp-asm.h.
22384         (S1): Likewise.
22385         (S2): Likewise.
22386         (SIZE): Likewise.
22387         (__mpn_add_n): Do not use BP_SYM
22388         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22389         "bp-asm.h".
22390         (PARMS): Do not use macros from bp-asm.h.
22391         (S1): Likewise.
22392         (SIZE): Likewise.
22393         (__mpn_addmul_1): Do not use BP_SYM
22394         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22395         "bp-asm.h".
22396         (PARMS): Do not use macros from bp-asm.h.
22397         (SIGMSK): Likewise.
22398         (_setjmp): Likewise.  Do not use BP_SYM.
22399         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22400         "bp-asm.h".
22401         (PARMS): Do not use macros from bp-asm.h.
22402         (SIGMSK): Likewise.
22403         (setjmp): Likewise.  Do not use BP_SYM.
22404         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22405         "bp-asm.h".
22406         (PARMS): Do not use macros from bp-asm.h.
22407         (__frexp): Do not use BP_SYM.
22408         (frexp): Likewise.
22409         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22410         "bp-asm.h".
22411         (PARMS): Do not use macros from bp-asm.h.
22412         (__frexpf): Do not use BP_SYM.
22413         (frexpf): Likewise.
22414         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22415         "bp-asm.h".
22416         (PARMS): Do not use macros from bp-asm.h.
22417         (__frexpl): Do not use BP_SYM.
22418         (frexpl): Likewise.
22419         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22420         "bp-asm.h".
22421         (PARMS): Do not use macros from bp-asm.h.
22422         (__remquo): Do not use BP_SYM.
22423         (remquo): Likewise.
22424         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22425         "bp-asm.h".
22426         (PARMS): Do not use macros from bp-asm.h.
22427         (__remquof): Do not use BP_SYM.
22428         (remquof): Likewise.
22429         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22430         "bp-asm.h".
22431         (PARMS): Do not use macros from bp-asm.h.
22432         (__remquol): Do not use BP_SYM.
22433         (remquol): Likewise.
22434         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22435         "bp-asm.h".
22436         (PARMS): Do not use macros from bp-asm.h.
22437         (DEST): Likewise.
22438         (SRC): Likewise.
22439         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22440         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22441         "bp-asm.h".
22442         (PARMS): Do not use macros from bp-asm.h.
22443         (strlen): Do not use BP_SYM.
22444         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22445         "bp-asm.h".
22446         (PARMS): Do not use macros from bp-asm.h.
22447         (S1): Likewise.
22448         (S2): Likewise.
22449         (SIZE): Likewise.
22450         (__mpn_add_n): Do not use BP_SYM.
22451         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22452         "bp-asm.h".
22453         (PARMS): Do not use macros from bp-asm.h.
22454         (S1): Likewise.
22455         (SIZE): Likewise.
22456         (__mpn_addmul_1): Do not use BP_SYM.
22457         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22458         weak_alias.
22459         (bzero): Likewise.
22460         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22461         "bp-asm.h".
22462         (PARMS): Do not use macros from bp-asm.h.
22463         (S): Likewise.
22464         (SIZE): Likewise.
22465         (__mpn_lshift): Do not use BP_SYM.
22466         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22467         "bp-asm.h".
22468         (PARMS): Do not use macros from bp-asm.h.
22469         (DEST): Likewise.
22470         (SRC): Likewise.
22471         (LEN): Likewise.
22472         (memcpy): Likewise.  Do not use BP_SYM.
22473         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22474         libc_hidden_def and weak_alias.
22475         (mempcpy): Do not use BP_SYM in weak_alias.
22476         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22477         "bp-asm.h".
22478         (PARMS): Do not use macros from bp-asm.h.
22479         (DEST): Likewise.
22480         (LEN): Likewise.
22481         [!BZERO_P] (CHR): Likewise.
22482         (memset): Likewise.  Do not use BP_SYM.
22483         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22484         "bp-asm.h".
22485         (PARMS): Do not use macros from bp-asm.h.
22486         (S1): Likewise.
22487         (SIZE): Likewise.
22488         (__mpn_mul_1): Do not use BP_SYM.
22489         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22490         "bp-asm.h".
22491         (PARMS): Do not use macros from bp-asm.h.
22492         (S): Likewise.
22493         (SIZE): Likewise.
22494         (__mpn_rshift): Do not use BP_SYM.
22495         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22496         "bp-asm.h".
22497         (PARMS): Do not use macros from bp-asm.h.
22498         (STR): Likewise.
22499         (CHR): Likewise.
22500         (strchr): Likewise.  Do not use BP_SYM.
22501         (index): Do not use BP_SYM in weak_alias.
22502         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22503         "bp-asm.h".
22504         (PARMS): Do not use macros from bp-asm.h.
22505         (DEST): Likewise.
22506         (SRC): Likewise.
22507         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22508         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22509         "bp-asm.h".
22510         (PARMS): Do not use macros from bp-asm.h.
22511         (strlen): Do not use BP_SYM.
22512         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22513         "bp-asm.h".
22514         (PARMS): Do not use macros from bp-asm.h.
22515         (S1): Likewise.
22516         (S2): Likewise.
22517         (SIZE): Likewise.
22518         (__mpn_sub_n): Do not use BP_SYM.
22519         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22520         "bp-asm.h".
22521         (PARMS): Do not use macros from bp-asm.h.
22522         (S1): Likewise.
22523         (SIZE): Likewise.
22524         (__mpn_submul_1): Do not use BP_SYM.
22525         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22526         "bp-asm.h".
22527         (PARMS): Do not use macros from bp-asm.h.
22528         (S1): Likewise.
22529         (S2): Likewise.
22530         (SIZE): Likewise.
22531         (__mpn_add_n): Do not use BP_SYM.
22532         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22533         weak_alias.
22534         (bzero): Likewise.
22535         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22536         "bp-asm.h".
22537         (PARMS): Do not use macros from bp-asm.h.
22538         (BLK2): Likewise.
22539         (LEN): Likewise.
22540         (memcmp): Do not use BP_SYM.
22541         (bcmp): Do not use BP_SYM in weak_alias.
22542         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22543         "bp-asm.h".
22544         (PARMS): Do not use macros from bp-asm.h.
22545         (DEST): Likewise.
22546         (SRC): Likewise.
22547         (LEN): Likewise.
22548         (memcpy): Likewise.  Do not use BP_SYM.
22549         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22550         "bp-asm.h".
22551         (PARMS): Do not use macros from bp-asm.h.
22552         (DEST): Likewise.
22553         (SRC): Likewise.
22554         (LEN): Likewise.
22555         (memmove): Likewise.  Do not use BP_SYM.
22556         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22557         "bp-asm.h".
22558         (PARMS): Do not use macros from bp-asm.h.
22559         (DEST): Likewise.
22560         (SRC): Likewise.
22561         (LEN): Likewise.
22562         (__mempcpy): Likewise.  Do not use BP_SYM.
22563         (mempcpy): Do not use BP_SYM in weak_alias.
22564         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22565         "bp-asm.h".
22566         (PARMS): Do not use macros from bp-asm.h.
22567         (DEST): Likewise.
22568         (LEN): Likewise.
22569         [!BZERO_P] (CHR): Likewise.
22570         (memset): Likewise.  Do not use BP_SYM.
22571         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22572         "bp-asm.h".
22573         (PARMS): Do not use macros from bp-asm.h.
22574         (STR2): Likewise.
22575         (strcmp): Do not use BP_SYM.
22576         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22577         "bp-asm.h".
22578         (PARMS): Do not use macros from bp-asm.h.
22579         (STR): Likewise.
22580         (DELIM): Likewise.
22581         [USE_AS_STRTOK_R] (SAVE): Likewise.
22582         (FUNCTION): Likewise.  Do not use BP_SYM.
22583         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22584         aliases.
22585         (strtok_r): Likewise.
22586         (__GI___strtok_r): Likewise.
22587         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22588         (PARMS): Do not use macros from bp-asm.h.
22589         (S): Likewise.
22590         (SIZE): Likewise.
22591         (__mpn_lshift): Do not use BP_SYM.
22592         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22593         (PARMS): Do not use macros from bp-asm.h.
22594         (STR): Likewise.
22595         (CHR): Likewise.
22596         (__memchr): Do not use BP_SYM.
22597         (memchr): Do not use BP_SYM in weak_alias.
22598         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22599         (PARMS): Do not use macros from bp-asm.h.
22600         (BLK2): Likewise.
22601         (LEN): Likewise.
22602         (memcmp): Do not use BP_SYM.
22603         (bcmp): Do not use BP_SYM in weak_alias.
22604         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22605         (PARMS): Do not use macros from bp-asm.h.
22606         (S1): Likewise.
22607         (SIZE): Likewise.
22608         (__mpn_mul_1): Do not use BP_SYM.
22609         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22610         "bp-asm.h".
22611         (PARMS): Do not use macros from bp-asm.h.
22612         (STR): Likewise.
22613         (CHR): Likewise.
22614         (__rawmemchr): Do not use BP_SYM.
22615         (rawmemchr): Do not use BP_SYM in weak_alias.
22616         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22617         (PARMS): Do not use macros from bp-asm.h.
22618         (S): Likewise.
22619         (SIZE): Likewise.
22620         (__mpn_rshift): Do not use BP_SYM.
22621         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22622         (PARMS): Do not use macros from bp-asm.h.
22623         (SIGMSK): Likewise.
22624         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22625         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22626         (_start): Do not use BP_SYM.
22627         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22628         (PARMS): Do not use macros from bp-asm.h.
22629         (DEST): Likewise.
22630         (SRC): Likewise.
22631         (__stpcpy): Likewise.  Do not use BP_SYM.
22632         (stpcpy): Do not use BP_SYM in weak_alias.
22633         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22634         "bp-asm.h".
22635         (PARMS): Do not use macros from bp-asm.h.
22636         (DEST): Likewise.
22637         (SRC): Likewise.
22638         (LEN): Likewise.
22639         (__stpncpy): Likewise.  Do not use BP_SYM.
22640         (stpncpy): Do not use BP_SYM in weak_alias.
22641         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22642         (PARMS): Do not use macros from bp-asm.h.
22643         (STR): Likewise.
22644         (CHR): Likewise.
22645         (strchr): Likewise.  Do not use BP_SYM.
22646         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22647         "bp-asm.h".
22648         (PARMS): Do not use macros from bp-asm.h.
22649         (STR): Likewise.
22650         (CHR): Likewise.
22651         (__strchrnul): Likewise.  Do not use BP_SYM.
22652         (strchrnul): Do not use BP_SYM in weak_alias.
22653         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22654         "bp-asm.h".
22655         (PARMS): Do not use macros from bp-asm.h.
22656         (STOP): Likewise.
22657         (strcspn): Do not use BP_SYM.
22658         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22659         "bp-asm.h".
22660         (PARMS): Do not use macros from bp-asm.h.
22661         (STR): Likewise.
22662         (STOP): Likewise.
22663         (strpbrk): Likewise.  Do not use BP_SYM.
22664         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22665         "bp-asm.h".
22666         (PARMS): Do not use macros from bp-asm.h.
22667         (STR): Likewise.
22668         (CHR): Likewise.
22669         (strrchr): Likewise.  Do not use BP_SYM.
22670         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22671         (PARMS): Do not use macros from bp-asm.h.
22672         (SKIP): Likewise.
22673         (strspn): Do not use BP_SYM.
22674         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22675         (PARMS): Do not use macros from bp-asm.h.
22676         (STR): Likewise.
22677         (DELIM): Likewise.
22678         (SAVE): Likewise.
22679         (FUNCTION): Likewise.  Do not use BP_SYM.
22680         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22681         aliases.
22682         (strtok_r): Likewise.
22683         (__GI___strtok_r): Likewise.
22684         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22685         (PARMS): Do not use macros from bp-asm.h.
22686         (S1): Likewise.
22687         (S2): Likewise.
22688         (SIZE): Likewise.
22689         (__mpn_sub_n): Do not use BP_SYM.
22690         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22691         "bp-asm.h".
22692         (PARMS): Do not use macros from bp-asm.h.
22693         (S1): Likewise.
22694         (SIZE): Likewise.
22695         (__mpn_submul_1): Do not use BP_SYM.
22696         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22697         <bp-sym.h>.
22698         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22699         and <bp-asm.h>.
22700         (PARMS): Do not use macros from bp-asm.h.
22701         (FLAGS): Likewise.
22702         (PTID): Likewise.
22703         (TLS): Likewise.
22704         (CTID): Likewise.
22705         (__clone): Do not use BP_SYM.
22706         (clone): Do not use BP_SYM in weak_alias.
22707         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22708         and <bp-asm.h>.
22709         (PARMS): Do not use macros from bp-asm.h.
22710         (LEN): Likewise.
22711         (__mmap64): Do not use BP_SYM.
22712         (mmap64): Do not use BP_SYM in weak_alias.
22713         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22714         <bp-sym.h> and <bp-asm.h>.
22715         (PARMS): Do not use macros from bp-asm.h.
22716         (__posix_fadvise64_l64): Do not use BP_SYM.
22717         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22718         (PARMS): Do not use macros from bp-asm.h.
22719         (NSOPS): Likewise.
22720         (semtimedop): Do not use BP_SYM.
22721         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22722         and <bp-asm.h>.
22724 2013-02-21  Allan McRae  <allan@archlinux.org>
22726         * manual/message.texi (Charset conversion in gettext):
22727         Move @end statement to beginning of line.
22729 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22731         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22732         static.
22733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22734         Likewise.
22736         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22737         (denorm): Likewise.
22738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22741 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22743         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22744         tail-call to the resolved function if pltexit isn't needed.
22746 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22749         or Y being zero as being unlikely.
22750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22751         Likewise.
22753 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22755         * manual/nss.texi (System Databases and Name Service Switch):
22756         Remove frobnicate @pxref.
22758 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22760         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22761         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22763 2013-02-20  Petr Machata  <pmachata@redhat.com>
22765         * elf/elf.h (R_ARM_TARGET1): New macro.
22766         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22767         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22768         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22769         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22770         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22771         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22772         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22773         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22774         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22775         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22776         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22777         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22778         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22779         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22780         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22781         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22782         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22783         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22784         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22785         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22786         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22787         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22788         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22789         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22790         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22791         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22792         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22793         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22794         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22795         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22796         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22797         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22798         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22799         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22800         (R_ARM_THM_GOT_BREL12): Likewise.
22801         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22802         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22803         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22804         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22805         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22806         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22807         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22808         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22809         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22811 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22813         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22814         __attribute_used__ to __attribute__ ((unused)).
22816 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22818         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22819         powerpc mpa.c.
22820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22821         comment formatting.
22822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22824 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22826         [BZ #13550]
22827         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22828         Remove macro.
22829         (ENTER): Remove both macro definitions.
22830         (LEAVE): Likewise.
22831         (CHECK_BOUNDS_LOW): Likewise.
22832         (CHECK_BOUNDS_HIGH): Likewise.
22833         (CHECK_BOUNDS_BOTH): Likewise.
22834         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22835         (RETURN_BOUNDED_POINTER): Likewise.
22836         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22837         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22838         (POP_ERRNO_LOCATION_RETURN): Likewise.
22839         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22840         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22841         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22842         macros.
22843         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22844         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22845         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22846         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22847         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22848         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22849         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22850         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22851         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22852         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22853         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22854         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22855         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22856         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22857         removed macros.
22858         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22859         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22860         macros.
22861         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22862         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22863         * sysdeps/i386/i586/memset.S (memset): Likewise.
22864         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22865         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22866         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22867         macros.
22868         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22869         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22870         Change uses of L(2) to L(out).
22871         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22872         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22873         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22874         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22875         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22876         removed macros.
22877         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22878         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22879         macros.
22880         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22881         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22882         (RETURN): Do not use macro LEAVE.
22883         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22884         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22885         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22886         * sysdeps/i386/i686/memset.S (memset): Likewise.
22887         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22888         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22889         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22890         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22891         Likewise.
22892         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22893         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22894         L(1_2) and L(1_3) into L(1).
22895         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22896         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22897         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22898         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22899         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22900         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22901         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22902         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22903         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22904         macros.
22905         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22906         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22907         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22908         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22909         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22910         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22911         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22912         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22913         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22914         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22915         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22916         * sysdeps/i386/strspn.S (strspn): Likewise.
22917         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22918         conditional code.
22919         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22920         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22921         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22922         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22923         L(1_3) into L(1_1).
22924         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22925         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22926         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22927         macros.
22928         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22930 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22932         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22933         macro.
22935 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22937         * math/atest-exp.c (exp_mpn): Remove ROUND.
22938         * math/atest-exp2.c (exp_mpn): Likewise.
22939         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22941         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22942         * stdlib/tst-tls-atexit-lib.c: Likewise.
22943         * stdlib/tst-tls-atexit.c: Likewise.
22945 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22947         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22948         and __attribute_alloc_size__.
22950 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22952         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22953         __attribute_alloc_size__.
22954         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22955         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22957 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22959         * include/programs/xmalloc.h: New file.
22960         * catgets/gencat.c: Include it.
22961         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22962         * elf/pldd.c: Likewise.
22963         * iconv/iconv_charmap.c: Likewise.
22964         * iconv/iconvconfig.c: Likewise.
22965         * iconv/strtab.c: Likewise.
22966         * locale/programs/locale.c: Likewise.
22967         * locale/programs/localedef.h: Likewise.
22968         * locale/programs/simple-hash.c: Likewise.
22969         * nscd/nscd.h: Likewise.
22970         * nss/makedb.c: Likewise.
22971         * sysdeps/generic/ldconfig.h: Likewise.
22973 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22975         * Versions.def: Add GLIBC_2.18.
22976         * include/link.h (struct link_map): New member l_tls_dtor_count.
22977         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22978         (__call_tls_dtors): Likewise.
22979         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22980         __cxa_thread_atexit_impl.
22981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22982         Likewise.
22983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22984         Likewise.
22985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22986         Likewise.
22987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22988         Likewise.
22989         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22991         Likewise.
22992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22993         Likewise.
22994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22996         Likewise.
22997         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22998         (tests): Add test case tst-tls-atexit.
22999         (modules-names): Add shared library for tst-tls-atexit.
23000         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23001         (GLIBC_PRIVATE): Add __call_tls_dtors.
23002         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23003         for libstdc++.
23004         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23005         * stdlib/tst-tls-atexit.c: New test case.
23006         * stdlib/tst-tls-atexit-lib.c: New test case.
23008         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23010         * elf/Versions (ld): Add _dl_find_dso_for_object.
23011         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23012         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23013         (dl_open_worker): Use _dl_find_dso_for_object.
23014         * elf/dl-sym.c (do_sym): Likewise.
23015         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23017 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23019         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23020         Syntactic changes only.
23021         (_dl_runtime_profile): Do a tail-call to the resolved function.
23023 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23025         [BZ #13550]
23026         * sysdeps/x86_64/bp-asm.h: Remove file.
23027         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23028         <bp-sym.h> and <bp-asm.h>.
23029         (__clone): Do not use BP_SYM.
23030         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23031         <bp-sym.h> and <bp-asm.h>.
23032         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23033         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23034         "bp-asm.h".
23035         (_setjmp): Do not use BP_SYM.
23036         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23037         "bp-asm.h".
23038         (setjmp): Do not use BP_SYM.
23039         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23040         libc_hidden_def.
23041         (mempcpy): Do not use BP_SYM in weak_alias.
23042         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23043         "bp-asm.h".
23044         (strchr): Do not use BP_SYM.
23045         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23046         "bp-asm.h".
23047         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23048         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23049         (_start): Do not use BP_SYM.
23050         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23051         "bp-asm.h".
23052         (strcat): Do not use BP_SYM.
23053         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23054         "bp-asm.h".
23055         (STRCMP): Do not use BP_SYM.
23056         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23057         "bp-asm.h".
23058         (STRCPY): Do not use BP_SYM.
23059         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23060         "bp-asm.h".
23061         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23062         "bp-asm.h".
23063         (FUNCTION): Do not use BP_SYM.
23064         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23065         weak_alias.
23066         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23068 2013-02-17  Andreas Jaeger  <aj@suse.de>
23070         * time/Versions: Sort entries.
23071         * string/Versions: Likewise.
23072         * resolv/Versions: Likewise.
23073         * posix/Versions: Likewise.
23074         * iconv/Versions: Likewise.
23075         * elf/Versions: Likewise.
23076         * wcsmbs/Versions: Likewise.
23078 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23080         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23081         loop termination condition.
23083         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23084         variable to calculate EZ.
23085         (__sqr): Likewise.
23087         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23088         the lower precision input.
23090 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23092         [BZ #13550]
23093         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23094         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23095         (run-via-rtld-prefix): Do not handle %-bp tests.
23096         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23097         (all-object-suffixes): Remove .ob.
23098         (bppfx): Remove variable.
23099         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23100         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23101         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23102         [$(build-bounded) = yes] (libtype.ob): Likewise.
23103         * Makerules (elide-routines.ob): Remove variable.
23104         (do-tests-clean): Do not handle *-bp.out.
23105         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23106         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23107         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23108         (tests): Do not include $(tests-bp.out).
23109         (xtests): Do not include $(xtests-bp.out).
23110         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23111         [$(build-bounded) = yes] ($(addprefix
23112         $(objpfx),$(binaries-bounded))): Remove rule.
23113         ($(objpfx)%-bp.out): Remove rule.
23114         * config.make.in (build-bounded): Remove variable.
23115         * crypt/Makefile [$(build-bounded) = yes]
23116         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23117         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23118         append to variable.
23119         [$(build-bounded) = yes] (install-lib): Likewise.
23120         [$(build-bounded) = yes] (generated): Likewise.
23121         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23122         Remove rule.
23123         * intl/Makefile [$(build-bounded) = yes]
23124         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23125         * math/Makefile [$(build-bounded) = yes]
23126         ($(tests:%=$(objpfx)%-bp): Likewise.
23127         * misc/Makefile [$(build-bounded) = yes]
23128         ($(objpfx)tst-tsearch-bp): Likewise.
23129         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23130         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23131         Remove dependency.
23132         * string/Makefile (o-objects.ob): Remove variable.
23133         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23134         (CFLAGS-.ob): Remove variable.
23135         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23136         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23137         both definitions of variable.
23138         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23139         (ASFLAGS-.ob): Remove variable.
23141 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23143         [BZ #13550]
23144         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23145         Remove __BOUNDED_POINTERS__ from condition.
23146         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23147         * string/bits/string2.h [!__NO_STRING_INLINES &&
23148         !__BOUNDED_POINTERS__]: Likewise.
23149         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23150         Likewise.
23151         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23152         Remove conditional code.
23153         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23154         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23155         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23156         condition.
23158         [BZ #13550]
23159         * csu/libc-start.c: Do not include <bp-sym.h>.
23160         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23161         * elf/dl-open.c: Do not include <bp-sym.h>.
23162         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23163         * math/fegetenv.c: Do not include <bp-sym.h>.
23164         (fegetenv): Do not use BP_SYM in versioned symbols.
23165         * nptl/sysdeps/pthread/bits/libc-lockP.h
23166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23167         <bp-sym.h>.
23168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23169         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23171         (__pthread_mutex_destroy): Likewise.
23172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23173         (__pthread_mutex_lock): Likewise.
23174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23175         (__pthread_mutex_trylock): Likewise.
23176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23177         (__pthread_mutex_unlock): Likewise.
23178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23179         (__pthread_mutexattr_init): Likewise.
23180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23181         (__pthread_mutexattr_destroy): Likewise.
23182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23183         (__pthread_mutexattr_settype): Likewise.
23184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23185         (__pthread_rwlock_init): Likewise.
23186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23187         (__pthread_rwlock_destroy): Likewise.
23188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23189         (__pthread_rwlock_rdlock): Likewise.
23190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23191         (__pthread_rwlock_tryrdlock): Likewise.
23192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23193         (__pthread_rwlock_wrlock): Likewise.
23194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23195         (__pthread_rwlock_trywrlock): Likewise.
23196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23197         (__pthread_rwlock_unlock): Likewise.
23198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23199         (__pthread_key_create): Likewise.
23200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23201         (__pthread_setspecific): Likewise.
23202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23203         (__pthread_getspecific): Likewise.
23204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23205         Likewise.
23206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23207         (_pthread_cleanup_push_defer): Likewise.
23208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23209         (_pthread_cleanup_pop_restore): Likewise.
23210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23211         (pthread_setcancelstate): Likewise.
23212         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23213         <bp-sym.h>.
23214         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23215         (memchr): Do not use BP_SYM in weak_alias.
23216         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23217         (fegetenv): Do not use BP_SYM in versioned symbols.
23218         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23219         (fesetenv): Do not use BP_SYM in versioned symbols.
23220         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23221         (feupdateenv): Do not use BP_SYM in versioned symbols.
23222         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23223         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23224         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23225         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23226         (open64): Do not use BP_SYM in weak_alias.
23227         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23228         (fegetenv): Do not use BP_SYM in versioned symbols.
23229         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23230         (fesetenv): Do not use BP_SYM in versioned symbols.
23231         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23232         (feupdateenv): Do not use BP_SYM in versioned symbols.
23233         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23234         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23235         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23236         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23237         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23238         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23239         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23240         <bp-sym.h>.
23241         (__libc_start_main): Do not use BP_SYM.
23243 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23246         redundant return line.
23247         (norm): Likewise.
23248         (denorm): Likewise.
23249         (dbl_mp): Likewise.
23250         (sub_magnitudes): Likewise.
23251         (__add): Likewise.
23252         (__sub): Likewise.
23253         (__mul): Likewise.
23254         (__inv): Likewise.
23255         (__dvd): Likewise.
23256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23257         (norm): Likewise.
23258         (denorm): Likewise.
23259         (dbl_mp): Likewise.
23260         (sub_magnitudes): Likewise.
23261         (__add): Likewise.
23262         (__sub): Likewise.
23263         (__mul): Likewise.
23264         (__inv): Likewise.
23265         (__dvd): Likewise.
23267         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23268         instead of __mul.
23269         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23270         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23271         (cc32): Likewise.
23273         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23274         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23275         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23276         of __mul for squares.
23277         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23278         function
23279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23280         Likewise.
23281         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23282         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23284 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23286         [BZ #13550]
23287         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23288         code.
23289         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23290         prototype or function definition.  Rename ubp_* variables and
23291         parameters.  Remove argv definitions conditional on
23292         [__BOUNDED_POINTERS__].
23293         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23294         * elf/dl-runtime.c (_dl_fixup): Likewise.
23295         * include/set-hooks.h (RUN_HOOK): Likewise.
23296         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23297         definition.
23298         * string/strcpy.c (strcpy): Do not use __unbounded.
23299         * sysdeps/generic/frame.h (struct layout): Likewise.
23300         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23301         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23302         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23303         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23304         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23305         (__backtrace): Likewise.
23306         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23307         use __ptrvalue.
23308         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23309         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23310         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23311         Likewise.
23312         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23313         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23314         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23315         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23316         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23317         Do not use __unbounded.
23318         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23319         Rename __unboundedrlimits parameter to rlimits in prototype.
23320         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23321         Do not use __unbounded.
23322         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23323         not use __ptrvalue.
23324         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23325         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23326         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23327         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23328         __ptrvalue or __unbounded.
23329         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23330         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23331         use __unbounded.
23332         (__new_msgctl): Do not use __ptrvalue.
23333         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23334         __unbounded.
23335         (__libc_msgrcv): Do not use __ptrvalue.
23336         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23337         startup_info): Do not use __unbounded.
23338         (__libc_start_main): Likewise.  Rename ubp_* variables and
23339         parameters.  Remove argv definitions conditional on
23340         [__BOUNDED_POINTERS__].
23341         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23342         __ptrvalue.
23343         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23344         use __unbounded.
23345         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23346         or __ptrvalue.
23347         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23348         use __unbounded.
23349         (__new_shmctl): Do not use __ptrvalue.
23350         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23351         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23352         Likewise.
23353         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23354         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23355         (__libc_sigaction): Likewise.
23356         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23357         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23358         Likewise.
23359         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23361 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23363         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23365         * string/mempcpy.c: Implement by calling memcpy.
23367 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23369         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23371         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23372         evaluation.
23374         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23375         values in the mantissa.
23377         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23378         minimize writes to Z.
23379         (sub_magnitudes): Simplify code a bit.
23381 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23383         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23384         from the message.  The linker prefixes all warnings with that already.
23386 2013-02-12  Andreas Schwab  <schwab@suse.de>
23388         [BZ #15078]
23389         * posix/regexec.c (extend_buffers): Add parameter min_len.
23390         (check_matching): Pass minimum needed length.
23391         (clean_state_log_if_needed): Likewise.
23392         (get_subexp): Likewise.
23393         * posix/Makefile (tests): Add bug-regex34.
23394         (bug-regex34-ENV): Define.
23395         * posix/bug-regex34.c: New file.
23397         [BZ #11561]
23398         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23399         elements compare against the byte sequence of it, not its name.
23400         * posix/Makefile (tests): Add bug-regex35.
23401         (bug-regex35-ENV): Define.
23402         * posix/bug-regex35.c: New file.
23404 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23406         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23407         comment.
23408         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23409         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23410         (CHECK_EOL): Add undef.
23412 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23414         * bits/stdlib-bsearch.h: New file.
23415         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23416         * stdlib/stdlib.h: Likewise.
23418 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23420         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23421         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23422         declaration.
23423         * manual/search.texi (Array Search Function): Add missing const in
23424         lfind prototype.
23425         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23426         declaration to use rlim_t.
23427         (Basic Scheduling Functions): Remove erroneous const from
23428         sched_getparam prototype.  Remove erroneous * from
23429         sched_get_priority_max and sched_get_priority_min prototypes.
23430         (Resource Usage): Fix summary @comment on vtimes to refer to
23431         sys/vtimes.h rather than vtimes.h.
23432         Add missing *s in vtimes prototype.
23433         (Limits on Resources): Fix ulimit prototype to return long int.
23434         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23435         prototypes to use long int rather than double.
23436         (BSD Random): Fix initstate and setstate to use char *, not void *.
23437         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23438         prototype to make second argument 'struct aiocb64 *const[]'.
23439         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23440         (Status of AIO Operations): Remove erroneous const in aio_return and
23441         aio_return64 prototypes.
23442         (Synchronizing I/O): Fix sync prototype to return void.
23443         * manual/startup.texi (Suboptions): Remove an erroneous const in
23444         getsubopt prototype.
23445         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23446         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23447         use size_t rather than int.
23448         (Scanning All Users): Likewise for getpwent_r.
23449         (Setting Groups): Add missing const to setgroups prototype.
23450         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23451         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23452         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23453         'const void *' rather than 'const char *'.
23454         (Host Address Functions): Likewise for inet_ntop.
23455         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23456         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23457         ssize_t for return value.
23458         (Sending Data): Likewise for send, sendto, sendmsg.
23459         (Socket Option Functions): Add a missing const in setsockopt prototype.
23460         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23461         use wchar_t for the argument.
23462         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23463         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23464         take no arguments.
23465         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23466         double/float/long double for second argument.
23467         Fix return types of significand, significandf, significandl.
23468         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23469         argument in fchmod prototype.
23470         (File Owner): Use uid_t and gid_t in fchown prototype.
23471         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23472         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23473         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23474         use 'const struct dirent **' as argument types to CMP function pointer
23475         argument.
23476         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23477         (File Times): Fix summary magic @comment for struct utimbuf and utime
23478         to refer to utime.h, not time.h.
23479         * manual/string.texi (Argz Functions): Add missing const in
23480         argz_extract and argz_next prototypes.
23481         (Finding Tokens in a String): Likewise for basename.
23482         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23483         (Copying and Concatenation): Fix typo in wmemmove prototype.
23484         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23485         (Signal Stack): Remove erroneous const in sigstack prototype.
23486         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23487         prototype.
23488         (Simple Calendar Time): Likewise for stime.
23489         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23490         prototype.
23491         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23492         say sys/sysctl.h instead.
23493         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23494         and vsyslog prototypes.
23496 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23498         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23499         Remove.
23501 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23503         * misc/sys/mman.h: Fix typo in mremap comment.
23505 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23507         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23508         the '\0' terminator.
23510 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23512         [BZ #13550]
23513         * debug/segfault.c: Don't include <bp-checks.h>.
23514         * sysdeps/generic/bp-checks.h: Remove file.
23515         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23516         (__GETDENTS): Don't use CHECK_N.
23517         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23518         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23519         (__getgroups): Don't use CHECK_N.
23520         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23521         (setgroups): Don't use CHECK_N.
23522         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23523         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23524         (__libc_msgrcv): Don't use CHECK_N.
23525         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23526         (__libc_msgsnd): Don't use CHECK_N.
23527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23528         <bp-checks.h>.
23529         (__libc_pread): Don't use CHECK_N.
23530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23531         include <bp-checks.h>.
23532         (__libc_pread64): Don't use CHECK_N.
23533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23534         include <bp-checks.h>.
23535         (__libc_pwrite): Don't use CHECK_N.
23536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23537         include <bp-checks.h>.
23538         (__libc_pwrite64): Don't use CHECK_N.
23539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23540         <bp-checks.h>.
23541         (__libc_pread): Don't use CHECK_N.
23542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23543         include <bp-checks.h>.
23544         (__libc_pread64): Don't use CHECK_N.
23545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23546         include <bp-checks.h>.
23547         (__libc_pwrite): Don't use CHECK_N.
23548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23549         include <bp-checks.h>.
23550         (__libc_pwrite64): Don't use CHECK_N.
23551         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23552         (do_pread): Don't use CHECK_N.
23553         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23554         (do_pread64): Don't use CHECK_N.
23555         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23556         (do_pwrite): Don't use CHECK_N.
23557         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23558         (do_pwrite64): Don't use CHECK_N.
23559         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23560         (__libc_readv): Don't use CHECK_N.
23561         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23562         (semop): Don't use CHECK_N.
23563         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23564         <bp-checks.h>.
23565         (semtimedop): Don't use CHECK_N.
23566         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23567         (__libc_pread): Don't use CHECK_N.
23568         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23569         <bp-checks.h>.
23570         (__libc_pread64): Don't use CHECK_N.
23571         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23572         <bp-checks.h>.
23573         (__libc_pwrite): Don't use CHECK_N.
23574         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23575         <bp-checks.h>.
23576         (__libc_pwrite64): Don't use CHECK_N.
23577         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23578         <bp-checks.h>.
23579         (__libc_msgrcv): Don't use CHECK_N.
23580         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23581         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23582         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23583         (__libc_writev): Don't use CHECK_N.
23585 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23587         * string/strcpy.c: Removed unused variable.
23589         * Makeconfig (+sysdep-includes): Define with := rather than =.
23590         Use an existing include/ subdir of each sysdeps dir before it.
23592 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23594         * nscd/connection.c (register_traced_file): Comment function.
23595         [HAVE_INOTIFY] (union __inev): Define.
23596         [HAVE_INOTIFY] (inotify_check_files): New function.
23597         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23598         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23599         clear_db_cache.
23600         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23602 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23604         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23605         loaded if not already and that a failure is permanent.
23607 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23609         [BZ #15006]
23610         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23611         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23613 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23615         [BZ #13550]
23616         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23617         (CHECK_1_NULL_OK): Likewise.
23618         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23619         (__fxstat): Do not use CHECK_1.
23620         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23621         <bp-checks.h>.
23622         (___fxstat64): Do not use CHECK_1.
23623         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23624         <bp-checks.h>.
23625         (__fxstatat): Do not use CHECK_1.
23626         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23627         <bp-checks.h>.
23628         (__fxstatat64): Do not use CHECK_1.
23629         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23630         <bp-checks.h>.
23631         (__fxstat): Do not use CHECK_1.
23632         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23633         <bp-checks.h>.
23634         (__fxstatat): Do not use CHECK_1.
23635         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23636         <bp-checks.h>.
23637         (__getresgid): Do not use CHECK_1.
23638         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23639         <bp-checks.h>.
23640         (__getresuid): Do not use CHECK_1.
23641         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23642         <bp-checks.h>.
23643         (__lxstat): Do not use CHECK_1.
23644         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23645         <bp-checks.h>.
23646         (__old_msgctl): Do not use CHECK_1.
23647         (__new_msgctl): Likewise.
23648         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23649         <bp-checks.h>.
23650         (__new_setrlimit): Do not use CHECK_1.
23651         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23652         <bp-checks.h>.
23653         (__old_shmctl): Do not use CHECK_1.
23654         (__new_shmctl): Likewise.
23655         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23656         <bp-checks.h>.
23657         (__xstat): Do not use CHECK_1.
23658         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23659         (__lxstat): Do not use CHECK_1.
23660         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23661         <bp-checks.h>.
23662         (___lxstat64): Do not use CHECK_1.
23663         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23664         (__old_msgctl): Do not use CHECK_1.
23665         (__new_msgctl): Likewise.
23666         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23667         <bp-checks.h>.
23668         (__gettimeofday): Do not use CHECK_1.
23669         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23670         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23671         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23672         <bp-checks.h>.
23673         (__gettimeofday): Do not use CHECK_1.
23674         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23675         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23676         (__new_shmctl): Do not use CHECK_1.
23677         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23678         <bp-checks.h>.
23679         (do_sigtimedwait): Do not use CHECK_1.
23680         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23681         <bp-checks.h>.
23682         (do_sigwaitinfo): Do not use CHECK_1.
23683         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23684         <bp-checks.h>.
23685         (msgctl): Do not use CHECK_1.
23686         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23687         <bp-checks.h>.
23688         (shmctl): Do not use CHECK_1.
23689         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23690         (ustat): Do not use CHECK_1.
23691         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23692         <bp-checks.h>.
23693         (__fxstat): Do not use CHECK_1.
23694         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23695         <bp-checks.h>.
23696         (__fxstatat): Do not use CHECK_1.
23697         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23698         <bp-checks.h>.
23699         (__lxstat): Do not use CHECK_1.
23700         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23701         <bp-checks.h>.
23702         (__xstat): Do not use CHECK_1.
23703         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23704         (__xstat): Do not use CHECK_1.
23705         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23706         (___xstat64): Do not use CHECK_1.
23708         [BZ #13550]
23709         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23710         definitions.
23711         (CHECK_BOUNDS_HIGH): Likewise.
23712         * string/strcpy.c: Do not include <bp-checks.h>.
23713         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23715 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23717         * nscd/nscd-client.h (__nscd_drop_map_ref):
23718         Add __attribute__ ((unused)).
23719         * nis/nss-nisplus.h (niserr2nss): Likewise.
23721         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23722         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23724         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23725         Remove inline keyword.
23726         * include/rounding-mode.h (round_away): Likewise.
23727         * libio/wfileops.c (adjust_wide_data): Likewise.
23728         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23729         (__m128i_strloadu_tolower): Likewise.
23730         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23731         (__m128i_strloadu_tolower): Likewise.
23732         * time/mktime.c (ydhms_diff): Likewise.
23733         * locale/elem-hash.h (elem_hash): Likewise.
23734         * locale/setlocale.c (setdata): Likewise.
23735         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23736         (re_string_wchar_at): Likewise.
23737         (bitset_not, bitset_merge, bitset_mask): Likewise.
23738         [!(__GNUC__ > 3)] (inline): Remove macro.
23739         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23740         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23741         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23742         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23743         * string/memcmp.c (memcmp_bytes): Likewise.
23744         * locale/programs/locarchive.c (compute_hashval): Likewise.
23745         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23746         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23747         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23748         * nss/getent.c (print_rpc, print_protocols): Likewise.
23749         (print_passwd, print_group, print_aliases): Likewise.
23750         * nis/nss-nisplus.h (niserr2nss): Likewise.
23751         * nscd/connections.c (restart_p): Likewise.
23752         Change return type to bool.
23754 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23756         * Makeconfig (all-Depend-files): Add existing
23757         $(sorted-subdirs:=/Depend) files.
23758         (all-subdirs): Remove nss.
23759         * sysdeps/unix/inet/Subdirs: Add it here instead.
23760         * hesiod/Depend: New file.
23762         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23763         instead of calling alloca.
23765         * io/lseek.c (__lseek): Rename to __libc_lseek.
23766         Define __lseek as an alias.
23768         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23770 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23772         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23773         else clause and remove check for non-standard endianness.
23775 2013-02-04  David S. Miller  <davem@davemloft.net>
23777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23779 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23781         [BZ #13550]
23782         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23783         (__ubp_memchr): Remove prototype.
23784         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23785         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23786         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23787         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23788         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23789         Remove alias.
23790         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23791         (__ubp_memchr): Likewise.
23792         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23793         (__ubp_memchr): Likewise.
23794         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23795         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23796         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23797         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23798         CHECK_STRING.
23799         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23800         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23801         (__getcwd): Do not use CHECK_STRING.
23802         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23803         <bp-checks.h>.
23804         (__real_chown): Do not use CHECK_STRING.
23805         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23806         <bp-checks.h>.
23807         (fchownat): Do not use CHECK_STRING.
23808         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23809         CHECK_STRING.
23810         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23811         <bp-checks.h>.
23812         (__lchown): Do not use CHECK_STRING.
23813         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23814         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23815         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23816         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23818         include <bp-checks.h>.
23819         (truncate64): Do not use CHECK_STRING.
23820         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23821         <bp-checks.h>.
23822         (__real_chown): Do not use CHECK_STRING.
23823         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23824         <bp-checks.h>.
23825         (__lchown): Do not use CHECK_STRING.
23826         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23827         <bp-checks.h>.
23828         (__chown): Do not use CHECK_STRING.
23829         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23830         <bp-checks.h>.
23831         (truncate64): Do not use CHECK_STRING.
23832         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23833         Likewise.
23834         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23835         (__xmknod): Do not use CHECK_STRING.
23836         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23837         <bp-checks.h>.
23838         (__xmknodat): Do not use CHECK_STRING.
23839         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23840         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23842 2013-02-04  Andreas Schwab  <schwab@suse.de>
23844         [BZ #14142]
23845         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23846         * include/netdb.h: Likewise for h_errno.
23847         * elf/tst-stackguard1.c: Include <tls.h>.
23849 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23851         * elf/link.h (struct link_map): Extend the l_addr comment.
23852         * include/link.h (struct link_map): Likewise.
23854 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23856         [BZ #13550]
23857         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23858         (BOUNDED_1): Remove macro.
23859         * debug/backtrace.c: Don't include <bp-checks.h>.
23860         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23861         (__backtrace): Likewise.
23862         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23863         <bp-checks.h>.
23864         (__backtrace): Don't use BOUNDED_1.
23865         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23866         <bp-checks.h>.
23867         (__backtrace): Don't use BOUNDED_1.
23868         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23869         (__backtrace): Don't use BOUNDED_1.
23870         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23871         (shmat): Don't use BOUNDED_N.
23873 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23875         [BZ #13550]
23876         * sysdeps/generic/bp-start.h: Remove file.
23877         * csu/libc-start.c: Don't include <bp-start.h>.
23878         (LIBC_START_MAIN): Set up __environ directly instead of using
23879         INIT_ARGV_and_ENVIRON.
23880         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23881         <bp-start.h>.
23883         [BZ #13550]
23884         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23885         definitions.
23886         (CHECK_FCNTL): Likewise.
23887         (CHECK_N_PAGES): Likewise.
23889         [BZ #13550]
23890         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23891         definitions.
23892         (CHECK_SIGSET_NULL_OK): Likewise.
23893         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23894         <bp-checks.h>.
23895         (sigpending): Don't use CHECK_SIGSET.
23896         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23897         <bp-checks.h>.
23898         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23899         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23900         <bp-checks.h>.
23901         (do_sigsuspend): Don't use CHECK_SIGSET.
23902         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23903         use CHECK_SIGSET.
23904         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23905         (do_sigwait): Don't use CHECK_SIGSET.
23906         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23907         use CHECK_SIGSET.
23908         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23909         include <bp-checks.h>.
23910         (sigpending): Don't use CHECK_SIGSET.
23911         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23912         include <bp-checks.h>.
23913         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23914         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23915         <bp-checks.h>.
23916         (sigpending): Don't use CHECK_SIGSET.
23917         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23918         <bp-checks.h>.
23919         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23921         [BZ #13550]
23922         * sysdeps/generic/bp-semctl.h: Remove file.
23923         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23924         <bp-checks.h> and <bp-semctl.h>.
23925         (__old_semctl): Don't use CHECK_SEMCTL.
23926         (__new_semctl): Likewise.
23927         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23928         and <bp-semctl.h>.
23929         (__old_semctl): Don't use CHECK_SEMCTL.
23930         (__new_semctl): Likewise.
23931         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23932         <bp-checks.h> and <bp-semctl.h>.
23933         (__old_semctl): Don't use CHECK_SEMCTL.
23934         (__new_semctl): Likewise.
23935         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23936         <bp-checks.h> and <bp-semctl.h>.
23937         (semctl): Don't use CHECK_SEMCTL.
23939         [BZ #13550]
23940         * Makerules (elide-bp-thunks): Remove variable.
23941         (elide-routines.oS): Don't use $(elide-bp-thunks).
23942         (elide-routines.os): Likewise.
23943         (elide-routines.o): Likewise.
23944         (elide-routines.op): Likewise.
23945         (elide-routines.og): Likewise.
23946         (objects): Don't use $(bp-thunks).
23947         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23948         include.
23949         (common-generated): Do not add s-proto-bp.d.
23950         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23951         (int): Likewise.
23952         (typ): Likewise.
23953         Do not generate makefile rules for bounded-pointer thunks.
23954         * sysdeps/generic/bp-thunks.h: Remove file.
23955         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23956         * sysdeps/unix/s-proto-bp.S: Likewise.
23958         [BZ #15062]
23959         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23960         parts of result separately when argument is not close to line from
23961         -i to i and one part of argument is small.
23962         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23963         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23964         * math/libm-test.inc (cacos_test): Add more tests.
23965         (casin_test): Likewise.
23966         (casinh_test): Likewise.
23967         * sysdeps/i386/fpu/libm-test-ulps: Update.
23968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23970 2013-01-31  David S. Miller  <davem@davemloft.net>
23972         * po/de.po: Update from translation team.
23974 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23976         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23978 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23980         * configure.in (_AC_PROG_CC_C89): New definition.
23981         * configure: Regenerate.
23983         * configure.in (AC_PROG_CPP): New definition.
23984         * configure: Regenerate.
23986 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23988         * debug/tst-backtrace.h: New file.
23989         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23990         (ret): Remove variable.
23991         (x): Likewise.
23992         (FAIL): Remove macro.
23993         (NO_INLINE): Likewise.
23994         (fn1): Use match function instead of strstr.
23995         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23996         (ret): Remove variable.
23997         (x): Likewise.
23998         (FAIL): Remove macro.
23999         (NO_INLINE): Likewise.
24000         (fn): Use match function instead of strstr.
24001         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24002         (ret): Remove variable.
24003         (x): Likewise.
24004         (FAIL): Remove macro.
24005         (NO_INLINE): Likewise.
24006         (handle_signal): Use match function instead of strstr.
24007         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24008         (ret): Remove variable.
24009         (x): Likewise.
24010         (FAIL): Remove macro.
24011         (NO_INLINE): Likewise.
24012         (handle_signal): Use match function instead of strstr.
24014 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24016         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24018 2013-01-23  David S. Miller  <davem@davemloft.net>
24020         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24021         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24022         argument of CAS if possible.
24023         * sysdeps/sparc/sparc64/bits/atomic.h
24024         (__arch_compare_and_exchange_val_32_acq): Likewise.
24025         (__arch_compare_and_exchange_val_64_acq): Likewise.
24027 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24029         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24030         * sysdeps/posix/ulimit.c: ... this.
24031         Include <limits.h>.
24032         * sysdeps/unix/bsd/ulimit.c: Remove file.
24034 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24036         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24037         (LDFLAGS-tst-array5): Likewise.
24039 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24041         [BZ #15036]
24042         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24043         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24044         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24045         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24047 2013-01-21  David S. Miller  <davem@davemloft.net>
24049         * sysdeps/sparc/backtrace.c: New file.
24050         * sysdeps/sparc/sparc32/backtrace.h: New file.
24051         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24052         * sysdeps/sparc/sparc64/backtrace.h: New file.
24053         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24054         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24055         -funwind-tables.
24057 2013-01-21  Andreas Schwab  <schwab@suse.de>
24059         [BZ #15020]
24060         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24061         closed its stdout.
24063 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24066         "mpa2.h".
24067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24069 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24070             Mark Mitchell  <mark@codesourcery.com>
24071             Tom de Vries  <tom@codesourcery.com>
24072             Paul Pluzhnikov  <ppluzhnikov@google.com>
24074         * debug/tst-backtrace2.c: New file.
24075         * debug/tst-backtrace3.c: Likewise.
24076         * debug/tst-backtrace4.c: Likewise.
24077         * debug/tst-backtrace5.c: Likewise.
24078         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24079         (CFLAGS-tst-backtrace3.c): Likewise.
24080         (CFLAGS-tst-backtrace4.c): Likewise.
24081         (CFLAGS-tst-backtrace5.c): Likewise.
24082         (LDFLAGS-tst-backtrace2): Likewise.
24083         (LDFLAGS-tst-backtrace3): Likewise.
24084         (LDFLAGS-tst-backtrace4): Likewise.
24085         (LDFLAGS-tst-backtrace5): Likewise.
24086         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24087         tst-backtrace4 and tst-backtrace5.
24089 2013-01-18  Anton Blanchard  <anton@samba.org>
24090             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24092         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24093         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24094         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24095         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24097         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24098         "+r" and remove output regs list as redundant.  Add explicit inline
24099         asm to specify register of return val to work around compiler codegen
24100         bug.  Remove (int) cast on return value.  Add return type parameter to
24101         use in macro so that this macro does not truncate return value for
24102         64-bit values.
24103         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24104         pass to INTERNAL_VSYSCALL_NCS.
24105         (INLINE_VSYSCALL): Add 'long int' as return type to
24106         INTERNAL_VSYSCALL_NCS macro invocation.
24107         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24108         INTERNAL_VSYSCALL_NCS macro invocation.
24109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24111 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24113         [BZ #14496]
24114         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24115         Fix application of SIMD FP exception mask.
24117         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24118         mp_no from a power of two.
24119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24120         __mpexp_twomm1.  Use __pow_mp.
24122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24123         multiplication.
24125 2013-01-17  David S. Miller  <davem@davemloft.net>
24127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24129 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24131         [BZ #15023]
24132         * include/complex.h: Condition contents on [!_COMPLEX_H].
24133         (__kernel_casinhf): New prototype.
24134         (__kernel_casinh): Likewise.
24135         (__kernel_casinhl): Likewise.
24136         * math/Makefile (libm_calls): Add k_casinh.
24137         * math/k_casinh.c: New file.
24138         * math/k_casinhf.c: Likewise.
24139         * math/k_casinhl.c: Likewise.
24140         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24141         finite nonzero arguments.
24142         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24143         finite nonzero arguments.
24144         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24145         finite nonzero arguments.
24146         * math/s_casinh.c: Do not include <float.h>.
24147         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24148         * math/s_casinhf.c: Do not include <float.h>.
24149         (__casinhf): Move code for finite nonzero arguments to
24150         k_casinhf.c.
24151         * math/s_casinhl.c: Do not include <float.h>.
24152         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24153         redefine.
24154         (__casinhl): Move code for finite nonzero arguments to
24155         k_casinhl.c.
24156         * math/libm-test.inc (cacos_test): Add more tests.
24157         * sysdeps/i386/fpu/libm-test-ulps: Update.
24158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24160 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24162         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24163         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24164         [!HAVE_MREMAP]: Remove [defined linux] case.
24165         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24167 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24169         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24171 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24173         * elf/elf.h (R_386_SIZE32): New relocation.
24174         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24175         R_386_SIZE32.
24176         (elf_machine_rela): Likewise.
24177         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24178         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24180 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24182         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24183         (FP_FAST_FMA): Do not define.
24184         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24185         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24186         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24187         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24188         !_SOFT_FLOAT]: Likewise.
24189         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24190         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24191         value.
24192         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24193         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24194         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24195         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24196         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24197         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24198         file.
24200 2013-01-16  Andreas Schwab  <schwab@suse.de>
24202         [BZ #14327]
24203         * include/stdlib.h (__mktemp): Add declaration.
24204         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24205         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24207 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24209         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24210         definitions.
24211         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24212         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24213         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24214         definitions here.
24215         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24216         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24217         definitions.
24218         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24219         and ONE.
24220         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24221         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24222         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24223         definitions.
24224         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24225         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24226         definitions.
24227         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24229         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24231 2013-01-15  David S. Miller  <davem@davemloft.net>
24233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24234         trunc{,f} to libm-sysdep_routes.
24235         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24237         file.
24238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24240         file.
24241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24242         file.
24243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24245         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24246         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24247         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24248         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24249         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24250         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24253         nearbyint{,f} to libm-sysdep_routes.
24254         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24256         New file.
24257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24258         file.
24259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24260         New file.
24261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24262         file.
24263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24265         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24266         file.
24267         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24268         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24269         file.
24270         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24271         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24272         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24274         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24275         libc_feholdexcept and libc_fesetenv.
24277 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24279         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24281 2013-01-14  David S. Miller  <davem@davemloft.net>
24283         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24284         (SPARC_ASM_VIS2_IFUNC): Likewise.
24285         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24287         use of 'siam' instruction.
24288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24289         Likewise.
24290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24291         Likewise.
24292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24293         Likewise.
24294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24299         file.
24300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24301         file.
24302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24303         file.
24304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24305         file.
24306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24311         new VIS2 routines.
24312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24315         Likewise.
24316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24318         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24319         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24321         routines to libm-sysdep_routines.
24322         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24325         fdim/fdimf to libm-sysdep_routines.
24326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24327         file.
24328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24330         file.
24331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24334         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24335         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24336         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24337         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24339 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24341         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24342         to optimize copies.
24344         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24349         local variable MPTWO.
24350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24351         Likewise.
24353 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24355         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24356         GLOB_NOESCAPE.
24358 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24360         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24362 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24364         * manual/pattern.texi (glob_t): Document gl_flags.
24365         (glob64_t): Likewise.
24367 2013-01-11  David S. Miller  <davem@davemloft.net>
24369         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24370         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24371         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24372         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24373         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24374         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24375         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24376         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24377         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24378         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24379         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24380         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24381         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24383         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24384         sparc V9 rather than using V8 code.
24385         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24386         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24388         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24389         Move to...
24390         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24391         Here.
24393 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24395         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24396         not in the main loop.
24397         * configure: Regenerated.
24399 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24401         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24402         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24403         to just #else.
24404         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24405         [!__GLIBC_HAVE_LONG_LONG] case.
24406         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24407         condition to just #else.
24408         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24409         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24410         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24411         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24412         unconditional.
24413         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24414         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24415         #elif condition to just #else.
24416         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24417         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24418         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24419         #elif condition to just #else.
24421 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24423         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24424         (EF_MIPS_ARCH_64): Fix value.
24425         (EF_MIPS_ARCH_32R2): New.
24426         (EF_MIPS_ARCH_64R2): New.
24428 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24430         * Makeconfig (+link-pie-before-libc): New.
24431         (+link-pie-after-libc): Likewise.
24432         (+link-pie-tests): Likewise.
24433         (+link-pie): Rewritten.
24434         (link-before-libc): Remove $(config-LDFLAGS).
24435         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24436         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24437         (config-LDFLAGS): Renamed to ...
24438         (rtld-LDFLAGS): This.
24439         (rtld-tests-LDFLAGS): New macro.
24440         (link-libc-rpath-link): Likewise.
24441         (link-libc-tests-rpath-link): Likewise.
24442         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24443         (link-libc): Prepand $(link-libc-rpath-link).
24444         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24445         (test-program-prefix): New macro.
24446         (test-via-rtld-prefix): Likewise.
24447         (test-program-cmd): Likewise.
24448         (host-test-program-cmd): Likewise.
24449         * Makefile ($(common-objpfx)testrun.sh): Replace
24450         $(run-program-prefix) with $(test-program-prefix).
24451         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24452         $(rtld-LDFLAGS).
24453         ($(common-objpfx)shlib.lds): Likewise.
24454         (build-module-helper): Likewise.
24455         ($(common-objpfx)format.lds): Likewise.
24456         * Rules (binaries-pie-tests): New.
24457         (binaries-pie-notests): Likewise.
24458         (binaries-pie): Rewritten.
24459         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24460         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24461         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24462         (make-test-out): Replace $(host-built-program-cmd) with
24463         $(host-test-program-cmd).
24464         * config.make.in (build-hardcoded-path-in-tests): New variable.
24465         * configure.in (--enable-hardcoded-path-in-tests): New configure
24466         option.
24467         (hardcoded_path_in_tests): New AC_SUBST.
24468         * configure: Regenerated.
24469         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24470         $(built-program-cmd) with $(test-program-cmd).
24471         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24472         (test_program_cmd): This.
24473         * elf/Makefile ($(objpfx)order.out): Run test with
24474         $(test-program-prefix).
24475         ($(objpfx)order2.out): Likewise.
24476         ($(objpfx)tst-initorder.out): Likewise.
24477         ($(objpfx)tst-initorder2.out): Likewise.
24478         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24479         $(test-program-cmd).
24480         ($(objpfx)tst-array1-static.out): Likewise.
24481         ($(objpfx)tst-array2.out): Likewise.
24482         ($(objpfx)tst-array3.out): Likewise.
24483         ($(objpfx)tst-array4.out): Likewise.
24484         ($(objpfx)tst-array5.out): Likewise.
24485         ($(objpfx)tst-array5-static.out): Likewise.
24486         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24487         $(test-program-cmd).
24488         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24489         $(run-program-prefix) with $(test-program-prefix).
24490         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24491         (test_program_prefix): This.
24492         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24493         $(run-program-prefix) with $(test-program-prefix).
24494         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24495         (test_program_prefix): This.
24496         * iconvdata/tst-tables.sh: Likewise.
24497         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24498         $(run-program-prefix) with $(test-program-prefix).
24499         ($(objpfx)tst-translit.out): Likewise.
24500         ($(objpfx)tst-gettext2.out): Likewise.
24501         ($(objpfx)tst-gettext4.out): Likewise.
24502         ($(objpfx)tst-gettext6.out): Likewise.
24503         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24504         (test_program_prefix): This.
24505         * intl/tst-gettext2.sh: Likewise.
24506         * intl/tst-gettext4.sh  Likewise.
24507         * intl/tst-gettext6.sh: Likewise.
24508         * intl/tst-translit.sh: Likewise.
24509         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24510         with $(test-program-cmd).
24511         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24512         $(run-program-prefix) with $(test-program-prefix).
24513         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24514         (test_program_prefix): This.
24515         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24516         $(run-program-prefix) with $(test-program-prefix).
24517         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24518         (test_program_prefix): This.
24519         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24520         * posix/Makefile ($(objpfx)globtest.out): Replace
24521         $(run-via-rtld-prefix) and $(test-wrapper) with
24522         $(test-program-prefix) and $(test-via-rtld-prefix).
24523         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24524         $(test-program-prefix).
24525         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24526         $(host-test-program-cmd).
24527         (tst-spawn-ARGS): Likewise.
24528         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24529         $(test-program-prefix).
24530         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24531         (test_via_rtld_prefix): This.
24532         (test_wrapper): Renamed to ...
24533         (test_program_prefix): This.
24534         (run_program_prefix): Replaced by test_program_prefix.
24535         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24536         (test_program_prefix): This.
24537         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24538         with $(host-test-program-cmd).
24539         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24540         $(run-program-prefix) with $(test-program-prefix).
24541         ($(objpfx)tst-printf.out): Likewise.
24542         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24543         $(test-program-cmd).
24544         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24545         (test_program_prefix): This.
24546         * stdio-common/tst-unbputc.sh: Likewise.
24547         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24548         $(run-program-prefix) with $(test-program-prefix).
24549         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24550         (test_program_prefix): This.
24551         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24552         $(built-program-cmd) with $(test-program-cmd).
24554 2013-01-11  Andreas Jaeger  <aj@suse.de>
24556         [BZ #15003]
24557         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24558         value. Sync with Linux 3.7.
24560 2013-01-10  David S. Miller  <davem@davemloft.net>
24562         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24563         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24564         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24566 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24568         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24569         never set.
24570         * configure: Regenerated.
24572 2013-01-10  David S. Miller  <davem@davemloft.net>
24574         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24575         sparc V9 rather than using V8 code.
24576         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24577         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24579 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24581         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24582         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24583         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24584         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24585         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24586         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24587         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24588         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24589         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24590         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24591         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24592         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24593         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24594         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24595         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24596         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24597         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24598         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24599         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24600         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24601         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24602         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24603         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24604         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24605         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24606         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24607         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24609 2013-01-10  David S. Miller  <davem@davemloft.net>
24611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24613 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24615         * posix/Makefile (tests-static): New variable.
24616         (tests): Add $(tests-static).
24617         (tst-exec-static-ARGS): New variable.
24618         (tst-spawn-static-ARGS): Likewise.
24619         * posix/tst-exec-static.c: New file.
24620         * posix/tst-spawn-static.c: Likewise.
24621         * posix/tst-exec.c: Support run directly.
24622         * posix/tst-spawn.c: Likewise.
24624 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24626         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24627         long.
24628         * math/bits/mathcalls.h (llrint): Likewise.
24629         (llround): Likewise.
24630         * stdlib/stdlib.h (struct drand48_data): Likewise.
24631         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24632         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24633         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24634         Likewise.
24635         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24636         Likewise.
24637         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24638         (elf_greg_t): Likewise.
24639         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24640         (__jmp_buf): Likewise.
24641         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24642         definitions.
24643         (llrint): Likewise, for all definitions.
24644         (llrintl): Likewise.
24646         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24647         Remove [__GNUC__] condition.
24648         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24649         condition to just [__USE_ISOC99].
24650         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24652 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24654         [BZ #14200]
24655         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24656         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24657         defined.
24658         (_POSIX_V6_ILP32_OFF32): Likewise.
24659         (_XBS5_ILP32_OFF32): Likewise.
24660         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24661         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24663 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24665         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24668         doubles __mpexp_twomm1.  Adjust usage.
24669         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24670         Remove.
24672 2013-01-10  Andreas Schwab  <schwab@suse.de>
24674         [BZ #14964]
24675         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24676         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24678 2013-01-09  David S. Miller  <davem@davemloft.net>
24680         [BZ #15003]
24681         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24682         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24683         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24684         (TCP_FASTOPEN): Define.
24685         (tcp_repair_opt): New structure.
24686         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24687         enum values.
24688         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24689         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24690         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24691         (tcp_cookie_transactions): New structure.
24693 2013-01-09  Anton Blanchard  <anton@samba.org>
24695         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24696         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24697         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24698         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24700 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24702         * include/features.h (__USE_ANSI): Remove.
24704 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24706         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24708         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24710 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24712         * sysdeps/s390/fpu/libm-test-ulps: Update.
24714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24716         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24717         (__acr): Likewise.
24718         (__cpy): Likewise.
24719         (norm): Likewise.
24720         (denorm): Likewise.
24721         (__mp_dbl): Likewise.
24722         (__dbl_mp): Likewise.
24723         (add_magnitudes): Likewise.
24724         (sub_magnitudes): Likewise.
24725         (__add): Likewise.
24726         (__sub): Likewise.
24727         (__mul): Likewise.
24728         (__inv): Likewise.
24729         (__dvd): Likewise.
24730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24731         (__acr): Likewise.
24732         (__cpy): Likewise.
24733         (norm): Likewise.
24734         (denorm): Likewise.
24735         (__mp_dbl): Likewise.
24736         (__dbl_mp): Likewise.
24737         (add_magnitudes): Likewise.
24738         (sub_magnitudes): Likewise.
24739         (__add): Likewise.
24740         (__sub): Likewise.
24741         (__mul): Likewise.
24742         (__inv): Likewise.
24743         (__dvd): Likewise.
24744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24745         (__acr): Likewise.
24746         (__cpy): Likewise.
24747         (norm): Likewise.
24748         (denorm): Likewise.
24749         (__mp_dbl): Likewise.
24750         (__dbl_mp): Likewise.
24751         (add_magnitudes): Likewise.
24752         (sub_magnitudes): Likewise.
24753         (__add): Likewise.
24754         (__sub): Likewise.
24755         (__mul): Likewise.
24756         (__inv): Likewise.
24757         (__dvd): Likewise.
24759 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24761         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24762         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24763         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24764         2 && __USE_EXTERN_INLINES]: Likewise.
24766 2013-01-08  Andreas Jaeger  <aj@suse.de>
24768         [BZ# 14985]
24769         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24770         Remove.
24771         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24772         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24774 2013-01-07  Anton Blanchard  <anton@samba.org>
24776         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24777         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24778         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24779         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24780         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24781         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24782         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24783         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24785         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24786         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24787         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24788         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24789         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24790         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24791         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24792         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24793         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24794         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24795         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24796         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24797         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24798         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24799         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24800         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24801         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24802         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24803         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24804         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24805         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24806         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24808         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24809         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24810         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24811         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24812         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24813         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24814         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24815         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24816         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24817         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24818         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24820 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24822         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24823         (__MALLOC_PMT): Likewise.
24824         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24825         [__GNUC__], only on [_LIBC].
24826         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24827         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24828         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24829         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24830         forward declaration.
24831         (realloc_hook_ini): Likewise.
24832         (memalign_hook_ini): Likewise.
24833         (__libc_memalign): Do not use __MALLOC_PMT in variable
24834         declaration.
24835         (__libc_valloc): Likewise.
24836         (__libc_pvalloc): Likewise.
24837         (__libc_calloc): Likewise.
24838         (__posix_memalign): Likewise.
24840         [BZ #14996]
24841         * math/s_casinh.c: Include <float.h>.
24842         (__casinh): Do not do computation with squaring and square root
24843         for large arguments.
24844         * math/s_casinhf.c: Include <float.h>.
24845         (__casinhf): Do not do computation with squaring and square root
24846         for large arguments.
24847         * math/s_casinhl.c: Include <float.h>.
24848         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24849         (__casinhl): Do not do computation with squaring and square root
24850         for large arguments.
24851         * math/libm-test.inc (casin_test): Add more tests.
24852         (casinh_test): Likewise.
24853         * sysdeps/i386/fpu/libm-test-ulps: Update.
24854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24856 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24858         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24859         (__x86_64_raw_data_cache_size): Likewise.
24860         (__x86_64_data_cache_size_half): Likewise.
24861         (__x86_64_raw_data_cache_size_half): Likewise.
24862         (__x86_64_shared_cache_size): Likewise.
24863         (__x86_64_raw_shared_cache_size): Likewise.
24864         (__x86_64_shared_cache_size_half): Likewise.
24865         (__x86_64_raw_shared_cache_size_half): Likewise.
24866         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24867         to ...
24868         (__x86_data_cache_size): This.
24869         (__x86_64_raw_data_cache_size): Renamed to ...
24870         (__x86_raw_data_cache_size): This.
24871         (__x86_64_data_cache_size_half): Renamed to ...
24872         (__x86_data_cache_size_half): This.
24873         (__x86_64_raw_data_cache_size_half): Renamed to ...
24874         (__x86_raw_data_cache_size_half): This.
24875         (__x86_64_shared_cache_size): Renamed to ...
24876         (__x86_shared_cache_size): This.
24877         (__x86_64_raw_shared_cache_size): Renamed to ...
24878         (__x86_raw_shared_cache_size): This.
24879         (__x86_64_shared_cache_size_half): Renamed to ...
24880         (__x86_shared_cache_size_half): This.
24881         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24882         (__x86_raw_shared_cache_size_half): This.
24883         * sysdeps/x86_64/memcpy.S: Updated.
24884         * sysdeps/x86_64/memset.S: Likewise.
24885         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24886         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24887         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24889 2013-01-04  David S. Miller  <davem@davemloft.net>
24891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24893 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24895         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24896         1 to avoid redefinition warning.
24897         (__USE_GNU): Don't define.
24898         (init_signaling_nan): Protoize.
24900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24902 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24904         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24906         (__cpymn): Likewise.
24907         (norm): Remove commented code.
24908         (denorm): Likewise.
24909         (__mp_dbl): Likewise.
24910         (__inv): Likewise.
24911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24912         (__cpymn): Likewise.
24913         (norm): Remove commented code.
24914         (denorm): Likewise.
24915         (__mp_dbl): Likewise.
24916         (__inv): Likewise.
24918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24919         mp_no value for 1.0 and 2.0.
24920         (norm): Use RADIXI instead of radixi.d.
24921         (denorm): Likewise.
24922         (__mul): Use 0.0 instead of zero.d.
24923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24924         mp_no value for 1.0 and 2.0.
24925         (norm): Use RADIXI instead of radixi.d.
24926         (denorm): Likewise.
24927         (__mul): Use 0.0 instead of zero.d.
24929 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24931         [BZ #14994]
24932         * math/s_casinh.c (__casinh): Reduce finite argument to first
24933         quadrant then set signs of results at the end.
24934         * math/s_casinhf.c (__casinhf): Likewise.
24935         * math/s_casinhl.c (__casinhl): Likewise.
24936         * math/libm-test.inc (casin_test): Add more tests.
24937         (casinh_test): Likewise.
24938         * sysdeps/i386/fpu/libm-test-ulps: Update.
24939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24941 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24943         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24945         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24947         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24948         declarations.
24949         (denorm): Likewise.
24950         (__mp_dbl): Likewise.
24951         (__inv): Likewise.
24953         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24954         and adjust the header comment.
24956         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24957         variable name from declaration.
24959 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24962         Initialize COMMON_CPUID_INDEX_7 element.
24963         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24964         (CPUID_RTM): Likewise.
24965         (HAS_RTM): Likewise.
24966         (COMMON_CPUID_INDEX_7): New enum.
24968 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24970         [BZ #14981]
24971         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24972         size is zero, record memory as freed.
24974 2013-01-03  Andreas Jaeger  <aj@suse.de>
24976         * po/ia.po: Add new Interlingua translation.
24978 2012-01-03  Allan McRae  <allan@archlinux.org>
24980         * locale/programs/localedef.c: Fix description of '--posix' flag.
24982 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24984         * NEWS: Update dates in second copyright notice.
24985         * README: Update copyright dates in example.
24986         * manual/libc.texinfo: Update copyright dates.
24987         * scripts/test-installation.pl: Update copyright date in --version
24988         output.
24990         * hurd/ctty-input.c: Fix copyright notice formatting.
24991         * hurd/ctty-output.c: Likewise.
24992         * hurd/dtable.c: Likewise.
24993         * hurd/hurd-raise.c: Likewise.
24994         * hurd/hurdprio.c: Likewise.
24995         * hurd/msgportdemux.c: Likewise.
24996         * misc/sys/file.h: Likewise.
24997         * misc/sys/ioctl.h: Likewise.
24998         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24999         * sysdeps/mach/hurd/chdir.c: Likewise.
25000         * sysdeps/mach/hurd/fchdir.c: Likewise.
25001         * sysdeps/mach/hurd/rename.c: Likewise.
25002         * sysdeps/mach/hurd/rmdir.c: Likewise.
25003         * sysdeps/mach/hurd/seekdir.c: Likewise.
25004         * sysdeps/mach/hurd/setsid.c: Likewise.
25005         * sysdeps/posix/wait3.c: Likewise.
25007         * All files with FSF copyright notices: Update copyright dates
25008         using scripts/update-copyrights.
25009         * intl/plural.c: Regenerated.
25010         * locale/programs/charmap-kw.h: Likewise.
25011         * locale/programs/locfile-kw.h: Likewise.
25013 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25015         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25016         four values.
25018         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25019         calculation loop and add branch prediction.
25021         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25022         check access beyond bounds of m1np.
25024         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25025         MPTWO.
25026         (__inv): Remove local variable MPTWO to use the global
25027         constant.
25028         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25029         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25030         variable MPTWO.
25031         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25032         MP3HALFS static const.
25034 2013-01-01  David S. Miller  <davem@davemloft.net>
25036         * po/ca.po: Update from translation team.
25038 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25040         * scripts/update-copyrights: New file.
25041         * Makeconfig: Reformat copyright notice.
25042         * ctype/ctype.h: Likewise.
25043         * debug/swprintf_chk.c: Likewise.
25044         * elf/dl-cache.c: Likewise.
25045         * elf/dl-debug.c: Likewise.
25046         * elf/dl-object.c: Likewise.
25047         * grp/initgroups.c: Likewise.
25048         * hurd/Makefile: Likewise.
25049         * hurd/hurd/signal.h: Likewise.
25050         * hurd/hurdfault.c: Likewise.
25051         * hurd/hurdioctl.c: Likewise.
25052         * hurd/hurdlookup.c: Likewise.
25053         * hurd/intr-msg.c: Likewise.
25054         * iconv/gconv_open.c: Likewise.
25055         * libio/swprintf.c: Likewise.
25056         * locale/lc-ctype.c: Likewise.
25057         * locale/nl_langinfo.c: Likewise.
25058         * mach/Machrules: Likewise.
25059         * mach/Makefile: Likewise.
25060         * malloc/obstack.h: Likewise.
25061         * manual/Makefile: Likewise.
25062         * manual/tsort.awk: Likewise.
25063         * misc/bits/stab.def: Likewise.
25064         * nis/nis_print_group_entry.c: Likewise.
25065         * nis/nis_table.c: Likewise.
25066         * nis/nss_compat/compat-pwd.c: Likewise.
25067         * nis/nss_compat/compat-spwd.c: Likewise.
25068         * po/Makefile: Likewise.
25069         * posix/fnmatch.c: Likewise.
25070         * posix/regex.h: Likewise.
25071         * resolv/Makefile: Likewise.
25072         * resolv/nss_dns/dns-network.c: Likewise.
25073         * resolv/res_hconf.c: Likewise.
25074         * scripts/gen-sorted.awk: Likewise.
25075         * soft-fp/soft-fp.h: Likewise.
25076         * stdio-common/printf.h: Likewise.
25077         * stdlib/monetary.h: Likewise.
25078         * stdlib/random.c: Likewise.
25079         * stdlib/random_r.c: Likewise.
25080         * sysdeps/generic/Makefile: Likewise.
25081         * sysdeps/gnu/Makefile: Likewise.
25082         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25083         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25084         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25085         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25086         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25087         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25088         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25089         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25090         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25091         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25092         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25093         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25094         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25095         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25096         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25097         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25098         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25099         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25100         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25101         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25102         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25103         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25104         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25105         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25106         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25107         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25108         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25109         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25110         * sysdeps/mach/hurd/errnos.awk: Likewise.
25111         * sysdeps/mach/hurd/fork.c: Likewise.
25112         * sysdeps/mach/hurd/getcwd.c: Likewise.
25113         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25114         * sysdeps/mach/hurd/mmap.c: Likewise.
25115         * sysdeps/mach/hurd/utimes.c: Likewise.
25116         * sysdeps/mach/hurd/xmknod.c: Likewise.
25117         * sysdeps/posix/profil.c: Likewise.
25118         * sysdeps/posix/readdir_r.c: Likewise.
25119         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25120         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25121         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25122         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25124         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25125         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25126         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25127         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25128         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25129         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25130         * sysdeps/pthread/lio_listio.c: Likewise.
25131         * sysdeps/sparc/dl-procinfo.h: Likewise.
25132         * sysdeps/unix/i386/sysdep.S: Likewise.
25133         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25134         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25135         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25136         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25138         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25139         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25140         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25141         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25142         * sysdeps/wordsize-32/divdi3.c: Likewise.
25143         * time/sys/time.h: Likewise.
25144         * wcsmbs/Makefile: Likewise.
25146 2013-01-01  David S. Miller  <davem@davemloft.net>
25148         * po/fr.po: Update from translation team.
25150         * catgets/gencat.c: Update copyright year.
25151         * csu/version.c: Likewise.
25152         * debug/catchsegv.sh: Likewise.
25153         * debug/pcprofiledump.c: Likewise.
25154         * debug/xtrace.sh: Likewise.
25155         * elf/ldconfig.c: Likewise.
25156         * elf/ldd.bash.in: Likewise.
25157         * elf/pldd.c: Likewise.
25158         * elf/sotruss.ksh: Likewise.
25159         * elf/sprof.c: Likewise.
25160         * iconv/iconv_prog.c: Likewise.
25161         * iconv/iconvconfig.c: Likewise.
25162         * locale/programs/locale.c: Likewise.
25163         * locale/programs/localedef.c: Likewise.
25164         * login/programs/pt_chown.c: Likewise.
25165         * malloc/memusage.sh: Likewise.
25166         * malloc/memusagestat.c: Likewise.
25167         * malloc/mtrace.pl: Likewise.
25168         * nscd/nscd.c: Likewise.
25169         * nss/getent.c: Likewise.
25170         * nss/makedb.c: Likewise.
25171         * posix/getconf.c: Likewise.
25173 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25175         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25176         numbers.
25178 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25180         * math/bits/mathcalls.h (modf): Use __nonnull.
25182 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25184         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25185         (split): Use macro CN instead of the bare value.
25186         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25187         could be used.
25188         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25189         instead of the bare value.
25190         (power1): Likewise.
25192 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25194         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25195         __ATAN_TWOM.
25196         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25198         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25199         their values.
25200         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25201         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25202         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25203         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25205 2012-12-28  Andreas Jaeger  <aj@suse.de>
25207         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25208         values are from Linux 3.7.
25210         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25211         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25213 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25215         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25216         TRUE case.
25218         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25219         (norm): Likewise.
25220         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25221         variables with preprocessor constants.
25222         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25223         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25224         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25226 2012-12-27  Bruno Haible  <bruno@clisp.org>
25228         [BZ #14317]
25229         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25230         only if needed.
25232 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25235         and use variable directly.
25236         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25238         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25239         MPONE.
25240         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25241         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25242         variable MPONE.
25243         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25244         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25245         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25246         include directive.  Remove local variable MPONE.
25247         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25248         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25249         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25251 2012-12-25  David S. Miller  <davem@davemloft.net>
25253         * version.h (RELEASE): Set to "development".
25254         (VERSION): Set to "2.17.90".
25255         * NEWS: Add 2.18 section.
25257 2012-12-21  David S. Miller  <davem@davemloft.net>
25259         * po/hr.po: Update from translation team.
25261 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25263         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25265 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25267         * NEWS:  Mention new memcpy for MIPS.
25269 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25271         * manual/contrib.texi (Contributors): Spelling correction.
25273 2012-12-15  David S. Miller  <davem@davemloft.net>
25275         * po/ru.po: Update from translation team.
25277 2012-12-13  David S. Miller  <davem@davemloft.net>
25279         * NEWS: Mention IFUNC testsuite enhancements.
25281         * po/pl.po: Update from translation team.
25282         * po/bg.po: Likewise.
25284         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25285         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25287 2012-12-11  David S. Miller  <davem@davemloft.net>
25289         * po/sv.po: Update from translation team.
25291         * po/vi.po: Update from translation team.
25293         * po/cs.po: Update from translation team.
25295         * po/de.po: Update from translation team.
25296         * po/eo.po: Likewise.
25297         * po/nl.po: Likewise.
25299 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25301         [BZ #14246]
25302         * manual/argp.texi (Argp Helper Functions): Move node to follow
25303         Argp Parsing State.
25305         [BZ #14872]
25306         * manual/conf.texi (Limits on File System Capacity): Mention if
25307         terminating null is included in the max size.
25309 2012-12-10  Andreas Jaeger  <aj@suse.de>
25311         * po/cs.po: Update from translation team.
25313 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25315         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25316         void pointer and cast to uintptr_t.
25317         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25318         path.
25319         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25320         * sysdeps/s390/s390-64/memset.S: Likewise.
25322 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25324         [BZ #14833]
25325         * menual/message.texi (Message Translation): Fix typos.
25326         (Helper programs for gettext): Likewise.
25328 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25330         [BZ #14898]
25331         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25332         Change to -1.
25334 2012-12-07  David S. Miller  <davem@davemloft.net>
25336         * po/libc.pot: Update.
25338 2012-12-07  Richard Henderson  <rth@redhat.com>
25340         [BZ #10114]
25341         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25342         normal/normal case to before the switch.
25343         (_FP_DIV): Likewise.
25345 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25346             Mike Frysinger  <vapier@gentoo.org>
25348         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25349         check for __NR_fadvise64_64.
25351 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25353         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25354         0, not just to plain "0" as a statement.
25355         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25356         with cw.
25358 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25360         * NEWS: Use sourceware.org in Bugzilla URL.
25362 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25365         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25367         * stdio-common/tst-put-error.c (do_test): Add newline to the
25368         padded test to ensure flush.
25370 2012-12-05  Jeff Law  <law@redhat.com>
25372         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25374 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25376         * README: Don't refer to ports add-on as distributed separately.
25377         Mention AArch64 in list of systems supported in the ports add-on.
25379         * LICENSES: Add more non-FSF copyright and license notices.
25381         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25382         ((unused)).
25384         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25386         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25387         10000 as width of padded output.
25389 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25391         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25393         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25394         variable LX with __attribute__ ((unused)).
25395         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25396         Likewise.
25397         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25398         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25399         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25400         with __attribute__ ((unused)).
25402 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25404         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25406 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25408         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25409         (CFLAGS-nldbl-acos.c): New variable.
25410         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25411         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25412         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25413         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25414         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25415         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25416         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25417         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25418         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25419         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25420         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25421         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25422         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25423         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25424         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25425         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25426         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25427         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25428         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25429         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25430         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25431         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25432         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25433         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25434         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25435         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25436         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25437         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25438         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25439         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25440         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25441         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25442         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25443         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25444         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25445         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25446         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25447         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25448         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25449         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25450         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25451         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25452         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25453         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25454         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25455         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25456         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25457         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25458         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25459         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25460         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25461         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25462         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25463         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25464         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25465         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25466         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25467         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25468         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25469         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25470         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25471         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25472         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25473         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25474         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25475         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25476         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25477         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25478         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25479         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25480         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25481         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25482         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25483         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25484         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25485         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25486         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25487         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25488         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25489         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25490         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25491         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25492         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25493         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25494         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25495         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25496         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25497         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25498         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25499         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25500         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25501         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25502         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25503         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25504         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25505         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25506         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25509         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25511         [BZ #14914]
25512         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25513         whole low double instead of just low 47 bits when splitting values
25514         into two parts.
25516 2012-12-03  Allan McRae  <allan@archlinux.org>
25518         * manual/stdio.texi (Predefined Printf Handlers): Remove
25519         @hsep and @vsep usage.
25521 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25523         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25524         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25526 2012-12-03  Jeff Law  <law@redhat.com>
25528         * time/sys/time.h (settimeofday): Do not mark TV argument
25529         as __nonnull.
25531 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25533         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25534         when currently writing and seek to current position when not.
25535         * libio/Makefile (tests): Remove bug-fclose1.
25536         * libio/bug-fclose1.c: Delete.
25538 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25540         * manual/arith.texi (feenableexcept): Fix typo.
25541         (fedisableexcept): Likewise.
25543 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25545         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25546         second, differently-typed declaration, rather than a cast.
25548 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25550         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25551         * include/rpc/svc.h: ... here.
25553 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25555         [BZ #13013]
25556         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25557         depending n and resplen2 to catch cases where answer
25558         equals answerp2.
25560 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25562         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25563         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25565 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25567         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25569 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25571         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25573 2012-11-28  Jeff Law  <law@redhat.com>
25575         [BZ #13761]
25576         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25577         dataset_temporary.  Track alloca usage into alloca_used.
25578         If dataset is large allocate and release it via malloc/free.
25580 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25582         [BZ #14197]
25583         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25585 2012-11-28  David S. Miller  <davem@davemloft.net>
25587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25589 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25591         [BZ #14803]
25592         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25593         of pi/2 rounded to nearest to 64 bits.
25594         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25595         nearest to 64 bits.
25596         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25597         bits.
25599 2012-11-28  Jeff Law <law@redhat.com>
25600             Martin Osvald <mosvald@redhat.com>
25602         [BZ #14889]
25603         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25604         * sunrpc/svc.c: Include time.h.
25605         (__svc_accept_failed): New function.
25606         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25607         any reason other than EINTR, call __svc_accept_failed.
25608         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25609         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25611 2012-11-28  Andreas Schwab  <schwab@suse.de>
25613         * scripts/abilist.awk: Also handle indirect functions in .opd
25614         section.
25616 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25618         [BZ #13881]
25619         * sysdeps/x86/fpu/powl_helper.c: New file.
25620         * sysdeps/x86/fpu/Makefile: Likewise.
25621         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25622         (p3): New object.
25623         (__ieee754_powl): Use __powl_helper for finite arguments except
25624         integer exponents below 8.
25625         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25626         (p3): New object.
25627         (__ieee754_powl): Use __powl_helper for finite arguments except
25628         integer exponents below 8.
25629         * math/libm-test.inc (pow_test): Add more tests and enable some
25630         previously disabled tests.
25631         * sysdeps/i386/fpu/libm-test-ulps: Update.
25632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25634 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25635             Carlos O'Donell  <carlos_odonell@mentor.com>
25637         * nss/makedb.c (is_prime): Assert that input is odd and greater
25638         than 4.  Note that fact in a comment too.
25639         (next_prime): Add 4 to input.
25641 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25643         [BZ #11741]
25644         * libio/Makefile (tests): Add test case tst-fwrite-error.
25645         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25646         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25647         * libio/tst-fwrite-error.c: New test case.
25649 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25651         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25652         before casting to void *.
25653         * include/libc-internal.h (__pointer_type): New macro.
25654         (__integer_if_pointer_type_sub): Likewise.
25655         (__integer_if_pointer_type): Likewise.
25656         (cast_to_integer): Likewise.
25657         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25658         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25659         before casting to atomic64_t.
25660         (atomic_exchange_acq): Likewise.
25661         (__arch_exchange_and_add_body): Likewise.
25662         (__arch_add_body): Likewise.
25663         (atomic_add_negative): Likewise.
25664         (atomic_add_zero): Likewise.
25666 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25668         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25669         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25670         (add_fdes): Likewise.
25671         (linear_search_fdes): Likewise.
25672         (binary_search_unencoded_fdes): Likewise.
25674 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25676         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25678 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25680         * configure.in: Autodetect C++ header directories.
25681         * configure: Regenerated.
25683 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25685         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25687 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25691 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25693         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25694         LDBL_MANT_DIG == 106]: Disable some tests.
25695         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25696         Likewise.
25697         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25698         Likewise.
25700         [BZ #14871]
25701         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25702         input for small inputs.  Return +/- pi/2 for large inputs.
25703         * math/libm-test.inc (atan_test): Add more tests.
25705         * sysdeps/generic/unwind-dw2-fde-glibc.c
25706         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25707         __attribute__ ((unused)).
25709         [BZ #14645]
25710         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25711         x * y if x and y are nonzero and z is zero.
25713         [BZ #14811]
25714         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25715         nonzero exponents with absolute value below 0x1p-117 to +/-
25716         0x1p-117.
25718         [BZ #14869]
25719         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25720         up arguments below 2**-450, not just those below 2**-500.
25721         * math/libm-test.inc (hypot_test): Add another test.
25723         [BZ #14868]
25724         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25725         Return a+b for ratio over 2**120, not 2**60.
25726         * math/libm-test.inc (hypot_test): Add another test.
25728         * math/libm-test.inc (clog_test): Use
25729         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25730         (clog10_test): Likewise.
25732         [BZ #6778]
25733         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25735 2012-11-22  Andreas Schwab  <schwab@suse.de>
25737         * sysdeps/i386/fpu/libm-test-ulps: Update.
25739 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25741         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25742         printf output with newline.
25744 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25746         [BZ #14865]
25747         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25748         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25749         -z nodlopen, -z initfirst and -z execstack support.
25750         * configure: Regenerated.
25752         * elf/elf.h (DF_1_NODIRECT): New macro.
25753         (DF_1_IGNMULDEF): Likewise.
25754         (DF_1_NOKSYMS): Likewise.
25755         (DF_1_NOHDR): Likewise.
25756         (DF_1_EDITED): Likewise.
25757         (DF_1_NORELOC): Likewise.
25758         (DF_1_SYMINTPOSE): Likewise.
25759         (DF_1_GLOBAUDIT): Likewise.
25760         (DF_1_SINGLETON): Likewise.
25761         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25762         DT_1_SUPPORTED_MASK bits.
25763         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25765 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25767         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25769 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25771         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25772         macro.
25774         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25775         (sendmmsg): Move declarations...
25776         * socket/sys/socket.h: ... here.
25777         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25778         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25779         include it from...
25780         * socket/recvmmsg.c: ... this new file.
25781         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25782         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25783         definition of __sendmmsg hidden.
25784         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25785         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25786         Move ENOSYS stub into and include it from...
25787         * socket/sendmmsg.c: ... this new file.
25788         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25789         (sysdep_routines): Move recvmmsg and sendmmsg...
25790         * socket/Makefile (routines): ... here.
25791         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25792         (GLIBC_PRIVATE): Add __sendmmsg.
25793         * include/sys/socket.h (__sendmmsg): Add declarations.
25794         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25795         sendmmsg.
25797 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25799         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25800         variable I1 with __attribute__ ((unused)).
25801         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25803 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25805         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25806         DUMMY variables with __attribute__ ((unused)).
25808         * bits/byteswap.h: Include <bits/types.h>.
25809         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25811 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25813         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25814         string_t.  Do not manually set errno.
25815         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25816         length with __strnlen.  Make sure to both set errno and return it on
25817         failure.
25819 2012-11-19  David S. Miller  <davem@davemloft.net>
25821         With help from Joseph Myers.
25822         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25823         very large arguments properly.
25824         * math/libm-test.inc (atan_test): New tests.
25825         (atan2_test): New tests.
25826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25829 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25831         [BZ #14856]
25832         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25833         Define to 3.
25835         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25836         [POSIX] (EADDRNOTAVAIL): Likewise.
25837         [POSIX] (EAFNOSUPPORT): Likewise.
25838         [POSIX] (EALREADY): Likewise.
25839         [POSIX] (ECONNABORTED): Likewise.
25840         [POSIX] (ECONNREFUSED): Likewise.
25841         [POSIX] (ECONNRESET): Likewise.
25842         [POSIX] (EDESTADDRREQ): Likewise.
25843         [POSIX] (EDQUOT): Likewise.
25844         [POSIX] (EHOSTUNREACH): Likewise.
25845         [POSIX] (EIDRM): Likewise.
25846         [POSIX] (EISCONN): Likewise.
25847         [POSIX] (ELOOP): Likewise.
25848         [POSIX] (EMULTIHOP): Likewise.
25849         [POSIX] (ENETDOWN): Likewise.
25850         [POSIX] (ENETUNREACH): Likewise.
25851         [POSIX] (ENOBUFS): Likewise.
25852         [POSIX] (ENODATA): Likewise.
25853         [POSIX] (ENOLINK): Likewise.
25854         [POSIX] (ENOMSG): Likewise.
25855         [POSIX] (ENOPROTOOPT): Likewise.
25856         [POSIX] (ENOSR): Likewise.
25857         [POSIX] (ENOSTR): Likewise.
25858         [POSIX] (ENOTCONN): Likewise.
25859         [POSIX] (ENOTSOCK): Likewise.
25860         [POSIX] (EOPNOTSUPP): Likewise.
25861         [POSIX] (EOVERFLOW): Likewise.
25862         [POSIX] (EPROTO): Likewise.
25863         [POSIX] (EPROTONOSUPPORT): Likewise.
25864         [POSIX] (EPROTOTYPE): Likewise.
25865         [POSIX] (ESTALE): Likewise.
25866         [POSIX] (ETIME): Likewise.
25867         [POSIX] (ETXTBSY): Likewise.
25868         [POSIX] (EWOULDBLOCK): Likewise.
25869         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25870         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25871         [POSIX] (SEEK_CUR): Likewise.
25872         [POSIX] (SEEK_END): Likewise.
25873         [POSIX || UNIX98] (mode_t): Do not require.
25874         [POSIX] (off_t): Likewise.
25875         [POSIX] (pid_t): Likewise.
25876         [POSIX] (sys/stat.h): Do not allow header.
25877         [POSIX] (unistd.h): Likewise.
25878         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25879         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25880         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25881         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25882         require.
25883         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25884         sigevent): Specify elements.
25885         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25886         entry.
25887         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25888         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25890         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25891         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25892         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25893         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25894         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25895         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25896         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25897         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25898         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25899         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25900         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25901         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25902         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25903         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25904         Likewise.
25905         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25906         Likewise.
25907         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25908         Likewise.
25909         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25910         Likewise.
25911         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25912         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25913         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25914         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25915         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25916         Specify lower bound on value.
25917         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25918         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25919         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25920         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25921         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25922         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25923         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25924         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25925         value.
25926         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25927         as optional.
25928         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25929         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25930         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25931         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25932         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25933         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25934         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25935         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25936         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25937         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25938         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25939         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25940         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25941         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25942         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25943         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25944         entry.
25945         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25946         optional.
25947         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25948         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25949         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25950         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25951         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25952         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25953         Likewise.
25954         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25955         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25956         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25957         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25958         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25959         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25960         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25961         as optional.
25962         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25963         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25964         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25965         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25966         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25967         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25968         specify as optional.
25969         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25970         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25971         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25972         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25973         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25974         [XPG3] (NL_LANGMAX): Likewise.
25975         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25976         [POSIX || XPG3] (NL_NMAX): Likewise.
25977         [POSIX || XPG3] (NL_SETMAX): Likewise.
25978         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25979         [XPG3] (NZERO): Likewise.
25980         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25981         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25982         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25983         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25984         (REG_ERANGE): Expect.
25985         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25986         optional-constant.
25987         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25988         Use (void) in prototype.
25989         [POSIX] (*_t): Allow.
25990         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25991         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25992         (WRDE_BADVAL): Expect.
25994         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25995         expect.
25996         [XPG3 || XPG4] (O_RSYNC): Likewise.
25997         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25998         Likewise.
25999         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26000         [XPG3 || XPG4] (sigqueue): Likewise.
26001         [XPG3 || XPG4] (sigtimedwait): Likewise.
26002         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26003         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26004         [XPG3 || XPG4] (vsnprintf): Likewise.
26005         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26006         Likewise.
26007         [XPG3 || XPG4] (blksize_t): Likewise.
26008         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26009         Likewise.
26010         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26011         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26012         [XPG3 || XPG4] (struct itimerspec): Likewise.
26013         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26014         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26015         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26016         [XPG3 || XPG4] (clockid_t): Likewise.
26017         [XPG3 || XPG4] (timer_t): Likewise.
26018         [XPG3 || XPG4] (clock_getres): Likewise.
26019         [XPG3 || XPG4] (clock_gettime): Likewise.
26020         [XPG3 || XPG4] (clock_settime): Likewise.
26021         [XPG3 || XPG4] (nanosleep): Likewise.
26022         [XPG3 || XPG4] (timer_create): Likewise.
26023         [XPG3 || XPG4] (timer_delete): Likewise.
26024         [XPG3 || XPG4] (timer_gettime): Likewise.
26025         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26026         [XPG3 || XPG4] (timer_settime): Likewise.
26027         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26028         [XPG3 || XPG4] (getlogin_r): Likewise.
26029         [XPG3 || XPG4] (pread): Likewise.
26030         [XPG3 || XPG4] (pthread_atfork): Likewise.
26031         [XPG3 || XPG4] (pwrite): Likewise.
26033         [BZ #14835]
26034         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26035         <bits/siginfo.h>.
26037 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26039         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26040         finalizing MALLSTREAM.
26042         * sysdeps/mach/hurd/syncfs.c: New file.
26044 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26046         [BZ #14719]
26047         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26048         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26049         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26050         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26051         (_nss_dns_gethostbyname4_r): Likewise.
26052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26053         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26055 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26057         [BZ #13763]
26058         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26060 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26062         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26063         * elf/cache.c (print_entry): Print ",AArch64" for
26064         FLAG_AARCH64_LIB64
26066         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26067         * elf/cache.c (print_entry): Print ",hard-float" for
26068         FLAG_ARM_LIBHF.
26070 2012-11-18  David S. Miller  <davem@davemloft.net>
26072         With help from Joseph Myers.
26073         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26074         cutoff to 2**-13.
26075         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26076         cutoff to 2**-25.
26077         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26078         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26079         small.
26080         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26081         * math/libm-test.inc (y0_test): New tests.
26082         (y1_test): New tests.
26083         * sysdeps/i386/fpu/libm-test-ulps: Update.
26084         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26087 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26089         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26090         64-bit targets.
26091         * configure: Regenerated.
26093 2012-11-17  David S. Miller  <davem@davemloft.net>
26095         [BZ #14811]
26096         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26097         nonzero exponents with absolute value below 0x1p-128 to +/-
26098         0x1p-128.
26100 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26102         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26104         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26106         * posix/getconf-speclist.c: New file.
26107         * posix/posix-envs.def: Likewise.
26108         * posix/confstr.c (START_ENV_GROUP): New macro.
26109         (END_ENV_GROUP): Likewise.
26110         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26111         (KNOWN_PRESENT_ENV_STRING): Likewise.
26112         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26113         (UNKNOWN_ENVIRONMENT): Likewise.
26114         (confstr): Include posix-envs.def instead of handling
26115         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26116         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26117         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26118         (END_ENV_GROUP): Likewise.
26119         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26120         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26121         (UNKNOWN_ENVIRONMENT): Likewise.
26122         (__sysconf): Include posix-envs.def instead of handling associated
26123         cases directly here.
26124         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26125         preprocessing getconf-speclist.c rather than running getconf or
26126         generating empty file.
26128 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26130         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26132 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26134         [BZ #14672]
26135         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26137 2012-11-16  David S. Miller  <davem@davemloft.net>
26139         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26140         smaller than LDBL_EPSILON/2.0L, just return xm1.
26142 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26144         * elf/tst-array1.c (init): Set constructor priority to 1000.
26145         (fini): Set destructor priority to 1000.
26146         * elf/tst-array2dep.c: Likewise.
26148 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26150         [BZ #11741]
26151         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26152         (_IO_new_file_xsputn): Also return EOF if none of the input
26153         data was written when overflow failed.
26154         * libio/iopadn.c (_IO_padn): Likewise.
26155         * libio/iowpadn.c (_IO_wpadn): Likewise.
26156         * stdio-common/tst-put-error.c: Add copyright notice.
26157         (do_test): Add case for printing padded string.
26158         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26159         _IO_padn returned error.
26160         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26161         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26162         return EOF.
26164 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26166         * libio/libioP.h: Add comment note that the references to C++
26167         bits are now obsolete.
26169 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26171         * math/libm-test.inc (check_complex): Use asprintf.
26173 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26175         * debug/pcprofiledump.c (print_version): Update copyright year.
26176         * malloc/memusagestat.c (print_version): Likewise.
26178 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26180         [BZ #14831]
26181         * elf/Makefile (tests): Add tst-audit8.
26182         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26183         ($(objpfx)tst-audit8.out): New target.
26184         (tst-audit8-ENV): New variable.
26185         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26186         audit if l_reloc_result is NULL.
26187         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26188         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26189         * elf/tst-audit8.c: New file.
26191 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26193         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26194         * misc/Makefile (CFLAGS-select.c): Define.
26195         * posix/Makefile (CFLAGS-pause.c): Define.
26197 2012-11-13  David S. Miller  <davem@davemloft.net>
26199         * crypt/Makefile: Move test targets after toplevel Rules
26200         inclusion.  Grab any necessary sysdep routines when linking.
26201         * crypt/md5.c (md5_process_block): Remove define, we will always
26202         name it __md5_process_block.
26203         (md5_finish_ctx): Update md5_process_block call.
26204         (md5_stream): Likewise.
26205         (md5_process_bytes): Likewise.
26206         (md5_process_block): Rename to __md5_process_block and move to ...
26207         * crypt/md5-block.c: ... here.
26208         * crypt/sha256.c (sha256_process_block): Move to ...
26209         * crypt/sha256-block.c: ... here.
26210         * crypt/sha512.c (sha512_process_block): Move to ...
26211         * crypt/sha512-block.c: ... here.
26212         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26213         path.
26214         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26215         * sysdeps/sparc/sparc64/multiarch/Makefile
26216         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26217         crypt subdir.
26218         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26219         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26220         multiarch changes.
26221         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26222         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26223         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26224         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26225         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26226         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26227         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26228         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26229         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26230         file.
26231         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26232         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26233         file.
26234         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26236 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26238         * timezone/tzselect.ksh: Update from tzcode git revision
26239         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26240         * timezone/zdump.c: Likewise.
26241         * timezone/zic.c: Likewise.
26242         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26243         in TZVERSION setting, not $(PKGVERSION).
26244         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26245         REPORT_BUGS_TO settings.
26247         [BZ #14838]
26248         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26249         macro.
26251 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26253         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26254         detection to immediately after _FP_ROUND().
26255         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26256         bits are 0.
26258 2012-11-11  David S. Miller  <davem@davemloft.net>
26260         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26261         inttypes.h
26262         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26263         __close rather than their public counterparts.
26265 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26267         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26268         file.
26269         [UNIX98] (sem_timedwait): Do not expect.
26270         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26271         [XPG4 || UNIX98] (sockatmark): Do not expect.
26272         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26273         (clock_getcpuclockid): Do not expect.
26274         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26275         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26276         Do not expect.
26277         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26278         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26279         [UNIX98] (vwscanf): Likewise.
26280         [UNIX98] (vswscanf): Likewise.
26282 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26284         * timezone/version.h: Remove file.
26285         * timezone/README: Do not refer to version.h.
26286         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26287         $(objpfx)version.h.
26288         ($(objpfx)zdump.o): Likewise.
26289         ($(objpfx)version.h): New target.
26291         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26292         2012i.
26293         * timezone/README: Don't mention modification to tzselect.ksh.
26294         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26295         work on unmodified tzselect.ksh.  Substitute version numbers in
26296         tzselect.ksh.
26298         * Makefile (format-me): Remove.
26299         (INSTALL): Adjust indentation.  Use commands directly instead of
26300         using $(format-me).
26302         * aclocal.m4 (ACX_PKGVERSION): New macro.
26303         (ACX_BUGURL): Likewise.
26304         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26305         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26306         (REPORT_BUGS_TO): Likewise.
26307         * configure: Regenerated.
26308         * config.h.in (PKGVERSION): New macro.
26309         (REPORT_BUGS_TO): Likewise.
26310         * config.make.in (PKGVERSION): New variable.
26311         (PKGVERSION_TEXI): Likewise.
26312         (REPORT_BUGS_TO): Likewise.
26313         (REPORT_BUGS_TEXI): Likewise.
26314         * Makefile (format-me): Use -I$(common-objpfx)manual.
26315         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26316         ($(common-objpfx)manual/%): New target.
26317         (manual/%): Remove target.
26318         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26319         (print_version): Use PKGVERSION.
26320         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26321         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26322         and REPORT_BUGS_TO.
26323         ($(objpfx)xtrace): Likewise.
26324         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26325         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26326         (print_version): Use PKGVERSION.
26327         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26328         (do_version): Use PKGVERSION.
26329         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26330         REPORT_BUGS_TO.
26331         (common-ldd-rewrite): Likewise.
26332         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26333         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26334         (print_version): Use PKGVERSION.
26335         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26336         * elf/pldd.c (argp_program_bug_address): Remove variable.
26337         (more_help): New function.
26338         (argp): Use more_help.
26339         (print_version): Use PKGVERSION.
26340         * elf/sln.c (main): Use PKGVERSION.
26341         (usage): Use REPORT_BUGS_TO.
26342         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26343         (top level): Use PKGVERSION.
26344         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26345         (print_version): Use PKGVERSION.
26346         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26347         (print_version): Use PKGVERSION.
26348         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26349         (print_version): Use PKGVERSION.
26350         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26351         (print_version): Use PKGVERSION.
26352         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26353         (print_version): Use PKGVERSION.
26354         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26355         (print_version): Use PKGVERSION.
26356         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26357         and BUGURL.
26358         ($(objpfx)memusage): Likewise.
26359         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26360         (do_version): Use PKGVERSION.
26361         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26362         (print_version): Use PKGVERSION.
26363         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26364         ($PKGVERSION): New variable.
26365         ($REPORT_BUGS_TO): Likewise.
26366         (usage): Use $REPORT_BUGS_TO.
26367         (top level): Use $PKGVERSION.
26368         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26369         ($(objpfx)pkgvers.texi): New rule.
26370         ($(objpfx)stamp-pkgvers): Likewise.
26371         * manual/install.texi: Include pkgvers.texi.
26372         (--with-pkgversion): Document new configure option.
26373         (--with-bugurl): Likewise.
26374         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26375         than necessarily for this particular distribution.  Use
26376         REPORT_BUGS_TO for where to report bugs.
26377         * INSTALL: Regenerated.
26378         * manual/libc.texinfo: Include pkgvers.texi.
26379         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26380         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26381         (print_version): Use PKGVERSION.
26382         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26383         (print_version): Use PKGVERSION.
26384         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26385         (print_version): Use PKGVERSION.
26386         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26387         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26388         macro.
26389         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26390         (print_version): Use PKGVERSION.
26391         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26392         (print_version): Use PKGVERSION.
26393         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26394         and PKGVERSION.
26396         * timezone/checktab.awk: Update from tzcode 2012i.
26397         * timezone/ialloc.c: Likewise.
26398         * timezone/private.h: Likewise.
26399         * timezone/scheck.c: Likewise.
26400         * timezone/tzfile.h: Likewise.
26401         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26402         (TZVERSION): Hardcode tzcode version number.
26403         * timezone/zdump.c: Update from tzcode 2012i.
26404         * timezone/zic.c: Likewise.
26405         * timezone/version.h: New file.
26406         * timezone/README: Describe version.h.  Update upstream location.
26408         [BZ #14824]
26409         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26410         (mktemp): Enable declaration.
26411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26412         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26414         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26415         Likewise.
26416         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26417         Likewise.
26418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26419         Likewise.
26420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26421         Likewise.
26422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26423         Likewise.
26424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26425         Likewise.
26427         [BZ #14821]
26428         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26429         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26430         for copies of such integer values.
26431         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26432         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26434 2012-11-09  Andreas Jaeger  <aj@suse.de>
26436         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26437         definitions and declarations that are provided by
26438         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26440 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26442         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26443         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26444         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26445         definition.
26447 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26449         * elf/elf.h: Update comment before AArch64 relocations.
26451 2012-11-07  David S. Miller  <davem@davemloft.net>
26453         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26454         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26455         (__start_context): Declare.
26456         (__makecontext_ret): Delete.
26457         (__makecontext): Hook up __start_context instead of
26458         __makecontext_ret.
26459         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26460         (sysdep_routines): Add __start_context when in stdlib.
26462 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26464         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26465         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26466         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26467         hardcoded "nm".
26468         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26469         (READELF): New variable.  Use it instead of hardcoded "readelf".
26471 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26473         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26474         * sysdeps/x86/Makefile: Here.
26475         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26476         * sysdeps/x86/tst-xmmymm.sh: This.
26478 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26480         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26481         expectations.
26482         [UNIX98] (pthread_barrier_t): Do not expect.
26483         [UNIX98] (pthread_barrierattr_t): Likewise.
26484         [UNIX98] (pthread_spinlock_t): Likewise.
26485         [UNIX98] (pthread_barrier_destroy): Likewise.
26486         [UNIX98] (pthread_barrier_init): Likewise.
26487         [UNIX98] (pthread_barrier_wait): Likewise.
26488         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26489         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26490         [UNIX98] (pthread_barrierattr_init): Likewise.
26491         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26492         [UNIX98] (pthread_getcpuclockid): Likewise.
26493         [UNIX98] (pthread_mutex_timedlock): Likewise.
26494         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26495         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26496         [UNIX98] (pthread_sigmask): Likewise.
26497         [UNIX98] (pthread_spin_destroy): Likewise.
26498         [UNIX98] (pthread_spin_init): Likewise.
26499         [UNIX98] (pthread_spin_lock): Likewise.
26500         [UNIX98] (pthread_spin_trylock): Likewise.
26501         [UNIX98] (pthread_spin_unlock): Likewise.
26502         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26503         Do not expect.
26504         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26505         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26506         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26507         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26508         [XPG3 || XPG4] (pthread_key_t): Likewise.
26509         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26510         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26511         [XPG3 || XPG4] (pthread_once_t): Likewise.
26512         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26513         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26514         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26515         [XPG3 || XPG4] (pthread_t): Likewise.
26517         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26518         not expect.
26519         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26521         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26522         Change function return type to int.
26524         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26525         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26526         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26527         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26528         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26529         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26530         [!POSIX] (posix_madvise): Likewise.
26531         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26532         && !UNIX98].
26533         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26534         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26535         (mode_t): Likewise.
26536         (posix_mem_offset): Likewise.
26537         (posix_typed_mem_get_info): Likewise.
26538         (posix_typed_mem_open): Likewise.
26540         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26541         Change condition to [XOPEN2K8].
26543         * conform/conformtest.pl: Preprocess allow-header data with -x c
26544         instead of from stdin.
26545         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26546         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26547         [C99-based standards] (cerfc): Likewise.
26548         [C99-based standards] (cexp2): Likewise.
26549         [C99-based standards] (cexpm1): Likewise.
26550         [C99-based standards] (clog10): Likewise.
26551         [C99-based standards] (clog1p): Likewise.
26552         [C99-based standards] (clog2): Likewise.
26553         [C99-based standards] (clgamma): Likewise.
26554         [C99-based standards] (ctgamma): Likewise.
26555         [C99-based standards] (cerff): Likewise.
26556         [C99-based standards] (cerfcf): Likewise.
26557         [C99-based standards] (cexp2f): Likewise.
26558         [C99-based standards] (cexpm1f): Likewise.
26559         [C99-based standards] (clog10f): Likewise.
26560         [C99-based standards] (clog1pf): Likewise.
26561         [C99-based standards] (clog2f): Likewise.
26562         [C99-based standards] (clgammaf): Likewise.
26563         [C99-based standards] (ctgammaf): Likewise.
26564         [C99-based standards] (cerfl): Likewise.
26565         [C99-based standards] (cerfcl): Likewise.
26566         [C99-based standards] (cexp2l): Likewise.
26567         [C99-based standards] (cexpm1l): Likewise.
26568         [C99-based standards] (clog10l): Likewise.
26569         [C99-based standards] (clog1pl): Likewise.
26570         [C99-based standards] (clog2l): Likewise.
26571         [C99-based standards] (clgammal): Likewise.
26572         [C99-based standards] (ctgammal): Likewise.
26573         * conform/data/inttypes.h-data [C99-based standards]: Include
26574         stdint.h-data.  Remove all expectations for stdint.h contents.
26575         [C99-based standards] (PRI*): Do not allow.
26576         [C99-based standards] (SCN*): Likewise.
26577         [C99-based standards] (*_t): Likewise.
26578         [C99-based-standards] (PRId8): Expect macro.
26579         [C99-based-standards] (PRIi8): Likewise.
26580         [C99-based-standards] (PRIo8): Likewise.
26581         [C99-based-standards] (PRIu8): Likewise.
26582         [C99-based-standards] (PRIx8): Likewise.
26583         [C99-based-standards] (PRIX8): Likewise.
26584         [C99-based-standards] (SCNd8): Likewise.
26585         [C99-based-standards] (SCNi8): Likewise.
26586         [C99-based-standards] (SCNo8): Likewise.
26587         [C99-based-standards] (SCNu8): Likewise.
26588         [C99-based-standards] (SCNx8): Likewise.
26589         [C99-based-standards] (PRIdLEAST8): Likewise.
26590         [C99-based-standards] (PRIiLEAST8): Likewise.
26591         [C99-based-standards] (PRIoLEAST8): Likewise.
26592         [C99-based-standards] (PRIuLEAST8): Likewise.
26593         [C99-based-standards] (PRIxLEAST8): Likewise.
26594         [C99-based-standards] (PRIXLEAST8): Likewise.
26595         [C99-based-standards] (SCNdLEAST8): Likewise.
26596         [C99-based-standards] (SCNiLEAST8): Likewise.
26597         [C99-based-standards] (SCNoLEAST8): Likewise.
26598         [C99-based-standards] (SCNuLEAST8): Likewise.
26599         [C99-based-standards] (SCNxLEAST8): Likewise.
26600         [C99-based-standards] (PRIdFAST8): Likewise.
26601         [C99-based-standards] (PRIiFAST8): Likewise.
26602         [C99-based-standards] (PRIoFAST8): Likewise.
26603         [C99-based-standards] (PRIuFAST8): Likewise.
26604         [C99-based-standards] (PRIxFAST8): Likewise.
26605         [C99-based-standards] (PRIXFAST8): Likewise.
26606         [C99-based-standards] (SCNdFAST8): Likewise.
26607         [C99-based-standards] (SCNiFAST8): Likewise.
26608         [C99-based-standards] (SCNoFAST8): Likewise.
26609         [C99-based-standards] (SCNuFAST8): Likewise.
26610         [C99-based-standards] (SCNxFAST8): Likewise.
26611         [C99-based-standards] (PRId16): Likewise.
26612         [C99-based-standards] (PRIi16): Likewise.
26613         [C99-based-standards] (PRIo16): Likewise.
26614         [C99-based-standards] (PRIu16): Likewise.
26615         [C99-based-standards] (PRIx16): Likewise.
26616         [C99-based-standards] (PRIX16): Likewise.
26617         [C99-based-standards] (SCNd16): Likewise.
26618         [C99-based-standards] (SCNi16): Likewise.
26619         [C99-based-standards] (SCNo16): Likewise.
26620         [C99-based-standards] (SCNu16): Likewise.
26621         [C99-based-standards] (SCNx16): Likewise.
26622         [C99-based-standards] (PRIdLEAST16): Likewise.
26623         [C99-based-standards] (PRIiLEAST16): Likewise.
26624         [C99-based-standards] (PRIoLEAST16): Likewise.
26625         [C99-based-standards] (PRIuLEAST16): Likewise.
26626         [C99-based-standards] (PRIxLEAST16): Likewise.
26627         [C99-based-standards] (PRIXLEAST16): Likewise.
26628         [C99-based-standards] (SCNdLEAST16): Likewise.
26629         [C99-based-standards] (SCNiLEAST16): Likewise.
26630         [C99-based-standards] (SCNoLEAST16): Likewise.
26631         [C99-based-standards] (SCNuLEAST16): Likewise.
26632         [C99-based-standards] (SCNxLEAST16): Likewise.
26633         [C99-based-standards] (PRIdFAST16): Likewise.
26634         [C99-based-standards] (PRIiFAST16): Likewise.
26635         [C99-based-standards] (PRIoFAST16): Likewise.
26636         [C99-based-standards] (PRIuFAST16): Likewise.
26637         [C99-based-standards] (PRIxFAST16): Likewise.
26638         [C99-based-standards] (PRIXFAST16): Likewise.
26639         [C99-based-standards] (SCNdFAST16): Likewise.
26640         [C99-based-standards] (SCNiFAST16): Likewise.
26641         [C99-based-standards] (SCNoFAST16): Likewise.
26642         [C99-based-standards] (SCNuFAST16): Likewise.
26643         [C99-based-standards] (SCNxFAST16): Likewise.
26644         [C99-based-standards] (PRId32): Likewise.
26645         [C99-based-standards] (PRIi32): Likewise.
26646         [C99-based-standards] (PRIo32): Likewise.
26647         [C99-based-standards] (PRIu32): Likewise.
26648         [C99-based-standards] (PRIx32): Likewise.
26649         [C99-based-standards] (PRIX32): Likewise.
26650         [C99-based-standards] (SCNd32): Likewise.
26651         [C99-based-standards] (SCNi32): Likewise.
26652         [C99-based-standards] (SCNo32): Likewise.
26653         [C99-based-standards] (SCNu32): Likewise.
26654         [C99-based-standards] (SCNx32): Likewise.
26655         [C99-based-standards] (PRIdLEAST32): Likewise.
26656         [C99-based-standards] (PRIiLEAST32): Likewise.
26657         [C99-based-standards] (PRIoLEAST32): Likewise.
26658         [C99-based-standards] (PRIuLEAST32): Likewise.
26659         [C99-based-standards] (PRIxLEAST32): Likewise.
26660         [C99-based-standards] (PRIXLEAST32): Likewise.
26661         [C99-based-standards] (SCNdLEAST32): Likewise.
26662         [C99-based-standards] (SCNiLEAST32): Likewise.
26663         [C99-based-standards] (SCNoLEAST32): Likewise.
26664         [C99-based-standards] (SCNuLEAST32): Likewise.
26665         [C99-based-standards] (SCNxLEAST32): Likewise.
26666         [C99-based-standards] (PRIdFAST32): Likewise.
26667         [C99-based-standards] (PRIiFAST32): Likewise.
26668         [C99-based-standards] (PRIoFAST32): Likewise.
26669         [C99-based-standards] (PRIuFAST32): Likewise.
26670         [C99-based-standards] (PRIxFAST32): Likewise.
26671         [C99-based-standards] (PRIXFAST32): Likewise.
26672         [C99-based-standards] (SCNdFAST32): Likewise.
26673         [C99-based-standards] (SCNiFAST32): Likewise.
26674         [C99-based-standards] (SCNoFAST32): Likewise.
26675         [C99-based-standards] (SCNuFAST32): Likewise.
26676         [C99-based-standards] (SCNxFAST32): Likewise.
26677         [C99-based-standards] (PRId64): Likewise.
26678         [C99-based-standards] (PRIi64): Likewise.
26679         [C99-based-standards] (PRIo64): Likewise.
26680         [C99-based-standards] (PRIu64): Likewise.
26681         [C99-based-standards] (PRIx64): Likewise.
26682         [C99-based-standards] (PRIX64): Likewise.
26683         [C99-based-standards] (SCNd64): Likewise.
26684         [C99-based-standards] (SCNi64): Likewise.
26685         [C99-based-standards] (SCNo64): Likewise.
26686         [C99-based-standards] (SCNu64): Likewise.
26687         [C99-based-standards] (SCNx64): Likewise.
26688         [C99-based-standards] (PRIdLEAST64): Likewise.
26689         [C99-based-standards] (PRIiLEAST64): Likewise.
26690         [C99-based-standards] (PRIoLEAST64): Likewise.
26691         [C99-based-standards] (PRIuLEAST64): Likewise.
26692         [C99-based-standards] (PRIxLEAST64): Likewise.
26693         [C99-based-standards] (PRIXLEAST64): Likewise.
26694         [C99-based-standards] (SCNdLEAST64): Likewise.
26695         [C99-based-standards] (SCNiLEAST64): Likewise.
26696         [C99-based-standards] (SCNoLEAST64): Likewise.
26697         [C99-based-standards] (SCNuLEAST64): Likewise.
26698         [C99-based-standards] (SCNxLEAST64): Likewise.
26699         [C99-based-standards] (PRIdFAST64): Likewise.
26700         [C99-based-standards] (PRIiFAST64): Likewise.
26701         [C99-based-standards] (PRIoFAST64): Likewise.
26702         [C99-based-standards] (PRIuFAST64): Likewise.
26703         [C99-based-standards] (PRIxFAST64): Likewise.
26704         [C99-based-standards] (PRIXFAST64): Likewise.
26705         [C99-based-standards] (SCNdFAST64): Likewise.
26706         [C99-based-standards] (SCNiFAST64): Likewise.
26707         [C99-based-standards] (SCNoFAST64): Likewise.
26708         [C99-based-standards] (SCNuFAST64): Likewise.
26709         [C99-based-standards] (SCNxFAST64): Likewise.
26710         [C99-based-standards] (PRIdMAX): Likewise.
26711         [C99-based-standards] (PRIiMAX): Likewise.
26712         [C99-based-standards] (PRIoMAX): Likewise.
26713         [C99-based-standards] (PRIuMAX): Likewise.
26714         [C99-based-standards] (PRIxMAX): Likewise.
26715         [C99-based-standards] (PRIXMAX): Likewise.
26716         [C99-based-standards] (SCNdMAX): Likewise.
26717         [C99-based-standards] (SCNiMAX): Likewise.
26718         [C99-based-standards] (SCNoMAX): Likewise.
26719         [C99-based-standards] (SCNuMAX): Likewise.
26720         [C99-based-standards] (SCNxMAX): Likewise.
26721         [C99-based-standards] (PRIdPTR): Likewise.
26722         [C99-based-standards] (PRIiPTR): Likewise.
26723         [C99-based-standards] (PRIoPTR): Likewise.
26724         [C99-based-standards] (PRIuPTR): Likewise.
26725         [C99-based-standards] (PRIxPTR): Likewise.
26726         [C99-based-standards] (PRIXPTR): Likewise.
26727         [C99-based-standards] (SCNdPTR): Likewise.
26728         [C99-based-standards] (SCNiPTR): Likewise.
26729         [C99-based-standards] (SCNoPTR): Likewise.
26730         [C99-based-standards] (SCNuPTR): Likewise.
26731         [C99-based-standards] (SCNxPTR): Likewise.
26732         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26733         allow.
26734         * conform/data/stdint.h-data: Update comments to clarify
26735         requirements.
26736         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26737         type.
26738         [C99-based standards] (INT8_MAX): Likewise.
26739         [C99-based standards] (INT16_MIN): Likewise.
26740         [C99-based standards] (INT16_MAX): Likewise.
26741         [C99-based standards] (INT32_MIN): Likewise.
26742         [C99-based standards] (INT32_MAX): Likewise.
26743         [C99-based standards] (INT64_MIN): Likewise.
26744         [C99-based standards] (INT64_MAX): Likewise.
26745         [C99-based standards] (UINT8_MAX): Likewise.
26746         [C99-based standards] (UINT16_MAX): Likewise.
26747         [C99-based standards] (UINT32_MAX): Likewise.
26748         [C99-based standards] (UINT64_MAX): Likewise.
26749         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26750         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26751         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26752         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26753         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26754         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26755         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26756         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26757         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26758         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26759         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26760         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26761         [C99-based standards] (INT_FAST8_MIN): Likewise.
26762         [C99-based standards] (INT_FAST8_MAX): Likewise.
26763         [C99-based standards] (INT_FAST16_MIN): Likewise.
26764         [C99-based standards] (INT_FAST16_MAX): Likewise.
26765         [C99-based standards] (INT_FAST32_MIN): Likewise.
26766         [C99-based standards] (INT_FAST32_MAX): Likewise.
26767         [C99-based standards] (INT_FAST64_MIN): Likewise.
26768         [C99-based standards] (INT_FAST64_MAX): Likewise.
26769         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26770         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26771         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26772         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26773         [C99-based standards] (INTPTR_MIN): Likewise.
26774         [C99-based standards] (INTPTR_MAX): Likewise.
26775         [C99-based standards] (UINTPTR_MAX): Likewise.
26776         [C99-based standards] (INTMAX_MIN): Likewise.
26777         [C99-based standards] (INTMAX_MAX): Likewise.
26778         [C99-based standards] (UINTMAX_MAX): Likewise.
26779         [C99-based standards] (PTRDIFF_MIN): Likewise.
26780         [C99-based standards] (PTRDIFF_MAX): Likewise.
26781         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26782         [C99-based standards] (SIZE_MAX): Likewise.
26783         [C99-based standards] (WCHAR_MAX): Likewise.
26784         [C99-based standards] (WINT_MAX): Likewise.
26785         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26786         constraint on value.
26787         [C99-based standards] (WCHAR_MIN): Likewise.
26788         [C99-based standards] (WINT_MIN): Likewise.
26789         [C99-based standards] (*_t): Allow.
26790         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26791         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26792         Include math.h-data and complex.h-data.  Remove all expectations
26793         of math.h and complex.h contents.
26794         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26795         at end of line.
26796         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26797         (struct tm): Expect tag.
26798         [C99-based-standards] (wcstof): Expect function.
26799         [C99-based-standards] (wcstold): Likewise.
26800         [C99-based-standards] (wcstoll): Likewise.
26801         [C99-based-standards] (wcstoull): Likewise.
26802         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26803         macro-int-constant.  Specify type.
26804         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26805         constraint on value.
26806         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26807         Specify type.
26808         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26809         Specify value.
26810         [ISO C standards]: Do not allow headers.
26811         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26812         wcs[abcdefghijklmnopqrstuvwxyz]*.
26813         [ISO C standards] (*_t): Do not allow.
26814         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26815         Expect function.
26816         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26817         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26818         Specify type.
26819         [ISO C standards]: Do not allow headers.
26820         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26821         is[abcdefghijklmnopqrstuvwxyz]*.
26822         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26823         to[abcdefghijklmnopqrstuvwxyz]*.
26824         [ISO C standards] (*_t): Do not allow.
26825         * conform/data/stdalign.h-data: New file.
26826         * conform/data/stdbool.h-data: Likewise.
26827         * conform/data/stdnoreturn.h-data: Likewise.
26829 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26831         [BZ #14815]
26832         * manual/filesys.texi (Directory Entries): Typo fix.
26833         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26835 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26837         * elf/elf.h (EM_AARCH64): New macro.
26838         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26839         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26840         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26841         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26842         (R_AARCH64_TLSDESC): Likewise.
26843         (NT_ARM_TLS): Likewise.
26844         (NT_ARM_HW_BREAK): Likewise.
26845         (NT_ARM_HW_WATCH): Likewise.
26847 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26849         [BZ #14811]
26850         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26851         (__ieee754_powl): Saturate nonzero exponents with absolute value
26852         below 0x1p-79 to +/- 0x1p-79.
26853         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26854         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26855         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26856         nonzero exponents with absolute value below 0x1p-32 to +/-
26857         0x1p-32.
26858         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26859         (__ieee754_powl): Saturate nonzero exponents with absolute value
26860         below 0x1p-79 to +/- 0x1p-79.
26861         * math/libm-test.inc (pow_test): Add more tests.
26863 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26865         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26866         _dl_s390_cap_flags with kernel. Increase string length.
26867         (_dl_s390_platforms): Add z196 and zEC12.
26869 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26871         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26872         Change XOPEN21K to XOPEN2K.
26874 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26876         * string/memmove.c: Use memcpy when possible.
26878 2012-11-06  Andreas Jaeger  <aj@suse.de>
26880         * po/eo.po: Update from translation team.
26882 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26884         [BZ #14793]
26885         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26886         exponent and small x and y exponents, scale x or y up.  Increase
26887         by 2 the exponent used in scaling up.
26888         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26889         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26890         * math/libm-test.inc (fma_test): Add more tests.
26891         (fma_test_towardzero): Likewise.
26892         (fma_test_downward): Likewise.
26893         (fma_test_upward): Likewise.
26895 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26897         [BZ #14805]
26898         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26899         fenv_t *.
26901         [BZ #14801]
26902         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26903         namespace for names of struct fields.
26904         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26905         fenv_t fields.
26906         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26907         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26909 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26911         [BZ #3665]
26912         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26914 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26916         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26917         PTR_DEMANGLE.
26919         [BZ #5246]
26920         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26921         PTR_DEMANGLE.
26923 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26925         [BZ #14797]
26926         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26927         definitely overflow as x * y not x * y + z.
26928         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26929         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26930         * math/libm-test.inc (fma_test): Add more tests.
26931         (fma_test_towardzero): Likewise.
26932         (fma_test_downward): Likewise.
26933         (fma_test_upward): Likewise.
26935 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26937         [BZ #157]
26939         * include/stub-tag.h: Remove file.
26940         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26941         '#include' of it.
26942         * manual/maint.texi (Porting): Don't reference it.
26943         * Makerules ($(objpfx)stubs): Likewise.
26944         * dirent/closedir.c: Don't include <stub-tag.h>.
26945         * dirent/dirfd.c: Likewise.
26946         * dirent/fdopendir.c: Likewise.
26947         * dirent/getdents.c: Likewise.
26948         * dirent/getdents64.c: Likewise.
26949         * dirent/opendir.c: Likewise.
26950         * dirent/readdir.c: Likewise.
26951         * dirent/readdir64.c: Likewise.
26952         * dirent/readdir64_r.c: Likewise.
26953         * dirent/readdir_r.c: Likewise.
26954         * dirent/rewinddir.c: Likewise.
26955         * dirent/seekdir.c: Likewise.
26956         * dirent/telldir.c: Likewise.
26957         * gmon/profil.c: Likewise.
26958         * grp/setgroups.c: Likewise.
26959         * inet/if_index.c: Likewise.
26960         * io/access.c: Likewise.
26961         * io/chdir.c: Likewise.
26962         * io/chmod.c: Likewise.
26963         * io/chown.c: Likewise.
26964         * io/close.c: Likewise.
26965         * io/dup.c: Likewise.
26966         * io/dup2.c: Likewise.
26967         * io/dup3.c: Likewise.
26968         * io/euidaccess.c: Likewise.
26969         * io/faccessat.c: Likewise.
26970         * io/fchdir.c: Likewise.
26971         * io/fchmod.c: Likewise.
26972         * io/fchmodat.c: Likewise.
26973         * io/fchown.c: Likewise.
26974         * io/fchownat.c: Likewise.
26975         * io/fcntl.c: Likewise.
26976         * io/flock.c: Likewise.
26977         * io/fstatfs.c: Likewise.
26978         * io/fstatfs64.c: Likewise.
26979         * io/fstatvfs.c: Likewise.
26980         * io/fstatvfs64.c: Likewise.
26981         * io/futimens.c: Likewise.
26982         * io/fxstat.c: Likewise.
26983         * io/fxstat64.c: Likewise.
26984         * io/fxstatat.c: Likewise.
26985         * io/fxstatat64.c: Likewise.
26986         * io/getcwd.c: Likewise.
26987         * io/isatty.c: Likewise.
26988         * io/lchmod.c: Likewise.
26989         * io/lchown.c: Likewise.
26990         * io/link.c: Likewise.
26991         * io/linkat.c: Likewise.
26992         * io/lseek.c: Likewise.
26993         * io/lseek64.c: Likewise.
26994         * io/lxstat64.c: Likewise.
26995         * io/mkdir.c: Likewise.
26996         * io/mkdirat.c: Likewise.
26997         * io/mkfifo.c: Likewise.
26998         * io/mkfifoat.c: Likewise.
26999         * io/open.c: Likewise.
27000         * io/open64.c: Likewise.
27001         * io/openat.c: Likewise.
27002         * io/openat64.c: Likewise.
27003         * io/pipe.c: Likewise.
27004         * io/pipe2.c: Likewise.
27005         * io/poll.c: Likewise.
27006         * io/posix_fadvise.c: Likewise.
27007         * io/posix_fadvise64.c: Likewise.
27008         * io/posix_fallocate.c: Likewise.
27009         * io/posix_fallocate64.c: Likewise.
27010         * io/read.c: Likewise.
27011         * io/readlink.c: Likewise.
27012         * io/readlinkat.c: Likewise.
27013         * io/rmdir.c: Likewise.
27014         * io/sendfile.c: Likewise.
27015         * io/sendfile64.c: Likewise.
27016         * io/statfs.c: Likewise.
27017         * io/statfs64.c: Likewise.
27018         * io/statvfs.c: Likewise.
27019         * io/statvfs64.c: Likewise.
27020         * io/symlink.c: Likewise.
27021         * io/symlinkat.c: Likewise.
27022         * io/ttyname.c: Likewise.
27023         * io/ttyname_r.c: Likewise.
27024         * io/umask.c: Likewise.
27025         * io/unlink.c: Likewise.
27026         * io/unlinkat.c: Likewise.
27027         * io/utime.c: Likewise.
27028         * io/utimensat.c: Likewise.
27029         * io/write.c: Likewise.
27030         * io/xmknod.c: Likewise.
27031         * io/xmknodat.c: Likewise.
27032         * io/xstat.c: Likewise.
27033         * io/xstat64.c: Likewise.
27034         * login/getpt.c: Likewise.
27035         * login/grantpt.c: Likewise.
27036         * login/unlockpt.c: Likewise.
27037         * math/e_acoshl.c: Likewise.
27038         * math/e_acosl.c: Likewise.
27039         * math/e_asinl.c: Likewise.
27040         * math/e_atan2l.c: Likewise.
27041         * math/e_atanhl.c: Likewise.
27042         * math/e_coshl.c: Likewise.
27043         * math/e_expl.c: Likewise.
27044         * math/e_fmodl.c: Likewise.
27045         * math/e_gammal_r.c: Likewise.
27046         * math/e_hypotl.c: Likewise.
27047         * math/e_j0l.c: Likewise.
27048         * math/e_j1l.c: Likewise.
27049         * math/e_jnl.c: Likewise.
27050         * math/e_lgammal_r.c: Likewise.
27051         * math/e_log10l.c: Likewise.
27052         * math/e_log2l.c: Likewise.
27053         * math/e_logl.c: Likewise.
27054         * math/e_powl.c: Likewise.
27055         * math/e_rem_pio2l.c: Likewise.
27056         * math/e_sinhl.c: Likewise.
27057         * math/e_sqrtl.c: Likewise.
27058         * math/fclrexcpt.c: Likewise.
27059         * math/fedisblxcpt.c: Likewise.
27060         * math/feenablxcpt.c: Likewise.
27061         * math/fegetenv.c: Likewise.
27062         * math/fegetexcept.c: Likewise.
27063         * math/fegetround.c: Likewise.
27064         * math/feholdexcpt.c: Likewise.
27065         * math/fesetenv.c: Likewise.
27066         * math/fesetround.c: Likewise.
27067         * math/feupdateenv.c: Likewise.
27068         * math/fgetexcptflg.c: Likewise.
27069         * math/fraiseexcpt.c: Likewise.
27070         * math/fsetexcptflg.c: Likewise.
27071         * math/ftestexcept.c: Likewise.
27072         * math/k_cosl.c: Likewise.
27073         * math/k_rem_pio2l.c: Likewise.
27074         * math/k_sinl.c: Likewise.
27075         * math/k_tanl.c: Likewise.
27076         * math/s_asinhl.c: Likewise.
27077         * math/s_atanl.c: Likewise.
27078         * math/s_cbrtl.c: Likewise.
27079         * math/s_erfl.c: Likewise.
27080         * math/s_expm1l.c: Likewise.
27081         * math/s_log1pl.c: Likewise.
27082         * math/s_tanhl.c: Likewise.
27083         * misc/acct.c: Likewise.
27084         * misc/brk.c: Likewise.
27085         * misc/chflags.c: Likewise.
27086         * misc/chroot.c: Likewise.
27087         * misc/fchflags.c: Likewise.
27088         * misc/fgetxattr.c: Likewise.
27089         * misc/flistxattr.c: Likewise.
27090         * misc/fremovexattr.c: Likewise.
27091         * misc/fsetxattr.c: Likewise.
27092         * misc/fsync.c: Likewise.
27093         * misc/ftruncate.c: Likewise.
27094         * misc/futimes.c: Likewise.
27095         * misc/futimesat.c: Likewise.
27096         * misc/getdomain.c: Likewise.
27097         * misc/getdtsz.c: Likewise.
27098         * misc/gethostid.c: Likewise.
27099         * misc/gethostname.c: Likewise.
27100         * misc/getloadavg.c: Likewise.
27101         * misc/getpagesize.c: Likewise.
27102         * misc/getsysstats.c: Likewise.
27103         * misc/getxattr.c: Likewise.
27104         * misc/gtty.c: Likewise.
27105         * misc/ioctl.c: Likewise.
27106         * misc/lgetxattr.c: Likewise.
27107         * misc/listxattr.c: Likewise.
27108         * misc/llistxattr.c: Likewise.
27109         * misc/lremovexattr.c: Likewise.
27110         * misc/lsetxattr.c: Likewise.
27111         * misc/lutimes.c: Likewise.
27112         * misc/madvise.c: Likewise.
27113         * misc/mincore.c: Likewise.
27114         * misc/mlock.c: Likewise.
27115         * misc/mlockall.c: Likewise.
27116         * misc/mmap.c: Likewise.
27117         * misc/mprotect.c: Likewise.
27118         * misc/msync.c: Likewise.
27119         * misc/munlock.c: Likewise.
27120         * misc/munlockall.c: Likewise.
27121         * misc/munmap.c: Likewise.
27122         * misc/preadv.c: Likewise.
27123         * misc/preadv64.c: Likewise.
27124         * misc/ptrace.c: Likewise.
27125         * misc/pwritev.c: Likewise.
27126         * misc/pwritev64.c: Likewise.
27127         * misc/readv.c: Likewise.
27128         * misc/reboot.c: Likewise.
27129         * misc/remap_file_pages.c: Likewise.
27130         * misc/removexattr.c: Likewise.
27131         * misc/revoke.c: Likewise.
27132         * misc/select.c: Likewise.
27133         * misc/setdomain.c: Likewise.
27134         * misc/setegid.c: Likewise.
27135         * misc/seteuid.c: Likewise.
27136         * misc/sethostid.c: Likewise.
27137         * misc/sethostname.c: Likewise.
27138         * misc/setregid.c: Likewise.
27139         * misc/setreuid.c: Likewise.
27140         * misc/setxattr.c: Likewise.
27141         * misc/sstk.c: Likewise.
27142         * misc/stty.c: Likewise.
27143         * misc/swapoff.c: Likewise.
27144         * misc/swapon.c: Likewise.
27145         * misc/sync.c: Likewise.
27146         * misc/syncfs.c: Likewise.
27147         * misc/syscall.c: Likewise.
27148         * misc/truncate.c: Likewise.
27149         * misc/ualarm.c: Likewise.
27150         * misc/usleep.c: Likewise.
27151         * misc/ustat.c: Likewise.
27152         * misc/utimes.c: Likewise.
27153         * misc/vhangup.c: Likewise.
27154         * misc/writev.c: Likewise.
27155         * posix/_exit.c: Likewise.
27156         * posix/alarm.c: Likewise.
27157         * posix/execve.c: Likewise.
27158         * posix/fexecve.c: Likewise.
27159         * posix/fork.c: Likewise.
27160         * posix/fpathconf.c: Likewise.
27161         * posix/getaddrinfo.c: Likewise.
27162         * posix/getegid.c: Likewise.
27163         * posix/geteuid.c: Likewise.
27164         * posix/getgid.c: Likewise.
27165         * posix/getgroups.c: Likewise.
27166         * posix/getlogin.c: Likewise.
27167         * posix/getlogin_r.c: Likewise.
27168         * posix/getpgid.c: Likewise.
27169         * posix/getpid.c: Likewise.
27170         * posix/getppid.c: Likewise.
27171         * posix/getresgid.c: Likewise.
27172         * posix/getresuid.c: Likewise.
27173         * posix/getsid.c: Likewise.
27174         * posix/getuid.c: Likewise.
27175         * posix/glob64.c: Likewise.
27176         * posix/nanosleep.c: Likewise.
27177         * posix/pathconf.c: Likewise.
27178         * posix/pause.c: Likewise.
27179         * posix/posix_madvise.c: Likewise.
27180         * posix/pread.c: Likewise.
27181         * posix/pread64.c: Likewise.
27182         * posix/pwrite.c: Likewise.
27183         * posix/pwrite64.c: Likewise.
27184         * posix/sched_getaffinity.c: Likewise.
27185         * posix/sched_getp.c: Likewise.
27186         * posix/sched_gets.c: Likewise.
27187         * posix/sched_primax.c: Likewise.
27188         * posix/sched_primin.c: Likewise.
27189         * posix/sched_rr_gi.c: Likewise.
27190         * posix/sched_setaffinity.c: Likewise.
27191         * posix/sched_setp.c: Likewise.
27192         * posix/sched_sets.c: Likewise.
27193         * posix/sched_yield.c: Likewise.
27194         * posix/setgid.c: Likewise.
27195         * posix/setlogin.c: Likewise.
27196         * posix/setpgid.c: Likewise.
27197         * posix/setresgid.c: Likewise.
27198         * posix/setresuid.c: Likewise.
27199         * posix/setsid.c: Likewise.
27200         * posix/setuid.c: Likewise.
27201         * posix/sleep.c: Likewise.
27202         * posix/spawni.c: Likewise.
27203         * posix/sysconf.c: Likewise.
27204         * posix/times.c: Likewise.
27205         * posix/wait.c: Likewise.
27206         * posix/wait3.c: Likewise.
27207         * posix/wait4.c: Likewise.
27208         * posix/waitpid.c: Likewise.
27209         * resolv/gai_sigqueue.c: Likewise.
27210         * resource/getpriority.c: Likewise.
27211         * resource/getrlimit.c: Likewise.
27212         * resource/getrusage.c: Likewise.
27213         * resource/nice.c: Likewise.
27214         * resource/setpriority.c: Likewise.
27215         * resource/setrlimit.c: Likewise.
27216         * resource/ulimit.c: Likewise.
27217         * rt/aio_cancel.c: Likewise.
27218         * rt/aio_fsync.c: Likewise.
27219         * rt/aio_read.c: Likewise.
27220         * rt/aio_sigqueue.c: Likewise.
27221         * rt/aio_suspend.c: Likewise.
27222         * rt/aio_write.c: Likewise.
27223         * rt/clock_getres.c: Likewise.
27224         * rt/clock_gettime.c: Likewise.
27225         * rt/clock_nanosleep.c: Likewise.
27226         * rt/clock_settime.c: Likewise.
27227         * rt/lio_listio.c: Likewise.
27228         * rt/mq_close.c: Likewise.
27229         * rt/mq_getattr.c: Likewise.
27230         * rt/mq_notify.c: Likewise.
27231         * rt/mq_open.c: Likewise.
27232         * rt/mq_receive.c: Likewise.
27233         * rt/mq_send.c: Likewise.
27234         * rt/mq_setattr.c: Likewise.
27235         * rt/mq_timedreceive.c: Likewise.
27236         * rt/mq_timedsend.c: Likewise.
27237         * rt/mq_unlink.c: Likewise.
27238         * rt/shm_open.c: Likewise.
27239         * rt/shm_unlink.c: Likewise.
27240         * rt/timer_create.c: Likewise.
27241         * rt/timer_delete.c: Likewise.
27242         * rt/timer_getoverr.c: Likewise.
27243         * rt/timer_gettime.c: Likewise.
27244         * rt/timer_settime.c: Likewise.
27245         * setjmp/__longjmp.c: Likewise.
27246         * setjmp/setjmp.c: Likewise.
27247         * signal/kill.c: Likewise.
27248         * signal/killpg.c: Likewise.
27249         * signal/raise.c: Likewise.
27250         * signal/sigaction.c: Likewise.
27251         * signal/sigaltstack.c: Likewise.
27252         * signal/sigblock.c: Likewise.
27253         * signal/sigignore.c: Likewise.
27254         * signal/sigintr.c: Likewise.
27255         * signal/signal.c: Likewise.
27256         * signal/sigpause.c: Likewise.
27257         * signal/sigpending.c: Likewise.
27258         * signal/sigqueue.c: Likewise.
27259         * signal/sigreturn.c: Likewise.
27260         * signal/sigset.c: Likewise.
27261         * signal/sigsetmask.c: Likewise.
27262         * signal/sigstack.c: Likewise.
27263         * signal/sigsuspend.c: Likewise.
27264         * signal/sigtimedwait.c: Likewise.
27265         * signal/sigvec.c: Likewise.
27266         * signal/sigwait.c: Likewise.
27267         * signal/sigwaitinfo.c: Likewise.
27268         * signal/sysv_signal.c: Likewise.
27269         * socket/accept.c: Likewise.
27270         * socket/accept4.c: Likewise.
27271         * socket/bind.c: Likewise.
27272         * socket/connect.c: Likewise.
27273         * socket/getpeername.c: Likewise.
27274         * socket/getsockname.c: Likewise.
27275         * socket/getsockopt.c: Likewise.
27276         * socket/isfdtype.c: Likewise.
27277         * socket/listen.c: Likewise.
27278         * socket/recv.c: Likewise.
27279         * socket/recvfrom.c: Likewise.
27280         * socket/recvmsg.c: Likewise.
27281         * socket/send.c: Likewise.
27282         * socket/sendmsg.c: Likewise.
27283         * socket/sendto.c: Likewise.
27284         * socket/setsockopt.c: Likewise.
27285         * socket/shutdown.c: Likewise.
27286         * socket/sockatmark.c: Likewise.
27287         * socket/socket.c: Likewise.
27288         * socket/socketpair.c: Likewise.
27289         * stdio-common/ctermid.c: Likewise.
27290         * stdio-common/cuserid.c: Likewise.
27291         * stdio-common/remove.c: Likewise.
27292         * stdio-common/rename.c: Likewise.
27293         * stdio-common/renameat.c: Likewise.
27294         * stdio-common/tempname.c: Likewise.
27295         * stdlib/getcontext.c: Likewise.
27296         * stdlib/makecontext.c: Likewise.
27297         * stdlib/setcontext.c: Likewise.
27298         * stdlib/swapcontext.c: Likewise.
27299         * stdlib/system.c: Likewise.
27300         * streams/fattach.c: Likewise.
27301         * streams/fdetach.c: Likewise.
27302         * streams/getmsg.c: Likewise.
27303         * streams/getpmsg.c: Likewise.
27304         * streams/putmsg.c: Likewise.
27305         * streams/putpmsg.c: Likewise.
27306         * sysdeps/unix/bsd/getpt.c: Likewise.
27307         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27308         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27309         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27311         Likewise.
27312         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27313         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27314         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27315         * sysvipc/msgctl.c: Likewise.
27316         * sysvipc/msgget.c: Likewise.
27317         * sysvipc/msgrcv.c: Likewise.
27318         * sysvipc/msgsnd.c: Likewise.
27319         * sysvipc/semctl.c: Likewise.
27320         * sysvipc/semget.c: Likewise.
27321         * sysvipc/semop.c: Likewise.
27322         * sysvipc/semtimedop.c: Likewise.
27323         * sysvipc/shmat.c: Likewise.
27324         * sysvipc/shmctl.c: Likewise.
27325         * sysvipc/shmdt.c: Likewise.
27326         * sysvipc/shmget.c: Likewise.
27327         * termios/tcdrain.c: Likewise.
27328         * termios/tcflow.c: Likewise.
27329         * termios/tcflush.c: Likewise.
27330         * termios/tcgetattr.c: Likewise.
27331         * termios/tcgetpgrp.c: Likewise.
27332         * termios/tcsendbrk.c: Likewise.
27333         * termios/tcsetattr.c: Likewise.
27334         * termios/tcsetpgrp.c: Likewise.
27335         * time/adjtime.c: Likewise.
27336         * time/clock.c: Likewise.
27337         * time/getitimer.c: Likewise.
27338         * time/gettimeofday.c: Likewise.
27339         * time/setitimer.c: Likewise.
27340         * time/settimeofday.c: Likewise.
27341         * time/stime.c: Likewise.
27342         * time/time.c: Likewise.
27344 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27346         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27347         /usr/old/bin.
27349         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27350         instead of spaces.
27351         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27353 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27355         [BZ #14796]
27356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27357         FE_TONEAREST before applying Dekker multiplication and Knuth
27358         addition.  Clear inexact exceptions and check for exact zero
27359         results afterwards.
27360         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27361         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27363         * math/libm-test.inc (fma_test): Add more tests.
27364         (fma_test_towardzero): Likewise.
27365         (fma_test_downward): Likewise.
27366         (fma_test_upward): Likewise.
27367         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27368         function.
27369         (libc_fesetround): New macro.
27370         (libc_fesetroundf): Likewise.
27371         (libc_fesetroundl): Likewise.
27372         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27373         function.
27374         (libc_fesetround_387): Likewise.
27375         (libc_fesetroundf): New macro.
27376         (libc_fesetround): Likewise.
27377         (libc_fesetroundl): Likewise.
27378         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27379         function.
27380         (libc_fesetroundf): New macro.
27381         (libc_fesetround): Likewise.
27382         (libc_fesetroundl): Likewise.
27383         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27384         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27385         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27386         libm_hidden_ver.
27387         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27388         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27389         libm_hidden_def.
27390         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27391         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27392         libm_hidden_ver.
27393         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27394         libm_hidden_def.
27396         [BZ #3439]
27397         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27398         integer constant usable in #if and use that to give value to enum
27399         constant.
27400         (FE_DIVBYZERO): Likewise.
27401         (FE_UNDERFLOW): Likewise.
27402         (FE_OVERFLOW): Likewise.
27403         (FE_INVALID): Likewise.
27404         (FE_INVALID_SNAN): Likewise.
27405         (FE_INVALID_ISI): Likewise.
27406         (FE_INVALID_IDI): Likewise.
27407         (FE_INVALID_ZDZ): Likewise.
27408         (FE_INVALID_IMZ): Likewise.
27409         (FE_INVALID_COMPARE): Likewise.
27410         (FE_INVALID_SOFTWARE): Likewise.
27411         (FE_INVALID_SQRT): Likewise.
27412         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27413         (FE_TONEAREST): Likewise.
27414         (FE_TOWARDZERO): Likewise.
27415         (FE_UPWARD): Likewise.
27416         (FE_DOWNWARD): Likewise.
27417         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27418         (FE_DIVBYZERO): Likewise.
27419         (FE_OVERFLOW): Likewise.
27420         (FE_UNDERFLOW): Likewise.
27421         (FE_INEXACT): Likewise.
27422         (FE_TONEAREST): Likewise.
27423         (FE_DOWNWARD): Likewise.
27424         (FE_UPWARD): Likewise.
27425         (FE_TOWARDZERO): Likewise.
27426         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27427         (FE_UNDERFLOW): Likewise.
27428         (FE_OVERFLOW): Likewise.
27429         (FE_DIVBYZERO): Likewise.
27430         (FE_INVALID): Likewise.
27431         (FE_TONEAREST): Likewise.
27432         (FE_TOWARDZERO): Likewise.
27433         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27434         (FE_OVERFLOW): Likewise.
27435         (FE_UNDERFLOW): Likewise.
27436         (FE_DIVBYZERO): Likewise.
27437         (FE_INEXACT): Likewise.
27438         (FE_TONEAREST): Likewise.
27439         (FE_TOWARDZERO): Likewise.
27440         (FE_UPWARD): Likewise.
27441         (FE_DOWNWARD): Likewise.
27442         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27443         (FE_DIVBYZERO): Likewise.
27444         (FE_OVERFLOW): Likewise.
27445         (FE_UNDERFLOW): Likewise.
27446         (FE_INEXACT): Likewise.
27447         (FE_TONEAREST): Likewise.
27448         (FE_DOWNWARD): Likewise.
27449         (FE_UPWARD): Likewise.
27450         (FE_TOWARDZERO): Likewise.
27452 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27454         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27456 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27458         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27459         commands.  Quote $PWD.
27460         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27461         -x" by "export".
27462         (remove_newlines): Remove.
27464 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27466         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27467         * stdlib/stdlib.h (atof): Moved to ...
27468         * include/bits/stdlib-float.h: Here.  New file.
27469         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27470         * stdlib/bits/stdlib-float.h: New file.
27471         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27472         -mno-sse -mno-mmx.
27473         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27474         <xmmintrin.h>.
27476 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27478         * conform/conformtest.pl (@headers): Add fenv.h.
27479         * conform/data/fenv.h-data: New file.
27480         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27481         include of <math/fenv.h>.
27483         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27484         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27485         && !UNIX98].  Enables tests for XOPEN2K8.
27486         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27487         POSIX2008]: Likewise.
27489         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27490         (struct rusage): Do not expect type or its members.
27492         [BZ #3439]
27493         * math/math.h (FP_NAN): Define macro to integer constant usable in
27494         #if and use that to give value to enum constant.
27495         (FP_INFINITE): Likewise.
27496         (FP_ZERO): Likewise.
27497         (FP_SUBNORMAL): Likewise.
27498         (FP_NORMAL): Likewise.
27500 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27502         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27503         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27504         arguments.
27506 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27508         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27509         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27510         autoconf-time if not.
27511         * configure.in: Remove AC_PREREQ.
27513 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27515         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27516         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27517         of the internal implementation.
27519 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27521         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27522         except include of <misc/sys/syslog.h>.
27524 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27527         function returns with a NULL context exit with zero.
27529 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27531         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27533 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27535         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27536         (run_program_cmd): This.
27537         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27538         (tst_langinfo): New variable.  Use it.
27540 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27542         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27543         floating point opcodes.
27545 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27547         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27548         variable.
27550         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27552         * sysdeps/mach/hurd/powerpc: Remove directory.
27553         * sysdeps/mach/powerpc: Likewise.
27555 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27557         * scripts/check-local-headers.sh: Ignore c++ headers.
27559 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27561         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27562         __libc_cleanup_region_start argument.
27564 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27566         [BZ #14784]
27567         [BZ #14785]
27568         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27569         x * y using scaling, not as x * y + z.
27570         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27571         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27572         * math/libm-test.inc (fma_test): Add more tests.
27573         (fma_test_towardzero): Likewise.
27574         (fma_test_downward): Likewise.
27575         (fma_test_upward): Likewise.
27577 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27579         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27581 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27583         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27584         New variable.
27586 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27588         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27590 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27593         Fix sort order.
27594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27595         Likewise.
27597 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27600         Fix the order of the list for glibc 2.17.
27601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27602         Likewise.
27604 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27608 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27610         [BZ #14610]
27611         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27612         for low part of x being zero before using __atanl (y).
27613         * math/libm-test.inc (atan2_test): Add another test.
27615         * manual/install.texi (Configuring and compiling): Document
27616         general use of test-wrapper and test-wrapper-env.
27617         * INSTALL: Regenerated.
27619         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27620         (__fma): Do not extract and scale down low bits on after-rounding
27621         systems when result rounded to normal precision would have normal
27622         exponent.
27623         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27624         (__fmal): Do not extract and scale down low bits on after-rounding
27625         systems when result rounded to normal precision would have normal
27626         exponent.
27627         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27628         (__fmal): Do not extract and scale down low bits on after-rounding
27629         systems when result rounded to normal precision would have normal
27630         exponent.
27631         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27632         macro.
27633         (fma_test): Add more tests.
27634         (fma_test_towardzero): Likewise.
27635         (fma_test_downward): Likewise.
27636         (fma_test_upward): Likewise.
27638 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27640         * sysdeps/i386/tininess.h: Renamed to ...
27641         * sysdeps/x86/tininess.h: This.
27642         * sysdeps/x86_64/tininess.h: Removed.
27644 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27646         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27647         input.  Use $(build-program-cmd).
27648         ($(objpfx)tst-array1-static.out): Likewise.
27649         ($(objpfx)tst-array2.out): Likewise.
27650         ($(objpfx)tst-array3.out): Likewise.
27651         ($(objpfx)tst-array4.out): Likewise.
27652         ($(objpfx)tst-array5.out): Likewise.
27653         ($(objpfx)tst-array5-static.out): Likewise.
27655 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27657         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27658         if defined.
27660         * nss/nsswitch.h (nss_interface_function): Provide new
27661         macro for use with NSS functions.
27662         * grp/initgroups.c: Use new macro.
27663         * nss/getXXbyYY.c: Likewise.
27664         * nss/getXXbyYY_r.c: Likewise.
27665         * nss/getXXent.c: Likewise.
27666         * nss/getXXent_r.c: Likewise.
27667         * sysdeps/posix/getaddrinfo.c: Likewise.
27669 2012-10-30  Andreas Jaeger  <aj@suse.de>
27671         * po/ru.po: Update Russion translation from translation project.
27673 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27675         [BZ #14152]
27676         [BZ #14783]
27677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27678         result and shift together with sticky bit instead of replicating
27679         round-to-nearest rounding.
27680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27681         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27682         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27683         missing underflow exceptions.
27684         (fma_test_towardzero): Add more tests.
27685         (fma_test_downward): Likewise.
27686         (fma_test_upward): Likewise.
27688         [BZ #14047]
27689         * sysdeps/generic/tininess.h: New file.
27690         * sysdeps/i386/tininess.h: Likewise.
27691         * sysdeps/sh/tininess.h: Likewise.
27692         * sysdeps/x86_64/tininess.h: Likewise.
27693         * stdlib/tst-strtod-underflow.c: Likewise.
27694         * stdlib/tst-tininess.c: Likewise.
27695         * stdlib/strtod_l.c: Include <tininess.h>.
27696         (round_and_return): Do not set errno for exact underflow cases.
27697         Force an underflow exception when setting errno for underflow.
27698         Determine underflow based on rounding to normal precision if
27699         TININESS_AFTER_ROUNDING.
27700         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27701         ERANGE for exact underflow cases.
27702         * stdlib/Makefile (tests): Add tst-tininess and
27703         tst-strtod-underflow.
27704         ($(objpfx)tst-tininess): Use $(link-libm).
27705         ($(objpfx)tst-strtod-underflow): Likewise.
27707 2012-10-30  Andreas Jaeger  <aj@suse.de>
27709         [BZ#14767]
27710         * elf/Makefile (tests): Remove conditional for have-initfini-array
27711         since this is now always required and the variable does not exist
27712         anymore.
27713         (tests-static): Likewise.
27714         (modules-names): Likewise.
27716         * po/eo.po: Add Esperanto translation from translation project.
27718         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27719         merged with constructor/destructor.
27720         (init_array): Likewise.
27721         * elf/tst-array2dep.c (fini_array): Likewise.
27722         (init_array): Likewise.
27724 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27726         * manual/message.texi: Delete @cartouche tags.
27728 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27730         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27731         EOPNOTSUPP.
27732         * sysdeps/mach/hurd/fsync.c: Likewise.
27734         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27735         [_POSIX_REALTIME_SIGNALS]: Change condition to
27736         [_POSIX_REALTIME_SIGNALS > 0].
27738 2012-10-27  Andreas Jaeger  <aj@suse.de>
27740         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27741         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27743         [__WORDSIZE != 64]: Likewise.
27745 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27747         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27748         *  iconvdata/tst-tables.sh: Likewise.
27750 2012-10-25  David S. Miller  <davem@davemloft.net>
27752         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27753         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27754         of strtoull.
27756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27757         ifunc-impl-list.c
27758         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27759         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27760         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27761         file.
27763 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27765         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27766         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27767         __getdirentries.
27769 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27770             Jim Blandy  <jimb@codesourcery.com>
27772         * scripts/cross-test-ssh.sh: New file.
27773         * manual/install.texi (Configuring and compiling): Document use of
27774         cross-test-ssh.sh.
27775         * INSTALL: Regenerated.
27777 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27779         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27780         EOPNOTSUPP.
27782 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27784         * Makeconfig (run-program-prefix): Fix comment.
27786 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27787             Jim Blandy  <jimb@codesourcery.com>
27789         * Makeconfig (test-wrapper): New variable,
27790         (test-wrapper-env): Likewise.
27791         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27792         (run-built-tests): Define to yes.
27793         (run-program-prefix): Use $(test-wrapper).
27794         (built-program-cmd): Likewise.
27795         * Rules (make-test-out): Use $(test-wrapper-env) and
27796         $(host-built-program-cmd).
27797         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27798         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27799         tst-pathopt.sh.
27800         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27801         $(test-wrapper-env) to tst-rtld-load-self.sh.
27802         ($(objpfx)order2.out): Use $(test-wrapper).
27803         ($(objpfx)tst-initorder.out): Likewise.
27804         ($(objpfx)tst-initorder2.out): Likewise.
27805         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27806         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27807         (test_wrapper_env): New variable.  Use it to run ld.so.
27808         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27809         Use it to run ld.so.
27810         (test_wrapper_env): Likewise.
27811         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27812         $(test-wrapper) to run-iconv-test.sh.
27813         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27814         (ICONV): Use $test_wrapper.
27815         * posix/Makefile ($(objpfx)globtest.out): Pass
27816         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27817         globtest.sh, not $(run-program-prefix).
27818         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27819         (test_wrapper): Likewise.
27820         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27821         set together with run_via_rtld_prefix.
27822         (run_program_prefix): Define in terms of test_wrapper and
27823         run_via_rtld_prefix.
27825 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27827         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27828         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27829         Targets removed.
27831         [BZ #14743]
27832         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27833         Declare __clock_getres, __clock_gettime, __clock_settime,
27834         __clock_nanosleep, and __clock_getcpuclockid.
27835         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27836         Remove librt_hidden_def (clock_gettime).
27837         * sysdeps/unix/clock_gettime.c: Likewise.
27838         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27839         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27840         * rt/clock_getres.c: Define __clock_getres as an alias.
27841         * sysdeps/posix/clock_getres.c: Likewise.
27842         * rt/clock_settime.c: Define __clock_settime as an alias.
27843         * sysdeps/unix/clock_settime.c: Likewise.
27844         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27845         * sysdeps/unix/clock_nanosleep.c: Likewise.
27846         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27847         * rt/clock-compat.c: New file.
27848         * rt/Makefile (librt-routines): Add clock-compat and move
27849         $(clock-routines) to ...
27850         (routines): ... here, new variable.
27851         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27852         Don't add get_clockfreq here.
27853         * rt/Versions (libc: GLIBC_2.17): New version set.
27854         Add clock_* symbols here.
27855         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27856         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27857         (GLIBC_2.17): Add clock_* symbols.
27858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27860         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27862         Likewise.
27863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27864         Likewise.
27865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27869         * NEWS: Mention the move.
27871         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27872         Use __open, __read, __close rather than their public counterparts.
27873         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27874         (__get_clockfreq_via_cpuinfo): Likewise.
27875         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27876         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27878         * config.h.in (HAVE_IFUNC): New #undef.
27879         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27880         was successful.
27881         * configure: Regenerated.
27883 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27885         * configure.in: Move READELF check to start of file.
27886         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27887         libc_cv_asm_gnu_indirect_function in the process.
27888         * configure: Regenerated.
27890 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27892         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27893         send the output to /dev/null.
27894         (libc_cv_cc_with_libunwind): Likewise.
27895         (libc_cv_as_noexecstack): Likewise.
27896         * configure: Regenerate.
27898 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27900         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27902         * posix/globtest.sh (TMPDIR): Do not set.
27903         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27904         (testout): Likewise.
27906 2012-10-24  Andreas Jaeger  <aj@suse.de>
27908         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27909         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27910         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27911         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27912         posix_fadvise64, posix_fallocate64.
27914         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27915         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27916         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27917         Likewise.
27918         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27919         Likewise.
27920         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27922         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27923         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27924         <bits/fcntl-linux.h>.
27925         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27927         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27928         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27929         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27930         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27931         [__WORDSIZE != 64]: Likewise.
27933 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27935         * Makeconfig (run-built-tests): New variable.
27936         * Rules [$(cross-compiling) = yes]: Change condition to
27937         [$(run-built-tests) = no].
27938         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27939         to [$(run-built-tests) = yes].
27940         * elf/Makefile [$(cross-compiling) = no]: Likewise
27941         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27942         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27943         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27944         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27945         * io/Makefile [$(cross-compiling) = no]: Likewise.
27946         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27947         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27948         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27949         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27950         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27951         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27952         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27953         * string/Makefile [$(cross-compiling) = no]: Likewise.
27955         * posix/Makefile ($(objpfx)globtest.out): Pass
27956         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27957         $(rtld-installed-name).
27958         * posix/globtest.sh (elf_objpfx): Remove variable.
27959         (rtld_installed_name): Likewise.
27960         (library_path): Likewise.
27961         (run_program_prefix): New variable.  Use for running globtest
27962         binary.
27964 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27965             Joseph Myers  <joseph@codesourcery.com>
27967         * Makeconfig (host-built-program-cmd): New variable.
27968         * elf/Makefile (tst-stackguard1-ARGS): Use
27969         $(host-built-program-cmd).
27970         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27971         (tst-spawn-ARGS): Likewise.
27972         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27974 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27975             Jim Blandy  <jimb@codesourcery.com>
27977         * Makeconfig (run-via-rtld-prefix): New variable.
27978         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27979         (built-program-cmd): Likewise.
27981 2012-10-22  Andreas Jaeger  <aj@suse.de>
27983         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27984         __O_RSYNC if it exists, otherwise to O_SYNC.
27986 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27987             Joseph Myers  <joseph@codesourcery.com>
27989         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27990         /dev/null.
27991         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27992         from /dev/null
27993         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27994         /dev/null.
27996 2012-10-22  Andreas Jaeger  <aj@suse.de>
27998         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27999         Define always.
28000         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28003         bits/fcntl-linux.h.
28005         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28006         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28008         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28009         to __O_LARGEFILE.
28010         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28011         to __O_LARGEFILE.
28013 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28014             Joseph Myers  <joseph@codesourcery.com>
28016         * config.make.in (NM): New variable.
28018 2012-10-21  Andreas Jaeger  <aj@suse.de>
28020         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28021         definitions and declarations that are provided by
28022         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28024 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28026         [BZ #14683]
28027         * elf/Makefile (tests-static): Add tst-leaks1-static.
28028         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28029         ($(objpfx)tst-leaks1-static): New rule.
28030         ($(objpfx)tst-leaks1-static-mem): Likewise.
28031         (tst-leaks1-static-ENV): New macro.
28032         * elf/dl-open.c (dl_open_worker): Check the main application
28033         only if SHARED is defined.
28034         * elf/tst-leaks1-static.c: New file.
28036 2012-10-20  Andreas Jaeger  <aj@suse.de>
28038         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28039         generic values for Linux.
28040         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28041         and declarations that are provided by <bits/fcntl-linux.h> and
28042         include <bits/fcntl-linux.h>.
28043         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28044         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28046 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28048         * io/fcntl.h: Move include of <bits/types.h> to the top and
28049         include it unconditionally.
28051 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28053         * wcsmbs/Makefile (tests-ifunc): New variable.
28054         (tests): Add $(tests-ifunc).
28055         * wcsmbs/test-wcschr-ifunc.c: New file.
28056         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28057         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28058         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28059         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28060         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28062         * string/Makefile (tests-ifunc): New variable.
28063         (tests): Add $(tests-ifunc).
28064         * string/test-memccpy.c (TEST_NAME): New macro.
28065         * string/test-memchr.c (TEST_NAME): Likewise.
28066         * string/test-memcmp.c (TEST_NAME): Likewise.
28067         * string/test-memcpy.c (TEST_NAME): Likewise.
28068         * string/test-memmem.c (TEST_NAME): Likewise.
28069         * string/test-memmove.c (TEST_NAME): Likewise.
28070         * string/test-memset.c (TEST_NAME): Likewise.
28071         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28072         * string/test-stpcpy.c (TEST_NAME): Likewise.
28073         * string/test-stpncpy.c (TEST_NAME): Likewise.
28074         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28075         * string/test-strcasestr.c (TEST_NAME): Likewise.
28076         * string/test-strcat.c (TEST_NAME): Likewise.
28077         * string/test-strchr.c (TEST_NAME): Likewise.
28078         * string/test-strcmp.c(TEST_NAME): Likewise.
28079         * string/test-strcpy.c (TEST_NAME): Likewise.
28080         * string/test-strcspn.c (TEST_NAME): Likewise.
28081         * string/test-strlen.c (TEST_NAME): Likewise.
28082         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28083         * string/test-strncmp.c (TEST_NAME): Likewise.
28084         * string/test-strncpy.c (TEST_NAME): Likewise.
28085         * string/test-strnlen.c (TEST_NAME): Likewise.
28086         * string/test-strpbrk.c (TEST_NAME): Likewise.
28087         * string/test-strrchr.c (TEST_NAME): Likewise.
28088         * string/test-strspn.c (TEST_NAME): Likewise.
28089         * string/test-strstr.c (TEST_NAME): Likewise.
28090         * string/test-bcopy-ifunc.c: New file.
28091         * string/test-bzero-ifunc.c: Likewise.
28092         * string/test-memccpy-ifunc.c: Likewise.
28093         * string/test-memchr-ifunc.c: Likewise.
28094         * string/test-memcmp-ifunc.c: Likewise.
28095         * string/test-memcpy-ifunc.c: Likewise.
28096         * string/test-memmem-ifunc.c: Likewise.
28097         * string/test-memmove-ifunc.c: Likewise.
28098         * string/test-mempcpy-ifunc.c: Likewise.
28099         * string/test-memset-ifunc.c: Likewise.
28100         * string/test-rawmemchr-ifunc.c: Likewise.
28101         * string/test-stpcpy-ifunc.c: Likewise.
28102         * string/test-stpncpy-ifunc.c: Likewise.
28103         * string/test-strcasecmp-ifunc.c: Likewise.
28104         * string/test-strcasestr-ifunc.c: Likewise.
28105         * string/test-strcat-ifunc.c: Likewise.
28106         * string/test-strchr-ifunc.c: Likewise.
28107         * string/test-strchrnul-ifunc.c: Likewise.
28108         * string/test-strcmp-ifunc.c: Likewise.
28109         * string/test-strcpy-ifunc.c: Likewise.
28110         * string/test-strcspn-ifunc.c: Likewise.
28111         * string/test-strlen-ifunc.c: Likewise.
28112         * string/test-strncasecmp-ifunc.c: Likewise.
28113         * string/test-strncat-ifunc.c: Likewise.
28114         * string/test-strncmp-ifunc.c: Likewise.
28115         * string/test-strncpy-ifunc.c: Likewise.
28116         * string/test-strnlen-ifunc.c: Likewise.
28117         * string/test-strpbrk-ifunc.c: Likewise.
28118         * string/test-strrchr-ifunc.c: Likewise.
28119         * string/test-strspn-ifunc.c: Likewise.
28120         * string/test-strstr-ifunc.c: Likewise.
28122         * debug/Makefile (tests-ifunc): New variable.
28123         (tests): Add $(tests-ifunc).
28124         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28125         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28126         * debug/test-stpcpy_chk-ifunc.c: New file.
28127         * debug/test-strcpy_chk-ifunc.c: Likewise.
28129 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28131         [BZ #13601]
28132         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28133         header is not read in.
28135 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28137         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28138         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28139         directly.  Pass built executable to script as
28140         $(built-program-cmd).
28141         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28142         $testprogram without using LD_LIBRARY_PATH and $ldso.
28144         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28145         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28146         $(rtld-installed-name).
28147         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28148         (rtld_installed_name): Likewise.
28149         (library_path): Likewise.
28150         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28151         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28152         $(run-program-prefix) to tst-tables.sh.
28153         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28154         it to run tst-table-from and tst-table-to.
28155         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28156         Pass it to tst-table.sh.
28157         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28158         $(run-program-prefix) to tst-gettext.sh.
28159         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28160         tst-translit.sh.
28161         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28162         tst-gettext2.sh.
28163         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28164         to run tst-gettext.
28165         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28166         to run tst-gettext2.
28167         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28168         to run tst-translit.
28169         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28170         $(run-program-prefix) to tst-mtrace.sh.
28171         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28172         to run tst-mtrace.
28173         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28174         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28175         $(rtld-installed-name).
28176         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28177         (rtld_installed_name): Likewise.
28178         (run_program_prefix): New variable.  Use it to run wordexp-test.
28180         * Makeconfig (ARCH): Remove all definitions.
28181         (machine): Likewise.
28182         [ARCH]: Remove conditional code.
28183         [!objdir]: Give error.
28184         [!objdir] (objpfx): Remove.
28185         [!objdir] (common-objpfx): Likewise.
28186         [!objdir] (common-objdir): Likewise.
28187         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28188         AC_CONFIG_FILES call.
28189         * configure: Regenerated.
28191         [BZ #13888]
28192         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28193         or TMPDIR.
28194         (testout): Likewise.
28196         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28197         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28198         $(rtld-installed-name).
28199         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28200         (rtld_installed_name): Likwise.
28201         (runit): Remove function.
28202         (run_getconf): New variable,  Use it for running getconf binary.
28204 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28206         [BZ #14716]
28207         * string/test-memmem.c (check_result): New function.
28208         (do_one_test): Use it.
28209         (check1): New function.
28210         (test_main): Use it.
28212 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28214         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28216 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28218         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28219         (_G_LSEEK64): Likewise.
28220         (_G_MMAP64): Likewise.
28221         (_G_FSTAT64): Likewise.
28222         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28223         (_G_LSEEK64): Likewise.
28224         (_G_MMAP64): Likewise.
28225         (_G_FSTAT64): Likewise.
28226         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28227         unconditional.  Call __mmap64 directly.
28228         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28229         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28230         __lseek64 directly.
28231         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28232         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28233         __mmap64 directly.
28234         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28235         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28236         __lseek64 directly.
28237         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28238         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28239         __lseek64 directly.
28240         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28241         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28242         __lseek64 directly.
28243         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28244         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28245         __fxstat64 directly.
28246         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28247         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28248         unconditional.
28249         (freopen64) [!_G_OPEN64]: Remove conditional code.
28250         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28251         unconditional.
28252         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28253         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28254         unconditional.
28255         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28256         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28257         unconditional.
28258         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28259         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28260         unconditional.
28261         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28262         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28263         unconditional.
28264         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28265         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28266         unconditional.
28267         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28268         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28269         unconditional.
28270         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28272 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28274         [BZ #12140]
28275         * manual/memory.texi (Malloc Tunable Parameters): Add note
28276         about free list pointers overwriting some perturb bytes.
28277         Wording suggested by Roland McGrath.
28279 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28281         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28282         (lgamma_test): Likewise.
28283         (tgamma_test): Likewise.
28285 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28287         [BZ #14700]
28288         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28289         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28291 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28293         * NEWS: Mention BZ #14716.
28294         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28295         when removing AVAILABLE1_USES_J macro.
28297 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28299         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28300         (__bswap_64): __uint64_t for unsigned 64-bit int.
28302 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28304         * include/string.h (memmem): Declare libc hidden alias.
28305         * string/memmem.c (memmem): Define libc hidden alias.
28306         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28307         __read, __close instead of open, read, close.
28309 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28312         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28313         global and hidden.
28314         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28315         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28316         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28317         Likewise.
28318         (__rawmemchr_sse2): Likewise.
28319         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28320         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28321         (__strchr_sse2): Likewise.
28322         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28323         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28324         (__strcasecmp_sse2): Likewise.
28325         (__strncasecmp_sse2): Likewise.
28326         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28327         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28328         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28329         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28330         (__strrchr_sse2): Likewise.
28331         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28332         ifunc-impl-list.c.
28333         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28334         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28335         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28336         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28337         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28338         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28339         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28340         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28341         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28342         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28343         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28344         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28345         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28346         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28347         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28348         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28349         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28350         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28351         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28352         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28353         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28354         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28355         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28356         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28357         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28358         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28359         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28360         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28361         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28362         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28364         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28365         global and hidden.
28366         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28367         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28368         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28369         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28370         Likewise.
28371         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28372         Likewise.
28373         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28374         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28375         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28376         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28377         ifunc-impl-list.c.
28378         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28379         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28380         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28381         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28382         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28383         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28384         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28385         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28386         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28387         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28388         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28389         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28390         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28391         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28392         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28393         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28394         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28395         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28396         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28397         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28398         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28399         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28400         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28401         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28402         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28403         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28404         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28405         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28406         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28407         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28408         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28409         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28410         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28411         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28412         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28413         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28414         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28415         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28416         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28417         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28418         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28420         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28421         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28422         * include/ifunc-impl-list.h: New file.
28423         * misc/ifunc-impl-list.c: Likewise.
28424         * misc/Makefile (routines): Add ifunc-impl-list.
28425         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28426         * string/test-string.h: Include <ifunc-impl-list.h>.
28427         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28428         TEST_NAME]: New variables.
28429         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28430         are defined.
28431         (test_init): Call __libc_ifunc_impl_list to initialize
28432         func_list if TEST_IFUNC and TEST_NAME are defined.
28434         * string/Makefile (strop-tests): Add bcopy and bzero.
28435         * string/test-bcopy.c: New file.
28436         * string/test-bzero.c: Likewise.
28437         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28438         defined.
28439         * string/test-memset.c: Support bzero test if TEST_BZERO is
28440         defined.
28441         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28442         __libc_memmove.
28443         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28444         __libc_memset.
28445         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28446         of memset.
28448 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28450         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28451         * configure: Regenerated.
28453         * Makeconfig (+link-static-before-libc): Don't include
28454         $(link-static-libc).
28456         * libio/libio.h (_IO_pos_t): Remove.
28458 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28460         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28461         McGrath.
28463 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28465         * crypt/crypt-entry.c: Include fips-private.h.
28466         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28467         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28468         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28469         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28471 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28473         * crypt/crypt-private.h: Include stdbool.h.
28474         (_ufc_setup_salt_r): Return bool.
28475         * crypt/crypt-entry.c: Include errno.h.
28476         (__crypt_r): Return NULL with EINVAL for bad salt.
28477         * crypt/crypt_util.c (bad_for_salt): New.
28478         (_ufc_setup_salt_r): Check that salt is long enough and within
28479         the specified alphabet.
28480         * crypt/badsalttest.c: New file.
28481         * crypt/Makefile (tests): Add it.
28482         ($(objpfx)badsalttest): New.
28484 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28486         * NEWS: Add entry for BZ #14602.
28488 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28490         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28491         type-generic.
28492         * math/libm-test.inc: Update comment listing what functions and
28493         macros are tested.
28494         (isgreater_test): New function.
28495         (isgreaterequal_test): Likewise.
28496         (isless_test): Likewise.
28497         (islessequal_test): Likewise.
28498         (islessgreater_test): Likewise.
28499         (isunordered_test): Likewise.
28500         (main): Call the new functions.
28502 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28504         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28505         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28506         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28507         * sysdeps/i386/configure: Regenerated.
28508         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28509         * sysdeps/mach/configure: Regenerated.
28510         * sysdeps/mach/hurd/configure: Regenerated.
28511         * sysdeps/powerpc/configure: Regenerated.
28512         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28513         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28514         * sysdeps/s390/s390-32/configure: Regenerated.
28515         * sysdeps/s390/s390-64/configure: Regenerated.
28516         * sysdeps/sh/configure: Regenerated.
28517         * sysdeps/sparc/configure: Regenerated.
28518         * sysdeps/unix/sysv/linux/configure: Regenerated.
28519         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28520         * sysdeps/x86_64/configure: Regenerated.
28522         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28523         defined.  Don't check if MAP is NULL.
28525 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28527         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28528         (_G_stat64): Likewise.
28529         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28530         (_G_stat64): Likewise.
28531         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28532         instead of struct _G_stat64.
28533         * libio/fileops.c (mmap_remap_check): Likewise.
28534         (decide_maybe_mmap): Likewise.
28535         (_IO_new_file_seekoff): Likewise.
28536         (_IO_file_stat): Likewise.
28537         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28538         _G_off64_t.
28539         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28540         instead of struct _G_stat64.
28541         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28543 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28545         [BZ #14602]
28546         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28547         Replace with ...
28548         (CHECK_EOL): New macro.
28549         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28550         CHECK_EOL.
28551         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28552         Replace with CHECK_EOL.
28553         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28554         Replace with CHECK_EOL.
28556 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28558         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28559         type-generic.
28560         * math/libm-test.inc: Update comment listing what functions and
28561         macros are tested.
28562         (finite_test): New function.
28563         (isinf_test): Likewise.
28564         (isnan_test): Likewise.
28565         (fpclassify_test): Test subnormal input.
28566         (isfinite_test): Likewise.
28567         (isnormal_test): Likewise.
28568         (main): Call the new functions.
28570 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28572         [BZ #14660]
28573         * Makerules (%.dynsym): Force C locale when running
28574         $(OBJDUMP) --dynamic-syms.
28576 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28578         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28579         <stdint.h>.
28581 2012-10-06  David S. Miller  <davem@davemloft.net>
28583         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28584         upper 32-bits of the length value in %o2 since we use branch-on-register
28585         tests which consider the entire 64-bit register.
28587 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28589         * string/test-strstr.c (check2): Add a test for page boundary.
28591 2012-10-05  David S. Miller  <davem@davemloft.net>
28593         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28594         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28595         file.
28596         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28597         sysdep_routines.
28598         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28599         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28600         and bzero when HWCAP_SPARC_CRYPTO is present.
28602 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28604         [BZ #14602]
28605         * string/test-strstr.c (check2): New function.
28606         (test_main): Call check2.
28608         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28609         and bug-strchr1.
28610         * string/bug-strcasestr1.c (do_test): Moved to ...
28611         * string/test-strcasestr.c (check1): Here.  New function.
28612         (do_one_test): Break out result checking code into ...
28613         (check_result): This.  New function.
28614         (do_one_test): Call check_result.
28615         (test_main): Call check1.
28616         * string/bug-strchr1.c (do_test): Moved to ...
28617         * string/test-strchr.c (check1): Here.  New function.
28618         (do_one_test): Break out result checking code into ...
28619         (check_result): This.  New function.
28620         (do_one_test): Call check_result.
28621         (test_main): Call check1.
28622         * string/bug-strstr1.c (main): Moved to ...
28623         * string/test-strstr.c (check1): Here.  New function.
28624         (do_one_test): Break out result checking code into ...
28625         (check_result): This.  New function.
28626         (do_one_test): Call check_result.
28627         (test_main): Call check1.
28628         * string/bug-strcasestr1.c: Removed.
28629         * string/bug-strchr1.c: Likewise.
28630         * string/bug-strstr1.c: Likewise.
28632         * elf/Makefile (dl-routines): Add hwcaps.
28633         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28634         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28635         (_dl_important_hwcaps): Moved to ...
28636         * elf/dl-hwcaps.c: Here.  New file.
28637         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28639         [BZ #14557]
28640         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28641         if IS_IN_rtld isn't defined.
28643         * elf/dl-support.c (_dl_sysinfo_map): New.
28644         Include "get-dynamic-info.h" and "setup-vdso.h".
28645         (_dl_non_dynamic_init): Call setup_vdso.
28646         * elf/dynamic-link.h: Don't include <assert.h>.
28647         (elf_get_dynamic_info): Moved to ...
28648         * elf/get-dynamic-info.h: Here.  New file.
28649         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28650         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28651         * elf/setup-vdso.h: Here.  New file.
28652         * elf/rtld.c: Include "setup-vdso.h".
28653         (dl_main): Call setup_vdso.
28655 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28657         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28658         creal in comment listing functions tested.  List finite, isinf,
28659         isnan, isless, islessequal, isgreater, isgreaterequal,
28660         islessgreater, isunordered, lgamma_r and pow10 as functions and
28661         macros not tested.  Mention which functions not tested are aliases
28662         for other functions.  Fix typo.  Note that signs of NaNs are not
28663         tested.
28665         * scripts/config.guess: Update from config.git.
28666         * scripts/config.sub: Likewise.
28668 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28670         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28671         * misc/madvise.c (madvise): Renamed to __madvise.
28672         Make madvise a weak alias.
28673         * include/sys/mman.h: Declare __madvise.
28674         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28675         * sysdeps/unix/syscalls.list
28676         (madvise): Make __madvise the strong name, and madvise a weak alias.
28677         * sysdeps/unix/sysv/linux/syscalls.list
28678         (madvise, mmap): Remove redundant entries.
28679         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28680         * malloc/malloc.c (mtrim): Likewise.
28681         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28683 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28685         * sysdeps/mach/hurd/dl-cache.c: File removed.
28686         * config.h.in (USE_LDCONFIG): New #undef.
28687         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28688         * configure: Regenerated.
28689         * elf/Makefile (dl-routines): Add dl-cache only under
28690         [$(use-ldconfig) = yes].
28691         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28692         cache on [USE_LDCONFIG].
28693         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28694         [USE_LDCONFIG].
28695         * elf/rtld.c (dl_main): Likewise.
28697 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28699         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28700         _SC_LEVEL4_CACHE_LINESIZE.
28702 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28704         * sysdeps/unix/bsd/confstr.h: File removed.
28706 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28708         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28709         sys/sdt-config.h.
28711 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28713         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28714         Make 'mapoff' field ElfW(Off) rather than off_t.
28716 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28718         * nscd/Makefile: Remove nscd-cflags and all its users.
28719         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28720         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28722         [BZ #10631]
28723         * malloc.c (malloc_printerr): Clarify error message.
28725 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28727         [BZ #14648]
28728         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28729         Set bit_FMA_Usable if FMA is supported.
28730         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28731         macro.
28732         (bit_FMA4_Usable): Updated.
28733         (index_FMA_Usable): New macro.
28734         (CPUID_FMA): Likewise
28735         (HAS_FMA): Defined with bit_FMA_Usable.
28737 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28739         * bits/types.h (__swblk_t): Type removed.
28740         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28741         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28742         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28743         (__SWBLK_T_TYPE): Likewise.
28744         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28745         (__SWBLK_T_TYPE): Likewise.
28746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28747         (__SWBLK_T_TYPE): Likewise.
28748         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28749         (__SWBLK_T_TYPE): Likewise.
28751 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28752             Honza Horak <hhorak@redhat.com>
28754         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28755         (xdr_mapname): Use YPMAXMAP as maxsize.
28756         (xdr_peername): Use YPMAXPEER as maxsize.
28757         (xdr_keydat): Use YPAXRECORD as maxsize.
28758         (xdr_valdat): Use YPMAXRECORD as maxsize.
28760 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28762         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28764         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28765         * csu/init-first.c: ... here.
28766         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28767         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28768         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28769         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28770         * sysdeps/i386/init-first.c: File removed.
28771         * sysdeps/sh/init-first.c: File removed.
28773 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28775         [BZ #14645]
28776         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28777         if x * y might underflow to zero and z is zero.
28778         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28779         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28780         * math/libm-test.inc (min_subnorm_value): New variable.
28781         (fma_test): Add more tests.
28782         (fma_test_towardzero): Likewise.
28783         (fma_test_downward): Likewise
28784         (fma_test_upward): Likewise.
28785         (initialize): Set min_subnorm_value.
28787 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28789         [BZ #14638]
28790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28791         0 + 0.
28792         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28793         mode for addition resulting in exact zero.
28794         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28795         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28796         exact 0 + 0.
28797         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28798         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28799         * math/libm-test.inc (fma_test): Add more tests.
28800         (fma_test_towardzero): New function.
28801         (fma_test_downward): Likewise.
28802         (fma_test_upward): Likewise.
28803         (main): Call the new functions.
28805 2012-09-28  David S. Miller  <davem@davemloft.net>
28807         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28809 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28811         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28812         instead of SIGALRM.
28814         * sysdeps/gnu/_G_config.h: Moved to ...
28815         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28816         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28817         * sysdeps/generic/_G_config.h: ... here.
28819         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28821         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28823         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28824         Conditionalize target on [libnss_test1.so-version].
28826         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28828         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28829         (elfobjdir): Move out of conditionals.
28831         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28832         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28833         (__nss_lookup_function): Conditionalize label remove_from_tree on
28834         [!DO_STATIC_NSS || SHARED], matching its only use.
28836 2012-09-28  David S. Miller  <davem@davemloft.net>
28838         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28839         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28840         file.
28841         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28842         sysdep_routines.
28843         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28844         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28845         when HWCAP_SPARC_CRYPTO is present.
28847 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28849         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28851 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28853         [BZ #6530]
28854         * stdio-common/vfprintf.c (process_string_arg): Revert
28855         2000-07-22 change.
28857 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28859         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28860         for testcase.
28861         * stdio-common/tst-sprintf.c: Include <locale.h>
28862         (main): Test sprintf's handling of incomplete multibyte
28863         characters.
28865 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28867         * elf/dl-runtime.c (VERSYMIDX): Removed.
28868         * elf/dl-version.c (VERSYMIDX): Likewise.
28869         * elf/do-rel.h (VERSYMIDX): Likewise.
28870         (VALIDX): Likewise.
28871         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28872         * elf/rtld.c (VALIDX): Likewise.
28873         (ADDRIDX): Likewise.
28874         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28875         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28876         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28877         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28878         (VALIDX): Likewise.
28879         (ADDRIDX): Likewise.
28881 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28883         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28885 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28887         [BZ #11438]
28888         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28889         to global scope.
28890         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28891         addresses are in the same scope as 192.0.2/24.
28892         * posix/gai.conf: Document new scope table defaults.
28894 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28896         [BZ #5298]
28897         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28898         for ftell.  Compute offsets from write pointers instead.
28899         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28901 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28903         [BZ #14543]
28904         * libio/Makefile (tests): New test case tst-fseek.
28905         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28906         combination works in wide mode.
28907         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28908         state when the external buffer state changes.
28910 2012-09-27  David S. Miller  <davem@davemloft.net>
28912         [BZ #14376]
28913         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28914         pass reloc->r_addend in as the 'high' argument to
28915         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28919 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28921         * rt/tst-aio2.c: Include <pthread.h>.
28922         * rt/tst-aio3.c: Likewise.
28924 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28926         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28928 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28930         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28931         contents on [SHARED].
28933 2012-09-26  Marek Polacek  <polacek@redhat.com>
28935         [BZ #14530]
28936         [BZ #13741]
28937         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28938         for C++ and GCC <4.3 as well as for non GCC compilers.
28940 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28944 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28946         * Makefile.in (all, install): Declare with .PHONY.
28947         Reported by Michael Hope <michael.hope@linaro.org>.
28949 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28951         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28952         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28953         system header.
28954         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28955         Likewise.
28956         (sydep_routines): Add the new and the internal functions.
28957         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28958         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28960         (GLIBC_2.17): Add the new function.
28961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28962         (GLIBC_2.17): Likewise.
28963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28964         (GLIBC_2.17): Likewise.
28965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28966         (GLIBC_2.17): Likewise.
28967         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28969 2012-09-25  Alan Modra  <amodra@gmail.com>
28971         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28972         Add release barrier before setting once_control to say
28973         initialisation is done.  Add hints on lwarx.  Use macro in
28974         place of isync.
28975         (clear_once_control): Add release barrier.
28977 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28979         [BZ #13629]
28980         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28981         specially.
28982         * math/s_clog10.c (__clog10): Likewise.
28983         * math/s_clog10f.c (__clog10f): Likewise.
28984         * math/s_clog10l.c (__clog10l): Likewise.
28985         * math/s_clogf.c (__clogf): Likewise.
28986         * math/s_clogl.c (__clogl): Likewise.
28987         * math/Makefile (libm-calls): Add x2y2m1.
28988         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28989         (__x2y2m1): Likewise.
28990         (__x2y2m1l): Likewise.
28991         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28992         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28993         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28994         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28995         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28996         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28997         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28998         * sysdeps/i386/fpu/libm-test-ulps: Update.
28999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29001         [BZ #14621]
29002         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29003         int as type of variable DEPTH.
29004         (glob): Use size_t instead of int as type of variables NEWCOUNT
29005         and OLD_PATHC.
29007 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29009         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29010         Add s_sincosf-sse2.
29011         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29012         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29013         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29014         macros for using routine as __sincosf_ia32.
29015         Use macro for function declaration and weak_alias.
29016         * sysdeps/i386/fpu/libm-test-ulps: Update.
29018         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29021         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29022         subnormal argument.
29023         * math/s_cexpf.c (__cexpf): Likewise.
29024         * math/s_csinf.c (__csinf): Likewise.
29025         * math/s_csinhf.c (__csinhf): Likewise.
29026         * math/s_ctanf.c (__ctanf): Likewise.
29027         * math/s_ctanhf.c (__ctanhf): Likewise.
29028         * math/s_ccosh.c (__ccoshf): Likewise.
29029         * math/s_cexp.c (__cexpl): Likewise.
29030         * math/s_csin.c (__csin): Likewise.
29031         * math/s_csinh.c (__csinh): Likewise.
29032         * math/s_ctan.c (__ctan): Likewise.
29033         * math/s_ctanh.c (ctanh): Likewise.
29034         * math/s_ccoshl.c (__ccoshl): Likewise.
29035         * math/s_cexpl.c (__cexpl): Likewise.
29036         * math/s_csinl.c (__csinl): Likewise.
29037         * math/s_csinhl.c (__csinhl): Likewise.
29038         * math/s_ctanl.c (__ctanl): Likewise.
29039         * math/s_ctanhl.c (__ctanhl): Likewise.
29041 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29043         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29044         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29045         (_IO_off_t): Define to __off_t, not _G_off_t.
29046         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29047         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29048         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29049         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29050         type of __dummy and __dummy2 fields.
29051         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29052         (_G_ssize_t): Likewise.
29053         (_G_off_t): Likewise.
29054         (_G_pid_t): Likewise.
29055         (_G_uid_t): Likewise.
29056         (_G_wchar_t): Likewise.
29057         (_G_wint_t): Likewise.
29058         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29059         (_G_ssize_t): Likewise.
29060         (_G_off_t): Likewise.
29061         (_G_pid_t): Likewise.
29062         (_G_uid_t): Likewise.
29063         (_G_wchar_t): Likewise.
29064         (_G_wint_t): Likewise.
29065         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29066         (_G_ssize_t): Likewise.
29067         (_G_off_t): Likewise.
29068         (_G_pid_t): Likewise.
29069         (_G_uid_t): Likewise.
29070         (_G_wchar_t): Likewise.
29071         (_G_wint_t): Likewise.
29073 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29075         * malloc/arena.c: Include malloc-sysdep.h.
29076         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29077         is sufficient to shrink the heap or an unmap is needed.
29078         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29079         new function check_may_shrink_heap.
29080         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29081         new function check_may_shrink_heap.
29083 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29085         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29086         comments.
29088 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29090         * catgets/test-gencat.sh: Add "set -e".
29091         * elf/tst-pathopt.sh: Likewise.
29092         * grp/tst_fgetgrent.sh: Likewise.
29093         * iconvdata/run-iconv-test.sh: Likewise.
29094         * intl/tst-gettext.sh: Likewise.
29095         * intl/tst-gettext2.sh: Likewise.
29096         * intl/tst-gettext4.sh: Likewise.
29097         * intl/tst-gettext6.sh: Likewise.
29098         * intl/tst-translit.sh: Likewise.
29099         * io/ftwtest-sh: Likewise.
29100         * libio/test-freopen.sh: Likewise.
29101         * malloc/tst-mtrace.sh: Likewise.
29102         * posix/globtest.sh: Likewise.
29103         * posix/tst-getconf.sh: Likewise.
29104         * posix/wordexp-tst.sh: Likewise.
29105         * stdio-common/tst-printf.sh: Likewise.
29106         * stdio-common/tst-unbputc.sh: Likewise.
29107         * stdlib/tst-fmtmsg.sh: Likewise.
29108         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29109         * catgets/Makefile: Do not specify -e option when running
29110         testsuite shell scripts.
29111         * elf/Makefile: Likewise.
29112         * grp/Makefile: Likewise.
29113         * iconvdata/Makefile: Likewise.
29114         * intl/Makefile: Likewise.
29115         * io/Makefile: Likewise.
29116         * libio/Makefile: Likewise.
29117         * malloc/Makefile: Likewise.
29118         * posix/Makefile: Likewise.
29119         * stdio-common/Makefile: Likewise.
29120         * stdlib/Makefile: Likewise.
29121         * sysdeps/x86_64/Makefile: Likewise.
29123         * io/ftwtest-sh: Add copyright header.
29124         * posix/globtest.sh: Likewise.
29125         * posix/tst-getconf.sh: Likewise.
29126         * posix/wordexp-tst.sh: Likewise.
29127         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29129 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29131         [BZ #13679]
29132         * Makeconfig (+link): Defined as $(+link-static) if
29133         $(build-shared) isn't yes.
29134         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29135         isn't yes.
29136         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29138         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29140         [BZ #14562]
29141         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29142         new chunk size with MALLOC_ALIGN_MASK.
29144 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29146         [BZ #5044]
29147         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29148         <rounding-mode.h>.
29149         (__printf_fphex): Determine rounding using get_rounding_mode and
29150         round_away.
29151         * stdio-common/tst-printf-round.c (struct hex_test): New
29152         structure.
29153         (hex_tests): New variable.
29154         (test_hex_in_one_mode): New function.
29155         (do_test): Also run tests for hex float output.
29157 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29159         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29160         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29161         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29162         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29163         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29164         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29165         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29166         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29168 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29170         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29171         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29172         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29173         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29175 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29177         [BZ #14579]
29178         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29179         mode only.
29180         * elf/tst-rtld-load-self.sh: New test.
29181         * elf/Makefile: Run it.
29183 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29185         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29186         (tst-writev-ENV): Remove.
29187         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29189 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29191         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29193 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29195         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29196         unconditional.
29197         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29198         Likewise.
29199         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29200         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29201         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29202         Likewise.
29204 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29206         [BZ #14587]
29207         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29208         * config.make.in (have-cpp-asm-debuginfo): Removed.
29209         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29210         * configure: Regenerated.
29212 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29214         [BZ #5044]
29215         * stdio-common/printf_fp.c: Include <stdbool.h> and
29216         <rounding-mode.h>.
29217         (___printf_fp): Determine rounding using get_rounding_mode and
29218         round_away.
29219         * stdio-common/tst-printf-round.c: New file.
29220         * stdio-common/Makefile (tests): Add tst-printf-round.
29221         (link-libm): New variable.
29222         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29224 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29226         [BZ #14576]
29227         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29228         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29229         Likewise.
29230         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29231         Likewise.
29233 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29235         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29236         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29237         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29238         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29240 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29242         [BZ #14518]
29243         * include/rounding-mode.h: New file.
29244         * sysdeps/generic/get-rounding-mode.h: Likewise.
29245         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29246         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29247         (MAX_VALUE): New macro.
29248         (MIN_VALUE): Likewise.
29249         (overflow_value): New function.
29250         (underflow_value): Likewise.
29251         (round_and_return): Use overflow_value and underflow_value to
29252         determine return values in overflow and underflow cases.  Use
29253         round_away to determine rounding depending on rounding mode.
29254         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29255         determine return values in overflow and underflow cases.
29256         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29257         (struct test_results): New structure.
29258         (struct test): Use struct test_results to store expected results
29259         for all rounding modes.
29260         (TEST): Include expected results for all rounding modes.
29261         (test_in_one_mode): New function.
29262         (do_test): Use test_in_one_mode to compute and check results.
29263         Check results for all rounding modes.
29264         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29265         $(link-libm).
29267 2012-12-09  Allan McRae  <allan@archlinux.org>
29269         * sysdeps/i386/fpu/libm-test-ulps: Update
29271 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29273         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29274         (_G_int32_t): Likewise.
29275         (_G_uint16_t): Likewise.
29276         (_G_uint32_t): Likewise.
29277         (_G_HAVE_BOOL): Likewise.
29278         (_G_HAVE_ATEXIT): Likewise.
29279         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29280         (_G_HAVE_IO_FILE_OPEN): Likewise.
29281         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29282         (_G_int32_t): Likewise.
29283         (_G_uint16_t): Likewise.
29284         (_G_uint32_t): Likewise.
29285         (_G_HAVE_BOOL): Likewise.
29286         (_G_HAVE_ATEXIT): Likewise.
29287         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29288         (_G_HAVE_IO_FILE_OPEN): Likewise.
29289         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29290         (_G_int32_t): Likewise.
29291         (_G_uint16_t): Likewise.
29292         (_G_uint32_t): Likewise.
29293         (_G_HAVE_BOOL): Likewise.
29294         (_G_HAVE_ATEXIT): Likewise.
29295         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29296         (_G_HAVE_IO_FILE_OPEN): Likewise.
29298 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29300         * csu/libc-tls.c: Update copyright years.
29302 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29304         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29305         [!_G_USING_THUNKS]: Remove conditional code.
29306         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29307         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29309         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29310         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29311         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29312         (_G_VTABLE_LABEL_PREFIX): Likewise.
29313         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29314         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29315         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29316         (_G_VTABLE_LABEL_PREFIX): Likewise.
29317         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29318         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29319         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29320         (_G_VTABLE_LABEL_PREFIX): Likewise.
29321         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29323 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29325         * libio/Makefile: Include ../Makeconfig before tests.
29326         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29327         only if $(build-shared) is yes.
29329         * iconv/gconv_db.c: Update copyright years.
29331 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29333         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29334         unwind info if defined PIC. Fix special cases description.
29335         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29337         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29338         DP_HI_MASK entry.
29339         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29341 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29343         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29345         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29346         is NULL.
29348         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29349         (LDLIBS-tst-chk4): This.
29350         (LDFLAGS-tst-chk5): Renamed to ...
29351         (LDLIBS-tst-chk5): This.
29352         (LDFLAGS-tst-chk6): Renamed to ...
29353         (LDLIBS-tst-chk6): This.
29354         (LDFLAGS-tst-lfschk4): Renamed to ...
29355         (LDLIBS-tst-lfschk4): This.
29356         (LDFLAGS-tst-lfschk5): Renamed to ...
29357         (LDLIBS-tst-lfschk5): This.
29358         (LDFLAGS-tst-lfschk6): Renamed to ...
29359         (LDLIBS-tst-lfschk6): This.
29361         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29362         on $(common-objpfx)soversions.mk.
29364 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29366         [BZ #10014]
29367         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29368         example host name.
29370 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29372         * malloc/arena.c (arena_get_retry): New function that gets
29373         another arena for the caller to try its request on.
29374         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29375         current arena cannot fulfill the request.
29376         (__libc_memalign): Likewise.
29377         (__libc_memalign): Likewise.
29378         (__libc_pvalloc): Likewise.
29379         (__libc_calloc): Likewise.
29381 2012-09-05  John Tobey  <john.tobey@gmail.com>
29383         [BZ #13542]
29384         * manual/arith.texi (Operations on Complex): Fix description
29385         of carg branch cut.
29387 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29389         [BZ #10014]
29390         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29391         host name.
29393         [BZ #10038]
29394         * manual/memory.texi (Memory): Make order of menu items match
29395         order of sections.
29397 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29399         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29400         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29401         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29403 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29405         * csu/libc-tls.c (static_dtv): Renamed to ...
29406         (_dl_static_dtv): This.  Make it global.
29407         (_dl_initial_dtv): Removed.
29408         (__libc_setup_tls): Updated.
29409         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29410         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29411         DL_INITIAL_DTV.
29413 2012-09-06  Petr Machata  <pmachata@redhat.com>
29415         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29416         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29417         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29418         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29420 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29422         [BZ #14545]
29423         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29424         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29425         freeing dtv[-1].
29427 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29429         [BZ #14544]
29430         * Makeconfig (link-static-before-libc): Replace $(+prector)
29431         with $(+prectorT).
29432         (link-static-after-libc): Replace $(+postctor) with
29433         $(+postctorT).
29434         (link-bounded): Replace $(+prector)/$(+postctor) with
29435         $(+prectorT)/$(+postctorT).
29436         (+prectorT): New macro.
29437         (+postctorT): Likewise.
29439 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29441         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29442         (round_str): Handle values above the maximum for IBM long double
29443         as inexact.
29444         * stdlib/tst-strtod-round.c (tests): Regenerated.
29446 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29448         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29449         assembler flag.
29450         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29451         zarch_nohighgprs around the zarch optimized routines.
29452         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29453         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29454         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29455         for zarch.
29457 2012-09-05  David S. Miller  <davem@davemloft.net>
29459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29461         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29462         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29463         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29464         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29465         entries.
29467 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29469         * malloc/arena.c: Fold copyright years.
29470         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29472 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29474         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29476 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29478         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29480 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29482         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29483         change internal state upon failure.
29485 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29487         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29488         * malloc/memusage.c (mmap): Likewise.
29489         (mmap64, mremap): Likewise.  Adjust name in comment.
29491 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29493         * libio/fileops.c: Fix typos in comments.
29494         * libio/oldfileops.c: Likewise.
29495         * libio/wfileops.c: Likewise.
29497 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29499         [BZ #1349]
29500         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29501         (tst-malloc-usable-ENV): Set environment for test case.
29502         * malloc/hooks.c (malloc_check_get_size): New function to get
29503         requested size.
29504         * malloc/malloc.c (musable): Use malloc_check_get_size.
29505         * malloc/tst-malloc-usable.c: New test case.
29507 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29509         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29511 2012-09-05  Allan McRae  <allan@archlinux.org>
29513         [BZ #13966]
29514         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29515         determine header location.
29516         * configure: Regenerated.
29518 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29520         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29521         float format.
29522         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29523         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29524         format.
29525         (test): Regenerate.
29527 2012-09-04  David S. Miller  <davem@davemloft.net>
29529         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29530         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29531         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29533 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29535         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29536         failures.
29538         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29540 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29542         [BZ #9914]
29543         * libio/iogetdelim.c: Include <limits.h>.
29544         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29545         + len + 1 would overflow.
29547 2012-09-03  Andreas Jaeger  <aj@suse.de>
29549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29550         * sysdeps/i386/fpu/libm-test-ulps: Update.
29552 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29554         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29555         Add s_sinf-sse2, s_conf-sse2.
29557         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29558         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29559         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29560         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29562         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29563         for using routine as __sinf_ia32.
29564         Use macro for function declaration and weak_alias.
29565         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29566         for using routine as __cosf_ia32.
29567         Use macro for function declaration and weak_alias.
29569         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29570         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29572         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29573         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29576         * math/libm-test.inc (cos_test): Add more test cases.
29577         (sin_test): Likewise.
29578         (sincos_test): Likewise.
29580 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29582         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29583         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29584         hidden.
29585         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29587 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29589         [BZ #14538]
29590         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29591         first element of the GOT.
29592         (elf_machine_load_address): Return the difference between
29593         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29595 2012-09-01  Allan McRae  <allan@archlinux.org>
29597         [BZ #13412]
29598         * configure.in (AWK): Require gawk version 3.0 or later.
29599         * configure: Regenerated.
29601 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29603         * sysdeps/unix/sysv/linux/kernel-features.h
29604         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29605         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29606         [__NR_clock_getres]: Make code unconditional.
29607         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29608         (clock_getcpuclockid): Remove code left unreachable by removal of
29609         conditionals.
29610         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29611         code unconditional.
29612         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29613         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29614         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29615         Make code unconditional.
29616         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29617         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29618         * sysdeps/unix/sysv/linux/clock_settime.c
29619         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29620         conditional code.
29621         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29622         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29624 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29626         [BZ #14476]
29627         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29628         scripts/test-installation.pl.
29630         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29631         and $ld_so_version if it is set.
29633 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29635         [BZ #14516]
29636         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29637         failure if reading from procfs failed.
29638         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29640 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29642         * sysdeps/unix/sysv/linux/kernel-features.h
29643         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29644         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29645         Remove conditional code.
29646         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29647         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29648         Remove conditional code.
29649         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29650         * sysdeps/unix/sysv/linux/i386/fxstat.c
29651         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29652         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29653         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29654         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29656         * sysdeps/unix/sysv/linux/i386/lxstat.c
29657         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29658         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29659         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29660         Remove conditional code.
29661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29662         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29663         Remove conditional code.
29664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29665         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29666         <kernel-features.h>.
29667         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29668         Remove.
29669         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29670         Remove conditional code.
29671         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29672         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29673         Remove conditional.
29675 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29677         [BZ #5400]
29678         * NEWS: Add fixed bug number.
29680 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29682         [BZ #14519]
29683         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29684         underflowing exponent in case of negative sign.
29685         * stdlib/tst-strtod-round-data: Add more tests.
29686         * stdlib/tst-strtod-round.c (tests): Regenerated.
29688         [BZ #3479]
29689         * stdlib/strtod_l.c (NDIG): Remove.
29690         (HEXNDIG): Likewise.
29691         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29692         smallest representable value.
29693         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29694         lie within an exact representation of 1/2 ulp of the result.
29695         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29696         unconditionally.
29697         (TENS_P9_IDX): Define unconditionally.
29698         (TENS_P9_SIZE): Likewise.
29699         (TENS_P10_IDX): Likewise.
29700         (TENS_P10_SIZE): Likewise.
29701         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29702         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29703         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29704         entries for 10^2^13 and 10^2^14.
29705         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29706         (TENS_P13_IDX): Define.
29707         (TENS_P13_SIZE): Likewise.
29708         (TENS_P14_IDX): Likewise.
29709         (TENS_P14_SIZE): Likewise.
29710         (_fpioconst_pow10): Change array size to
29711         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29712         unconditional.
29713         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29714         1024]: Add entries for 10^2^13 and 10^2^14.
29715         [LAST_POW10 > _LAST_POW10]: Remove #error.
29716         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29717         (_fpioconst_pow10): Change array size to
29718         FPIOCONST_POW10_ARRAY_SIZE.
29719         * stdlib/gen-fpioconst.c: New file.
29720         * stdlib/gen-tst-strtod-round.c: Likewise.
29721         * stdlib/tst-strtod-round-data: Likewise.
29722         * stdlib/tst-strtod-round.c: Likewise.
29723         * stdlib/Makefile (tests): Add tst-strtod-round.
29725         [BZ #14459]
29726         * stdlib/strtod_l.c: Include <stdint.h>.
29727         (NDEBUG): Do not define.
29728         (round_and_return): Change EXPONENT parameter to type intmax_t.
29729         Rearrange calculations to avoid internal overflow possibilities.
29730         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29731         Rearrange calculations to avoid internal overflow possibilities.
29732         Assert that number fits inside MPNSIZE limbs.
29733         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29734         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29735         calculations and add assertions to avoid internal overflow
29736         possibilities.  Add casts to avoid signed/unsigned operations.
29737         * stdlib/tst-strtod-overflow.c: New file.
29738         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29740 2012-08-25  Marek Polacek  <polacek@redhat.com>
29742         * time/time.h: Fix some typos in comments.
29744 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29746         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29747         * posix/tst-rfc3484-2.c: Likewise.
29748         * posix/tst-rfc3484-3.c: Likewise.
29750 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29752         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29753         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29755 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29757         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29758         #include of fxstatat64.c.
29760 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29762         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29763         * shadow/getspent_r.c: Likewise.
29764         * shadow/getspnam.c: Likewise.
29765         * shadow/getspnam_r.c: Likewise.
29766         * gshadow/getsgent.c: Likewise.
29767         * gshadow/getsgent_r.c: Likewise.
29768         * gshadow/getsgnam.c: Likewise.
29769         * gshadow/getsgnam_r.c: Likewise.
29770         * inet/getnetbyad.c: Likewise.
29771         * inet/getnetbyad_r.c: Likewise.
29772         * inet/getnetbynm.c: Likewise.
29773         * inet/getnetbynm_r.c: Likewise.
29774         * inet/getnetent.c: Likewise.
29775         * inet/getnetent_r.c: Likewise.
29776         * inet/getproto.c: Likewise.
29777         * inet/getproto_r.c: Likewise.
29778         * inet/getprtent.c: Likewise.
29779         * inet/getprtent_r.c: Likewise.
29780         * inet/getprtname.c: Likewise.
29781         * inet/getprtname_r.c: Likewise.
29782         * inet/getrpcbyname.c: Likewise.
29783         * inet/getrpcbyname_r.c: Likewise.
29784         * inet/getrpcbynumber.c: Likewise.
29785         * inet/getrpcbynumber_r.c: Likewise.
29786         * inet/getrpcent.c: Likewise.
29787         * inet/getrpcent_r.c: Likewise.
29788         * inet/getaliasent.c: Likewise.
29789         * inet/getaliasent_r.c: Likewise.
29790         * inet/getaliasname.c: Likewise.
29791         * inet/getaliasname_r.c: Likewise.
29792         * nscd/getgrgid_r.c: Likewise.
29793         * nscd/getgrnam_r.c: Likewise.
29794         * nscd/gethstbyad_r.c: Likewise.
29795         * nscd/gethstbynm3_r.c: Likewise.
29796         * nscd/getpwnam_r.c: Likewise.
29797         * nscd/getpwuid_r.c: Likewise.
29798         * nscd/getsrvbynm_r.c: Likewise.
29799         * nscd/getsrvbypt_r.c: Likewise.
29800         * nscd/gai.c: Likewise.
29802         * configure.in (build_nscd): New substituted variable, set
29803         by --disable-build-nscd and defaults to $use_nscd.
29804         * configure: Regenerated.
29805         * config.make.in (build-nscd): New substituted variable.
29806         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29807         Change conditional to require [$(build-nscd) = yes] as well.
29808         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29810         [BZ# 13696]
29811         * configure.in (use_nscd): New substituted variable, set by
29812         --disable-nscd.  If enabled, define USE_NSCD.
29813         * configure: Regenerated.
29814         * config.h.in: Add USE_NSCD.
29815         * config.make.in (use-nscd): New substituted variable.
29816         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29817         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29818         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29819         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29820         (CFLAGS-getgrnam_r.c): Likewise.
29821         (CFLAGS-initgroups.c): Likewise.
29822         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29823         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29824         Variables removed.
29825         * inet/getnetgrent_r.c
29826         (nscd_setnetgrent): New function, broken out of ...
29827         (setnetgrent): ... here.  Call it.
29828         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29829         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29830         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29831         * nscd/Makefile (routines, aux): Move definitions after include of
29832         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29833         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29834         Conditionalize on [USE_NSCD].
29835         (is_nscd, nscd_init_cb): Likewise.
29836         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29837         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29838         * nss/nss_db/db-init.c: Likewise.
29839         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29840         [USE_NSCD].
29841         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29842         (make_request): Use it.
29843         (cache_valid_p): New function.
29844         (__check_pf): Use it.
29845         * NEWS: Add item for --disable-nscd.
29847 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29849         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29850         to support sed >= 4.2.1-20-ga9bf076.
29851         * configure: Regenerated.
29853 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29855         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29856         Conditionalize whole body on [IREL].
29858 2012-08-22  Jeff Law <law@redhat.com>
29860         [BZ #14505]
29861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29862         if the family is PF_UNSPEC.
29864 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29866         * Makerules (lib-version): Rename from V.
29867         (install-lib-nosubdir): Change V to lib-version.
29869 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29871         [BZ #14252]
29872         * powerpc32/power6/wcschr.c: New file.
29873         * powerpc32/power6/wcscpy.c: New file.
29874         * powerpc32/power6/wcsrchr.c: New file.
29875         * powerpc64/power6/wcschr.c: New file.
29876         * powerpc64/power6/wcscpy.c: New file.
29877         * powerpc64/power6/wcsrchr.c: New file.
29879 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29881         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29882         (two_way_short_needle): Use it.
29883         * string/strstr.c (AVAILABLE1_USES_J): Define.
29884         * string/strcasestr.c: Likewise.
29886         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29887         array references.
29888         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29890         [BZ #11607]
29891         * NEWS: Add an entry.
29892         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29893         define their defaults.
29894         (two_way_short_needle): Detect end-of-string on-the-fly.
29895         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29896         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29897         * string/bug-strcasestr1.c: New test.
29898         * string/Makefile: Run it.
29900 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29902         [BZ #11607]
29903         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29904         the first character.
29906 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29908         * csu/elf-init.c (__libc_csu_irel): Function removed.
29909         * csu/libc-start.c (apply_irel): New function.
29910         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29912 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29914         * sysdeps/unix/sysv/linux/kernel-features.h
29915         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29916         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29917         <kernel-features.h>.
29918         [__NR_fadvise64_64]: Make code unconditional.
29919         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29920         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29921         !__NR_fadvise64_64)]: Likewise.
29922         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29923         !__NR_fadvise64_64))]: Likewise.
29924         [__NR_fadvise64]: Make code unconditional.
29925         [!__NR_fadvise64]: Remove conditional code.
29926         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29927         <kernel-features.h>.
29928         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29929         unconditional.
29930         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29931         conditional code.
29932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29933         not include <kernel-features.h>.
29934         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29935         unconditional.
29936         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29937         conditional code.
29938         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29939         include <kernel-features.h>.
29940         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29941         unconditional.
29942         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29943         conditional code.
29945 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29947         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29948         slight instruction rearrangements per scrollpipe analysis.
29949         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29951 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29953         * manual/syslog.texi (syslog; vsyslog, closelog):
29954         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29955         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29957         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29958         DSOCAPS to match condition on defining it.
29960 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29962         * sysdeps/unix/sysv/linux/kernel-features.h
29963         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29965         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29966         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29968         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29969         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29971         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29972         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29974         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29975         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29977         * sysdeps/unix/sysv/linux/kernel-features.h
29978         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29979         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29980         unconditional.
29981         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29982         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29983         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29984         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29985         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29986         Make code unconditional.
29987         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29988         (__mmap64) [!__NR_mmap2]: Likewise.
29989         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29990         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29991         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29992         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29993         [__NR_mmap2]: Make code unconditional.
29994         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29995         (__mmap64) [!__NR_mmap2]: Likewise.
29997 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29999         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30001 2012-08-18  Andreas Jaeger  <aj@suse.de>
30003         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30005 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30007         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30008         * include/unistd.h (__have_sock_cloexec): Likewise.
30009         (__have_pipe2): Likewise.
30010         (__have_dup3): Likewise.
30012 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30014         [BZ #9685]
30015         * include/unistd.h (__have_pipe2): Change define into an extern int.
30016         (__have_dup3): Likewise.
30017         * socket/have_sock_cloexec.c: Include fcntl.h.
30018         (__have_pipe2): New variable.
30019         (__have_dup3): Likewise.
30021 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30023         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30025 2012-08-17  Marek Polacek  <polacek@redhat.com>
30027         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30028         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30030 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30032         * configure.in: Add AC_SUBST for sysheaders.
30033         * configure: Regenerated.
30034         * config.make.in (sysheaders): New substituted variable.
30036         * sysdeps/unix/mkfifo.c: Moved ...
30037         * sysdeps/posix/mkfifo.c: ... here.
30038         * sysdeps/unix/mkfifoat.c: Moved ...
30039         * sysdeps/posix/mkfifoat.c: ... here.
30041         * sysdeps/unix/utime.c: Moved ...
30042         * sysdeps/posix/utime.c: ... here.
30044         * sysdeps/unix/time.c: Moved ...
30045         * sysdeps/posix/time.c: ... here.
30046         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30047         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30049         * sysdeps/unix/nice.c: Moved ...
30050         * sysdeps/posix/nice.c: ... here.
30052         * sysdeps/unix/alarm.c: Moved ...
30053         * sysdeps/posix/alarm.c: ... here.
30055         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30057 2012-08-17  Jeff Law <law@redhat.com>
30059         * intl/Makefile (codeset_mo): New variable.
30060         ($(codeset_mo)): New target.
30061         (tst-codeset.out): Depend on that.  Remove explicit rule.
30062         (tst-gettext3.out, tst-gettext5.out): Likewise.
30063         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30064         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30065         * intl/tst-codeset.sh: Remove.
30066         * intl/tst-gettext3.sh: Likewise.
30067         * intl/tst-gettext5.sh: Likewise.
30069 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30071         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30072         * sysdeps/unix/syscalls.list: ... here.
30074         * sysdeps/posix/getaddrinfo.c
30075         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30076         (gaiconf_init, gaiconf_reload): Use them.
30077         [!_STATBUF_ST_NSEC]
30078         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30079         Define using time_t rather than struct timespec.
30081         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30082         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30083         Macros removed.
30084         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30085         [!NO_THREADS].
30086         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30087         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30088         Likewise.
30090         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30091         __libc_cleanup_push argument.
30093         * bits/param.h: New file.
30094         * misc/sys/param.h: New file.
30095         * include/sys/param.h: New file.
30096         * misc/Makefile (headers): Add bits/param.h.
30097         * sysdeps/generic/sys/param.h: File removed.
30098         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30099         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30100         * sysdeps/mach/hurd/bits/param.h: New file.
30101         * sysdeps/mach/hurd/sys/param.h: File removed.
30103         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30104         last change.
30106         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30107         [_IO_MTSAFE_IO].
30108         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30109         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30110         New macros.
30112         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30113         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30114         rather than -D_IO_MTSAFE_IO conditionally.
30115         * stdio-common/Makefile (CPPFLAGS): Likewise.
30116         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30117         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30118         Use $(libio-mtsafe).
30119         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30120         of -D_IO_MTSAFE_IO.
30121         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30122         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30123         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30124         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30125         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30126         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30127         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30128         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30129         (CFLAGS-fread_u_chk.c): Likewise.
30130         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30131         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30132         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30133         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30134         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30135         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30136         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30137         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30138         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30140         * libio/Makefile: Test [$(libc-reentrant) = yes]
30141         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30143         * Makeconfig
30144         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30145         * sysdeps/pthread/configure: File removed.
30146         * sysdeps/pthread/Makeconfig: New file.
30147         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30148         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30150 2012-08-16  Gary Benson  <gbenson@redhat.com>
30152         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30153         unmapping the first object in a namespace.
30155 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30157         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30158         (__internal_setnetgrent): ... this.  Add internal_function to
30159         definition.  Add libc_hidden_def.
30160         (setnetgrent): Update caller.
30161         (internal_endnetgrent): Renamed to ...
30162         (__internal_endnetgrent): ... this.  Add internal_function to
30163         definition.  Add libc_hidden_def.
30164         (endnetgrent): Update caller.
30165         (internal_getnetgrent_r): Renamed to ...
30166         (__internal_getnetgrent_r): ... this.  Add internal_function to
30167         definition.  Add libc_hidden_def.
30168         (__getnetgrent_r): Update caller.
30169         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30171 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30173         * stdlib/longlong.h: Update from GCC.
30175 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30177         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30178         on _QL, which is set by umul_ppmm but never used.
30179         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30180         variables, which are set by GMP macros but never used.
30181         * stdio-common/_itowa.c (_itowa): Likewise.
30182         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30183         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30185 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30187         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30188         struct La_sh_regs is not constant.
30189         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30190         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30191         and struct La_sparc64_regs are not constant.
30193 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30195         * sysdeps/unix/sysv/linux/kernel-features.h
30196         (__ASSUME_POSIX_TIMERS): Remove.
30197         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30198         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30199         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30200         Make code unconditional.
30201         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30202         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30203         Make code unconditional.
30204         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30205         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30206         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30207         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30208         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30209         Make code unconditional.
30210         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30211         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30212         (__libc_missing_posix_timers): Remove.
30214 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30216         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30217         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30219         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30221         * elf/dl-sym.c: Include <stdlib.h>.
30223         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30224         constants, which avoids warnings in 32-bit builds.
30226         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30227         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30229         * misc/lseek.c: File moved to ...
30230         * io/lseek.c: ... here.
30232         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30234         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30235         shifting LEN more than 31 bits at once.
30237 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30239         [BZ #14195]
30240         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30241         segmentation fault for a case of two empty input strings.
30242         * string/test-strncasecmp.c (check1): Renamed to...
30243         (bz12205): ...this.
30244         (bz14195): Add new testcase for two empty input strings and N > 0.
30245         (test_main): Call new testcase, adapt for renamed function.
30247 2012-08-15  Andreas Jaeger  <aj@suse.de>
30249         [BZ #14090]
30250         * crypt/md5test2.c: New test, based on test supplied by Serge
30251         Belyshev <belyshev@depni.sinp.msu.ru>.
30252         * crypt/Makefile (xtests): Add md5test-giant..
30253         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30255 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30257         [BZ #14090]
30258         * crypt/md5.c (md5_process_block): Don't assume the buffer
30259         length is less than 2**32.
30260         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30261         length is less than 2**64.
30263 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30265         * string/str-two-way.h: Include <sys/param.h>.
30266         (MAX): Macro removed.
30268         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30269         Move #define and #undef of memmove to just before and after
30270         including <string.h>.
30272         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30273         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30274         and after including <string.h>.  Move declarations of
30275         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30276         to before #include "string/memmove.c".
30278         * include/dirent.h: Declare __getdirentries.
30280         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30281         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30283 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30285         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30286         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30287         * sysdeps/i386/configure: Regenerated.
30288         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30289         STABS_CURRENT_FILE, and STABS_FUN.
30290         (END): Remove call to STABS_FUN_END.
30291         (STABS_CURRENT_FILE1): Delete.
30292         (STABS_CURRENT_FILE): Likewise.
30293         (STABS_FUN): Likewise.
30294         (STABS_FUN_END): Likewise.
30295         (STABS_FUN2): Likewise.
30296         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30297         * sysdeps/x86_64/configure: Regenerated.
30299 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30301         * elf/dl-open.c: Include <atomic.h>.
30302         * elf/dl-lookup.c: Likewise.
30304 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30306         * sysdeps/unix/sysv/linux/kernel-features.h
30307         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30308         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30309         unconditionally.
30310         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30311         unconditionally.
30312         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30313         condition on __ASSUME_CLONE_THREAD_FLAGS.
30315 2012-08-14  Andreas Jaeger  <aj@suse.de>
30317         * sysdeps/i386/fpu/libm-test-ulps: Update.
30319 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30321         * include/atomic.h (atomic_exchange_and_add): Split into ...
30322         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30323         New atomic macros.
30325 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30329 2012-08-13  Jeff Law <law@redhat.com>
30331         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30332         null byte in the output string.
30334 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30336         * sysdeps/unix/sysv/linux/kernel-features.h
30337         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30338         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30339         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30340         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30341         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30342         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30343         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30345 2012-08-09  Jeff Law <law@redhat.com>
30347         [BZ #13939]
30348         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30349         When avoid_arena is set, don't retry in the that arena.  Pick the
30350         next one, whatever it might be.
30351         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30352         (arena_lock): Pass in new parameter to arena_get2.
30353         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30354         arena_get2.
30355         (__libc_malloc): Unify retrying after main arena failure with
30356         __libc_memalign version.
30357         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30359 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30361         [BZ #14166]
30362         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30363         to __redirect_strstr.
30364         (__strstr_sse42): Use typeof __redirect_strstr.
30365         (__strstr_ia32): Likewise.
30366         (__libc_strstr): New prototype.
30367         (strstr): Renamed to ...
30368         (__libc_strstr): This.
30369         (strstr): New strong alias of __libc_strstr.
30370         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30371         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30372         __redirect_time.
30373         Include <time.h>.
30374         (__libc_time): New prototype.
30375         (time_ifunc): Replace time with __libc_time.
30376         (time): New strong alias and hidden definition of __libc_time.
30377         (__GI_time): Remove strong alias.
30378         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30379         Include <stddef.h>.
30380         (memmove): Redefined to __redirect_memmove.
30381         (__memmove_sse2): Use typeof __redirect_memmove.
30382         (__memmove_ssse3): Likewise.
30383         (__memmove_ssse3_back): Likewise.
30384         (__libc_memmove): New prototype.
30385         (memmove): Renamed to ...
30386         (__libc_memmove): This.
30387         (memmove): New strong alias of __libc_memmove.
30389 2012-08-08  Mark Salter  <msalter@redhat.com>
30391         * elf/elf.h
30392         (R_MN10300_TLS_GD): Define.
30393         (R_MN10300_TLS_LD): Likewise.
30394         (R_MN10300_TLS_LDO): Likewise.
30395         (R_MN10300_TLS_GOTIE): Likewise.
30396         (R_MN10300_TLS_IE): Likewise.
30397         (R_MN10300_TLS_LE): Likewise.
30398         (R_MN10300_TLS_DTPMOD): Likewise.
30399         (R_MN10300_TLS_DTPOFF): Likewise.
30400         (R_MN10300_TLS_TPOFF): Likewise.
30401         (R_MN10300_SYM_DIFF): Likewise.
30402         (R_MN10300_ALIGN): Likewise.
30403         (R_MN10300_NUM): Update.
30405 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30407         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30408         Remove.
30410 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30412         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30414         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30415         sysdeps/unix -> sysdeps/posix move.
30416         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30418 2012-08-07      Allan McRae     <allan@archlinux.org>
30420         [BZ #14303]
30421         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30422         (SUNOS_CPP): Likewise.
30423         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30424         not found.
30425         (open_input): Call CPP using execvp.
30427 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30429         * sysdeps/unix/sysv/linux/kernel-features.h
30430         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30431         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30432         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30433         (__ASSUME_WAITID_SYSCALL): Likewise.
30434         * sysdeps/unix/sysv/linux/dl-execstack.c
30435         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30436         code unconditional.
30437         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30438         conditional code.
30439         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30440         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30441         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30442         code.
30443         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30444         unconditional.
30445         [__ASSUME_WAITID_SYSCALL]: Likewise.
30446         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30448 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30450         * sysdeps/unix/closedir.c: Renamed to ...
30451         * sysdeps/posix/closedir.c: ... here.
30452         * sysdeps/unix/dirfd.c: Renamed to ...
30453         * sysdeps/posix/dirfd.c: ... here.
30454         * sysdeps/unix/dirstream.h: Renamed to ...
30455         * sysdeps/posix/dirstream.h: ... here.
30456         * sysdeps/unix/fdopendir.c: Renamed to ...
30457         * sysdeps/posix/fdopendir.c: ... here.
30458         * sysdeps/unix/opendir.c: Renamed to ...
30459         * sysdeps/posix/opendir.c: ... here.
30460         * sysdeps/unix/readdir.c: Renamed to ...
30461         * sysdeps/posix/readdir.c: ... here.
30462         * sysdeps/unix/readdir_r.c: Renamed to ...
30463         * sysdeps/posix/readdir_r.c: ... here.
30464         * sysdeps/unix/rewinddir.c: Renamed to ...
30465         * sysdeps/posix/rewinddir.c: ... here.
30466         * sysdeps/unix/seekdir.c: Renamed to ...
30467         * sysdeps/posix/seekdir.c: ... here.
30468         * sysdeps/unix/telldir.c: Renamed to ...
30469         * sysdeps/posix/telldir.c: ... here.
30470         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30471         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30472         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30473         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30475         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30476         * bits/fcntl.h: ... here.
30478         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30479         not 0.
30480         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30481         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30482         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30483         (struct flock): Move l_start, l_len to the beginning.
30484         Use __pid_t for l_pid.
30485         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30486         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30487         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30488         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30489         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30490         [__USE_LARGEFILE64] (struct flock64): New type.
30491         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30493         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30494         * bits/dirent.h: ... here.
30496         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30497         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30499 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30501         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30502         Change from 2.6.0 to 2.6.16.
30503         * sysdeps/unix/sysv/linux/configure: Regenerated.
30504         * sysdeps/unix/sysv/linux/kernel-features.h
30505         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30506         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30507         version.
30508         (__ASSUME_UTIMES): Likewise.
30509         (__ASSUME_CLONE_STOPPED): Remove.
30510         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30511         architectures, not kernel version.
30512         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30513         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30514         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30515         (__ASSUME_WAITID_SYSCALL): Likewise.
30516         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30517         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30518         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30519         refer to older versions.
30521 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30523         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30524         Define alphasort64 as an alias.
30525         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30526         Define versionsort64 as an alias.
30527         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30528         Define scandir64 as an alias.
30529         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30530         Define scandirat64 as an alias.
30531         * dirent/alphasort64.c (alphasort64):
30532         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30533         * dirent/versionsort64.c: Likewise.
30534         * dirent/scandir64.c: Likewise.
30535         * dirent/scandirat64.c: Likewise.
30536         * sysdeps/wordsize-64/alphasort.c: File removed.
30537         * sysdeps/wordsize-64/alphasort64.c: File removed.
30538         * sysdeps/wordsize-64/scandir.c: File removed.
30539         * sysdeps/wordsize-64/scandir64.c: File removed.
30540         * sysdeps/wordsize-64/scandirat.c: File removed.
30541         * sysdeps/wordsize-64/scandirat64.c: File removed.
30542         * sysdeps/wordsize-64/versionsort.c: File removed.
30543         * sysdeps/wordsize-64/versionsort64.c: File removed.
30544         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30545         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30546         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30547         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30548         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30549         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30550         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30551         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30553         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30554         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30555         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30556         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30557         [defined __arch64__ || defined __sparcv9]
30558         (__INO_T_MATCHES_INO64_T): New macro.
30559         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30560         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30561         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30562         * sysdeps/unix/sysv/linux/bits/dirent.h
30563         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30564         (_DIRENT_MATCHES_DIRENT64): New macro.
30566         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30567         Define lockf64 as an alias.
30568         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30569         Define fseeko64 as an alias.
30570         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30571         Define ftello64 as an alias.
30572         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30573         Define _IO_fgetpos64 and fgetpos64 as aliases.
30574         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30575         Define _IO_fsetpos64 and fsetpos64 as aliases.
30576         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30577         Conditionalize body on this.
30578         * libio/fseeko64.c: Likewise.
30579         * libio/ftello64.c: Likewise.
30580         * libio/iofgetpos64.c: Likewise.
30581         * libio/iofsetpos64.c: Likewise.
30582         * sysdeps/wordsize-64/lockf.c: File removed.
30583         * sysdeps/wordsize-64/lockf64.c: File removed.
30584         * sysdeps/wordsize-64/fseeko.c: File removed.
30585         * sysdeps/wordsize-64/fseeko64.c: File removed.
30586         * sysdeps/wordsize-64/ftello.c: File removed.
30587         * sysdeps/wordsize-64/ftello64.c: File removed.
30588         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30589         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30590         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30591         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30592         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30593         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30594         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30595         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30596         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30597         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30598         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30599         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30600         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30601         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30603         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30605         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30607         [defined __arch64__ || defined __sparcv9]
30608         (__OFF_T_MATCHES_OFF64_T): New macro.
30609         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30610         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30611         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30612         (__OFF_T_MATCHES_OFF64_T): New macro.
30614 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30616         * stdlib/secure-getenv.c (__secure_getenv): Replace
30617         GLIBC_2_16 with GLIBC_2_17.
30619 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30621         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30622         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30624 2012-08-03  David S. Miller  <davem@davemloft.net>
30626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30628 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30630         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30631         Remove.
30632         (__ASSUME_CORRECT_SI_PID): Likewise.
30633         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30634         (__ASSUME_TMPFS_NAME): Likewise.
30635         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30636         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30637         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30638         (HAVE_AUX_SECURE): Make definition unconditional.
30639         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30640         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30642 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30644         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30645         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30646         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30647         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30648         __eloop_threshold instead of SYMLOOP_MAX.
30650         * sysdeps/generic/eloop-threshold.h: New file.
30651         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30652         of MAXSYMLINKS.
30653         * elf/chroot_canon.c (chroot_canon): Likewise.
30655 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30657         [BZ #13717]
30658         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30659         Change to 2.6.0 everywhere.
30660         * sysdeps/unix/sysv/linux/configure: Regenerated.
30661         * sysdeps/unix/sysv/linux/kernel-features.h
30662         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30663         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30664         kernel versions.
30665         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30666         (__ASSUME_FUTEX_REQUEUE): Remove.
30667         (__ASSUME_STATFS64): Define unconditionally.
30668         (__ASSUME_AT_SECURE): Likewise.
30669         (__ASSUME_CORRECT_SI_PID): Likewise.
30670         (__ASSUME_TGKILL): Define without depending on kernel version for
30671         i386.
30672         (__ASSUME_UTIMES): Likewise.
30673         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30674         kernel version.
30675         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30676         (__ASSUME_TMPFS_NAME): Likewise.
30677         * README: Update reference to Linux kernel versions.
30679 2012-08-02  Marek Polacek  <polacek@redhat.com>
30681         [BZ# 14150]
30682         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30683         libc_cv_asm_type_prefix with %.
30684         * configure: Regenerated.
30685         * include/libc-symbols.h: Remove comment about
30686         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30687         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30688         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30689         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30690         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30691         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30692         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30693         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30694         * elf/tst-unique2mod1.c: Likewise.
30695         * elf/tst-unique1mod2.c: Likewise.
30696         * elf/tst-unique1mod1.c: Likewise.
30697         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30698         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30699         Replace ASM_TYPE_DIRECTIVE with .type.
30700         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30701         * sysdeps/i386/sysdep.h: Likewise.
30702         * sysdeps/x86_64/sysdep.h: Likewise.
30703         * sysdeps/sh/sysdep.h: Likewise.
30704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30705         Do not define ASM_TYPE_DIRECTIVE.
30706         * sysdeps/powerpc/sysdep.h: Likewise.
30707         * sysdeps/powerpc/powerpc32/sysdep.h:
30708         Replace ASM_TYPE_DIRECTIVE with .type.
30709         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30710         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30711         * sysdeps/i386/fpu/e_powf.S: Likewise.
30712         * sysdeps/i386/fpu/e_expl.S: Likewise.
30713         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30714         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30715         * sysdeps/i386/fpu/e_pow.S: Likewise.
30716         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30717         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30718         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30719         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30720         * sysdeps/i386/fpu/e_log2.S: Likewise.
30721         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30722         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30723         * sysdeps/i386/fpu/e_powl.S: Likewise.
30724         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30725         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30726         * sysdeps/i386/fpu/e_logl.S: Likewise.
30727         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30728         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30729         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30730         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30731         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30732         * sysdeps/i386/fpu/e_log.S: Likewise.
30733         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30734         * sysdeps/i386/fpu/e_logf.S: Likewise.
30735         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30736         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30737         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30738         * sysdeps/i386/fpu/e_log10.S: Likewise.
30739         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30740         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30741         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30742         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30743         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30744         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30745         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30746         * sysdeps/i386/i686/strtok.S: Likewise.
30747         * sysdeps/i386/i386-mcount.S: Likewise.
30748         * sysdeps/i386/strtok.S: Likewise.
30749         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30750         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30751         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30752         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30753         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30754         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30755         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30756         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30757         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30758         * sysdeps/x86_64/_mcount.S: Likewise.
30759         * sysdeps/x86_64/strtok.S: Likewise.
30760         * sysdeps/sh/_mcount.S: Likewise.
30762 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30764         * libio/iofopen.c: Include <fcntl.h>.
30765         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30766         (_IO_fopen64, fopen64): Define as aliases.
30767         * libio/iofopen64.c: Include <fcntl.h>.
30768         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30769         Conditionalize body on this.
30770         * sysdeps/wordsize-64/iofopen.c: File removed.
30771         * sysdeps/wordsize-64/iofopen64.c: File removed.
30773 2012-08-01  Marek Polacek  <polacek@redhat.com>
30775         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30776         Use dlfcn directly instead of a variable.
30777         (binfmt-subdir): Do not define.
30778         (dlfcn): Likewise.
30780 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30782         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30783         Remove all definitions.
30784         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30785         <kernel-features.h>.
30786         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30787         (miss_F_GETOWN_EX): Remove all definitions.
30788         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30789         macro definition.
30790         [!__ASSUME_FCNTL64]: Remove conditional code.
30791         [__ASSUME_FCNTL64]: Make code unconditional.
30792         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30793         <kernel-features.h>.
30794         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30795         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30796         (lockf64) [__NR_fcntl64]: Make code unconditional.
30797         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30799         * sysdeps/unix/sysv/linux/kernel-features.h
30800         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30801         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30802         Make code unconditional.
30803         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30804         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30806         [__NR_vfork]: Make code unconditional.
30807         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30808         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30810         [__NR_vfork]: Make code unconditional.
30811         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30812         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30814 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30816         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30817         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30819         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30820         Define mkstemp64 as an alias.
30821         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30822         Define mkstemps64 as an alias.
30823         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30824         Define mkostemp64 as an alias.
30825         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30826         Define mkostemps64 as an alias.
30827         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30828         Conditionalize body on this.
30829         * misc/mkostemp64.c: Likewise.
30830         * misc/mkostemps64.c: Likewise.
30831         * misc/mkstemps64.c: Likewise.
30832         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30833         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30834         * sysdeps/wordsize-64/mkostemp.c: File removed.
30835         * sysdeps/wordsize-64/mkstemp.c: File removed.
30836         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30837         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30838         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30839         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30841         [BZ #14138]
30842         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30843         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30844         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30845         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30847         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30848         compat_symbol macros from <shlib-compat.h> rather than the underlying
30849         default_symbol_version and symbol_version macros, so that DEFAULT
30850         lines in shlib-versions are respected.
30851         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30853 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30855         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30856         Declare with warn_unused_result.
30857         (setgid, setregid, setegid, setresgid): Likewise.
30858         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30859         Likewise.
30860         * WUR-REPORT: Remove set*id functions.
30862 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30864         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30866 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30868         [BZ #10191]
30869         * include/sys/socket.h (__libc_accept, __libc_accept4):
30870         Add attribute_hidden.
30871         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30873         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30874         use of PTR_MANGLE.
30875         * inet/getnetgrent_r.c (setup): Likewise.
30877         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30879 2012-07-31  David S. Miller  <davem@davemloft.net>
30881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30883 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30885         [BZ #13629]
30886         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30887         value between 1.0 and 2.0 and smaller part has absolute value less
30888         than 1.0.
30889         * math/s_clog10.c (__clog10): Likewise.
30890         * math/s_clog10f.c (__clog10f): Likewise.
30891         * math/s_clog10l.c (__clog10l): Likewise.
30892         * math/s_clogf.c (__clogf): Likewise.
30893         * math/s_clogl.c (__clogl): Likewise.
30894         * math/libm-test.inc (clog_test): Add more tests.
30895         (clog10_test): Likewise.
30896         * sysdeps/i386/fpu/libm-test-ulps: Update.
30897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30899 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30901         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30902         Exit with zero in case no suitable GID is found, and write a
30903         message to standard error.
30905 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30907         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30908         rather than to 1.
30909         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30910         (MAXPATHLEN): Removed.
30911         (NOGROUP, NODEV): New macros.
30912         (setbit, clrbit, isset, isclr): New macros.
30913         (howmany, roundup, powerof2): New macros.
30914         (DEV_BSIZE): New macro.
30916         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30917         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30919         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30920         definition on [!__NO_LONG_DOUBLE_MATH].
30922         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30923         PTR_MANGLE and PTR_DEMANGLE.
30925         * socket/accept4.c (accept4): Rename to __libc_accept4.
30926         Define accept4 as a weak alias.
30928         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30929         on [_DIRENT_HAVE_D_TYPE].
30930         * io/ftw.c (ftw_dir): Likewise.
30932         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30934         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30936         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30937         Use the BSD numbers rather than the arbitrary ones we had.
30938         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30939         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30940         (SIGXCPU, SIGXFSZ): New macros.
30941         (_NSIG): Now 32.
30943         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30944         initializer on [_LIBC_REENTRANT].
30946         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30947         definitions inside [_POSIX_MAPPED_FILES].
30949         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30951         * dirent/opendir.c: Include <fcntl.h>.
30953         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30954         (__libc_getspecific): Likewise.
30955         (__libc_key_create): Likewise.
30957         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30958         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30959         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30960         (tmpfile64): Define as alias.
30961         * sysdeps/wordsize-64/tmpfile.c: File removed.
30962         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30963         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30964         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30966         * stdio-common/vfscanf.c: Include <stdbool.h>.
30967         * nss/makedb.c: Likewise.
30968         * stdio-common/_i18n_number.h: Likewise.
30969         * argp/argp-help.c: Likewise.
30970         * posix/wordexp.c: Likewise.
30971         * sysdeps/posix/spawni.c: Likewise.
30972         * nss/nss_files/files-initgroups.c: Likewise.
30973         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30974         * nss/nss_files/files-initgroups.c: Likewise.
30975         * nss/nss_db/db-netgrp.c: Likewise.
30976         * nss/nss_db/db-initgroups.c: Likewise.
30977         * io/fchmodat.c: Include <sys/stat.h>.
30979         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30980         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30982         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30983         [HAVE_MMAP].
30985         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30986         Add multiple inclusion protection.
30988 2012-07-27  David S. Miller  <davem@davemloft.net>
30990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30992 2012-07-27  Gary Benson  <gbenson@redhat.com>
30994         [BZ #14298]
30995         * elf/rtld.c: Include <stap-probe.h>.
30996         (dl_main): Added static probes "init_start" and "init_complete".
30997         * elf/dl-load.c: Include <stap-probe.h>.
30998         (lose): Take new parameter "nsid".
30999         Added static probe "map_failed".
31000         (_dl_map_object_from_fd): Pass namespace id to lose.
31001         Added static probe "map_start".
31002         (open_verify): Pass namespace id to lose.
31003         * elf/dl-open.c: Include <stap-probe.h>.
31004         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31005         and "reloc_complete".
31006         * elf/dl-close.c: Include <stap-probe.h>.
31007         (_dl_close_worker): Added static probes "unmap_start" and
31008         "unmap_complete".
31009         * elf/rtld-debugger-interface.txt: New file documenting the above.
31011 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31013         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31014         rather than a string variable.
31015         * sunrpc/rpc_main.c (h_output): Likewise.
31016         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31018 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31020         * inet/check_native.c: New file.
31022 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31024         [BZ #13629]
31025         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31026         if larger part has absolute value 1.0.
31027         * math/s_clog10.c (__clog10): Likewise.
31028         * math/s_clog10f.c (__clog10f): Likewise.
31029         * math/s_clog10l.c (__clog10l): Likewise.
31030         * math/s_clogf.c (__clogf): Likewise.
31031         * math/s_clogl.c (__clogl): Likewise.
31032         * math/libm-test.inc (clog_test): Add more tests.
31033         (clog10_test): Likewise.
31034         * sysdeps/i386/fpu/libm-test-ulps: Update.
31035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31037         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31038         (pltexit): Likewise.
31039         (La_regs): Likewise.
31040         (La_retval): Likewise.
31041         (int_retval): Likewise.
31042         Update #error for removed macros to refer only to definitions in
31043         tst-audit.h.
31044         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31045         macro.
31046         (pltexit): Likewise.
31047         (La_regs): Likewise.
31048         (La_retval): Likewise.
31049         (int_retval): Likewise.
31050         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31051         macro.
31052         (pltexit): Likewise.
31053         (La_regs): Likewise.
31054         (La_retval): Likewise.
31055         (int_retval): Likewise.
31056         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31057         macro.
31058         (pltexit): Likewise.
31059         (La_regs): Likewise.
31060         (La_retval): Likewise.
31061         (int_retval): Likewise.
31062         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31063         macro.
31064         (pltexit): Likewise.
31065         (La_regs): Likewise.
31066         (La_retval): Likewise.
31067         (int_retval): Likewise.
31068         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31069         macro.
31070         (pltexit): Likewise.
31071         (La_regs): Likewise.
31072         (La_retval): Likewise.
31073         (int_retval): Likewise.
31074         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31075         macro.
31076         (pltexit): Likewise.
31077         (La_regs): Likewise.
31078         (La_retval): Likewise.
31079         (int_retval): Likewise.
31080         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31081         macro definitions in tst-audit.h.
31082         * sysdeps/i386/tst-audit.h: New file.
31083         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31084         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31085         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31086         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31087         * sysdeps/sh/tst-audit.h: Likewise.
31088         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31089         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31090         * sysdeps/x86_64/tst-audit.h: Likewise.
31092 2012-07-26  Andreas Jaeger  <aj@suse.de>
31094         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31095         ptrace.
31097         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31098         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31099         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31100         PTRACE_O_MASK.
31101         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31102         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31103         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31105         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31106         value.
31108         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31109         _sigsys.
31110         (si_call_addr, si_syscall, si_arch): Define new macro.
31111         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31112         _sigsys.
31113         (si_call_addr, si_syscall, si_arch): Define new marcro.
31114         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31115         _sigsys.
31116         (si_call_addr, si_syscall, si_arch): Define new macro.
31117         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31118         _sigsys.
31119         (si_call_addr, si_syscall, si_arch): Define new macro.
31121 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31123         [BZ #13717]
31124         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31125         Change to 2.4.21 where previously 2.4.1.
31126         * sysdeps/unix/sysv/linux/configure: Regenerated.
31127         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31128         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31129         Linux kernel version.
31130         (__ASSUME_STD_AUXV): Remove.
31131         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31132         kernel version.
31133         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31134         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31135         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31136         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31137         (__ASSUME_NETLINK_SUPPORT): Likewise.
31138         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31139         (__no_netlink_support): Remove conditional definition.
31140         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31141         Remove.
31142         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31143         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31144         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31145         (if_nameindex_ioctl): Remove.
31146         (if_nameindex_netlink): Do not handle __no_netlink_support.
31147         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31148         code.
31149         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31150         Remove conditional code.
31151         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31152         code.
31153         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31154         unconditional.
31155         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31156         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31157         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31158         Remove.
31159         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31160         [!__ASSUME_STD_AUXV]: Remove conditional code.
31161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31162         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31163         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31165         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31166         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31167         code.
31168         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31170         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31171         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31172         conditional code.
31173         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31175         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31176         code.
31177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31178         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31179         conditional code.
31180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31181         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31182         code unconditional.
31183         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31184         conditional code.
31185         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31186         unconditional.
31187         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31188         conditional code.
31189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31190         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31191         unconditional.
31192         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31193         conditional code.
31194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31195         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31196         code unconditional.
31197         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31198         conditional code.
31199         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31200         unconditional.
31201         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31202         conditional code.
31203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31204         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31205         code unconditional.
31206         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31207         conditional code.
31208         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31209         unconditional.
31210         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31211         conditional code.
31213 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31215         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31216         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31217         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31218         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31219         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31220         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31221         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31222         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31223         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31224         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31225         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31226         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31227         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31228         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31229         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31230         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31231         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31232         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31233         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31235         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31236         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31237         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31239 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31241         * Versions.def: Add GLIBC_2.17.
31242         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31243         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31244         Introduce __libc_secure_getenv.
31245         * stdlib/Versions (2.17): Add secure_getenv
31246         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31247         * stdlib/secure-getenv.c: Rename __secure_getenv to
31248         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31249         symbol __secure_getenv for GLIBC_2.0.
31250         * stdlib/tst-secure-getenv.c: New.
31251         * stdlib/Makefile (tests): Add testcase.
31252         * manual/startup.texi (Environment Access): Document
31253         secure_getenv.
31254         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31255         __libc_secure_getenv.
31256         * inet/ruserpass.c (ruserpass): Likewise.
31257         * malloc/mtrace.c (mtrace): Likewise.
31258         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31259         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31260         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31261         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31262         HAVE_SECURE_GETENV.
31263         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31264         __secure_getenv to __libc_secure_getenv.
31265         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31267         Likewise.
31268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31269         Likewise.
31270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31272         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31278 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31280         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31281         (struct La_i86_retval): Likewise.
31282         (struct La_x86_64_regs): Likewise.
31283         (struct La_x86_64_retval): Likewise.
31284         (struct La_x32_regs): Likewise.
31285         (struct La_x32_retval): Likewise.
31286         (struct La_ppc32_regs): Likewise.
31287         (struct La_ppc32_retval): Likewise.
31288         (struct La_ppc64_regs): Likewise.
31289         (struct La_ppc64_retval): Likewise.
31290         (struct La_sh_regs): Likewise.
31291         (struct La_sh_retval): Likewise.
31292         (struct La_s390_32_regs): Likewise.
31293         (struct La_s390_32_retval): Likewise.
31294         (struct La_s390_64_regs): Likewise.
31295         (struct La_s390_64_retval): Likewise.
31296         (struct La_sparc32_regs): Likewise.
31297         (struct La_sparc32_retval): Likewise.
31298         (struct La_sparc64_regs): Likewise.
31299         (struct La_sparc64_retval): Likewise.
31300         (struct audit_ifaces): Remove architecture-specific pltenter and
31301         pltexit members.
31302         * sysdeps/i386/ldsodefs.h: New file.
31303         * sysdeps/powerpc/ldsodefs.h: Likewise.
31304         * sysdeps/s390/ldsodefs.h: Likewise.
31305         * sysdeps/sh/ldsodefs.h: Likewise.
31306         * sysdeps/sparc/ldsodefs.h: Likewise.
31307         * sysdeps/x86_64/ldsodefs.h: Likewise.
31309 2012-07-25  Marek Polacek  <polacek@redhat.com>
31311         [BZ #6808]
31312         * math/libm-test.inc (yn_test): Add another test.
31313         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31314         to ERANGE when the result is +-Inf.
31315         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31316         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31317         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31318         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31320 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31322         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31323         equal to 0.
31324         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31325         clock_t.
31326         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31328 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31330         * configure.in <sysdeps resolving>: Correct printing
31331         Implies_before.
31332         * configure: Regenerate.
31334 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31336         * math/w_ilogb.c: Include <limits.h>.
31337         * math/w_ilogbl.c: Likewise.
31339 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31341         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31342         va_copy.  Document allowing for unavailable va_copy only as
31343         pre-C99 compatibility.
31344         * manual/string.texi (Copying and Concatenation): Use va_copy
31345         instead of __va_copy in concat example.
31347 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31349         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31350         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31351         it if not null.
31353         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31354         with O_NOLINK passed to __file_name_lookup.
31356         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31357         with O_NOLINK passed to __file_name_lookup.
31359         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31360         negative N or less than NGIDS.
31362         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31363         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31364         enough.  Use memcpy instead of strncpy.
31366 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31368         * elf/Makefile (check-data): Remove.
31369         (localplt.data): New vpath directive.
31370         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31371         instead of $(check-data).
31372         * scripts/data/localplt-generic.data: Move to ...
31373         * sysdeps/generic/localplt.data: ... here.
31374         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31375         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31376         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31378         ... here.
31379         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31381         ... here.
31382         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31384         ... here.
31385         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31387         ... here.
31388         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31390         ... here.
31391         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31393         ... here.
31395 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31397         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31398         PPC32 and PPC64 files.
31399         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31400         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31402 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31404         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31405         __makecontext_ret to ...
31406         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31407         ... here and call exit if uc_link is NULL.  New file.
31408         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31409         __makecontext_ret.S.
31410         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31411         __makecontext_ret to ...
31412         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31413         ... here and call exit if uc_link is NULL.  New file.
31414         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31415         __makecontext_ret.S.
31417 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31419         * elf/elf.h (R_390_IRELATIVE): New definition.
31420         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31421         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31422         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31423         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31424         (elf_machine_lazy_rel): Likewise.
31425         * sysdeps/s390/dl-irel.h: New file.
31426         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31427         * sysdeps/s390/s390-64/memset.S: New asm code.
31428         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31429         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31430         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31431         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31432         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31433         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31434         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31435         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31436         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31437         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31438         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31439         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31440         * sysdeps/s390/s390-32/memset.S: New asm code.
31441         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31443 2012-07-17  Marek Polacek  <polacek@redhat.com>
31445         [BZ #14349]
31446         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31447         * sysdeps/s390/s390-64/configure.in: Likewise.
31448         * sysdeps/sparc/configure.in: Likewise.
31449         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31450         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31451         * sysdeps/i386/configure.in: Likewise.
31452         * sysdeps/x86_64/configure.in: Likewise.
31453         * sysdeps/sh/configure.in: Likewise.
31454         * sysdeps/s390/s390-32/configure: Regenerated.
31455         * sysdeps/s390/s390-64/configure: Likewise.
31456         * sysdeps/x86_64/configure: Likewise.
31457         * sysdeps/sh/configure: Likewise.
31458         * sysdeps/powerpc/powerpc64/configure: Likewise.
31459         * sysdeps/powerpc/powerpc32/configure: Likewise.
31460         * sysdeps/sparc/configure: Likwise.
31461         * sysdeps/i386/configure: Likewise.
31463         * elf/dl-open.c: Comment fixes.
31465 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31467         * Makefile [CXX] (check-data): Remove.
31468         [CXX] (c++-types.data): New vpath directive.
31469         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31470         vpath.  Do not allow for C++ type data being missing.
31471         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31472         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31473         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31474         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31475         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31476         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31477         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31479         ... here.
31480         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31482         ... here.
31483         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31485         ... here.
31486         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31488         ... here.
31489         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31491         ... here.
31492         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31494         ... here.
31495         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31497         ... here.
31498         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31501         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31502         definitions to architecture-specific files.
31503         (TLS_IE): Likewise.
31504         (TLS_LD): Likewise.
31505         (TLS_GD): Likewise.
31506         * sysdeps/i386/tls-macros.h: New file.
31507         * sysdeps/powerpc/tls-macros.h: Likewise.
31508         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31509         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31510         * sysdeps/sh/tls-macros.h: Likewise.
31511         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31512         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31513         * sysdeps/x86_64/tls-macros.h: Likewise.
31515 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31517         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31518         zero value for regular exit case.
31520         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31521         (__start_context): Preserve zero value for regular exit case.
31523 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31524             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31526         * manual/setjmp.texi (setcontext): Clarify normal process
31527         termination when uc_link is the null pointer.
31528         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31529         exit call.
31531 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31533         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31534         preprocessor.  Test for each exception mask separately.
31536 2012-07-16  Andreas Jaeger  <aj@suse.de>
31538         * po/ru.po: Update from translation team.
31540 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31542         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31543         equal to 0.
31544         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31545         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31546         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31547         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31548         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31550 2012-07-13  Andreas Jaeger  <aj@suse.de>
31552         * po/fr.po: Update from translation team.
31554 2012-07-12  Marek Polacek  <polacek@redhat.com>
31556         [BZ #14173]
31557         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31558         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31559         loop condition.
31561 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31563         [BZ #13717]
31564         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31565         Change to 2.4.1 where previously 2.4.0.
31566         * sysdeps/unix/sysv/linux/configure: Regenerated.
31567         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31568         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31569         version.
31570         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31571         (__ASSUME_AT_CLKTCK): Remove.
31572         (__ASSUME_AT_PAGESIZE): Likewise.
31573         (__ASSUME_AT_XID): Likewise.
31574         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31575         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31576         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31577         unconditionally.
31578         (HAVE_AUX_PAGESIZE): Likewise.
31579         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31580         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31581         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31583 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31585         [BZ #14307]
31586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31587         the temporary buffer used to invoke __gethostbyname2_r,
31588         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31589         host_data / struct gaih_addrtuple.
31590         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31591         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31592         header file nss/nsswitch.h.
31593         * nss/nsswitch.h (global scope): Add definition of implementation
31594         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31595         resolv/nss_dns/dns-host.c).
31597 2012-07-11  Andreas Jaeger  <aj@suse.de>
31599         * po/fr.po: Update from translation team.
31601         * po/sv.po: Update from translation team
31602         * po/fr.po: Another update from translation team.
31604 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31606         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31607         for subnormals or multiply small sinh result by itself.
31608         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31611 2012-07-11  David S. Miller  <davem@davemloft.net>
31613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31615 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31617         [BZ #14347]
31618         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31619         (INTERNAL_MARK): Shift it here.
31621 2012-07-10  Marek Polacek  <polacek@redhat.com>
31623         [BZ #14151]
31624         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31625         libc_cv_asm_global_directive with .globl.
31626         * configure: Regenerated.
31627         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31628         with .globl.
31629         * sysdeps/i386/configure: Regenerated.
31630         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31631         with .globl.
31632         * sysdeps/x86_64/configure: Regenerated.
31633         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31634         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31635         * elf/tst-unique2mod2.c: Likewise.
31636         * elf/tst-unique2mod1.c: Likewise.
31637         * elf/tst-unique1mod2.c: Likewise.
31638         * elf/tst-unique1mod1.c: Likewise.
31639         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31640         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31641         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31642         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31643         * sysdeps/mach/sysdep.h: Likewise.
31644         * sysdeps/i386/sysdep.h: Likewise.
31645         * sysdeps/i386/i386-mcount.S: Likewise.
31646         * sysdeps/x86_64/_mcount.S: Likewise.
31647         * sysdeps/x86_64/sysdep.h: Likewise.
31648         * sysdeps/sh/_mcount.S: Likewise.
31649         * sysdeps/sh/sysdep.h: Likewise.
31650         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31651         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31652         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31653         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31654         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31655         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31656         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31657         * locale/localeinfo.h: Likewise.
31658         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31659         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31661 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31663         [BZ #14336]
31664         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31665         system".
31666         * manual/message.texi (The Uniforum approach): Likewise.
31667         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31668         (glibc iconv Implementation): Likewise.
31670 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31672         [BZ #14337]
31673         * math/s_clog.c (__clog): Avoid scaling a value down where that
31674         could result in underflow.
31675         * math/s_clog10.c (__clog10): Likewise.
31676         * math/s_clog10f.c (__clog10f): Likewise.
31677         * math/s_clog10l.c (__clog10l): Likewise.
31678         * math/s_clogf.c (__clogf): Likewise.
31679         * math/s_clogl.c (__clogl): Likewise.
31680         * math/libm-test.inc (clog_test): Add more tests.
31681         (clog10_test): Likewise.
31682         * sysdeps/i386/fpu/libm-test-ulps: Update.
31683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31685 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31687         [BZ #14283]
31688         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31689         by 7 not 8 to examine high bit of fractional part.
31691         [BZ #14042]
31692         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31693         for call to __mcount_internal.
31694         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31695         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31696         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31698 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31700         [BZ #14154]
31701         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31702         approximation for values within 0x1p-13f of an odd multiple of
31703         pi/4.
31704         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31705         exception.  Add more tests.
31706         * sysdeps/i386/fpu/libm-test-ulps: Update.
31708         [BZ #6778]
31709         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31710         inputs and return -1 for them.  Do not check for +Inf in case not
31711         reachable for +Inf.
31712         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31713         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31714         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31715         and return -1 for them.  Do not check for +Inf in case not
31716         reachable for +Inf.
31717         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31718         define.
31719         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31720         and return -1 for them.  Do not check for +Inf in case not
31721         reachable for +Inf.
31722         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31723         spurious underflow.
31724         * sysdeps/i386/fpu/libm-test-ulps: Update.
31725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31727 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31729         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31731 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31733         [BZ #14157]
31734         [BZ #14331]
31735         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31736         could result in spurious underflow.  Scale down values above
31737         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31738         * math/s_csqrtf.c (__csqrtf): Likewise.
31739         * math/s_csqrtl.c (__csqrtl): Likewise.
31740         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31741         spurious underflow.
31742         * sysdeps/i386/fpu/libm-test-ulps: Update.
31743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31745 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31747         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31748         xopen-msg.sed.
31749         * catgets/xopen-msg.awk: New file.
31750         * catgets/xopen-msg.sed: Removed.
31752         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31753         po2text.sed.
31754         * intl/po2test.awk: New file.
31755         * intl/po2test.sed: Removed.
31757 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31759         [BZ #14328]
31760         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31761         or multiply small sinh result by itself.
31762         * math/s_ctanf.c (__ctanf): Likewise.
31763         * math/s_ctanh.c (__ctanh): Likewise.
31764         * math/s_ctanhf.c (__ctanhf): Likewise.
31765         * math/s_ctanhl.c (__ctanhl): Likewise.
31766         * math/s_ctanl.c (__ctanl): Likewise.
31767         * math/libm-test.inc (ctan_test_tonearest): New function.
31768         (ctan_test_towardzero): Likewise.
31769         (ctan_test_downward): Likewise.
31770         (ctan_test_upward): Likewise.
31771         (ctanh_test_tonearest): Likewise.
31772         (ctanh_test_towardzero): Likewise.
31773         (ctanh_test_downward): Likewise.
31774         (ctanh_test_upward): Likewise.
31775         (main): Call these new functions.
31776         * sysdeps/i386/fpu/libm-test-ulps: Update.
31777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31779 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31781         * .gitignore: Delete /ports entry.
31783 2012-07-03  Andreas Jaeger  <aj@suse.de>
31785         * po/bg.po: Update from translation team.
31786         * po/cs.po: Likewise.
31787         * po/de.po: Likewise.
31788         * po/hr.po: Likewise.
31789         * po/nl.pl: Likewise.
31790         * po/pl.po: Likewise.
31791         * po/vi.po: Likewise.
31793 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31795         * Makeconfig [!+link] (+link-before-libc): New variable.
31796         [!+link] (+link-after-libc): Likewise.
31797         [!+link] (+link-tests): Likewise.
31798         [!+link] (+link): Define in terms of $(+link-before-libc) and
31799         $(+link-after-libc).
31800         [!+link-static] (+link-static-before-libc): New variable.
31801         [!+link-static] (+link-static-after-libc): Likewise.
31802         [!+link-static] (+link-static-tests): Likewise.
31803         [!+link-static] (+link-static): Define in terms of
31804         $(+link-static-before-libc) and $(+link-static-after-libc).
31805         [build-shared] (link-libc-before-gnulib): New variable.
31806         [build-shared] (link-libc-tests): Likewise.
31807         [build-shared] (link-libc): Define in terms of
31808         $(link-libc-before-gnulib).
31809         [!build-shared] (link-libc-tests): New variable.
31810         (link-libc-static-tests): New variable.
31811         [!gnulib] (gnulib-arch): New variable.
31812         [!gnulib] (gnulib-tests): Likewise.
31813         [!gnulib] (static-gnulib-arch): Likewise.
31814         [!gnulib] (static-gnulib-tests): Likewise.
31815         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31816         Define with "=" instead of ":=".
31817         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31818         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31819         * Rules (binaries-all-notests): New variable.
31820         (binaries-all-tests): Likewise.
31821         (binaries-static-notests): Likewise.
31822         (binaries-static-tests): Likewise.
31823         (binaries-all): Define using $(binaries-all-notests) and
31824         $(binaries-all-tests).
31825         (binaries-static): Define using $(binaries-static-notests) and
31826         $(binaries-static-tests).
31827         (binaries-shared-tests): New variable.
31828         (binaries-shared-notests): Likewise.
31829         (binaries-shared): Remove variable.
31830         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31831         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31832         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31833         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31834         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31835         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31836         * elf/Makefile (sln-modules): New variable.
31837         (extra-objs): Add $(sln-modules:=.o).
31838         (ldconfig-modules): Add static-stubs.
31839         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31840         * elf/static-stubs.c: New file.
31842         [BZ #14283]
31843         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31844         by 7 not 8 to examine high bit of fractional part.  Use volatile
31845         variables when splitting into final array of floats if
31846         __FLT_EVAL_METHOD__ != 0.
31847         * math/libm-test.inc (cos_test): Add another test.
31848         (sin_test): Likewise.
31849         * sysdeps/i386/fpu/libm-test-ulps: Update.
31851         [BZ #14273]
31852         * math/libm-test.inc (cosh_test): Add more tests.
31854         * version.h (RELEASE): Set to "development".
31855         (VERSION): Set to "2.16.90".
31857 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31859         * NEWS: Update copyright. Remove last-updated date.
31860         Mention math library bug fixes and timezone data changes.
31861         * README: Mention GNU/Hurd, x32, and HPPA support status.
31863 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31865         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31867 2012-06-27  Andreas Jaeger  <aj@suse.de>
31869         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31871 2012-06-25  Andreas Jaeger  <aj@suse.de>
31873         * sysdeps/s390/fpu/libm-test-ulps: Update.
31875 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31876             Thomas Schwinge  <thomas@codesourcery.com>
31878         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31879         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31880         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31881         fanotify_mark.
31883 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31885         * sysdeps/mach/start.c: Remove file.
31886         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31887         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31888         * sysdeps/sh/init-first.c: Likewise.
31890         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31891         registers for frame unwinding purposes, add CFI directives.
31892         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31893         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31894         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31895         Likewise.
31897         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31898         __fortify_fail returning.
31899         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31901         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31902         sysdeps/sh/____longjmp_chk.S.
31903         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31904         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31905         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31906         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31908         * sysdeps/sh/abort-instr.h: New file.
31909         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31910         process in case exit returns.
31912         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31913         initialize the GOT register before use.
31915         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31916         calculation of ARGC > 4.
31918         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31919         meaningful names to some local labels.
31921 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31922             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31924         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31925         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31926         (__arch_compare_and_exchange_val_16_acq): Likewise.
31927         (__arch_compare_and_exchange_val_32_acq): Likewise.
31928         (atomic_exchange_and_add): Fix gUSA sequence.
31929         (atomic_add): Likewise.
31930         (atomic_add_negative): Likewise.
31931         (atomic_add_zero): Likewise.
31932         (atomic_bit_test_set): Likewise.
31934 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31936         [BZ #13579]
31937         * include/link.h (struct link_map): Add l_free_initfini.
31938         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31939         l_initfini.
31940         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31941         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31942         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31943         set.
31945 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31947         * configure.in: Use AC_LANG_SOURCE.
31948         * configure: Regenerate.
31950 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31952         * configure.in (libc_cv_localstatedir): New substituted variable.
31953         * configure: Regenerated.
31954         * config.make.in (localstatedir): New variable, substituted from
31955         libc_cv_localstatedir.
31956         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31957         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31958         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31959         * sysdeps/gnu/configure: Regenerated.
31961 2012-06-21  Jeff Law  <law@redhat.com>
31963         [BZ #14277]
31964         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31965         free.  Simplify list management for _LIBC case.
31967 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31969         [BZ #14273]
31970         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31971         Clear sign bit of 64-bit integer value before comparing against
31972         overflow value.
31974         * sysdeps/mach/configure: Regenerated.
31976 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31978         [BZ #14278]
31979         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31981 2012-06-21  Jeff Law  <law@redhat.com>
31983         [BZ #13882]
31984         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31985         uint16_t for elements in the "seen" array to avoid char overflows.
31986         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31987         * elf/dl-open.c (dl_open_worker): Likewise.
31989 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31991         * scripts/list-sources.sh: Scan PORTS for translations.
31992         * po/libc.pot: Regenerated.
31994 2012-06-21  Andreas Jaeger  <aj@suse.de>
31996         [BZ #12194]
31997         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31998         warning.
31999         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32000         * bits/byteswap-16.h (__bswap_16): Likewise.
32001         * bits/byteswap.h (__bswap_constant_16): Likewise.
32003 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32005         [BZ #14117]
32006         * sysdeps/i386/fpu_control.h: Removed.
32007         * sysdeps/x86_64/fpu_control.h: Moved to ...
32008         * sysdeps/x86/fpu_control.h: Here.
32010         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32011         (_FPU_SETCW): Likewise.
32013 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32015         [BZ #14117]
32016         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32017         * sysdeps/x86/fpu/bits/mathinline.h: This.
32018         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32020         [BZ #14050]
32021         [BZ #14117]
32022         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32023         functions if __x86_64__ is defined.
32025 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32027         * string/endian.h: Add !__ASSEMBLER__ condition for including
32028         conversion interfaces.
32030 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32032         [BZ #14241]
32033         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32034         of ABS(x) in calculating zero to negative powers other than odd
32035         integers.
32036         * math/libm-test.inc (pow_test): Add more tests.
32038 2012-06-15  Andreas Jaeger  <aj@suse.de>
32040         * manual/contrib.texi (Contributors): Update entry of Liubov
32041         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32042         Machado Filho.
32044 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32046         * string/string.h: Add __wur to GNU version of strerror_r.
32048 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32050         [BZ #14229]
32051         * string/Makefile (tests): Add tst-strtok_r.
32052         * string/tst-strtok_r.c: New file.
32053         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32054         RAX_LP/RDX_LP on SAVE_PTR.
32056 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32058         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32060 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32062         * libm_test.inc (csqrt_test): Allow more spurious underflow
32063         exceptions.
32064         (j0_test): Likewise.
32065         (j1_test): Likewise.
32066         (y0_test): Likewise.
32067         (y1_test): Likewise.
32069 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32071         * po/Makefile (libc.pot): Use UTF-8 charset.
32073 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32075         [BZ #14210]
32076         Suppress sign-conversion warning from FD_SET.
32077         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32078         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32079         not unsigned long int.
32080         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32082 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32084         [BZ #14050]
32085         [BZ #14117]
32086         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32087         __extern_always_inline instead of __extern_inline.
32088         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32089         (__signbit): Likewise.
32090         (__signbitl): Support C++ namespace.
32091         (lrintf): New inline function.
32092         (lrint): Likewise.
32093         (llrintf): Likewise.
32094         (llrint): Likewise.
32095         (fmaxf): Likewise.
32096         (fmax): Likewise.
32097         (fminf): Likewise.
32098         (fmin): Likewise.
32099         (rint): Likewise.
32100         (rintf): Likewise.
32101         (ceil): Likewise.
32102         (ceilf): Likewise.
32103         (floor): Likewise.
32104         (floorf): Likewise.
32105         (nearbyint): Likewise.
32106         (nearbyintf): Likewise.
32108 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32110         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32111         non-default versions.
32113 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32115         [BZ #14218]
32116         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32118 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32120         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32121         (FE_UPWARD, FE_DOWNWARD): Don't define.
32122         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32123         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32125         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32126         reading it.
32127         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32128         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32130 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32132         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32133         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32134         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32135         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32137 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32139         [BZ #14117]
32140         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32141         * sysdeps/i386/fpu/Implies: New file.
32142         * sysdeps/x86_64/fpu/Implies: Likewise.
32143         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32144         * sysdeps/x86/fpu/bits/fenv.h: This.
32146         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32147         __SSE_MATH__.
32149 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32151         [BZ #14134]
32152         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32153         character 0xffff that matches the last element of the
32154         conversion table.
32156 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32158         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32159         fmodl commit.
32161 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32163         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32164         values higher than 25.6283.
32166 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32168         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32169         subnormal exponent extraction and add some __builtin_expect.
32170         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32171         Fix for subnormal mantissa calculation.
32173 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32175         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32176         cpu2 is -1 and errno is not ENOSYS.
32178 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32180         [BZ #14117]
32181         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32182         * sysdeps/x86/bits/string.h: This.
32183         * sysdeps/x86_64/bits/string.h: Removed.
32185         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32186         if not compiling for x86-64, but compiling for >= i486.
32188         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32189         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32191         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32192         New macro from Linux kernel 3.4.0.
32193         (FP_XSTATE_MAGIC2): Likewise.
32194         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32195         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32196         (struct _fpx_sw_bytes): New struct.
32197         (struct _xsave_hdr): Likewise.
32198         (struct _ymmh_state): Likewise.
32199         (struct _xstate): Likewise.
32201         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32202         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32203         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32204         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32205         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32206         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32208         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32209         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32210         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32211         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32212         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32213         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32215 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32217         [BZ #13743]
32218         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32219         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32220         (sysdep_headers): Include sys/platform/ppc.h.
32221         * sysdeps/powerpc/test-gettimebase.c: Test for
32222         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32223         * manual/Makefile (appendices): Include platform.texi.
32224         * manual/contrib.texi (Contributors): Update @node pointers.
32225         * manual/maint.texi (Maintenance): Likewise.
32226         (Platform): New node.
32227         * manual/platform.texi: New file.  Document the new features.
32229 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32230             Jakub Jelinek  <jakub@redhat.com>
32232         [BZ #14188]
32233         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32234         where __builtin_expect is unavailable.
32236 2012-06-03  David S. Miller  <davem@davemloft.net>
32238         * stdlib/longlong.h: Updated from GCC.
32240 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32242         [BZ #14042]
32243         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32244         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32245         __mcount_internal.
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32247         (GLIBC_2.16): Likewise.
32249 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32251         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32253 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32256         (default-abi): New variable.
32257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32258         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32259         variable.
32260         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32261         Likewise.
32262         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32263         Likewise.
32264         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32265         Likewise.
32267         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32268         definition.  Document in comment.
32270 2012-06-01  David S. Miller  <davem@davemloft.net>
32272         * stdlib/longlong.h: Updated from GCC.
32274 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32276         [BZ #14117]
32277         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32278         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32279         sys/debugreg.h sys/io.h here.
32280         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32281         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32282         sys/io.h.
32283         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32284         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32285         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32286         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32287         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32288         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32290         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32291         Define only if __x86_64__ is defined.
32293 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32295         [BZ #14048]
32296         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32297         Use int64_t for variable i.
32298         * math/libm-test.inc (fmod_test): Add more tests.
32300         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32301         z computation is not scheduled after fetestexcept.
32302         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32303         Use math_force_eval instead of asm to ensure calculation scheduled
32304         before exception test.
32305         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32306         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32308 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32310         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32311         computation is not scheduled after fetestexcept.
32313 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32315         [BZ #14117]
32316         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32317         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32319 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32321         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32322         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32324 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32326         [BZ #14117]
32327         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32328         <bits/wordsize.h>.
32329         (__WCHAR_MIN): Support __WORDSIZE == 64.
32330         (__WCHAR_MAX): Likewise.
32332         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32333         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32335         [BZ #14183]
32336         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32337         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32339         [BZ #14117]
32340         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32341         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32343         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32344         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32346         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32347         Defined to 1 if __x86_64__ isn't defined.
32348         (_STAT_VER_LINUX_OLD): New.
32349         (st_atime): Remove duplicate.
32350         (st_mtime): Likewise.
32351         (st_ctime): Likewise.
32353 2012-05-31  David S. Miller  <davem@davemloft.net>
32355         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32356         entries.
32358 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32360         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32361         gen-libm-test.pl.
32363         [BZ #14132]
32364         * elf/dl-reloc.c: Include <_itoa.h>.
32365         (_dl_reloc_bad_type): Remove use of INTUSE.
32366         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32367         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32368         * stdio-common/psiginfo.c (psiginfo): Likewise.
32369         * stdio-common/psignal.c (psignal): Likewise.
32370         * string/strsignal.c (strsignal): Likewise.
32371         * include/signal.h (_sys_siglist): Declare hidden proto.
32372         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32373         INTVARDEF with libc_hidden_data_def.
32374         * stdio-common/itoa-udigits.c: Likewise.
32375         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32376         (_itoa_lower_digits_internal): Remove declaration.
32377         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32378         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32379         (_sys_sigabbrev_internal): Remove aliases.
32380         (_sys_siglist): Define hidden alias.
32382 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32385         bits/sysctl.h.
32387 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32389         [BZ #14117]
32390         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32391         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32393         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32394         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32395         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32396         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32397         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32398         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32400         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32401         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32402         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32404         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32405         with __addr.
32406         (insw): Likewise.
32407         (insl): Likewise.
32408         (outsb): Likewise.
32409         (outsw): Likewise.
32410         (outsl): Likewise.
32412         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32413         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32414         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32416         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32417         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32418         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32419         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32420         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32421         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32423         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32424         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32426         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32427         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32429         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32430         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32431         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32433         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32434         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32435         to ...
32436         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32438         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32439         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32440         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32442         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32443         for x86-64.
32444         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32446 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32448         * math/math.h (M_El): Use two more decimal places.
32449         (M_LOG2El): Likewise.
32450         (M_LOG10El): Likewise.
32451         (M_LN2l): Likewise.
32452         (M_LN10l): Likewise.
32453         (M_PIl): Likewise.
32454         (M_PI_2l): Likewise.
32455         (M_PI_4l): Likewise.
32456         (M_1_PIl): Likewise.
32457         (M_2_PIl): Likewise.
32458         (M_2_SQRTPIl): Likewise.
32459         (M_SQRT2l): Likewise.
32460         (M_SQRT1_2l): Likewise.
32462 2012-05-31  David S. Miller  <davem@davemloft.net>
32464         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32465         values between float registers.
32466         * sysdeps/sparc/sparc64/memset.S: Likewise.
32467         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32469 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32471         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32472         -D_FORTIFY_SOURCE=1.
32473         (CPPFLAGS-tst-longjmp_chk.c): Define.
32474         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32475         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32476         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32477         CFLAGS-tst-wchar-h.c.
32479 2012-05-31  Marek Polacek  <polacek@redhat.com>
32481         [BZ #14132]
32482         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32483         __endmntent_internal): Remove declaration.
32484         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32485         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32486         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32488 2012-05-30  David S. Miller  <davem@davemloft.net>
32490         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32491         (___Q_simulate_exceptions): Use real FP ops rather than writing
32492         into the %fsr.
32493         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32494         Likewise.
32496 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32498         [BZ #14117]
32499         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32500         * sysdeps/x86/bits/xtitypes.h: This.
32502         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32503         * sysdeps/x86/bits/wordsize.h: This.
32505         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32506         * sysdeps/x86/bits/huge_vall.h: This.
32508         * sysdeps/i386/bits/select.h: Removed.
32509         * sysdeps/x86_64/bits/select.h: Renamed to ...
32510         * sysdeps/x86/bits/select.h: This.
32512         * sysdeps/i386/bits/setjmp.h: Removed.
32513         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32514         * sysdeps/x86/bits/setjmp.h: This.
32516         * sysdeps/i386/bits/mathdef.h: Removed.
32517         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32518         * sysdeps/x86/bits/mathdef.h: This.
32520 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32522         [BZ #14132]
32523         * include/sys/socket.h (__connect_internal)
32524         (__libc_sa_len_internal): Remove declaration.
32525         (__connect, __libc_sa_len): Declare hidden_proto.
32526         (SA_LEN): Remove use of INTUSE.
32527         * socket/connect.c: Add libc_hidden_def.
32528         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32529         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32530         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32531         alias.
32532         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32533         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32534         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32535         of adding _internal alias.
32537 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32539         [BZ #14117]
32540         * sysdeps/i386/bits/link.h: Removed.
32541         * sysdeps/i386/bits/linkmap.h: Likewise.
32542         * sysdeps/x86_64/bits/link.h: Renamed to ...
32543         * sysdeps/x86/bits/link.h: This.
32544         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32545         * sysdeps/x86/bits/linkmap.h: This.
32547         * sysdeps/i386/bits/endian.h: Removed.
32548         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32549         * sysdeps/x86/bits/endian.h: This.
32551         * sysdeps/i386/bits/byteswap.h: Removed.
32552         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32553         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32554         * sysdeps/x86/bits/byteswap.h: This.
32555         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32556         * sysdeps/x86/bits/byteswap-16.h: This.
32557         * sysdeps/i386/Implies: Add x86.
32558         * sysdeps/x86_64/Implies: Likewise.
32560 2012-05-30  David S. Miller  <davem@davemloft.net>
32562         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32563         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32564         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32565         (FP_TRAPPING_EXCEPTIONS): Define.
32566         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32567         (FP_TRAPPING_EXCEPTIONS): Define.
32568         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32569         subnormals only when inexact has been signalled or underflow
32570         exceptions are enabled.
32571         (_FP_PACK_CANONICAL): Likewise.
32573 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32575         [BZ #14183]
32576         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32577         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32579 2012-05-30  Richard Henderson  <rth@twiddle.net>
32581         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32582         with #ifndef NOT_IN_libc.
32584         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32585         marked to avoid plt entry.
32587 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32589         [BZ #14112]
32590         * Makeconfig (default-abi): New macro.
32591         (abi-includes): Likewise.
32592         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32593         $(abi-$(default-abi)-lib-soname) for soname if defined.
32594         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32595         abi-variants.
32596         * Makefile (installed-stubs): Likewise.
32597         * include/stubs-biarch.h: Removed.
32598         * scripts/lib-names.awk: Only handle one library at a time.
32599         * scripts/soversions.awk: Remove WORDSIZE support.
32600         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32601         entries.
32602         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32603         Removed.
32604         (syscall-list-default-condition): Likewise.
32605         (syscall-list-default-condition): Likewise.
32606         (syscall-list-includes): Likewise.
32607         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32608         syscall-list-* with abi-*.  Handle undefined abi-variants.
32609         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32610         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32611         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32612         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32613         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32614         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32615         Removed.
32616         (syscall-list-32-options): Likewise.
32617         (syscall-list-32-condition): Likewise.
32618         (syscall-list-64-options): Likewise.
32619         (syscall-list-64-condition): Likewise.
32620         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32621         macro.
32622         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32623         Renamed to ...
32624         (abi-*): This.
32625         (abi-64-ld-soname): New macro.
32626         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32627         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32628         Renamed to ...
32629         (abi-*): This.
32630         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32631         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32633 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32635         * sysdeps/unix/sysv/linux/kernel-features.h
32636         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32637         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32638         include <kernel-features.h>.
32639         [!__NR_ftruncate64]: Remove conditional code.
32640         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32641         [__NR_ftruncate64]: Make code unconditional.
32642         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32643         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32644         include <kernel-features.h>.
32645         [!__NR_ftruncate64]: Remove conditional code.
32646         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32647         [__NR_ftruncate64]: Make code unconditional.
32648         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32650         include <kernel-features.h>.
32651         [!__NR_ftruncate64]: Remove conditional code.
32652         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32653         [__NR_ftruncate64]: Make code unconditional.
32654         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32656         include <kernel-features.h>.
32657         [!__NR_ftruncate64]: Remove conditional code.
32658         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32659         [__NR_ftruncate64]: Make code unconditional.
32660         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32662         * configure.in (libc_cv_fpie): Weaken to a compile test using
32663         LIBC_TRY_CC_OPTION.
32664         * configure: Regenerated.
32666 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32672         Refreshed.
32673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32679         Refreshed.
32681 2012-05-27  David S. Miller  <davem@davemloft.net>
32683         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32684         (___Q_zero): New.
32685         (__Q_simulate_exceptions): Return void.  Change to simulate
32686         exceptions by writing into the %fsr.
32687         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32688         (__Qp_handle_exceptions): Likewise.
32689         (numbers): Delete.
32690         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32691         __Qp_handle_exceptions.
32692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32693         __Qp_handle_exceptions.
32694         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32695         as unused and give dummy FP_RND_NEAREST initializer.
32696         (FP_INHIBIT_RESULTS): Define.
32697         (___Q_simulate_exceptions): Update declaration.
32698         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32699         formatting.
32700         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32701         as unused and give dummy FP_RND_NEAREST initializer.
32702         (__Qp_handle_exceptions): Update declaration.
32703         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32704         formatting.
32706 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32708         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32709         the temporary FPU control word.
32710         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32711         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32712         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32713         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32714         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32715         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32716         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32717         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32718         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32719         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32720         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32722 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32724         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32725         fields.
32727 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32729         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32730         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32731         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32732         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32733         Likewise.
32734         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32735         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32736         Likewise.
32738 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32740         * po/h.po: Update from translation team.
32742 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32744         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32746         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32747         handling of denormals.
32748         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32749         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32750         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32751         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32752         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32754         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32755         Likewise.
32757 2012-05-26  Marek Polacek  <polacek@redhat.com>
32759         [BZ #14152]
32760         * math/libm-test.inc (fma_test): Don't always expect underflow
32761         exception.
32763 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32765         [BZ #12416]
32766         * elf/tst-execstack.c: Include stackinfo.h.
32767         (do_test): Adjust test case to ensure that pthread_getattr_np
32768         behaviour remains the same after marking stack executable.
32770 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32772         * sysdeps/unix/sysv/linux/kernel-features.h
32773         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32774         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32775         kernel-features.h.
32776         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32777         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32778         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32779         kernel-features.h.
32780         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32781         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32783 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32785         * configure.in: Define the default includes to being none.
32786         * configure: Regenerated.
32788 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32790         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32791         * sysdeps/x86_64/setjmp.S: Likewise.
32792         * sysdeps/i386/bsd-setjmp.S: Likewise.
32793         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32794         * sysdeps/i386/setjmp.S: Likewise.
32795         * sysdeps/i386/__longjmp.S: Likewise.
32796         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32797         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32799         * include/stap-probe.h: New file.
32800         * configure.in: Handle --enable-systemtap.
32801         * configure: Regenerated.
32802         * config.h.in (USE_STAP_PROBE): New #undef.
32803         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32804         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32805         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32807 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32809         [BZ #13717]
32810         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32811         to 2.4.0 where earlier.
32812         * sysdeps/unix/sysv/linux/configure: Regenerated.
32813         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32814         <kernel-features.h>.
32815         [__ASSUME_32BITUIDS]: Make code unconditional.
32816         [!__ASSUME_32BITUIDS]: Remove conditional code.
32817         * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
32822         [__ASSUME_32BITUIDS]: Make code unconditional.
32823         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32824         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32825         <kernel-features.h>.
32826         [__ASSUME_32BITUIDS]: Make code unconditional.
32827         [!__ASSUME_32BITUIDS]: Remove conditional code.
32828         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32829         <kernel-features.h>.
32830         [__ASSUME_32BITUIDS]: Make code unconditional.
32831         [!__ASSUME_32BITUIDS]: Remove conditional code.
32832         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32833         <kernel-features.h>.
32834         [__ASSUME_32BITUIDS]: Make code unconditional.
32835         [!__ASSUME_32BITUIDS]: Remove conditional code.
32836         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32837         <kernel-features.h>.
32838         [__ASSUME_32BITUIDS]: Make code unconditional.
32839         [!__ASSUME_32BITUIDS]: Remove conditional code.
32840         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32841         <kernel-features.h>.
32842         [__ASSUME_32BITUIDS]: Make code unconditional.
32843         [!__ASSUME_32BITUIDS]: Remove conditional code.
32844         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32845         <kernel-features.h>.
32846         [__ASSUME_32BITUIDS]: Make code unconditional.
32847         [!__ASSUME_32BITUIDS]: Remove conditional code.
32848         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32849         <kernel-features.h>.
32850         [__ASSUME_32BITUIDS]: Make code unconditional.
32851         [!__ASSUME_32BITUIDS]: Remove conditional code.
32852         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32853         <kernel-features.h>.
32854         [__ASSUME_32BITUIDS]: Make code unconditional.
32855         [!__ASSUME_32BITUIDS]: Remove conditional code.
32856         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32857         <kernel-features.h>.
32858         [__ASSUME_32BITUIDS]: Make code unconditional.
32859         [!__ASSUME_32BITUIDS]: Remove conditional code.
32860         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32861         <kernel-features.h>.
32862         [__ASSUME_32BITUIDS]: Make code unconditional.
32863         [!__ASSUME_32BITUIDS]: Remove conditional code.
32864         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32865         <kernel-features.h>.
32866         [__NR_setresgid] (__setresgid): Do not declare.
32867         [__ASSUME_32BITUIDS]: Make code unconditional.
32868         [!__ASSUME_32BITUIDS]: Remove conditional code.
32869         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32870         <kernel-features.h>.
32871         [__NR_setresuid] (__setresuid): Do not declare.
32872         [__ASSUME_32BITUIDS]: Make code unconditional.
32873         [!__ASSUME_32BITUIDS]: Remove conditional code.
32874         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32875         <kernel-features.h>.
32876         [__ASSUME_32BITUIDS]: Make code unconditional.
32877         [!__ASSUME_32BITUIDS]: Remove conditional code.
32878         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32879         <kernel-features.h>.
32880         [__ASSUME_32BITUIDS]: Make code unconditional.
32881         [!__ASSUME_32BITUIDS]: Remove conditional code.
32882         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32883         <kernel-features.h>.
32884         [__ASSUME_32BITUIDS]: Make code unconditional.
32885         [!__ASSUME_32BITUIDS]: Remove conditional code.
32886         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32887         <kernel-features.h>.
32888         [__ASSUME_32BITUIDS]: Make code unconditional.
32889         [!__ASSUME_32BITUIDS]: Remove conditional code.
32890         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32891         <kernel-features.h>.
32892         [__ASSUME_32BITUIDS]: Make code unconditional.
32893         [!__ASSUME_32BITUIDS]: Remove conditional code.
32894         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32895         <kernel-features.h>.
32896         [__ASSUME_32BITUIDS]: Make code unconditional.
32897         [!__ASSUME_32BITUIDS]: Remove conditional code.
32898         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32899         <kernel-features.h>.
32900         [__ASSUME_32BITUIDS]: Make code unconditional.
32901         [!__ASSUME_32BITUIDS]: Remove conditional code.
32902         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32903         <kernel-features.h>.
32904         [__ASSUME_32BITUIDS]: Make code unconditional.
32905         [!__ASSUME_32BITUIDS]: Remove conditional code.
32906         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32907         <kernel-features.h>.
32908         [__ASSUME_32BITUIDS]: Make code unconditional.
32909         [!__ASSUME_32BITUIDS]: Remove conditional code.
32910         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32911         <kernel-features.h>.
32912         [__ASSUME_32BITUIDS]: Make code unconditional.
32913         [!__ASSUME_32BITUIDS]: Remove conditional code.
32914         * sysdeps/unix/sysv/linux/kernel-features.h
32915         (__ASSUME_SETRESUID_SYSCALL): Remove.
32916         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32917         (__ASSUME_32BITUIDS): Likewise.
32918         (__ASSUME_LDT_WORKS): Likewise.
32919         (__ASSUME_O_DIRECTORY): Likewise.
32920         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32921         architecture but not kernel version.
32922         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32923         (__ASSUME_MMAP2_SYSCALL): Likewise.
32924         (__ASSUME_STAT64_SYSCALL): Likewise.
32925         (__ASSUME_IPC64): Likewise.
32926         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32927         <kernel-features.h>.
32928         [__ASSUME_32BITUIDS]: Make code unconditional.
32929         [!__ASSUME_32BITUIDS]: Remove conditional code.
32930         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32931         <kernel-features.h>.
32932         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32933         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32934         132096]: Remove conditional code.
32935         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32936         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32937         <kernel-features.h>.
32938         [__ASSUME_32BITUIDS]: Make code unconditional.
32939         [!__ASSUME_32BITUIDS]: Remove conditional code.
32940         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32941         <kernel-features.h>.
32942         [__ASSUME_32BITUIDS]: Make code unconditional.
32943         [!__ASSUME_32BITUIDS]: Remove conditional code.
32944         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32945         <kernel-features.h>.
32946         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32947         unconditional.
32948         (__setresgid): Do not declare.
32949         [__ASSUME_32BITUIDS]: Make code unconditional.
32950         [!__ASSUME_32BITUIDS]: Remove conditional code.
32951         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32952         <kernel-features.h>.
32953         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32954         unconditional.
32955         (__setresuid): Do not declare.
32956         [__ASSUME_32BITUIDS]: Make code unconditional.
32957         [!__ASSUME_32BITUIDS]: Remove conditional code.
32958         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32959         <kernel-features.h>.
32960         [__ASSUME_32BITUIDS]: Make code unconditional.
32961         [!__ASSUME_32BITUIDS]: Remove conditional code.
32962         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32963         <kernel-features.h>.
32964         [__ASSUME_32BITUIDS]: Make code unconditional.
32965         [!__ASSUME_32BITUIDS]: Remove conditional code.
32967 2012-05-25  Richard Henderson  <rth@twiddle.net>
32969         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32970         dl_hwcap to ifunc resolver.
32971         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32972         elf_ifunc_invoke.
32973         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32974         dl_hwcap to ifunc resolver.
32975         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32977 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32979         [BZ #14153]
32980         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32981         for |x| <= 2**-26, not 2**-57.
32982         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32983         exception.
32985 2012-05-24  Jeff Law  <law@redhat.com>
32987         * stdio-common/Makefile (tests): Add bug25.
32988         * stdio-common/bug25.c: New test.
32990 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32992         [BZ #13576]
32993         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32994         multiple of MALLOC_ALIGNMENT in size.
32995         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32997 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32999         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33000         Require >= 256.
33001         (FILENAME_MAX): Use macro-int-constant.
33002         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33003         (_IOFBF): Use macro-int-constant.
33004         (_IOLBF): Likewise.
33005         (_IONBF): Likewise.
33006         (SEEK_CUR): Likewise.
33007         (SEEK_END): Likewise.
33008         (SEEK_SET): Likewise.
33009         (TMP_MAX): Likewise.
33010         (EOF): Use macro-int-constant.  Require < 0.
33011         (NULL): Use macro-constant.  Require == 0.
33012         (stdin): Require type to be FILE *.
33013         (stdout): Likewise.
33014         (stderr): Likewise.
33015         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33016         macro-int-constant.
33017         (EXIT_SUCCESS): Likewise.
33018         (NULL): Use macro-constant.  Require == 0.
33019         (RAND_MAX): Use macro-int-constant.
33020         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33021         [C99-based standards] (strtof): Require function.
33022         [C99-based standards] (strtold): Likewise.
33023         [C99-based standards] (strtoll): Likewise.
33024         [C99-based standards] (strtoull): Likewise.
33025         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33026         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33027         [ISO || ISO99 || ISO11] (math.h): Likewise.
33028         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33029         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33030         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33032 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33034         [BZ #14132]
33035         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33036         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33037         * intl/dgettext.c (DCGETTEXT): Likewise.
33038         * intl/gettext.c (DCGETTEXT): Likewise.
33039         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33040         * posix/regex_internal.h (gettext): Likewise.
33041         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33042         Remove declaration.
33043         * include/argz.h (__argz_count_internal)
33044         (__argz_stringify_internal): Remove declaration.
33045         (__argz_count, __argz_stringify): Declare hidden proto.
33046         * intl/dcgettext.c: Remove use of INTDEF.
33047         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33048         * string/argz-stringify.c: Likewise.
33049         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33050         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33051         Declare hidden proto.
33052         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33053         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33054         Declare hidden proto.
33055         * include/stdio.h (__asprintf_internal): Don't declare.
33056         (__asprintf): Don't define as macro.  Declare hidden proto.
33057         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33058         (__fsetlocking): Declare hidden proto.
33059         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33060         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33061         hidden proto.
33062         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33063         (_IO_setlinebuf): Remove use of INTUSE.
33064         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33065         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33066         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33067         Remove declaration.
33068         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33069         (_IO_do_flush): Remove use of INTUSE.
33070         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33071         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33072         (_IO_adjust_column, _IO_least_wmarker)
33073         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33074         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33075         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33076         (_IO_default_doallocate, _IO_wdefault_doallocate)
33077         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33078         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33079         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33080         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33081         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33082         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33083         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33084         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33085         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33086         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33087         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33088         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33089         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33090         proto.
33091         (_IO_flush_all_internal, _IO_adjust_column_internal)
33092         (_IO_default_uflow_internal, _IO_default_finish_internal)
33093         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33094         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33095         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33096         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33097         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33098         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33099         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33100         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33101         (_IO_file_close_internal, _IO_file_close_it_internal)
33102         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33103         (_IO_file_init_internal, _IO_file_attach_internal)
33104         (_IO_file_fopen_internal, _IO_file_read_internal)
33105         (_IO_file_sync_internal, _IO_file_seek_internal)
33106         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33107         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33108         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33109         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33110         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33111         (_IO_list_all_internal, _IO_link_in_internal)
33112         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33113         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33114         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33115         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33116         (_IO_do_write_internal, _IO_padn_internal)
33117         (_IO_getline_info_internal, _IO_getline_internal)
33118         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33119         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33120         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33121         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33122         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33123         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33124         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33125         with libc_hidden_ver, remove use of INTUSE.
33126         * libio/genops.c: Likewise.
33127         * libio/freopen.c: Likewise.
33128         * libio/freopen64.c: Likewise.
33129         * libio/iofclose.c: Likewise.
33130         * libio/iofdopen.c: Likewise.
33131         * libio/iofflush.c: Likewise.
33132         * libio/iofflush_u.c: Likewise.
33133         * libio/iofgets.c: Likewise.
33134         * libio/iofgets_u.c: Likewise.
33135         * libio/iofopen.c: Likewise.
33136         * libio/iofopncook.c: Likewise.
33137         * libio/iofread.c: Likewise.
33138         * libio/iofread_u.c: Likewise.
33139         * libio/ioftell.c: Likewise.
33140         * libio/iofwrite.c: Likewise.
33141         * libio/iogetline.c: Likewise.
33142         * libio/iogets.c: Likewise.
33143         * libio/iogetwline.c: Likewise.
33144         * libio/iopadn.c: Likewise.
33145         * libio/iopopen.c: Likewise.
33146         * libio/ioseekoff.c: Likewise.
33147         * libio/ioseekpos.c: Likewise.
33148         * libio/iosetbuffer.c: Likewise.
33149         * libio/iosetvbuf.c: Likewise.
33150         * libio/ioungetc.c: Likewise.
33151         * libio/ioungetwc.c: Likewise.
33152         * libio/iovdprintf.c: Likewise.
33153         * libio/iovsprintf.c: Likewise.
33154         * libio/iovsscanf.c: Likewise.
33155         * libio/memstream.c: Likewise.
33156         * libio/obprintf.c: Likewise.
33157         * libio/oldfileops.c: Likewise.
33158         * libio/oldiofclose.c: Likewise.
33159         * libio/oldiofdopen.c: Likewise.
33160         * libio/oldiofopen.c: Likewise.
33161         * libio/oldiopopen.c: Likewise.
33162         * libio/oldstdfiles.c: Likewise.
33163         * libio/putc.c: Likewise.
33164         * libio/setbuf.c: Likewise.
33165         * libio/setlinebuf.c: Likewise.
33166         * libio/stdfiles.c: Likewise.
33167         * libio/strops.c: Likewise.
33168         * libio/vasprintf.c: Likewise.
33169         * libio/vscanf.c: Likewise.
33170         * libio/vsnprintf.c: Likewise.
33171         * libio/vswprintf.c: Likewise.
33172         * libio/wfiledoalloc.c: Likewise.
33173         * libio/wfileops.c: Likewise.
33174         * libio/wgenops.c: Likewise.
33175         * libio/wmemstream.c: Likewise.
33176         * libio/wstrops.c: Likewise.
33177         * libio/__fpurge.c: Likewise.
33178         * libio/__fsetlocking.c: Likewise.
33179         * assert/assert.c: Likewise.
33180         * debug/fgets_chk.c: Likewise.
33181         * debug/fgets_u_chk.c: Likewise.
33182         * debug/fread_chk.c: Likewise.
33183         * debug/fread_u_chk.c: Likewise.
33184         * debug/gets_chk.c: Likewise.
33185         * debug/obprintf_chk.c: Likewise.
33186         * debug/vasprintf_chk.c: Likewise.
33187         * debug/vdprintf_chk.c: Likewise.
33188         * debug/vsnprintf_chk.c: Likewise.
33189         * debug/vsprintf_chk.c: Likewise.
33190         * malloc/mtrace.c: Likewise.
33191         * misc/error.c: Likewise.
33192         * misc/syslog.c: Likewise.
33193         * stdio-common/asprintf.c: Likewise.
33194         * stdio-common/fxprintf.c: Likewise.
33195         * stdio-common/getw.c: Likewise.
33196         * stdio-common/isoc99_fscanf.c: Likewise.
33197         * stdio-common/isoc99_scanf.c: Likewise.
33198         * stdio-common/isoc99_vfscanf.c: Likewise.
33199         * stdio-common/isoc99_vscanf.c: Likewise.
33200         * stdio-common/isoc99_vsscanf.c: Likewise.
33201         * stdio-common/printf-prs.c: Likewise.
33202         * stdio-common/printf_fp.c: Likewise.
33203         * stdio-common/printf_fphex.c: Likewise.
33204         * stdio-common/printf_size.c: Likewise.
33205         * stdio-common/putw.c: Likewise.
33206         * stdio-common/scanf.c: Likewise.
33207         * stdio-common/sprintf.c: Likewise.
33208         * stdio-common/tmpfile.c: Likewise.
33209         * stdio-common/vfprintf.c: Likewise.
33210         * stdio-common/vfscanf.c: Likewise.
33211         * stdlib/strfmon_l.c: Likewise.
33212         * sunrpc/openchild.c: Likewise.
33213         * sunrpc/xdr_stdio.c: Likewise.
33214         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33215         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33217 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33219         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33221         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33222         in the third column, to generate for the shared library an IFUNC
33223         that uses _dl_vdso_vsym.
33224         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33225         * Makeconfig (object-suffixes-noshared): New variable.
33227         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33228         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33229         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33230         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33232         [BZ #14132]
33233         * include/sys/time.h (__gettimeofday): Remove macro.
33234         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33235         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33236         Remove INTDEF.
33237         (__gettimeofday): Add libc_hidden_def.
33238         (gettimeofday): Add libc_hidden_weak.
33239         * sysdeps/mach/gettimeofday.c: Likewise.
33240         * sysdeps/posix/gettimeofday.c: Likewise.
33241         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33242         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33243         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33244         (__gettimeofday_internal): Remove strong_alias.
33245         (__gettimeofday): Add libc_hidden_def.
33246         (gettimeofday): Add libc_hidden_weak.
33247         * sysdeps/unix/syscalls.list (gettimeofday):
33248         Remove __gettimeofday_internal alias.
33250 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33251             H.J. Lu  <hongjiu.lu@intel.com>
33253         [BZ #12495]
33254         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33255         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33256         (largebin_index_32_big): New.
33257         (largebin_index): Use it for 16-byte alignment.
33258         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33259         correction with front_misalign.
33261 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33265         Likewise.
33266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33267         Likewise.
33268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33269         Likewise.
33270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33271         Likewise.
33272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33273         Likewise.
33274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33275         Likewise.
33276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33277         Likewise.
33278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33279         Likewise.
33280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33281         Likewise.
33282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33283         Likewise.
33284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33285         Likewise.
33286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33287         Likewise.
33289         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33290         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33292 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33294         [BZ #10846]
33295         [BZ #14036]
33296         * math/libm-test.inc (exp_test): Add test from bug 14036.
33297         (pow_test): Add test from bug 10846.
33299         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33300         and other flags.
33301         (special_function): Do not include flags in test name.
33302         (parse_args): Likewise.
33303         * sysdeps/i386/fpu/libm-test-ulps: Update.
33304         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33305         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33306         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33309         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33310         exceptions.
33311         * math/libm-test.inc ("Philosophy"): Update comment about
33312         exception testing.
33313         (UNDERFLOW_EXCEPTION): New macro.
33314         (UNDERFLOW_EXCEPTION_OK): Likewise.
33315         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33316         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33317         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33318         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33319         (INVALID_EXCEPTION_OK): Update value.
33320         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33321         (OVERFLOW_EXCEPTION_OK): Likewise.
33322         (IGNORE_ZERO_INF_SIGN): Likewise.
33323         (test_exceptions): Handle underflow exceptions.
33324         (acos_test): Update for underflow exception expectations.
33325         (cexp_test): Likewise.
33326         (clog_test): Likewise.
33327         (clog10_test): Likewise.
33328         (csqrt_test): Likewise.
33329         (ctan_test): Likewise.
33330         (ctanh_test): Likewise.
33331         (exp_test): Likewise.
33332         (exp10_test): Likewise.
33333         (exp2_test): Likewise.
33334         (expm1_test): Likewise.
33335         (fma_test): Likewise.
33336         (j0_test): Likewise.
33337         (jn_test): Likewise.
33338         (nexttoward_test): Likewise.
33339         (pow_test): Likewise.
33340         (scalbn_test): Likewise.
33341         (scalbln_test): Likewise.
33342         (tan_test): Likewise.
33343         (y1_test): Likewise.
33344         * sysdeps/i386/fpu/libm-test-ulps: Update.
33345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33347 2012-05-23  David S. Miller  <davem@davemloft.net>
33349         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33350         (__libc_sigaction): Remove unused local variables.
33352 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33354         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33356 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33358         mktime: avoid signed integer overflow
33359         * time/mktime.c (__mktime_internal): Do not mishandle the case
33360         where diff == INT_MIN.
33362         mktime: simplify computation of average
33363         * time/mktime.c (ranged_convert): Use new time_t_avg function
33364         instead of rolling our own (probably-slower) code.
33366         mktime: do not assume signed right shift propagates sign bit
33367         * time/mktime.c (isdst_differ): New static function.
33368         (__mktime_internal): No need to normalize tm_isdst now.
33369         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33370         tm_isdst values.
33372         mktime: merge another wrapv change from gnulib
33373         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33374         from some compilers.
33376         mktime: remove incorrect attempt at unusual arithmetics
33377         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33378         The code didn't really work on such machines anyway.
33379         (TYPE_MINIMUM): Assume two's complement.
33380         (twos_complement_arithmetic): Verify that long_int and time_t
33381         are two's complement (or unsigned, in the latter case).
33383         mktime: check signed shifts on long_int and time_t, too
33384         * time/mktime.c (SHR): Check that shifts work as desired
33385         on the types long_int and time_t too, as SHR is used on
33386         such types.
33388         mktime: do not assume 'long' is wide enough
33389         * time/mktime.c (verify): Move decl up.
33390         (long_int): New type.
33391         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33392         to remove assumption in the code that 'long' is wide enough to
33393         store year values.  This assumption is not true on x32 and on
33394         some non-glibc platforms.
33396         mktime: merge wrapv change from gnulib
33397         * time/mktime.c (WRAPV): New macro.
33398         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33399         (guess_time_tm, __mktime_internal): Do not assume that signed
33400         integer overflow wraps around; modern compilers generate code
33401         where this assumption is no longer valid.
33403 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33405         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33406         Replace "jmp L(pseudo_end)" with "ret".
33407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33408         Likewise.
33410 2012-05-23  Andreas Jaeger  <aj@suse.de>
33412         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33413         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33415 2012-05-23  Andreas Jaeger  <aj@suse.de>
33416             Maximilian Attems  <max@stro.at>
33418         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33419         New macros.
33421 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33423         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33424         code so that pseudo_end is just ret and the stack pointer is
33425         correct also for static library in error case.
33427 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33429         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33430         move to syscalls.list.
33431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33436         * manual/install.texi (Running make install): Do not mention Linux
33437         kernel version for which pt_chown is not needed.
33438         (Linux): Do not mention problems with nscd with 2.0 kernels.
33439         * INSTALL: Regenerated.
33441 2012-05-23  Andreas Jaeger  <aj@suse.de>
33443         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33444         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33445         macro.
33446         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33447         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33448         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33449         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33450         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33451         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33452         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33453         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33454         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33455         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33456         * sysdeps/unix/sysv/linux/bits/in.h
33457         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33459 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33461         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33462         (PREPARE_VERSION): Just use assert instead, it will be elided
33463         under [NDEBUG] anyway.
33465 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33467         * sysdeps/unix/sysv/linux/Makefile: Include
33468         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33469         (sysdep_routines): Remove sysctl.
33470         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33471         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33472         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33473         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33474         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33476 2012-05-22  Andreas Jaeger  <aj@suse.de>
33478         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33479         that pseudo_end is just ret and the stack pointer is correct also
33480         for static library in error case.
33482 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33484         [BZ #14122]
33485         * nss/nsswitch.c (defconfig_entries): New variable.
33486         (__nss_database_lookup): Don't leak defconfig entries.
33487         (nss_parse_service_list): Don't leak on error paths.
33488         (free_database_entries): New function.
33489         (free_defconfig): New function.
33490         (free_mem): Move common code to free_database_entries.
33492 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33494         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33495         Add arch_prctl.
33496         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33498         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33499         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33500         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33501         New macro.
33502         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33503         (INTERNAL_SYSCALL_TYPES): Likewise.
33504         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33505         (LOAD_REGS_TYPES_[1-6]): Likewise.
33506         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33507         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33509 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33511         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33512         copysignl for GLIBC_2_0.
33513         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33514         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33516         logbl for GLIBC_2_0.
33517         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33518         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33520 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33522         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33523         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33525         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33526         Use "neg %eax".
33528         * time/mktime.c: Update copyright years.
33530 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33532         mktime: merge comment-quoting-style change from gnulib
33533         * time/mktime.c: Quote 'like this' in comments.
33534         The GNU coding standards suggest that we no longer quote `like this',
33535         as "`" and "'" are typically rendered asymmetrically nowadays.
33536         The typical gnulib style is to quote 'like this' when quoting
33537         code, and "like this" when quoting English.
33539         * time/mktime.c (compile-command): Add "-I.".
33541         mktime: merge mktime-internal.h change from gnulib
33542         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33544         mktime: merge time_r change from gnulib
33545         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33547         mktime: merge DEBUG change from gnulib
33548         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33549         case system <time.h> has a #define.
33551         mktime: merge <sys/types.h> change from gnulib
33552         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33553         since <time.t> is now guaranteed to define time_t.
33555         mktime: merge HAVE_CONFIG_H change from gnulib
33556         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33558 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33561         Use "neg %eax".
33563         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33564         __rlim_t cast.
33565         (struct rusage): Use anonymous union to pad each field to
33566         __syscall_slong_t.
33568 2012-05-21  David S. Miller  <davem@davemloft.net>
33570         * Makefules (o-iterator): Remove .s cases.
33571         (compile-command.s): Delete.
33572         (COMPILE.s): Delete.
33573         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33575 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33577         * configure.in (libc_cv_predef_stack_protector): Only consider
33578         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33579         * configure: Regenerated.
33581 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33583         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33584         New macro.  Use R*LP on int and pointer.
33585         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33586         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33587         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33588         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33590         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33591         [__WORDSIZE_TIME64_COMPAT32] instead of
33592         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33593         (struct utmp): Likewise.
33594         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33595         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33596         Renamed to ...
33597         (__WORDSIZE_TIME64_COMPAT32): This.
33598         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33599         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33600         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33601         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33602         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33603         (__WORDSIZE_TIME64_COMPAT32): New macro.
33605 2012-05-21  Andreas Jaeger  <aj@suse.de>
33607         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33608         only if [SHARED]. Add prototype for __wcschr_ia32.
33610 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33612         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33613         of %rbp unmolested in the jmp_buf while mangling the low bits.
33614         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33615         unmolested high bits of %rbp while demangling the low bits.
33616         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33618 2012-05-21  Andreas Jaeger  <aj@suse.de>
33620         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33621         * sunrpc/svc_simple.c: Use it for registerrpc.
33622         * sunrpc/xcrypt.c: Use it for passwd2des.
33624         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33626 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33628         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33629         Don't define if [__SYSCALL_WORDSIZE != 32].
33630         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33631         New macro.
33633 2012-05-21  Bruno Haible  <bruno@clisp.org>
33634             Andreas Jaeger  <aj@suse.de>
33636         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33637         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33638         inptr and inend for must_buffer_ch.
33639         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33640         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33641         * stdio-common/Makefile (tests): Remove bug15.
33642         (bug15-ENV): Remove macro.
33643         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33644         anymore.
33646 2012-05-19  Andreas Jaeger  <aj@suse.de>
33647             Roland McGrath  <roland@hack.frob.com>
33649         * manual/contrib.texi: Completely rewritten. It contains now an
33650         alphabetical list of contributors and their contributions.
33652 2012-05-21  Richard Henderson  <rth@twiddle.net>
33654         * misc/getauxval.c (__getauxval): Use unsigned long int.
33655         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33656         (getauxval): Use unsigned long int.
33658 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33660         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33662 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33664         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33665         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33666         __alignof__ (long double).
33668 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33672 2012-05-20  Richard Henderson  <rth@twiddle.net>
33674         * misc/getauxval.c: New file.
33675         * misc/sys/auxv.h: New file.
33676         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33677         (routines): Add getauxval.
33678         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33679         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33680         * elf/dl-sysdep.c (_dl_auxv): Remove.
33681         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33682         * elf/dl-support.c (_dl_auxv): New variable.
33683         (_dl_aux_init): Initialize it.
33684         * manual/startup.texi (Auxiliary Vector): New node.
33685         * sysdeps/generic/bits/hwcap.h: New file.
33686         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33687         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33688         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33689         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33690         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33691         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33693         Update.
33694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33697         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33703 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33707 2012-05-19  David S. Miller  <davem@davemloft.net>
33709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33711 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33713         [BZ #14123]
33714         * math/s_ccosh.c: Include <float.h>
33715         (__ccosh): Avoid internal overflow calculating sinh and cosh
33716         values before multiplying by sin and cos values.
33717         * math/s_ccoshf.c: Likewise.
33718         * math/s_ccoshl.c: Likewise.
33719         * math/s_csin.c: Likewise.
33720         * math/s_csinf.c: Likewise.
33721         * math/s_csinl.c: Likewise.
33722         * math/s_csinh.c: Likewise.
33723         * math/s_csinhf.c: Likewise.
33724         * math/s_csinhl.c: Likewise.
33725         * math/libm-test.inc (ccos_test): Add more tests.
33726         (ccosh_test): Likewise.
33727         (csin_test): Likewise.
33728         (csinh_test): Likewise.
33729         * sysdeps/i386/fpu/libm-test-ulps: Update.
33730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33732 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33734         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33735         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33737         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33739 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33741         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33742         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33743         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33744         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33745         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33746         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33747         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33748         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33749         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33750         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33751         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33752         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33753         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33754         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33755         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33756         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33757         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33758         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33759         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33760         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33761         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33762         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33763         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33764         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33765         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33766         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33767         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33768         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33769         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33770         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33771         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33773 2012-05-18  Andreas Jaeger  <aj@suse.de>
33775         * csu/.gitignore: Delete.
33777 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33779         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33780         (timex): Use __syscall_slong_t.
33782 2012-05-18  Andreas Jaeger  <aj@suse.de>
33783             Carlos O'Donell  <carlos_odonell@mentor.com>
33785         * manual/install.texi (Configuring and compiling): Update
33786         description about files modified in the source directory.
33787         * INSTALL: Regenerated.
33789 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33791         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33792         value.  Use "or" to set return value to -1.
33793         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33794         negate return value.
33796 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33798         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33799         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33800         failure if the compiler has Graphite support disabled.
33801         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33802         Likewise.
33803         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33804         (CFLAGS-memmove.c): Likewise.
33805         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33806         Likewise.
33808 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33810         * sysdeps/x86_64/x32/_itoa.h: New file.
33812         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33813         getdents system call only if kernel and user dirents have the
33814         same d_ino and d_off.
33816         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33817         LLONG_MAX != LONG_MAX.
33818         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33819         (_fitoa_word): Likewise.
33821         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33822         years.
33823         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33824         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33825         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33827         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33828         include <bits/wordsize.h>.  Check __x86_64__ instead of
33829         __WORDSIZE.
33830         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33831         if __x86_64__ is defined.  Use anonymous union on fpstate.
33833         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33834         anonymous union.
33836 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33838         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33839         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33840         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33841         Refer to _rtld_local_ro instead of _rtld_global_ro.
33842         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33843         Likewise.
33844         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33845         Likewise.
33846         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33847         Likewise.
33848         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33849         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33850         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33852         * sysdeps/powerpc/powerpc32/dl-machine.c
33853         (__elf_machine_runtime_setup) [PROF]: Don't reference
33854         _dl_prof_resolve.
33856 2012-05-18  Andreas Jaeger  <aj@suse.de>
33858         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33859         function only available for GCCs before 3.4 since GCC 3.4
33860         introduced a builtin.
33861         (lrint): Likewise.
33862         (llrintf): Likewise.
33863         (llrint): Likewise.
33864         (fmaxf): Likewise.
33865         (fmax): Likewise.
33866         (fminf): Likewise.
33867         (fmin): Likewise.
33868         (rint): Likewise.
33869         (rintf): Likewise.
33870         (nearbyint): Likewise.
33871         (nearbyintf): Likewise.
33872         (ceil): Likewise.
33873         (ceilf): Likewise.
33874         (floor): Likewise.
33875         (floorf): Likewise.
33877 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33879         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33880         on both fields and cast pointer to __syscall_ulong_t.
33882         * bits/types.h (__fsword_t): New type.
33883         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33884         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33885         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33886         (__FSWORD_T_TYPE): Likewise.
33887         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33888         (__FSWORD_T_TYPE): Likewise.
33889         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33890         (__FSWORD_T_TYPE): Likewise.
33891         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33892         (__FSWORD_T_TYPE): Likewise.
33893         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33894         __SWORD_TYPE with __fsword_t.
33895         (statfs64): Likewise.
33897 2012-05-17  David S. Miller  <davem@davemloft.net>
33899         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33901 2012-05-17  Andreas Jaeger  <aj@suse.de>
33903         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33904         warning.
33906 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33908         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33910 2012-05-17  Andreas Jaeger  <aj@suse.de>
33912         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33913         when it is used.
33915 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33917         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33919 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33921         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33922         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33924 2012-05-17  Andreas Jaeger  <aj@suse.de>
33925             Carlos O'Donell  <carlos_odonell@mentor.com>
33927         [BZ #14059]
33928         * sysdeps/x86_64/multiarch/init-arch.h
33929         (bit_YMM_Usable): Rename to...
33930         (bit_AVX_Usable): ... this.
33931         (bit_FMA4_Usable): New macro.
33932         (bit_XMM_state): New macro.
33933         (bit_YMM_state): New macro.
33934         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33935         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33936         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33937         (CPUID_OSXSAVE): New macro.
33938         (CPUID_AVX): New macro.
33939         (CPUID_FMA4): New macro.
33940         (index_YMM_Usable): Rename to...
33941         (index_AVX_Usable): ... this.
33942         (HAS_AVX): Use HAS_ARCH_FEATURE.
33943         (HAS_FMA4): Likewise.
33944         (HAS_YMM_USABLE): Remove.
33945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33946         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33947         are present.
33948         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33949         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33950         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33951         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33952         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33954 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33956         * math/libm-test.c: Support platforms without multiple rounding modes.
33957         * math/bug-nextafter.c: Support platforms without FP exceptions.
33958         * math/bug-nexttoward.c: Likewise.
33959         * math/test-fenv.c: Likewise.
33960         * math/test-misc.c: Likewise.
33961         * stdlib/bug-getcontext.c: Likewise.
33963 2012-05-17  Andreas Jaeger  <aj@suse.de>
33965         * manual/examples/search.c (critter_cmp): Change signature to
33966         avoid warnings.
33967         * manual/string.texi (Collation Functions): Likewise.
33969 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33971         * bits/types.h: Fold copyright years.
33972         * bits/typesizes.h: Likewise.
33973         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33974         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33975         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33976         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33977         * time/time.h: Likewise.
33979 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33981         [BZ #208]
33982         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33983         in instead of returning them.  Return void.
33984         (__libc_mallinfo): Accumulate over all arenas.
33985         (__malloc_stats): Adjust for change in int_mallinfo interface.
33987 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33989         [BZ #10375]
33990         * configure.in (NM): Add AC_CHECK_TOOL for it.
33991         (libc_extra_cflags): New substituted variable.
33992         Check for -fstack-protector being used implicitly.
33993         * configure: Regenerated.
33994         * config.make.in (config-extra-cflags): New variable,
33995         gets @libc_extra_cflags@.
33996         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33998         [BZ #10375]
33999         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34000         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34001         * configure: Regenerated.
34002         * config.make.in (CPPUNDEFS): New substituted variable.
34003         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34004         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34005         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34007 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34009         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34010         (mq_attr): Use __syscall_slong_t.
34012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34014         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34015         Check __x86_64__ instead of __WORDSIZE.
34016         (_STAT_VER_LINUX): Likewise.
34017         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34018         __syscall_ulong_t and __syscall_slong_t.
34019         (stat64): Likewise.
34021 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34023         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34025 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34027         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34029 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34031         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34032         __syscall_ulong_t.
34034         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34035         include <bits/wordsize.h>.  Check __x86_64__ instead of
34036         __WORDSIZE.
34037         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34038         defined.
34039         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34041         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34042         include <bits/wordsize.h>.  Check __x86_64__ instead of
34043         __WORDSIZE.
34044         (user_regs_struct): Use "__extension__ unsigned long long"
34045         instead of "unsigned long" if __x86_64__ is defined.
34046         (user): Likewise.  Pad after pointer field if __ILP32__ is
34047         defined.
34049 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34051         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34052         versions 5 to 9.
34053         * configure: Regenerated.
34054         * manual/install.texi (texinfo): Increase version requirement to
34055         4.5 or later.
34056         * INSTALL: Regenerated.
34058         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34060 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34062         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34064         * sysdeps/x86_64/x32/ffs.c: New file.
34066         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34067         __syscall_ulong_t.
34068         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34069         defined.  Use __syscall_ulong_t.
34070         (shminfo): Use __syscall_ulong_t.
34071         (shm_info): Likewise.
34073         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34074         __syscall_ulong_t.
34076         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34077         <bits/wordsize.h>.
34078         (msgqnum_t): Use __syscall_ulong_t.
34079         (msglen_t): Likewise.
34080         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34081         __syscall_ulong_t.
34083         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34084         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34086         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34088         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34089         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34091         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34092         __syscall_slong_t.
34094         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34095         include <bits/wordsize.h>.  Check __x86_64__ instead of
34096         __WORDSIZE.
34098         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34099         "unsigned long long int" if __x86_64__ is defined.
34100         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34102         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34103         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34104         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34106         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34107         <stdint.h>.
34108         (GET_PC): Cast to uintptr_t first.
34109         (GET_FRAME): Likewise.
34110         (GET_STACK): Likewise.
34112         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34113         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34114         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34115         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34116         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34117         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34118         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34119         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34120         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34121         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34122         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34123         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34124         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34125         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34126         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34127         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34128         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34129         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34130         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34131         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34132         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34133         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34134         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34135         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34136         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34137         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34138         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34139         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34140         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34142 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34144         * Makerules (+depfiles): Also collect depfiles from .oS in
34145         $(extra-objs).
34146         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34147         .oS, $(libnldbl-routines)).
34149         * Makerules (native-compile-mkdep-flags): Define.
34150         * sunrpc/Makefile (extra-objs): Add $(addprefix
34151         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34152         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34153         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34154         calling $(make-target-directory).
34156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34158         * bits/types.h (__snseconds_t): Removed.
34159         * time/time.h (struct timespec): Replace __snseconds_t with
34160         __syscall_slong_t.
34161         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34162         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34163         Likewise.
34164         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34165         (__SNSECONDS_T_TYPE): Likewise.
34166         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34167         (__SNSECONDS_T_TYPE): Likewise.
34168         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34169         (__SNSECONDS_T_TYPE): Likewise.
34171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34173         * sysdeps/mach/hurd/bits/typesizes.h
34174         (__SYSCALL_SLONG_TYPE): New macro.
34175         (__SYSCALL_ULONG_TYPE): Likewise.
34177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34179         * bits/types.h (__syscall_slong_t): New type.
34180         (__syscall_ulong_t): Likewise.
34182         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34183         (__SYSCALL_ULONG_TYPE): Likewise.
34184         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34185         (__SYSCALL_SLONG_TYPE): Likewise.
34186         (__SYSCALL_ULONG_TYPE): Likewise.
34187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34188         (__SYSCALL_SLONG_TYPE): Likewise.
34189         (__SYSCALL_ULONG_TYPE): Likewise.
34190         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34191         (__SYSCALL_SLONG_TYPE): Likewise.
34192         (__SYSCALL_ULONG_TYPE): Likewise.
34194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34196         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34197         Add sigaltstack-offsets.sym.
34198         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34199         <sigaltstack-offsets.h>.
34200         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34201         longjmp_msg pointer.
34202         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34203         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34204         signal stack.
34205         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34207 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34209         * elf/stackguard-macros.h: Remove file.
34210         * sysdeps/generic/stackguard-macros.h: New file.
34211         * sysdeps/i386/stackguard-macros.h: Likewise.
34212         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34213         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34214         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34215         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34216         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34217         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34218         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34219         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34220         <elf/stackguard-macros.h>.
34222         [BZ #14109]
34223         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34224         __aligned__ in attribute.
34225         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34226         (gregset_t): Likewise.
34228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34230         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34231         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34232         * sysdeps/x86_64/x32/Implies-after: New file.
34234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34236         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34237         and access return value for _dl_profile_fixup.  Use R10_LP to
34238         load frame size.
34240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34242         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34246         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34247         * sysdeps/x86_64/x32/sysdep.h: New file.
34249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34251         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34252         * sysdeps/x86_64/setjmp.S: Likewise.
34254 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34256         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34257         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34258         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34259         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34260         remove unused global constant.
34262 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34264         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34265         include of <not-cancel.h>.
34267 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34269         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34271 2012-05-15  Jeff Law  <law@redhat.com>
34272             Andreas Jaeger  <aj@suse.de>
34274         [BZ #13594]
34275         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34276         out from...
34277         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34278         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34279         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34280         code changing __hst_map_handle.map.
34282 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34284         * configure.in (sysnames): Look for Implies-before and Implies-after
34285         files.
34286         * configure: Regenerated.
34288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34290         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34291         8-byte data alignment with LP_SIZE alignment.
34293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34295         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34296         into R10_LP.
34298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34300         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34304         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34305         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34306         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34307         Likewise.
34308         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34310 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34312         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34313         (stackinfo_sub_sp): Likewise.
34315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34317         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34318         RAX_LP.
34320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34322         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34323         into R*_LP.
34325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34327         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34328         sizes into R*_LP.
34330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34332         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34336         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34337         into R11_LP and load __x86_64_shared_cache_size_half into
34338         R8_LP.
34340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34342         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34343         R8_LP.
34345 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34347         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34348         logb for POWER7.
34349         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34350         logbf for POWER7.
34351         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34352         logbl for POWER7.
34353         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34354         powerpc32/power7/fpu/s_logb.c via #include.
34355         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34356         powerpc32/power7/fpu/s_logbf.c via #include.
34357         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34358         powerpc32/power7/fpu/s_logbl.c via #include.
34360 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34362         * README.libm: Remove file.
34364 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34366         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34367         count for x32.  Use R*_LP and omit operand-size suffix.
34369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34371         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34372         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34373         * sysdeps/x86_64/x32/shlib-versions: New file.
34375 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34377         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34378         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34379         Use _dl_fatal_printf instead.
34381 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34383         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34384         set if not set by the user.  Do not allow for being unset.
34385         * sysdeps/unix/sysv/linux/configure: Regenerated.
34387 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34389         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34390         the `q' suffix from lea and replace .quad with ASM_ADDR.
34392 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34394         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34395         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34396         instead of $17.
34397         (PTR_DEMANGLE): Likewise.
34399 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34401         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34402         (LP_OP): Likewise.
34403         (ASM_ADDR): Likewise.
34404         (RAX_LP): Likewise.
34405         (RBP_LP): Likewise.
34406         (RBX_LP): Likewise.
34407         (RCX_LP): Likewise.
34408         (RDI_LP): Likewise.
34409         (RSI_LP): Likewise.
34410         (RSP_LP): Likewise.
34411         (R8_LP): Likewise.
34412         (R9_LP): Likewise.
34413         (R10_LP): Likewise.
34414         (R10_LP): Likewise.
34415         (R11_LP): Likewise.
34416         (R12_LP): Likewise.
34417         (R13_LP): Likewise.
34418         (R14_LP): Likewise.
34419         (R15_LP): Likewise.
34421 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34423         * sysdeps/x86_64/x32/dl-machine.h: New file.
34425 2012-05-14  Andreas Jaeger  <aj@suse.de>
34427         * manual/Makefile (subdir): Remove export of subdir.
34428         (all): Remove target.
34429         (.PHONY): Remove all from list.
34430         (mkinstalldirs): Remove.
34431         (.PHONY): Remove installdirs from list.
34432         ($(inst_infodir)/libc.info): Use make-target-directory.
34433         (installdirs): Remove.
34434         (subdir_%): Remove.
34435         (glibc-targets): Remove.
34436         (lib): Remove.
34437         (stubs): Remove.
34438         ($(objpfx)stubs ../po/manual.pot): Remove.
34439         ($(objpfx)stamp%): Remove.
34440         (make-target-directory): Remove.
34441         (subdir_install): Remove.
34442         (routines): Remove.
34443         (aux): Remove.
34444         (sources): Remove.
34445         (objects): Remove.
34446         (headers): Remove.
34448         [BZ #13750]
34449         * manual/.gitignore: Remove, it's not needed anymore.
34450         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34451         all files in it.
34452         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34453         directory.
34454         (texis): Renamed to $(objpfx)texis.
34455         (texis-path): New, contains path to generated files.
34456         (chapters.%): Use texis-path for complete path, add extra argument
34457         libc-texinfo.sh.
34458         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34459         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34460         (summary,texi, stamp-summary): Use complete path of
34461         files. Generate files in build dir.
34462         (dir-add.texi): Build in build dir.
34463         (libm-err.texi,stamp-libm-err): Likewise.
34464         (version.texi, stamp-version): Likewise.
34465         (.%c.texi): Likewise.
34466         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34467         (mostlyclean): Remove target.
34468         (realclean): Remove target.
34469         (generated): Add new variable with contents from mostlyclean and
34470         realclean, remove entries duplicated in common-mostlyclean, add
34471         stamp-libm-err and stamp-version.
34472         (generated-dirs): Add libc directory.
34473         ($(inst_infodir)/libc.info): Install files from build dir.
34475         * manual/install.texi (Configuring and compiling): Adjust since
34476         the info files are not part of the tar ball anymore.
34478 2012-05-14  Andreas Jaeger  <aj@suse.de>
34480         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34481         variable.
34483 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34485         [BZ #13717]
34486         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34487         to 2.2.0 where earlier.
34488         * sysdeps/unix/sysv/linux/configure: Regenerated.
34489         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34490         Remove conditional code.
34491         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34492         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34493         Remove conditional code.
34494         [!__NR_lchown]: Likewise.
34495         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34496         [__NR_lchown]: Likewise.
34497         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34498         comment referencing __ASSUME_LCHOWN_SYSCALL.
34499         * sysdeps/unix/sysv/linux/i386/sigaction.c
34500         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34501         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34502         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34503         Remove conditional code.
34504         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34505         (__protocol_available): Remove #if 0 code.
34506         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34507         conditional code.
34508         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34509         * sysdeps/unix/sysv/linux/kernel-features.h
34510         (__ASSUME_GETCWD_SYSCALL): Don't define.
34511         (__ASSUME_REALTIME_SIGNALS): Likewise.
34512         (__ASSUME_PREAD_SYSCALL): Likewise.
34513         (__ASSUME_PWRITE_SYSCALL): Likewise.
34514         (__ASSUME_POLL_SYSCALL): Likewise.
34515         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34516         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34517         non-SPARC.
34518         (__ASSUME_SIOCGIFNAME): Don't define.
34519         (__ASSUME_MSG_NOSIGNAL): Likewise.
34520         (__ASSUME_SENDFILE): Define unconditionally.
34521         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34522         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34523         conditional code.
34524         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34525         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34526         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34527         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34528         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34529         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34530         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34532         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34533         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34535         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34536         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34538         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34539         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34541         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34542         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34544         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34545         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34547         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34548         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34550         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34551         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34553         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34554         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34555         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34556         Remove conditional code.
34557         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34558         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34559         Remove conditional code.
34560         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34561         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34562         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34563         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34564         Remove conditional code.
34565         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34566         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34567         Remove conditional code.
34568         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34569         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34570         Remove conditional code.
34571         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34572         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34573         Remove conditional code.
34574         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34575         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34576         Remove conditional code.
34577         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34578         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34579         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34580         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34581         * sysdeps/unix/sysv/linux/sigaction.c
34582         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34583         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34584         * sysdeps/unix/sysv/linux/sigpending.c
34585         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34586         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34587         * sysdeps/unix/sysv/linux/sigprocmask.c
34588         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34589         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34590         * sysdeps/unix/sysv/linux/sigsuspend.c
34591         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34592         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34593         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34594         (__libc_missing_rt_sigs): Remove.
34595         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34596         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34597         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34598         Remove conditional code.
34599         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34600         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34601         return 1.
34602         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34603         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34604         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34605         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34607 2012-05-14  Andreas Jaeger  <aj@suse.de>
34609         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34610         it's not used in glibc.
34611         (__coshm1): Likewise.
34612         (__acosh1p): Likewise.
34613         (__sgn): Likewise.
34615         * manual/string.texi (Copying and Concatenation): Add missing
34616         variable in concat example.
34617         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34619 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34621         [BZ #14103]
34622         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34623         __builtin_clzl with __builtin_clzll.
34625 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34627         [BZ #14104]
34628         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34629         libc_freeres_ptr.
34631 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34633         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34634         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34635         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34636         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34638 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34640         * NEWS: Update ia64 info.
34642 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34644         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34645         used as bcopy.
34647 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34649         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34650         * sysdeps/unix/syscalls.list (dup3): Likewise.
34651         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34652         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34654 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34656         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34657         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34659 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34661         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34662         thread pointer.
34663         (TLS_IE): Use mov/add instead of movq/addq to load thread
34664         pointer.
34665         (TLS_GD_PREFIX): New.
34666         (TLS_GD): Use it.
34668 2012-05-11  David S. Miller  <davem@davemloft.net>
34670         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34671         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34672         (_FPU_SETCW): Likewise.
34674 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34676         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34677         is 32-byte aligned.
34679 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34681         [BZ #11837]
34682         * iconvdata/gb18030.c: Update tables.
34683         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34684         characters specially.
34685         (BODY for TO_LOOP): Add encoding of missing ranges.
34687 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34689         [BZ #13673]
34690         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34691         * sysdeps/mach/hurd/dup3.c: Likewise.
34692         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34693         * sysdeps/powerpc/memmove.c:: Likewise.
34695 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34697         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34698         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34700 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34702         * elf/elf.h (R_X86_64_RELATIVE64): New.
34703         (R_X86_64_NUM): Updated.
34704         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34705         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34706         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34707         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34708         tst-quad1pie tst-quad2pie
34709         (modules-names): Add tst-quadmod1 tst-quadmod2.
34710         ($(objpfx)tst-quad1): New dependency.
34711         ($(objpfx)tst-quad2): Likewise.
34712         ($(objpfx)tst-quad1pie): Likewise.
34713         ($(objpfx)tst-quad2pie): Likewise.
34714         * sysdeps/x86_64/tst-quad1.c: New file.
34715         * sysdeps/x86_64/tst-quad1pie.c: New file.
34716         * sysdeps/x86_64/tst-quad2.c: Likewise.
34717         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34718         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34719         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34720         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34721         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34723 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34725         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34726         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34727         * streams/stropts.h (t_scalar_t): Define type.
34729         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34730         (_PATH_PRESERVE): Set to "/var/lib".
34731         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34733         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34734         instead of int.
34736         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34737         if __dir_mkfile succeeded.
34739         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34740         checking for _hurd_dtablesize.  Unlock it right after having
34741         finished _hurd_dtable allocation.
34743 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34745         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34746         * sysdeps/mach/hurd/configure: Regenerated.
34747         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34748         special-casing to...
34749         * sysdeps/gnu/configure.in: ... this new file.
34750         * sysdeps/unix/sysv/linux/configure: Regenerated.
34751         * sysdeps/gnu/configure: New generated file.
34753         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34754         for Linux: use nsec instead of usec, as well as:
34755         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34756         members of type struct timespec.
34757         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34758         New macros.
34759         (struct stat64): Likewise.
34760         (_STATBUF_ST_NSEC): New macro.
34761         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34763         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34764         __strtoul_internal rather than strtoul.
34766 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34768         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34769         and reject them.
34771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34773         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34774         which preserves existing values.
34775         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34777 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34779         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34780         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34781         greater than FD_SETSIZE.
34783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34785         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34786         allocated, call __vm_protect to finish enabling the existing space, and
34787         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34788         allocate the remainder.
34790 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34792         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34793         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34795 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34797         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34798         sysdeps/mach/hurd/readlink.c.
34800         * posix/tst-sysconf.c (posix_options): Only use
34801         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34802         _POSIX_SYNCHRONIZED_IO when they are defined
34803         * sysdeps/mach/hurd/bits/posix_opt.h:
34804         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34805         (_XOPEN_REALTIME): Undefine macro.
34806         (_XOPEN_REALTIME_THREADS): Undefine macro.
34807         (_XOPEN_SHM): Undefine macro.
34808         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34809         macro to -1.
34810         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34811         macro to -1.
34812         (_POSIX_ASYNC_IO): Undefine macro.
34813         (_POSIX_PRIORITIZED_IO): Undefine macro.
34814         (_POSIX_SPIN_LOCKS): Define macro to -1.
34816         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34817         SA_NODEFER, SA_RESETHAND.
34818         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34819         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34820         F_DUPFD_CLOEXEC.
34822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34824         * elf/Makefile (pldd-modules): Define unconditionally.
34826 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34828         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34830 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34832         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34833         Return ENOENT when name is empty.
34834         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34838         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34840         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34842 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34844         Fix mlock in all cases except non-readable pages.
34845         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34846         instead of VM_PROT_ALL as parameter to __vm_wire function.
34848         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34849         (__mkdir): When path is `/', just fail with EEXIST.
34850         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34852 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34854         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34855         <sys/uio.h> (for writev).
34856         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34857         and <sys/param.h> (for MIN).
34859 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34861         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34862         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34863         if interrupted.
34865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34867         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34868         Depend on against $(link-rpcuserlibs).
34870 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34872         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34873         (__libc_stack_end): Do not use attribute_relro.
34874         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34875         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34876         to libthread-provided value.
34877         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34878         attribute_relro.
34880 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34882         [BZ #3748]
34883         * bits/libc-lock.h (__libc_once_get): New macro.
34884         * sysdeps/mach/bits/libc-lock.h: Likewise.
34885         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34886         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34887         instead of using implementation details.
34889         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34890         * libio/freopen.c: Likewise.
34891         * libio/freopen64.c: Likewise.
34892         * misc/syslog.c: Likewise.
34893         * nscd/connections.c: Likewise.
34894         * nscd/netgroupcache.c: Likewise.
34895         * sysdeps/posix/getcwd.c: Likewise.
34897 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34899         * math/w_ilogbf.c: Add #include <limits.h>.
34901 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34903         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34904         path instead of returning without unlocking.
34906         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34907         immediate-write ioctls.
34908         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34910 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34912         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34913         __builtin_frame_address instead of making assumptions about the
34914         location of the return address relative to DATA.  Force early load of
34915         the return address.
34916         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34917         __builtin_frame_address.
34919         dup3 for GNU Hurd.
34920         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34921         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34922         implement dup3 and do some further code clean-ups.
34923         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34924         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34926 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34928         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34930         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34931         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34932         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34933         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34934         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34935         d->port.lock.
34937         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34938         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34939         when handler == SIG_ERR, not when handler != SIG_ERR.
34941 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34943         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34944         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34945         definitions.
34947         accept4 for GNU Hurd.
34948         * include/sys/socket.h (__libc_accept4): New prototype.
34949         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34950         to implement __libc_accept4.
34951         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34952         __libc_accept4.
34953         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34955         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34956         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34957         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34958         signal-defines.sym.
34960 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34962         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34964 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34966         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34967         assertion on O_CLOEXEC flag.
34968         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34969         * hurd/intern-fd.c: Likewise.
34970         * hurd/port2fd.c: Likewise.
34972 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34974         [BZ #3906]
34975         * bits/in.h (IPV6_PKTINFO): Define new macro.
34976         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34978 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34980         [BZ #13954]
34981         [BZ #13955]
34982         [BZ #13956]
34983         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34984         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34985         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34986         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34987         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34988         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34989         * math/libm-test.inc (logb_test) : Additional logb tests.
34991 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34992             Andreas Jaeger  <aj@suse.de>
34994         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34995         * configure: Regenerated.
34996         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34997         * config.make.in (link-obsolete-rpc): New substituted variable.
34998         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34999         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35000         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35001         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35002         so that libc.a contains the symbols.
35003         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35004         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35005         * sunrpc/auth_none.c: Likewise.
35006         * sunrpc/auth_unix.c: Likewise.
35007         * sunrpc/authdes_prot.c: Likewise.
35008         * sunrpc/authuxprot.c: Likewise.
35009         * sunrpc/clnt_gen.c: Likewise.
35010         * sunrpc/clnt_perr.c: Likewise.
35011         * sunrpc/clnt_raw.c: Likewise.
35012         * sunrpc/clnt_simp.c: Likewise.
35013         * sunrpc/clnt_tcp.c: Likewise.
35014         * sunrpc/clnt_udp.c: Likewise.
35015         * sunrpc/clnt_unix.c: Likewise.
35016         * sunrpc/des_crypt.c: Likewise.
35017         * sunrpc/des_soft.c: Likewise.
35018         * sunrpc/get_myaddr.c: Likewise.
35019         * sunrpc/key_call.c: Likewise.
35020         * sunrpc/key_prot.c: Likewise.
35021         * sunrpc/netname.c: Likewise.
35022         * sunrpc/pm_getmaps.c: Likewise.
35023         * sunrpc/pm_getport.c: Likewise.
35024         * sunrpc/pmap_clnt.c: Likewise.
35025         * sunrpc/pmap_prot.c: Likewise.
35026         * sunrpc/pmap_prot2.c: Likewise.
35027         * sunrpc/pmap_rmt.c: Likewise.
35028         * sunrpc/publickey.c: Likewise.
35029         * sunrpc/rpc_cmsg.c: Likewise.
35030         * sunrpc/rpc_common.c: Likewise.
35031         * sunrpc/rpc_dtable.c: Likewise.
35032         * sunrpc/rpc_prot.c: Likewise.
35033         * sunrpc/rpc_thread.c: Likewise.
35034         * sunrpc/rtime.c: Likewise.
35035         * sunrpc/svc.c: Likewise.
35036         * sunrpc/svc_auth.c: Likewise.
35037         * sunrpc/svc_raw.c: Likewise.
35038         * sunrpc/svc_run.c: Likewise.
35039         * sunrpc/svc_tcp.c: Likewise.
35040         * sunrpc/svc_udp.c: Likewise.
35041         * sunrpc/svc_unix.c: Likewise.
35042         * sunrpc/svcauth_des.c: Likewise.
35043         * sunrpc/xcrypt.c: Likewise.
35044         * sunrpc/xdr.c: Likewise.
35045         * sunrpc/xdr_array.c: Likewise.
35046         * sunrpc/xdr_float.c: Likewise.
35047         * sunrpc/xdr_intXX_t.c: Likewise.
35048         * sunrpc/xdr_mem.c: Likewise.
35049         * sunrpc/xdr_rec.c: Likewise.
35050         * sunrpc/xdr_ref.c: Likewise.
35051         * sunrpc/xdr_sizeof.c: Likewise.
35052         * sunrpc/xdr_stdio.c: Likewise.
35054 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35056         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35057         change.  Update copyright years.
35059 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35061         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35063 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35064             Joseph Myers  <joseph@codesourcery.com>
35065             Paul Pluzhnikov  <ppluzhnikov@google.com>
35067         [BZ #14012]
35068         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35069         requiring rpcgen.
35070         [cross-compiling] (extra-libs): Likewise.
35071         [cross-compiling] (extra-libs-others): Likewise.
35072         [cross-compiling] (librpcsvc-routines): Likewise.
35073         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35074         [cross-compiling] (omit-deps): Likewise.
35075         (sunrpc-CPPFLAGS): New variable.
35076         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35077         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35078         (cross-rpcgen-objs): New variable.
35079         (extra-objs): Append $(cross-rpcgen-objs).
35080         ($(cross-rpcgen-objs)): New rule.
35081         ($(objpfx)cross-rpcgen): Likewise.
35082         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35083         comment.
35084         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35085         ($(objpfx)x%.stmp): Likewise.
35086         * sunrpc/proto.h [IS_IN_build] (_): Define.
35087         [IS_IN_build] (_libc_intl_domainname): Likewise.
35089 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35091         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35092         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35093         and R_X86_64_TPOFF64.
35095 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35097         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35098         sysdeps/unix/sysv/syscalls.list.
35099         (stime): Likewise.
35100         (utime): Likewise.
35101         * sysdeps/unix/sysv/syscalls.list: Remove file.
35103 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35105         [BZ #3440]
35106         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35107         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35108         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35109         (__LC_IDENTIFICATION): Make these macros useful in #if
35110         expressions, as required by C99.
35112 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35114         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35115         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35116         after this.
35118 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35120         * stdlib/longlong.h: Updated from GCC.
35122 2012-05-09  Andreas Jaeger  <aj@suse.de>
35124         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35125         default is first entry.
35126         (run_mode): Set type.
35127         (main): Remove informal message about syslog.
35128         (options): Fix typo.
35130         [BZ #14053]
35131         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35132         to asm.
35133         (lrint): Likewise.
35134         (llrintf): Likewise.
35135         (llrint): Likewise.
35136         (rint): Likewise.
35137         (rintf): Likewise.
35138         (nearbyint): Likewise.
35139         (nearbyintf): Likewise.
35141 2012-05-09  Andreas Jaeger  <aj@suse.de>
35142             Pedro Alves  <palves@redhat.com>
35144         * nscd/nscd.c (run_mode): Use enum.
35145         (main): Cleanup coding style issue.
35147 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35148             Andreas Jaeger  <aj@suse.de>
35150         * nscd/nscd.c (go_background): Replaced with...
35151         (run_mode): ... this.
35152         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35153         (options): Add -F --foreground.
35154         (main): Implement it.
35155         (parse_opt): Parse it.
35157 2012-05-09  Andreas Jaeger  <aj@suse.de>
35159         [BZ #14083]
35160         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35161         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35162         -Wconversion warning.
35163         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35164         Likewise.
35166 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35168         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35169         == 0.
35170         (LC_ALL): Use macro-int-constant.
35171         (LC_COLLATE): Likewise.
35172         (LC_CTYPE): Likewise.
35173         (LC_MESSAGES): Likewise.
35174         (LC_MONETARY): Likewise.
35175         (LC_NUMERIC): Likewise.
35176         (LC_TIME): Likewise.
35177         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35178         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35179         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35180         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35181         Specify type.
35182         [C99-based standards] (float_t): Expect type.
35183         [C99-based standards] (double_t): Expect type.
35184         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35185         type.
35186         [C99-based standards] (HUGE_VALL): Likewise.
35187         [C99-based standards] (INFINITY): Likewise.
35188         [C99-based standards] (NAN): Likewise.
35189         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35190         [C99-based standards] (FP_NAN): Likewise.
35191         [C99-based standards] (FP_NORMAL): Likewise.
35192         [C99-based standards] (FP_SUBNORMAL): Likewise.
35193         [C99-based standards] (FP_ZERO): Likewise.
35194         [C99-based standards] (FP_FAST_FMA): Use
35195         optional-macro-int-constant.  Specify type.  Require == 1.
35196         [C99-based standards] (FP_FAST_FMAF): Likewise.
35197         [C99-based standards] (FP_FAST_FMAL): Likewise.
35198         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35199         [C99-based standards] (FP_ILOGBNAN): Likewise.
35200         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35201         Specify type.
35202         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35203         [C99-based standards] (math_errhandling): Specify type.
35204         [ISO99 || ISO11] (signgam): Do not allow.
35205         [non-C99-based standards] (copysignf): Do not allow.
35206         [non-C99-based standards] (exp2f): Likewise.
35207         [non-C99-based standards] (log2f): Likewise.
35208         [non-C99-based standards] (modff): Allow.
35209         [non-C99-based standards] (erff): Do not allow.
35210         [non-C99-based standards] (erfcf): Likewise.
35211         [non-C99-based standards] (gammaf): Likewise.
35212         [non-C99-based standards] (hypotf): Likewise.
35213         [non-C99-based standards] (j0f): Likewise.
35214         [non-C99-based standards] (j1f): Likewise.
35215         [non-C99-based standards] (jnf): Likewise.
35216         [non-C99-based standards] (lgammaf): Likewise.
35217         [non-C99-based standards] (tgammaf): Likewise.
35218         [non-C99-based standards] (y0f): Likewise.
35219         [non-C99-based standards] (y1f): Likewise.
35220         [non-C99-based standards] (ynf): Likewise.
35221         [non-C99-based standards] (isnanf): Likewise.
35222         [non-C99-based standards] (acoshf): Likewise.
35223         [non-C99-based standards] (asinhf): Likewise.
35224         [non-C99-based standards] (atanhf): Likewise.
35225         [non-C99-based standards] (cbrtf): Likewise.
35226         [non-C99-based standards] (expm1f): Likewise.
35227         [non-C99-based standards] (ilogbf): Likewise.
35228         [non-C99-based standards] (log1pf): Likewise.
35229         [non-C99-based standards] (logbf): Likewise.
35230         [non-C99-based standards] (nextafterf): Likewise.
35231         [non-C99-based standards] (remainderf): Likewise.
35232         [non-C99-based standards] (rintf): Likewise.
35233         [non-C99-based standards] (scalbf): Likewise.
35234         [non-C99-based standards] (copysignl): Likewise.
35235         [non-C99-based standards] (exp2l): Likewise.
35236         [non-C99-based standards] (log2l): Likewise.
35237         [non-C99-based standards] (modfl): Allow.
35238         [non-C99-based standards] (erfl): Do not allow.
35239         [non-C99-based standards] (erfcl): Likewise.
35240         [non-C99-based standards] (gammal): Likewise.
35241         [non-C99-based standards] (hypotl): Likewise.
35242         [non-C99-based standards] (j0l): Likewise.
35243         [non-C99-based standards] (j1l): Likewise.
35244         [non-C99-based standards] (jnl): Likewise.
35245         [non-C99-based standards] (lgammal): Likewise.
35246         [non-C99-based standards] (tgammal): Likewise.
35247         [non-C99-based standards] (y0l): Likewise.
35248         [non-C99-based standards] (y1l): Likewise.
35249         [non-C99-based standards] (ynl): Likewise.
35250         [non-C99-based standards] (isnanl): Likewise.
35251         [non-C99-based standards] (acoshl): Likewise.
35252         [non-C99-based standards] (asinhl): Likewise.
35253         [non-C99-based standards] (atanhl): Likewise.
35254         [non-C99-based standards] (cbrtl): Likewise.
35255         [non-C99-based standards] (expm1l): Likewise.
35256         [non-C99-based standards] (ilogbl): Likewise.
35257         [non-C99-based standards] (log1pl): Likewise.
35258         [non-C99-based standards] (logbl): Likewise.
35259         [non-C99-based standards] (nextafterl): Likewise.
35260         [non-C99-based standards] (remainderl): Likewise.
35261         [non-C99-based standards] (rintl): Likewise.
35262         [non-C99-based standards] (scalbl): Likewise.
35263         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35264         [non-C99-based standards] (FP_*): Do not allow.
35265         [C99-based standards] (FP_*): Change to
35266         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35267         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35268         allow.
35269         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35270         (SIG_ERR): Likewise.
35271         [X/Open-based standards] (SIG_HOLD): Likewise.
35272         (SIG_IGN): Likewise.
35273         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35274         positive value.
35275         (SIGFPE): Likewise.
35276         (SIGILL): Likewise.
35277         (SIGINT): Likewise.
35278         (SIGSEGV): Likewise.
35279         (SIGTER): Likewise.
35280         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35281         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35282         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35283         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35284         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35285         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35286         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35287         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35288         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35289         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35290         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35291         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35292         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35293         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35294         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35295         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35296         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35297         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35298         [X/Open-based standards] (SIGTRAP): Likewise.
35299         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35300         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35301         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35302         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35303         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35304         allow.
35306 2012-05-08  Ian Wienand  <ianw@vmware.com>
35308         [BZ #14080]
35309         * time/tzset.c (__tzset_parse_tz): Update default rules for
35310         daylight time changes in the Energy Policy Act of 2005.
35312 2012-05-09  Andreas Jaeger  <aj@suse.de>
35314         [BZ #13983]
35315         * elf/ldconfig.c (parse_conf): Change string to make clear that
35316         ldconfig only issued a warning if ld.so.conf does not exist.
35318 2012-05-08  David S. Miller  <davem@davemloft.net>
35320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35321         movxtod instead of popping the value on the stack.
35323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35325 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35327         * config.h.in: Add HAVE_ARM_PCS_VFP.
35329 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35331         [BZ #13979]
35332         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35333         checking but the checks are disabled for any reason.
35335 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35337         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35338         and ELF64_R_TYPE with ELFW(R_TYPE).
35340 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35342         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35343         (ulimit): Likewise.
35345         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35346         (settimeofday): Likewise.
35348 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35350         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35351         a struct th_u2 inside the union, and move tu_block/tu_code into
35352         a new th_u3 union of tu_block/tu_code inside of that.  Move
35353         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35354         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35355         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35356         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35357         (th_stuff): Change to th_u1.tu_stuff.
35358         (th_data): Define.
35359         (th_msg): Change to th_u1.th_u2.tu_data.
35361 2012-05-07  David S. Miller  <davem@davemloft.net>
35363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35365         [BZ #14074]
35366         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35367         (SETUP_PIC_REG): Use it.
35368         (SETUP_PIC_REG_LEAF): Use it.
35370 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35372         [BZ #13885]
35373         [BZ #13923]
35374         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35375         USE_AS_EXPM1L.
35376         (EXPL_FINITE): Likewise.
35377         (FLDLOG): Likewise.
35378         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35379         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35380         e_expl.S.
35381         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35382         USE_AS_EXPM1L.
35383         (EXPL_FINITE): Likewise.
35384         (FLDLOG): Likewise.
35385         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35386         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35387         e_expl.S.
35388         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35389         test of -max_value argument for long double.
35390         * sysdeps/i386/fpu/libm-test-ulps: Update.
35391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35393 2012-05-06  David S. Miller  <davem@davemloft.net>
35395         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35396         quad soft-float symbols whose references which are compiler
35397         generated.
35398         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35400 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35402         [BZ #13884]
35403         [BZ #13914]
35404         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35405         USE_AS_EXP10L.
35406         (EXPL_FINITE): Likewise.
35407         (FLDLOG): Likewise.
35408         (c0): Likewise.
35409         (c1): Likewise.
35410         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35411         Adjust comments for base varying.
35412         (__expl_finite): Change alias to EXPL_FINITE.
35413         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35414         e_expl.S.
35415         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35416         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35417         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35418         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35419         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35420         USE_AS_EXP10L.
35421         (EXPL_FINITE): Likewise.
35422         (FLDLOG): Likewise.
35423         (c0): Likewise.
35424         (c1): Likewise.
35425         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35426         Adjust comments for base varying.
35427         (__expl_finite): Change alias to EXPL_FINITE.
35428         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35429         tests for bugs.
35430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35432         [BZ #14064]
35433         * math/libm-test.inc (check_float_internal): Correct ulp
35434         calculation for subnormal expected results.
35436 2012-05-06  Andreas Jaeger  <aj@suse.de>
35438         * Makeconfig (+math-flags): New, set to -frounding-math.
35439         (+cflags): Add +math-flags so that all of glibc gets compiled with
35440         it.
35442         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35444 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35446         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35447         Disable one test.
35449         [BZ #13787]
35450         [BZ #13922]
35451         [BZ #14036]
35452         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35453         (__ieee754_expl): Allow for and saturate large arguments.
35454         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35455         (u_threshold): Likewise.
35456         (__exp): Call __ieee754_exp before checking for overflow and
35457         underflow.
35458         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35459         (u_threshold): Likewise.
35460         (__expf): Call __ieee754_expf before checking for overflow and
35461         underflow.
35462         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35463         (u_threshold): Likewise.
35464         (__expl): Call __ieee754_expl before checking for overflow and
35465         underflow.
35466         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35467         (__ieee754_expl): Allow for and saturate large arguments.
35468         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35469         missing overflow exception on overflow.
35470         (expm1_test): Do not allow missing overflow exception on overflow.
35472         * sysdeps/i386/fpu/e_expl.c: Move to ...
35473         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35474         rather than using inline asm.
35475         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35476         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35477         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35479         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35480         (nice): Likewise.
35481         (poll): Likewise.
35482         (signal): Likewise.
35483         (time): Likewise.
35484         (times): Likewise.
35486 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35488         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35489         sysdeps/unix/common/syscalls.list.
35490         (fchmod): Likewise.
35491         (fchown): Likewise.
35492         (ftruncate): Likewise.
35493         (getrusage): Likewise.
35494         (gettimeofday): Likewise.
35495         (setpgid): Likewise.
35496         (setregid): Likewise.
35497         (setreuid): Likewise.
35498         (sigaction): Likewise.
35499         (truncate): Likewise.
35500         (vhangup): Likewise.
35501         * sysdeps/unix/common/syscalls.list: Remove file.
35502         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35503         * sysdeps/unix/sysv/linux/Implies: Likewise.
35505 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35507         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35509         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35510         Moved to ...
35511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35512         Here.
35513         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35514         to ...
35515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35516         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35517         to ...
35518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35519         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35520         to ...
35521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35522         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35523         to ...
35524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35525         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35526         to ...
35527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35528         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35529         to ...
35530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35531         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35532         to ...
35533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35534         Here.
35535         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35536         to ...
35537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35538         Here.
35539         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35540         to ...
35541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35542         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35543         Moved to ...
35544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35545         Here.
35546         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35547         to ...
35548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35550 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35552         * sysdeps/unix/common/bits/dirent.h: Remove file.
35553         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35555         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35556         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35557         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35558         * sysdeps/unix/bsd/isatty.c: Likewise.
35559         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35560         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35561         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35563 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35565         [BZ #13563]
35566         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35567         long double comparison inaccuracies.
35568         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35571 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35573         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35574         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35576 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35578         [BZ #14049]
35579         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35580         nonzero digits before rounding a hex value.
35581         * stdlib/tst-strtod.c (tests): Add another test.
35583 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35585         * sysdeps/s390/fpu/libm-test-ulps: Update.
35587 2012-05-03  Andreas Jaeger  <aj@suse.de>
35589         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35590         does not get optimized out.
35591         (malloc_opt_barrier): New.
35593 2012-05-03  Andreas Jaeger  <aj@suse.de>
35594             Roland McGrath  <roland@hack.frob.com>
35596         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35597         intermediate file deletion.
35598         (generated): Add .symlist files.
35600 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35602         [BZ #13775]
35603         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35604         Redirect under this condition.
35605         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35606         [__USE_GNU] (__dprintf_chk): Not under this condition.
35607         [__USE_GNU] (__vdprintf_chk): Likewise.
35608         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35609         under this condition.
35610         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35611         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35612         [__USE_XOPEN2K8] (vdprintf): Likewise.
35613         [__USE_GNU] (__dprintf_chk): Not under this condition.
35614         [__USE_GNU] (__vdprintf_chk): Likewise.
35615         [__USE_GNU] (dprintf): Likewise.
35616         [__USE_GNU] (vdprintf): Likewise.
35618 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35620         * elf/Makefile (common-generated): Set this instead of generated for
35621         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35622         $(all-built-dso)-derived lists.
35624 2012-05-03  Andreas Jaeger  <aj@suse.de>
35626         * sysdeps/i386/fpu/libm-test-ulps: Update.
35628         * FAQ: Removed.
35629         * FAQ.in: Likewise.
35630         * scripts/gen-FAQ.pl: Likewise.
35631         * manual/install.texi (Installation): Point to online location of
35632         FAQ.
35633         * Makefile (files-for-dist): Remove FAQ.
35634         (FAQ): Remove.
35636 2012-05-02  Allan McRae  <allan@archlinux.org>
35638         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35639         (LDFLAGS-reldepmod5.so): Likewise.
35640         (LDFLAGS-reldep6mod1.so): Likewise.
35641         (LDFLAGS-reldep6mod4.so): Likewise.
35642         (LDFLAGS-reldep8mod3.so): Likewise.
35643         (LDFLAGS-unload4mod1.so): Likewise.
35644         (LDFLAGS-unload4mod2.so): Likewise.
35645         (LDFLAGS-tst-initorder): Likewise.
35646         (LDFLAGS-tst-initordera2.so): Likewise.
35647         (LDFLAGS-tst-initordera3.so): Likewise.
35648         (LDFLAGS-tst-initordera4.so): Likewise.
35649         (LDFLAGS-tst-initorderb2.so): Likewise.
35650         (LDFLAGS-noload): Likewise.
35651         (LDFLAGS-next): Likewise.
35652         (LDFLAGS-order2mod1.so): Likewise.
35653         (LDFLAGS-order2mod2.so): Likewise.
35654         (LDFLAGS-tst-initorder2): Likewise.
35655         (LDFLAGS-tst-initorder2a.so): Likewise.
35656         (LDFLAGS-tst-initorder2b.so): Likewise.
35657         (LDFLAGS-tst-initorder2c.so): Likewise.
35658         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35660 2012-05-02  David S. Miller  <davem@davemloft.net>
35662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35664 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35666         [BZ #14055]
35667         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35669 2012-05-02  Andreas Jaeger  <aj@suse.de>
35671         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35672         since we manipulate rounding mode.
35673         (CPPFLAGS-test-idouble.c): Likewise.
35674         (CPPFLAGS-test-ifloat.c): Likewise.
35675         (CFLAGS-test-ldouble.c): Likewise.
35676         (CFLAGS-test-double.c): Likewise.
35677         (CFLAGS-test-float.c): Likewise.
35678         (CFLAGS-test-misc.c): Likewise.
35679         (CFLAGS-test-test-fenv.c): Likewise.
35681 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35683         [BZ #2550]
35684         [BZ #2570]
35685         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35686         comparisons to determine direction to adjust input.
35688 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35690         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35691         output to the target.
35693         * scripts/localplt.awk: New file.
35694         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35695         (check-localplt-CFLAGS): Variable removed.
35696         ($(all-built-dso:=.jmprel)): New static pattern rule.
35697         (generated): Add those targets.
35698         (localplt-built-dso): New variable.
35699         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35701         * elf/check-localplt.c: File removed.
35703         * scripts/check-execstack.awk: New file.
35704         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35705         (check-execstack-CFLAGS): Variable removed.
35706         ($(objpfx)check-execstack.h): Target removed.
35707         ($(objpfx)execstack-default): New target.
35708         (generated): Add that instead of check-execstack.h.
35709         ($(all-built-dso:=.phdr)): New static pattern rule.
35710         (generated): Add those targets.
35711         * elf/check-execstack.c: File removed.
35713         * scripts/check-textrel.awk: New file.
35714         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35715         (check-textrel-CFLAGS): Variable removed.
35716         (all-built-dso): Use := to define.o
35717         ($(all-built-dso:=.dyn)): New static pattern rule.
35718         (generated): Add those targets.
35719         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35720         * config.make.in (READELF): New substituted variable.
35721         * elf/check-textrel.c: File removed.
35723 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35725         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35726         allow.
35727         * conform/data/ctype.h-data [C99-based standards] (isblank):
35728         Expect function.
35729         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35730         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35731         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35732         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35733         Specify type.  Require positive value.
35734         (EILSEQ): Likewise.
35735         (ERANGE): Likewise.
35736         [ISO || POSIX] (EILSEQ): Do not expect.
35737         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35738         Specify type.  Require positive value.
35739         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35740         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35741         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35742         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35743         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35744         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35745         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35746         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35747         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35748         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35749         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35750         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35751         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35752         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35753         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35754         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35755         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35756         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35757         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35758         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35759         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35760         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35761         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35762         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35763         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35764         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35765         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35766         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35767         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35768         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35769         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35770         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35771         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35772         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35773         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35774         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35775         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35776         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35777         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35778         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35779         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35780         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35781         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35782         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35783         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35784         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35785         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35786         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35787         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35788         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35789         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35790         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35791         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35792         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35793         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35794         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35795         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35796         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35797         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35798         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35799         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35800         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35801         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35802         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35803         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35804         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35805         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35806         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35807         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35808         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35809         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35810         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35811         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35812         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35813         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35814         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35815         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35816         Require >= 2.
35817         (FLT_ROUNDS): Expect as macro, not constant.
35818         (FLT_MANT_DIG): Use macro-int-constant.
35819         (DBL_MANT_DIG): Likewise.
35820         (LDBL_MANT_DIG): Likewise.
35821         (FLT_DIG): Likewise.
35822         (DBL_DIG): Likewise.
35823         (LDBL_DIG): Likewise.
35824         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35825         (DBL_MIN_EXP): Likewise.
35826         (LDBL_MIN_EXP): Likewise.
35827         (FLT_MAX_EXP): Use macro-int-constant.
35828         (DBL_MAX_EXP): Likewise.
35829         (LDBL_MAX_EXP): Likewise.
35830         (FLT_MAX_10_EXP): Likewise.
35831         (DBL_MAX_10_EXP): Likewise.
35832         (LDBL_MAX_10_EXP): Likewise.
35833         (FLT_MAX): Use macro-constant.
35834         (DBL_MAX): Likewise.
35835         (LDBL_MAX): Likewise.
35836         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35837         (DBL_EPSILON): Likewise.
35838         (LDBL_EPSILON): Likewise.
35839         (FLT_MIN): Likewise.
35840         (DBL_MIN): Likewise.
35841         (LDBL_MIN): Likewise.
35842         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35843         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35844         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35845         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35846         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35847         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35848         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35849         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35850         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35851         [ISO11] (FLT_TRUE_MIN): Likewise.
35852         [ISO11] (LDBL_TRUE_MIN): Likewise.
35853         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35854         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35855         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35856         (SCHAR_MAX): Likewise.
35857         (UCHAR_MAX): Likewise.
35858         (CHAR_MIN): Likewise.
35859         (CHAR_MAX): Likewise.
35860         (MB_LEN_MAX): Use macro-int-constant.
35861         (SHRT_MIN): Use macro-int-constant.  Specify type.
35862         (SHRT_MAX): Likewise.
35863         (USHRT_MAX): Likewise.
35864         (INT_MAX): Likewise.
35865         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35866         bound negative.
35867         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35868         bound with "U".
35869         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35870         bound with "L".
35871         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35872         bound negative.  Suffix upper bound with "L".
35873         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35874         bound with "UL".
35875         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35876         Specify type.
35877         [C99-based standards] (LLONG_MAX): Likewise.
35878         [C99-based standards] (ULLONG_MAX): Likewise.
35879         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35880         == 0.
35881         [ISO11] (max_align_t): Require type.
35882         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35884         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35885         from $CFLAGS, without defining away __attribute__ calls.
35886         (checknamespace): Use $CFLAGS_namespace.
35888         * conform/conformtest.pl (@keywords): Only include C99 keywords
35889         for standards based on C99 or C11.
35891         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35892         Disable tests.
35893         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35894         UNIX98]: Likewise.
35896         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35897         usability of symbols in #if.
35899         * conform/conformtest.pl: If macro or constant types start
35900         "promoted:", expect the symbol to be of the following type
35901         promoted by the integer promotions.
35903         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35904         in one place.  Also handle "macro-constant".
35906         * conform/conformtest.pl: Only accept expected macro values with
35907         "==".  Parse all "macro" lines in one place.
35908         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35910         * conform/conformtest.pl: Handle braced types on "constant" lines
35911         instead of handling "typed-constant".
35912         * conform/data/signal.h-data: Use "constant" instead of
35913         "typed-constant".
35915         * conform/conformtest.pl: Handle "optional-" at start of lines in
35916         one place rather than duplicating several cases.  Handle each
35917         format of "macro" line with initial "optional-".
35919         * conform/conformtest.pl: Only accept expected constant or
35920         optional-constant values with "==".  Parse all "constant" lines in
35921         one place.  Parse all "optional-constant" lines in one place.
35922         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35923         * conform/data/fmtmsg.h-data: Likewise.
35924         * conform/data/netinet/in.h-data: Likewise.
35925         * conform/data/tar.h-data: Likewise.
35926         * conform/data/limits.h-data: Use "==" form on "constant" and
35927         "optional-constant" lines.
35929         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35930         Use -std=c99 for XOPEN2K.
35931         (@knownproblems): Remove.
35932         (newtoken): Don't check %isknown.
35934         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35935         Do not expect macro.
35936         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35937         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35938         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35939         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35940         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35941         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35942         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35943         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35944         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35945         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35946         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35947         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35948         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35949         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35950         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35951         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35952         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35953         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35954         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35955         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35957         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35958         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35959         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35960         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35961         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35962         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35963         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35964         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35965         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35966         [XPG3] (acosh): Likewise.
35967         [XPG3] (asinh): Likewise.
35968         [XPG3] (atanh): Likewise.
35969         [XPG3] (cbrt): Likewise.
35970         [XPG3] (expm1): Likewise.
35971         [XPG3] (ilogb): Likewise.
35972         [XPG3] (log1p): Likewise.
35973         [XPG3] (logb): Likewise.
35974         [XPG3] (nextafter): Likewise.
35975         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35976         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35977         [XPG3] (remainder): Likewise.
35978         [XPG3] (rint): Likewise.
35979         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35980         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35981         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35982         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35983         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35984         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35985         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35986         [UNIX98 || XOPEN2K] (scalb): Expect.
35987         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35988         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35989         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35990         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35991         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35992         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35993         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35994         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35995         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35996         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35997         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35998         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35999         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36000         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36001         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36002         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36003         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36004         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36005         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36006         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36007         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36008         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36009         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36010         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36011         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36012         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36013         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36014         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36015         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36016         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36017         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36018         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36019         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36020         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36021         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36022         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36023         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36024         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36025         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36026         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36027         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36028         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36029         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36030         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36031         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36032         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36033         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36034         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36035         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36036         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36037         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36038         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36039         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36040         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36041         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36042         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36043         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36044         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36045         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36046         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36047         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36048         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36049         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36050         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36051         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36052         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36053         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36054         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36055         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36056         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36057         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36058         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36059         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36060         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36061         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36062         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36063         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36064         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36065         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36066         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36067         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36068         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36069         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36070         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36071         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36072         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36073         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36074         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36075         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36076         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36077         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36078         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36079         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36080         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36081         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36082         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36083         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36084         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36085         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36086         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36087         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36088         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36089         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36090         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36091         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36092         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36093         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36094         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36095         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36096         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36097         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36098         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36099         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36100         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36101         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36102         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36103         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36104         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36105         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36106         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36107         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36108         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36109         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36110         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36111         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36112         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36113         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36114         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36115         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36116         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36117         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36118         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36119         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36120         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36121         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36122         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36123         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36125         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36126         _XOPEN_SOURCE_EXTENDED for XPG4.
36128         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36130         * Makeconfig (localtime): Remove variable.
36131         (inst_localtime-file): Likewise.
36133 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36136         Update.
36137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36138         Update.
36139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36140         Update.
36141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36142         Update.
36143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36144         Update.
36145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36146         Update.
36147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36148         Update.
36149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36150         Update.
36151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36152         Update.
36154 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36156         [BZ #2550]
36157         [BZ #2570]
36158         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36159         comparisons to determine direction to adjust input.
36160         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36161         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36162         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36163         Likewise.
36164         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36165         Likewise.
36166         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36167         Likewise.
36168         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36169         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36170         Likewise.
36171         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36172         Likewise.
36173         * math/libm-test.inc (nexttoward_test): Add more tests.
36175 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36177         [BZ #14040]
36178         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36179         in version GLIBC_2.1, not GLIBC_2.0.
36180         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36181         Likewise.
36183 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36185         [BZ #13942]
36186         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36187         (1 - x) * (1 + x).
36188         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36189         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36190         * math/libm-test.inc (acos_test): Add more tests.
36191         (asin_test): Likewise.
36192         * sysdeps/i386/fpu/libm-test-ulps: Update.
36193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36195         [BZ #14034]
36196         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36197         of square root.
36198         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36199         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36200         * math/libm-test.inc (acos_test_tonearest): New function.
36201         (acos_test_towardzero): Likewise.
36202         (acos_test_downward): Likewise.
36203         (acos_test_upward): Likewise.
36204         (asin_test_tonearest): Likewise.
36205         (asin_test_towardzero): Likewise.
36206         (asin_test_downward): Likewise.
36207         (asin_test_upward): Likewise.
36208         (main): Call the new functions.
36209         * sysdeps/i386/fpu/libm-test-ulps: Update.
36210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36212         [BZ #13884]
36213         [BZ #13924]
36214         * math/e_exp10.c: Include <float.h>.
36215         (__ieee754_exp10): Handle underflow here rather than multiplying
36216         large negative argument by M_LN10.
36217         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36218         of __ieee754_expf.
36219         * math/e_exp10l.c: Include <float.h>.
36220         (__ieee754_exp10l): Handle underflow here rather than multiplying
36221         large negative argument by M_LN10l.
36222         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36223         spurious overflow exception on underflow.
36225 2012-04-29  Marek Polacek  <polacek@redhat.com>
36227         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36228         (__fortify_function): New macro.
36229         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36230         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36231         __extern_always_inline.
36232         * libio/bits/stdio2.h: Likewise.
36233         * libio/bits/stdio.h: Likewise.
36234         * string/string.h: Likewise.
36235         * string/bits/string3.h: Likewise.
36236         * include/stdio.h: Likewise.
36237         * stdlib/bits/stdlib.h: Likewise.
36238         * stdlib/stdlib.h: Likewise.
36239         * rt/bits/mqueue2.h: Likewise.
36240         * rt/mqueue.h: Likewise.
36241         * posix/bits/unistd.h: Likewise.
36242         * posix/unistd.h: Likewise.
36243         * io/bits/poll2.h: Likewise.
36244         * io/bits/fcntl2.h: Likewise.
36245         * io/fcntl.h: Likewise.
36246         * io/sys/poll.h: Likewise.
36247         * misc/bits/syslog.h: Likewise.
36248         * misc/bits/syslog-ldbl.h: Likewise.
36249         * misc/sys/syslog.h: Likewise.
36250         * socket/bits/socket2.h: Likewise.
36251         * socket/sys/socket.h: Likewise.
36252         * debug/tst-chk1.c: Likewise.
36253         * wcsmbs/bits/wchar2.h: Likewise.
36254         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36255         * wcsmbs/wchar.h: Likewise.
36257 2012-04-29  Andreas Jaeger  <aj@suse.de>
36259         * Makerules (tests): Remove enable-check-abi protection.
36260         (check-abi-warn): Remove.
36261         (check-abi-%): Remove check-abi-warn usage.
36263         * configure.in: Remove check-abi configure option.
36264         * configure: Regenerated.
36265         * config.make.in (enable-check-abi): Remove.
36267 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36269         [BZ #14033]
36270         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36271         double functions to double *_finite functions.
36273         [BZ #13941]
36274         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36275         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36276         LDBL_MIN_EXP.
36277         * stdio-common/Makefile (tests): Add tst-sprintf3.
36278         * stdio-common/tst-sprintf3.c: New file.
36280         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36281         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36283 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36285         * conform/conformtest.pl: Remove duplicate typed-constant
36286         handling.
36288 2012-04-28  David S. Miller  <davem@davemloft.net>
36290         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36291         (check-abi-%): Remove AWK script prerequisite and explicit
36292         abilist directory.
36293         (check-abi): Rewrite to just diff the symlist with the abilist.
36294         (config-tls, config-abi-config): Delete, no longer used.
36295         (update-abi-%): Remove AWK script and explicit abilist directory.
36296         (update-abi): Rewrite to simply compare and conditionally copy the
36297         symlist and the sysdep abilist file.  Remove update-abi-config
36298         checks.
36299         * abilist/ld.abilist: Remove.
36300         * abilist/libBrokenLocale.abilist: Remove.
36301         * abilist/libanl.abilist: Remove.
36302         * abilist/libcrypt.abilist: Remove.
36303         * abilist/libdl.abilist: Remove.
36304         * abilist/librt.abilist: Remove.
36305         * abilist/libthread_db.abilist: Remove.
36306         * abilist/libutil.abilist: Remove.
36307         * scripts/extract-abilist.awk: Remove.
36308         * scripts/merge-abilist.awk: Remove.
36309         * sysdeps/generic/libcidn.abilist: New file.
36310         * sysdeps/generic/libnss_compat.abilist: New file.
36311         * sysdeps/generic/libnss_db.abilist: New file.
36312         * sysdeps/generic/libnss_dns.abilist: New file.
36313         * sysdeps/generic/libnss_files.abilist: New file.
36314         * sysdeps/generic/libnss_hesiod.abilist: New file.
36315         * sysdeps/generic/libnss_nis.abilist: New file.
36316         * sysdeps/generic/libnss_nisplus.abilist: New file.
36317         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36318         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36319         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36320         file.
36321         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36322         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36323         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36324         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36325         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36326         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36327         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36328         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36329         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36330         file.
36331         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36332         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36333         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36334         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36335         file.
36336         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36337         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36338         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36339         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36340         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36341         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36342         file.
36343         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36344         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36345         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36346         file.
36347         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36348         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36349         New file.
36350         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36351         New file.
36352         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36353         New file.
36354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36355         New file.
36356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36357         New file.
36358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36359         New file.
36360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36361         New file.
36362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36363         New file.
36364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36365         New file.
36366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36367         New file.
36368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36369         New file.
36370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36371         New file.
36372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36373         New file.
36374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36375         file.
36376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36377         New file.
36378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36379         New file.
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36381         file.
36382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36383         New file.
36384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36385         New file.
36386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36387         file.
36388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36389         New file.
36390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36391         New file.
36392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36393         New file.
36394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36395         New file.
36396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36397         New file.
36398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36399         New file.
36400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36402         file.
36403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36404         New file.
36405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36406         file.
36407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36408         file.
36409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36410         file.
36411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36412         file.
36413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36414         file.
36415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36416         New file.
36417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36418         file.
36419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36420         file.
36421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36422         New file.
36423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36424         file.
36425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36427         file.
36428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36429         New file.
36430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36431         file.
36432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36433         file.
36434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36435         file.
36436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36437         file.
36438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36439         file.
36440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36441         New file.
36442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36443         file.
36444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36445         file.
36446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36447         New file.
36448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36449         file.
36450         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36451         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36452         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36453         file.
36454         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36455         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36456         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36457         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36458         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36459         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36460         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36461         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36462         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36463         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36466         file.
36467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36468         New file.
36469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36470         file.
36471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36472         file.
36473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36474         file.
36475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36476         file.
36477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36478         file.
36479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36480         New file.
36481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36482         New file.
36483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36484         file.
36485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36486         New file.
36487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36488         file.
36489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36491         file.
36492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36493         New file.
36494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36495         file.
36496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36497         file.
36498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36499         file.
36500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36501         file.
36502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36503         file.
36504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36505         New file.
36506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36507         New file.
36508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36509         file.
36510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36511         New file.
36512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36513         file.
36515 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36517         * conform/conformtest.pl: Fix typo in handling typed-constant from
36518         allow-header.
36520 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36522         * README: Cut down references to pre-2.6 Linux kernels and
36523         Linuxthreads.  Update lists of configurations in libc and ports
36524         and sort alphabetically.  Say "or newer" with Linux kernel version
36525         requirements.
36527         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36529 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36531         [BZ #887]
36532         * math/libm-test.inc (logb_test_downward): New test to expose
36533         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36534         rounding mode.
36536 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36538         [BZ #14027]
36539         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36540         to be done.
36541         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36542         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36544 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36546         * sysdeps/unix/i386/brk.S: Remove file.
36547         * sysdeps/unix/i386/dl-brk.S: Likewise.
36548         * sysdeps/unix/i386/pipe.S: Likewise.
36549         * sysdeps/unix/i386/sigreturn.S: Likewise.
36550         * sysdeps/unix/i386/syscall.S: Likewise.
36551         * sysdeps/unix/i386/vfork.S: Likewise.
36552         * sysdeps/unix/i386/wait.S: Likewise.
36554         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36555         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36557         * configure.in (arm*-none*): Do not allow without
36558         --enable-hacker-mode.
36559         (netbsd*): Remove case setting base_os.
36560         (386bsd*): Likewise.
36561         (freebsd*): Likewise.
36562         (bsdi*): Likewise.
36563         (osf*): Likewise.
36564         (sunos*): Likewise.
36565         (ultrix*): Likewise.
36566         (newsos*): Likewise.
36567         (dynix*): Likewise.
36568         (*bsd*): Likewise.
36569         (sysv*): Likewise.
36570         (isc*): Likewise.
36571         (esix*): Likewise.
36572         (sco*): Likewise.
36573         (minix*): Likewise.
36574         (irix4*): Likewise.
36575         (irix6*): Likewise.
36576         (solaris[2-9]*): Likewise.
36577         (none): Likewise.
36578         * configure: Regenerated.
36580 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36582         [BZ #11521]
36583         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36584         overflow or cancellation in calculating denominator.
36585         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36586         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36587         down expression to avoid unexpected rounding in newer GCCs.
36588         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36590 2012-04-26  David S. Miller  <davem@davemloft.net>
36592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36593         long-double compat symbols.
36594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36608 2012-04-25  David S. Miller  <davem@davemloft.net>
36610         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36611         HWCAP_* values only after the memory barriers have been defined.
36612         (atomic_full_barrier): Define.
36613         (atomic_read_barrier): Define.
36614         (atomic_write_barrier): Define.
36616 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36618         * shlib-versions: Add libgcc_s version information.
36619         * sysdeps/generic/libgcc_s.h: Remove.
36620         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36621         libgcc_s.h.
36622         * sysdeps/gnu/unwind-resume.c: Likewise.
36623         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36625 2012-04-25  David S. Miller  <davem@davemloft.net>
36627         * sysdeps/unix/sparc/brk.S: Delete.
36628         * sysdeps/unix/sparc/dl-brk.S: Delete.
36629         * sysdeps/unix/sparc/pipe.S: Delete.
36630         * sysdeps/unix/sparc/sysdep.S: Delete.
36631         * sysdeps/unix/sparc/sysdep.h: Delete.
36632         * sysdeps/unix/sparc/vfork.S: Delete.
36633         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36634         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36635         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36636         (ret_ERRVAL, r0, r1, MOVE): Define.
36637         (JUMPTARGET): Remove.
36638         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36639         sysdeps/unix/sparc/sysdep.h
36640         (ENTRY, END): Remove.
36641         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36643 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36645         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36646         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36647         -DIS_IN_build.
36649         * timezone/README: Update upstream location and email address for
36650         tzcode and tzdata.
36651         * timezone/zdump.c: Update from tzcode 2012b.
36652         * timezone/zic.c: Likewise.
36654         * configure.in (libc_cv_as_needed): Remove test.
36655         * configure: Regenerated.
36656         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36657         conditional definition.
36658         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36659         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36660         * config.make.in (have-as-needed): Remove variable.
36662 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36663             Paul Pluzhnikov  <ppluzhnikov@google.com>
36665         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36666         strings correctly.
36668 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36670         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36671         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36672         * sysdeps/sh/strlen.S: Likewise.
36674 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36676         * sysdeps/unix/fork.S: Remove file.
36677         * sysdeps/unix/i386/fork.S: Likewise.
36678         * sysdeps/unix/sparc/fork.S: Likewise.
36680         * sysdeps/unix/system.c: Remove file.
36681         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36683         * sysdeps/unix/getegid.S: Remove file.
36684         * sysdeps/unix/geteuid.S: Likewise.
36686 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36688         * scripts/check-localplt.awk: New file.
36689         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36690         of diff.
36691         * scripts/data/localplt-generic.data: Add a comment.
36693         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36694         NODE when __dir_mkfile failed.
36695         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36696         Reported by Ludovic Courtès <ludo@gnu.org>.
36698 2012-04-24  Andreas Jaeger  <aj@suse.de>
36700         * Makerules (common-clean): Also remove gen-as-const-headers
36701         files.
36703 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36705         * Makerules (native-compile): Do not change working directory for
36706         build.  Use $(OUTPUT_OPTION) in command.
36707         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36709 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36711         [BZ #13886]
36712         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36713         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36714         * math/libm-test.inc (floor_test): Add more tests.
36715         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36717 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36719         * sysdeps/unix/getdents.c: Remove file.
36720         * sysdeps/unix/sysv/getdents.c: Likewise.
36721         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36723         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36724         sysdeps/unix/mman/syscalls.list.
36725         (mmap): Likewise.
36726         (mprotect): Likewise.
36727         (msync): Likewise.
36728         (munmap): Likewise.
36729         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36730         * sysdeps/unix/mman/syscalls.list: Remove.
36731         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36733         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36734         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36735         * configure: Regenerated.
36736         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36737         $(libgcc_s_suffix).
36738         * config.make.in (libgcc_s_suffix): Remove variable.
36740 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36742         * sysdeps/unix/sysv/gethostname.c: Move to ...
36743         * sysdeps/posix/gethostname.c: ... here.
36745         * sysdeps/unix/execve.S: Remove file.
36747         * sysdeps/unix/_exit.S: Remove file.
36749 2012-04-23  Andreas Jaeger  <aj@suse.de>
36751         [BZ #13739]
36752         * manual/Makefile: Remove make dist support, there's no
36753         need for a stand-alone documentation tar ball.
36754         (TEXI2DVI): Define always, it's not in Makeconfig.
36755         (dist): Removed.
36756         (tar-it): Removed.
36757         (edition): Removed.
36758         (glibc-doc-$(edition).tar): Removed
36759         (%.Z): Removed.
36760         (%.gz): Removed.
36761         (%.uu): Removed.
36762         (ETAGS): Remove, it's in Makeconfig.
36763         (move-if-change): Remove, it's in Makeconfig.
36765 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36767         [BZ #13970]
36768         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36769         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36770         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36771         (strtod_l, strtof_l, strtold_l): Remove __wur.
36772         It is not necessarily an error to ignore strtol's return value.
36773         One can reliably look at the stored endptr to decide whether
36774         the number had valid syntax.
36776 2012-04-21  Andreas Jaeger  <aj@suse.de>
36778         [BZ #13739]
36779         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36781 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36783         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36784         * sysdeps/unix/sysv/Versions: Remove file.
36786 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36788         [BZ #13927]
36789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36791 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36793         [BZ #7064]
36794         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36795         version from __vm86.
36797 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36799         * sysdeps/unix/common/lxstat.c: Remove file.
36800         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36802         * sysdeps/unix/sysv/Makefile: Remove file.
36804         * sysdeps/unix/sysv/direct.h: Remove file.
36806         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36807         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36808         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36809         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36810         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36811         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36812         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36814         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36816         * sysdeps/unix/xmknod.c: Remove file.
36817         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36819         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36821         * sysdeps/unix/sysv/i386/time.S: Remove file.
36823         * sysdeps/unix/fxstat.c: Remove file.
36824         * sysdeps/unix/xstat.c: Likewise.
36825         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36827         * sysdeps/unix/sysv/sigaction.c: Remove file.
36829         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36830         (sysdep_headers): Remove variable.
36831         [termio.h not in sysdep_headers] (generated): Likewise.
36832         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36833         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36834         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36835         * sysdeps/unix/sysv/tcflow.c: Likewise.
36836         * sysdeps/unix/sysv/tcflush.c: Likewise.
36837         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36838         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36839         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36840         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36841         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36843         * sysdeps/unix/siglist.c: Remove file.
36845         * sysdeps/unix/getppid.S: Remove file.
36847         * sysdeps/unix/mkdir.c: Remove file.
36848         * sysdeps/unix/rmdir.c: Likewise.
36850 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36852         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36853         ERR_MAX value.
36854         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36855         errlist-compat value.
36857 2012-04-18  David S. Miller  <davem@davemloft.net>
36859         * sysdeps/generic/memcopy.h (reg_char): Delete.
36860         * debug/strcat_chk.c: Use char, not reg_char.
36861         * debug/strcpy_chk.c: Likewise.
36862         * debug/strncat_chk.c: Likewise.
36863         * debug/strncpy_chk.c: Likewise.
36864         * string/memchr.c: Likewise.
36865         * string/memrchr.c: Likewise.
36866         * string/rawmemchr.c: Likewise.
36867         * string/strcat.c: Likewise.
36868         * string/strchr.c: Likewise.
36869         * string/strchrnul.c: Likewise.
36870         * string/strcmp.c: Likewise.
36871         * string/strcpy.c: Likewise.
36872         * string/strncat.c: Likewise.
36873         * string/strncmp.c: Likewise.
36874         * string/strncpy.c: Likewise.
36876 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36878         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36879         __builtin_memcopy is called when src and dest ranges are known to not
36880         overlap.
36882 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36884         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36885         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36886         fwd_align_merge macro call.
36887         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36888         bwd_align_merge macro call.
36889         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36891 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36893         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36894         bwd_align_merge macros.
36895         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36896         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36897         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36899 2012-04-18  David S. Miller  <davem@davemloft.net>
36901         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36903 2012-04-18  Andreas Jaeger  <aj@suse.de>
36905         [BZ# 6794]
36906         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36907         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36908         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36910         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36911         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36912         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36914         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36915         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36916         Adjust for changed ldbl-128 files.
36918         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36919         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36920         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36922 2012-04-17  David S. Miller  <davem@davemloft.net>
36924         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36926 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36928         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36929         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36930         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36931         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36932         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36933         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36935 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36937         [BZ #6794]
36938         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36939         * math/libm-test.inc: Add ilogb errno and exception tests.
36940         * math/w_ilogb.c: New file: ilogb wrapper.
36941         * math/w_ilogbf.c: New file: ilogbf wrapper.
36942         * math/w_ilogbl.c: New file: ilogbl wrapper.
36943         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36944         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36945         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36946         exception being thrown with 0.0 as argument.
36947         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36948         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36949         exception being thrown with 0.0 as argument.
36950         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36951         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36952         exception being thrown with 0.0 as argument.
36953         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36954         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36955         exception being thrown with 0.0 as argument.
36956         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36957         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36958         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36959         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36960         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36961         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36962         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36963         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36964         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36966 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36968         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36969         with altivec.
36971 2012-04-16  Marek Polacek  <polacek@redhat.com>
36973         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36975 2012-04-16  Marek Polacek  <polacek@redhat.com>
36977         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36978         operands of fdivp instruction.
36980 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36982         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36983         * elf/tst-auditmod3b.c: Likewise.
36984         * elf/tst-auditmod4b.c: Likewise.
36985         * elf/tst-auditmod5b.c: Likewise.
36986         * elf/tst-auditmod6b.c: Likewise.
36987         * elf/tst-auditmod6c.c: Likewise.
36988         * elf/tst-auditmod7b.c: Likewise.
36989         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36990         * sysdeps/x86_64/preconfigure.in: Likewise.
36991         * sysdeps/x86_64/preconfigure: Regenerated.
36993 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36995         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36996         __ILP32__.
36998 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37000         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37001         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37003 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37005         [BZ #13973]
37006         * locale/iso-639.def: Fix gl language name. Spotted by
37007         Yaron Shahrabani.
37009 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37011         [BZ #2074]
37012         * libio/libio.h (__io_write_fn): Update comment.
37014 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37016         [BZ #2074]
37017         * stdio.texi (Hook Functions): The user provided writer function
37018         is not allowed to return -1.
37020 2012-04-11  David S. Miller  <davem@davemloft.net>
37022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37024 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37026         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37027         Add a leading slash to rtkaio.
37029 2012-04-11  Jim Meyering  <meyering@redhat.com>
37031         [BZ #11959]
37032         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37033         It is not necessarily an error to ignore fwrite's return
37034         value.  One can reliably use ferror to test for errors after
37035         the fact.
37037 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37039         * bits/types.h (__snseconds_t): New type.
37040         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37042         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37043         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37044         (__SNSECONDS_T_TYPE): Likewise.
37045         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37046         (__SNSECONDS_T_TYPE): Likewise.
37047         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37048         (__SNSECONDS_T_TYPE): Likewise.
37050 2012-04-10  Andreas Jaeger  <aj@suse.de>
37052         [BZ #2636]
37053         * manual/time.texi (Processor Time): Return type of times is
37054         elapsed real time since an arbitrary point in the past.
37055         (CPU Time): Move CLK_TCK from here...
37056         (Processor Time): ...to here.  Correct description.
37057         * manual/conf.texi (Constants for Sysconf): Correct description of
37058         _SC_CLK_TCK.
37060 2012-04-10  David S. Miller  <davem@davemloft.net>
37062         [BZ #13967]
37063         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37064         where the is a gap between DT_REL(A) and DT_JMPREL.
37066 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37068         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37069         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37070         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37072 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37074         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37075         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37076         (dl_main): Handle --inhibit-cache.
37077         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37078         _dl_inhibit_cache.
37079         * elf/dl-load.c (_dl_map_object): Use it.
37080         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37082 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37084         [BZ #13872]
37085         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37086         (__ieee754_powl): Saturate large exponents rather than testing for
37087         overflow of y*log2(x).
37088         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37089         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37090         exceptions.
37092         [BZ #11521]
37093         * math/s_ctan.c: Include <float.h>.
37094         (__ctan): Avoid internal overflow or cancellation in calculating
37095         denominator.
37096         * math/s_ctanf.c: Likewise.
37097         * math/s_ctanl.c: Likewise.
37098         * math/s_ctanh.c: Likewise.
37099         * math/s_ctanhf.c: Likewise.
37100         * math/s_ctanhl.c: Likewise.
37101         * math/libm-test.inc (ctan_test): Add more tests.
37102         (ctanh_test): Likewise.
37103         * sysdeps/i386/fpu/libm-test-ulps: Update.
37104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37106 2012-04-09  Andreas Jaeger  <aj@suse.de>
37108         [BZ #6894]
37109         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37110         is an optional BSD extension.
37112         [BZ #10254]
37113         * manual/stdio.texi (Opening Streams): Document additional fopen
37114         parameters.
37116 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37118         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37119         %eax without telling the compiler.
37121 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37123         [BZ # 13963]
37124         * manual/install.texi: Use sourceware.org.
37126 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37128         [BZ #13873]
37129         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37130         (__ieee754_pow): Generate overflow and underflow using huge*huge
37131         and tiny*tiny rather than just returning constant infinity or zero
37132         for large exponents.
37133         * math/libm-test.inc (pow_test): Require overflow exceptions for
37134         applicable cases of large exponents.
37136         [BZ #706]
37137         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37138         (__ieee754_pow): Use iterative multiplication algorithm only for
37139         integer exponents with absolute value below 1024.  Check for odd
37140         integer exponents when using algorithm for real exponents.
37141         * math/libm-test.inc (pow_test): Add more tests.
37142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37144 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37146         [BZ #13705]
37147         * math/libm-test.inc (exp_test): Do not allow overflow exception
37148         on underflow test.
37150 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37152         [BZ #13705]
37153         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37154         instead of __kernel_standard_f.
37156 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37158         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37159         * sysdeps/x86_64/memset_chk.S: Likewise.
37161 2012-04-08  Andreas Jaeger  <aj@suse.de>
37163         [BZ #10153]
37164         * manual/startup.texi (Environment Access): Describe return value
37165         for putenv and setenv.
37167         [BZ #6895]
37168         * manual/filesys.texi (Directory Entries): Add description for
37169         DT_LNK.
37171         [BZ #6890]
37172         * manual/filesys.texi (Directory Entries): Clarify that it's file
37173         system not operating system in the description of DT_UNKNOWN.
37175         [BZ #6578]
37176         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37178 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37180         [BZ #6649]
37181         * manual/llio.texi (Opening and Closing Files): Add cross
37182         reference to explain mode argument.
37184 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37186         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37187         * sysdeps/x86_64/memset_chk.S: Likewise.
37189 2012-04-07  David S. Miller  <davem@davemloft.net>
37191         * elf/elf.h (R_SPARC_WDISP10): Define.
37192         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37193         R_SPARC_SIZE32.
37194         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37195         R_SPARC_SIZE64 and R_SPARC_H34.
37197 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37199         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37200         conditions and remove no longer applicable assertion.
37202 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37204         * bits/byteswap.h: Include <features.h>.
37205         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37206         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37208 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37210         * bits/byteswap.h (__bswap_16): Removed.
37211         Include <bits/byteswap-16.h> to get __bswap_16.
37212         * sysdeps/i386/bits/byteswap.h: Likewise.
37213         * sysdeps/s390/bits/byteswap.h: Likewise.
37214         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37215         * bits/byteswap-16.h: New file.
37216         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37217         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37218         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37219         * string/Makefile (headers): Add bits/byteswap-16.h.
37221 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37223         [BZ #13895]
37224         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37225         extra indirection.
37226         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37227         * nss/tst-nss-static.c: New.
37229 2012-04-06  Robert Millan  <rmh@gnu.org>
37231         [BZ #6486]
37232         * manual/llio.texi (File Position Primitive): lseek
37233         refers to WHENCE when it really means OFFSET.
37235 2012-04-06  Andreas Jaeger  <aj@suse.de>
37237         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37238         strncmp declarations.
37240         * abilist/libc.abilist: Add __poll and __ppoll.
37242 2012-04-05  David S. Miller  <davem@davemloft.net>
37244         * scripts/check-local-headers.sh: Accept a host triplet in the
37245         path matched by the exclude regexp.
37247         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37248         definition.
37249         * sysdeps/powerpc/powerpc32/dl-machine.h
37250         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37251         * sysdeps/s390/s390-32/dl-machine.h
37252         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37253         * sysdeps/sparc/sparc32/dl-machine.h
37254         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37255         * sysdeps/sparc/sparc64/dl-machine.h
37256         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37258         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37259         lazy binding.
37260         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37261         undefined symbol errors.
37263         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37264         DT_NEEDED entries.
37266 2012-04-05  Michael Matz  <matz@suse.de>
37268         [BZ #13592]
37269         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37271 2012-04-05  Andreas Jaeger  <aj@suse.de>
37273         [BZ #13908]
37274         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37275         comment.
37277 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37279         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37280         which ROUND is no valid rounding mode.
37282 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37284         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37285         read again.
37286         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37288 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37290         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37291         an exception using FPU order intentionally.
37293 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37295         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37296         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37297         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37298         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37300 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37302         [BZ #12340]
37303         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37304         EINVAL when BUFLEN is too smal.
37306 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37308         [BZ #13553]
37309         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37310         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37312 2012-04-03  Andreas Jaeger  <aj@suse.de>
37314         [BZ #13938]
37315         * manual/setjmp.texi (System V contexts): Fix sentence.
37317         [BZ #13926]
37318         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37319         New macro for this case.
37320         [!__GNUC__] (__bswap_64): New inline function for this case.
37321         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37322         * bits/byteswap.h: Likewise.
37323         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37324         ull, guard with __GLIBC_HAVE_LONG_LONG.
37326         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37327         __GLIBC_HAVE_LONG_LONG.
37329         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37330         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37332 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37334         [BZ #13691]
37335         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37336         inptr and inend, rather than using last_ch.
37338 2012-04-02  David S. Miller  <davem@davemloft.net>
37340         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37341         * stdio-common/printf-parse.h (read_int): Change return type to
37342         'int', return -1 on INT_MAX overflow.
37343         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37344         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37345         overflows INT_MAX.  Check for overflow of in-format-string precision
37346         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37347         SIZE_MAX not INT_MAX for integer overflow test.
37348         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37349         skip the construct in the format string but do not record anything.
37350         * stdio-common/bug22.c: Adjust to test both width/prevision
37351         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37352         explicitly for proper errno values.
37354 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37356         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37357         CHAR_MAX.
37358         * string/test-strcmp.c [! WIDE]: Likewise.
37359         * time/tst-mktime2.c: Likewise for INT_MAX.
37360         * string/test-string.h: #include <sys/param.h> for MIN.
37362         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37363         * sysdeps/i386/init-first.c (init): Likewise.
37364         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37365         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37366         * sysdeps/sh/init-first.c (init): Likewise.
37368 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37370         * po/ru.po: Update from translation team.
37371         * po/vi.po: Likewise.
37373 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37375         * resolv/nss_dns/dns-host.c: Merge copyright years.
37377 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37379         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37380         Optimize memcpy with prefetch if
37381         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37382         src, dst pointers have unequal 16 byte alignments.
37384 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37386         [BZ #13928]
37387         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37388         from a CNAME entry and return the minimum ttl for the query.
37389         (gaih_getanswer_slice): Likewise.
37391 2012-03-30  Jeff Law  <law@redhat.com>
37393         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37394         due to long keys.
37395         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37396         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37398         * resolv/nss_dns/dns-host.c: Update copyright year.
37400 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37402         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37403         requests to save a system call.  Fix check that all bytes are sent.
37405         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37406         comments for sendmmsg.
37408 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37410         [BZ #13691]
37411         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37412         with only 1 character between 0x0041 and 0x01b0.
37413         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37414         * wcsmbs/tst-mbsnrtowcs.c: New file.
37416 2012-03-29  David S. Miller  <davem@davemloft.net>
37418         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37419         small copies by hand.
37421 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37423         [BZ #13761]
37424         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37425         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37426         group memberships.
37428 2012-03-28  David S. Miller  <davem@davemloft.net>
37430         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37431         that branches into memcpy.
37432         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37433         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37434         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37435         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37436         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37437         bits.
37438         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37439         implementation too.
37440         * sysdeps/sparc/mempcpy.S: New file.
37442         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37443         the IFUNC routine in the libc case.
37444         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37446         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37447         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37448         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37449         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37450         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37451         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37452         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37453         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37455         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37456         loop to 256 bytes instead of 64 bytes and fix test signedness.
37458         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37459         * sysdeps/sparc/sparc32/Makefile: rather than here...
37460         * sysdeps/sparc/sparc64/Makefile: and here.
37462 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37464         * malloc/mallocbug.c: Avoid warnings about unused variables.
37466 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37468         [BZ #13760]
37469         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37470         in the right place. Discard and retry query if response is
37471         larger than input buffer size.
37473 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37475         [BZ #369]
37476         [BZ #2678]
37477         [BZ #3866]
37478         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37479         x for large integer exponent.
37480         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37481         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37482         sign of result as needed afterwards.
37483         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37484         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37485         result for underflowing pow the same as for overflow.
37486         (__kernel_standard_l): Handle powl overflow and underflow here
37487         rather than calling __kernel_standard.
37488         * math/libm-test.inc (pow_test): Add more tests.
37490         [BZ #3868]
37491         [BZ #13879]
37492         [BZ #13910]
37493         [BZ #13911]
37494         [BZ #13912]
37495         [BZ #13913]
37496         [BZ #13915]
37497         [BZ #13916]
37498         [BZ #13917]
37499         [BZ #13918]
37500         [BZ #13919]
37501         [BZ #13920]
37502         [BZ #13921]
37503         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37504         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37505         (__kernel_standard_l): New function.
37506         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37507         __kernel_standard.
37508         * math/w_acosl.c (__acosl): Likewise.
37509         * math/w_asinl.c (__asinl): Likewise.
37510         * math/w_atan2l.c (__atan2l): Likewise.
37511         * math/w_atanhl.c (__atanhl): Likewise.
37512         * math/w_coshl.c (__coshl): Likewise.
37513         * math/w_exp10l.c (__exp10l): Likewise.
37514         * math/w_exp2l.c (__exp2l): Likewise.
37515         * math/w_fmodl.c (__fmodl): Likewise.
37516         * math/w_hypotl.c (__hypotl): Likewise.
37517         * math/w_j0l.c (__j0l, __y0l): Likewise.
37518         * math/w_j1l.c (__j1l, __y1l): Likewise.
37519         * math/w_jnl.c (__jnl, __ynl): Likewise.
37520         * math/w_lgammal.c (__lgammal): Likewise.
37521         * math/w_log10l.c (__log10l): Likewise.
37522         * math/w_log2l.c (__log2l): Likewise.
37523         * math/w_logl.c (__logl): Likewise.
37524         * math/w_powl.c (__powl): Likewise.
37525         * math/w_remainderl.c (__remainderl): Likewise.
37526         * math/w_scalbl.c (sysv_scalbl): Likewise.
37527         * math/w_sinhl.c (__sinhl): Likewise.
37528         * math/w_sqrtl.c (__sqrtl): Likewise.
37529         * math/w_tgammal.c (__tgammal): Likewise.
37530         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37531         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37532         * math/libm-test.inc (acos_test): Add more tests.
37533         (acosh_test): Likewise.
37534         (asin_test): Likewise.
37535         (atanh_test): Likewise.
37536         (exp_test): Likewise.
37537         (exp10_test): Likewise.
37538         (exp2_test): Likewise.
37539         (expm1_test): Likewise.
37540         (lgamma_test): Likewise.
37541         (log_test): Likewise.
37542         (log10_test): Likewise.
37543         (log1p_test): Likewise.
37544         (log2_test): Likewise.
37545         (pow_test): Do not allow some spurious overflow exceptions.
37546         (sqrt_test): Add more tests.
37547         (tgamma_test): Likewise.
37548         (y0_test): Likewise.
37549         (y1_test): Likewise.
37550         (yn_test): Likewise.
37552 2012-03-27  Anton Blanchard  <anton@samba.org>
37554         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37555         MAP_HUGETLB.
37556         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37557         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37558         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37560 2012-03-27  David S. Miller  <davem@davemloft.net>
37562         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37564         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37565         have-as-vis3 check.
37567 2012-03-27  Andreas Jaeger  <aj@suse.de>
37569         * sysdeps/x86_64/elf/configure.in: Moved to ...
37570         * sysdeps/x86_64/configure.in: ... here.
37571         * sysdeps/x86_64/elf/start.S: Moved to ...
37572         * sysdeps/x86_64/start.S: ... here.
37573         * sysdeps/x86_64/elf/configure: Delete.
37575         * sysdeps/x86_64/configure.in: Merge contents from
37576         sysdeps/i386/configure.in (without i686 check).
37578         * sysdeps/i386/elf/Versions: Merge into ...
37579         * sysdeps/i386/Versions: ... this.
37580         * sysdeps/i386/elf/Versions: Delete file.
37581         * sysdeps/i386/elf/start.S: Moved to ...
37582         * sysdeps/i386/start.S: ...here.
37583         * sysdeps/i386/elf/configure.in: Merge into...
37584         * sysdeps/i386/configure.in: ...here.
37585         * sysdeps/i386/elf/configure.in: Delete file.
37586         * sysdeps/i386/elf/configure: Delete file.
37588         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37589         * debug/backtracesyms.c: ... here.
37590         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37591         * debug/backtracesymsfd.c: ... here.
37592         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37593         * sysdeps/generic/ifunc-sel.h: ... here.
37595         * sysdeps/unix/i386/start.c: Delete file.
37596         * sysdeps/unix/sparc/start.c: Delete file.
37597         * sysdeps/unix/start.c: Delete file.
37599         * sysdeps/sh/elf/configure.in: Moved to ...
37600         * sysdeps/sh/configure.in: ... here.
37601         * sysdeps/sh/elf/start.S: Moved to ...
37602         * sysdeps/sh/start.S: ... here.
37603         * sysdeps/sh/elf/configure: Delete file.
37605         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37606         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37607         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37608         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37609         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37610         * sysdeps/powerpc/powerpc64/start.S: here.
37611         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37612         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37613         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37614         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37615         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37617         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37618         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37619         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37620         * sysdeps/powerpc/powerpc32/start.S: ... here.
37621         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37622         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37623         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37625         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37626         * sysdeps/powerpc/ifunc-sel.h: ... here.
37627         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37628         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37630         * sysdeps/sparc/elf/configure.in: Moved to ...
37631         * sysdeps/sparc/configure.in: ... here.
37632         * sysdeps/sparc/elf/configure: Delete file.
37633         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37634         * sysdeps/sparc/sparc32/start.S: ... here.
37635         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37636         * sysdeps/sparc/sparc64/start.S: ... here.
37637         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37638         * sysdeps/sparc/sparc32/Makefile: ... this.
37639         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37640         * sysdeps/sparc/sparc64/Makefile: ... this.
37642         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37643         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37644         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37645         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37646         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37647         * sysdeps/s390/s390-32/setjmp.S: ... here.
37648         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37649         * sysdeps/s390/s390-32/configure.in: ... here.
37650         * sysdeps/s390/s390-32/elf/configure: Delete file.
37651         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37652         * sysdeps/s390/s390-32/start.S: ... here.
37654         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37655         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37656         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37657         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37658         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37659         * sysdeps/s390/s390-64/setjmp.S: ... here.
37660         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37661         * sysdeps/s390/s390-64/configure.in: ... here
37662         * sysdeps/s390/s390-64/elf/configure: Delete file.
37663         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37664         * sysdeps/s390/s390-64/start.S: ... here.
37665         * sysdeps/s390/s390-64/elf/configure: Delete.
37667         * configure.in: Remove support for elf directories in sysdeps.
37669         * configure: Regenerated.
37670         * sysdeps/i386/configure: Regenerated.
37671         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37672         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37673         * sysdeps/s390/s390-32/configure: Regenerated.
37674         * sysdeps/s390/s390-64/configure: Regenerated.
37675         * sysdeps/sh/configure: Regenerated.
37676         * sysdeps/sparc/configure: Regenerated.
37677         * sysdeps/x86_64/configure: Regenerated.
37679 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37683         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37684         denormal result into account.
37686 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37688         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37689         Reported by Allan McRae <allan@archlinux.org>.
37691 2012-03-23  Jeff Law  <law@redhat.com>
37693         * nss/getnssent.c (__nss_getent): Fix typo.
37695 2012-03-23  David S. Miller  <davem@davemloft.net>
37697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37699 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37701         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37702         to pad to uint64_t for each field.
37703         (dl_tls_index): Replace unsigned long with uint64_t.
37705 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37706         Paul Pluzhnikov  <ppluzhnikov@google.com>
37708         [BZ #6528]
37709         * grp/Makefile (otherlibs): Don't set it.
37710         * inet/Makefile (otherlibs): Likewise.
37711         * login/Makefile (otherlibs): Likewise.
37712         * nscd/Makefile (otherlibs): Likewise.
37713         * posix/Makefile (otherlibs): Likewise.
37714         * pwd/Makefile (otherlibs): Likewise.
37715         * rt/Makefile (otherlibs): Likewise.
37716         * sunrpc/Makefile (otherlibs): Likewise.
37717         * nss/Makefile (otherlibs): Likewise.
37718         Add libnss_files to routines and static-only-routines.
37719         ($(objpfx)getent): Remove rule.
37720         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37721         static-only-routines.
37723 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37725         [BZ #13892]
37726         * math/s_cexp.c: Include <float.h>.
37727         (__cexp): Handle exp result overflowing not necessarily
37728         overflowing both real and imaginary parts of result.
37729         * math/s_cexpf.c: Likewise.
37730         * math/s_cexpl.c: Likewise.
37731         * math/libm-test.inc (cexp_test): Add more tests.
37732         * sysdeps/i386/fpu/libm-test-ulps: Update.
37733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37735 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37737         * include/link.h (ELFW): New macro.
37738         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37739         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37741 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37743         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37744         with uint64_t.
37746 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37748         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37749         declaration.
37750         (struct La_x32_retval): Likewise.
37752 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37754         * sysdeps/x86_64/preconfigure.in: New file.
37755         * sysdeps/x86_64/preconfigure: New generated file.
37757 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37759         [BZ #13824]
37760         * math/e_exp2l.c: Include <float.h>.
37761         (__ieee754_exp2l): Handle overflow and underflow cases
37762         separately.  Only pass fractional part of argument to
37763         __ieee754_expl.
37764         * math/libm-test.inc (exp2_test): Add more tests.
37766         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37767         negating x to take absolute value.
37768         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37769         Likewise.
37770         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37771         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37772         Likewise.
37773         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37774         computing low part if x was negated.
37775         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37777 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37779         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37780         la_x32_gnu_pltexit.
37781         (pltexit): Cast int_retval to ptrdiff_t.
37782         * elf/tst-auditmod3b.c: Likewise.
37783         * elf/tst-auditmod4b.c: Likewise.
37784         * elf/tst-auditmod5b.c: Likewise.
37785         * elf/tst-auditmod6b.c: Likewise.
37786         * elf/tst-auditmod6c.c: Likewise.
37787         * elf/tst-auditmod7b.c: Likewise.
37789         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37790         and x32_gnu_pltexit.
37792         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37793         __ELF_NATIVE_CLASS.
37794         (La_x32_regs): New macro.
37795         (La_x32_retval): Likewise.
37796         (la_x32_gnu_pltenter): New function prototype.
37797         (la_x32_gnu_pltexit): Likewise.
37799 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37801         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37802         exponent.
37804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37806         * configure.in (libc_cv_cc_nofma): Check for option to disable
37807         generation of FMA instructions.
37808         * configure: Regenerate.
37809         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37810         * sysdeps/ieee754/dbl-64/Makefile: New file.
37811         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37812         Remove brandred-fma4.
37813         (CFLAGS-brandred-fma4.c): Remove.
37814         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37815         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37816         define.
37817         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37818         define.
37820 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37822         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37823         LLONG_MAX != LONG_MAX.
37824         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37825         (_fitoa_word): Likewise.
37826         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37827         LLONG_MAX != LONG_MAX.
37828         * stdio-common/_itowa.h: Include <_itoa.h>.
37829         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37830         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37831         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37832         only if not defined.
37833         (_ITOA_WORD_TYPE): Likewise.
37834         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37835         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37837 2012-03-21  David S. Miller  <davem@davemloft.net>
37839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37841 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37843         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37844         of x86_64 when setting libc_cv_slibdir, libdir and
37845         libc_cv_localedir.
37846         * sysdeps/unix/sysv/linux/configure: Regenerated.
37848 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37850         * manual/lang.texi (Old Varargs): Remove section.
37851         (How Variadic): Update menu.
37852         (va_start): Do not mention varargs.h.
37854 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37855             Joseph Myers  <joseph@codesourcery.com>
37857         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37858         link test.
37859         * configure: Regenerated.
37861 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37863         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37864         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37865         conformtest.pl
37867 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37869         * NOTES: Remove.
37870         * Makefile (files-for-dist): Remove NOTES.
37871         (NOTES): Remove rule.
37872         * README: Don't refer to NOTES.
37873         * manual/creature.texi: Don't include macros.texi.
37874         * manual/intro.texi (creature.texi): Remove comment referring to
37875         NOTES.
37877         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37878         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37879         * configure: Regenerated.
37880         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37881         LIBC_TRY_CC_OPTION.
37882         (libc_cv_as_i686): Likewise.
37883         (libc_cv_cc_avx): Likewise.
37884         (libc_cv_cc_sse2avx): Likewise.
37885         (libc_cv_cc_fma4): Likewise.
37886         (libc_cv_cc_novzeroupper): Likewise.
37887         * sysdeps/i386/configure: Regenerated.
37889         [BZ #13883]
37890         * sysdeps/i386/fpu/s_cexp.S: Remove.
37891         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37892         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37893         * math/libm-test.inc (cexp_test): Add more tests.
37894         * sysdeps/i386/fpu/libm-test-ulps: Update.
37895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37897 2012-03-21  Allan McRae  <allan@archlinux.org>
37899         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37901 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37903         [BZ #13871]
37904         * math/w_exp2.c: Do not include <float.h>.
37905         (o_threshold, u_threshold): Remove.
37906         (__exp2): Calculate result before checking finiteness and calling
37907         __kernel_standard.
37908         * math/w_exp2f.c: Likewise.
37909         * math/w_exp2l.c: Likewise.
37910         * math/libm-test.inc (exp2_test): Require overflow exception for
37911         1e6 input.
37913         [BZ #3866]
37914         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37915         range of signed 64-bit integers before using fistpll.  Remove
37916         checks for whether integers fit in mantissa bits.
37917         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37918         the range of signed 32-bit integers before using fistpl.  Remove
37919         checks for whether integers fit in mantissa bits.
37920         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37921         (__ieee754_powl): Test for y outside the range of signed 64-bit
37922         integers before using fistpll.  Reduce 64-bit values to 63-bit
37923         ones as needed.
37924         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37925         divide-by-zero is raised for zero to large negative powers.
37926         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37927         (__ieee754_powl): Test for y outside the range of signed 64-bit
37928         integers before using fistpll.  Reduce 64-bit values to 63-bit
37929         ones as needed.
37930         * math/libm-test.inc (pow_test): Add more tests.
37932 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37934         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37935         <stdio-common/_itoa.h>.
37936         * debug/segfault.c: Likewise.
37937         * elf/dl-cache.c: Likewise.
37938         * elf/dl-minimal.c: Likewise.
37939         * elf/dl-misc.c: Likewise.
37940         * elf/dl-sysdep.c: Likewise.
37941         * elf/dl-version.c: Likewise.
37942         * elf/rtld.c: Likewise.
37943         * hurd/hurdsock.c: Likewise.
37944         * hurd/lookup-retry.c: Likewise.
37945         * malloc/malloc.c: Likewise.
37946         * malloc/mtrace.c: Likewise.
37947         * nscd/nscd_getgr_r.c: Likewise.
37948         * nscd/nscd_getpw_r.c: Likewise.
37949         * nscd/nscd_getserv_r.c: Likewise.
37950         * posix/getopt_init.c: Likewise.
37951         * posix/wordexp.c: Likewise.
37952         * stdio-common/_itoa.c: Likewise.
37953         * stdio-common/printf_fphex.c: Likewise.
37954         * stdio-common/vfprintf.c: Likewise.
37955         * string/_strerror.c: Likewise.
37956         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37957         * sysdeps/i386/i686/hp-timing.h: Likewise.
37958         * sysdeps/mach/_strerror.c: Likewise.
37959         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37960         * sysdeps/mach/hurd/sethostid.c: Likewise.
37961         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37962         * sysdeps/mach/xpg-strerror.c: Likewise.
37963         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37964         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37965         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37966         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37967         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37968         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37969         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37970         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37971         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37972         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37973         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37974         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37975         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37976         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37977         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37978         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37979         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37980         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37981         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37982         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37983         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37985         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37987         * stdio-common/_itoa.h: Moved to ...
37988         * sysdeps/generic/_itoa.h: Here.
37990         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37992         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37993         instead of "_itoa.h" and "_itowa.h".
37994         * stdio-common/vfprintf.: Likewise.
37996 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37998         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37999         <bits/wordsize.h>.
38000         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38001         (__signbit): Likwise.
38002         (llrintf): Likwise.
38003         (llrint): Likwise.
38005 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38007         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38008         __WORDSIZE != 64.
38010 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38012         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38013         OVERFLOW_EXCEPTION_OK.
38014         * math/libm-test.inc ("Philosophy"): Update comment about
38015         exception testing.
38016         (OVERFLOW_EXCEPTION): Define.
38017         (OVERFLOW_EXCEPTION_OK): Likewise.
38018         (INVALID_EXCEPTION_OK): Renumber.
38019         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38020         (IGNORE_ZERO_INF_SIGN): Likewise.
38021         (test_exceptions): Handle FE_OVERFLOW.
38022         (exp10_test): Expect overflow exceptions.
38023         (exp2_test): Likewise.
38024         (expm1_test): Likewise.
38025         (nextafter_test): Likewise.
38026         (pow_test): Likewise.
38027         (scalbn_test): Likewise.
38028         (scalbln_test): Likewise.
38030 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38032         * sysdeps/x86_64/bits/atomic.h
38033         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38034         64bit integer.
38035         (atomic_exchange_acq): Likewise.
38036         (__arch_exchange_and_add_body): Likewise.
38037         (__arch_add_body): Likewise.
38038         (atomic_add_negative): Likewise.
38039         (atomic_add_zero): Likewise.
38041 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38043         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38044         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38046 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38048         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38049         Check __x86_64__ instead of __WORDSIZE.
38051 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38053         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38055 2012-03-19  David S. Miller  <davem@davemloft.net>
38057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38059         * sysdeps/sparc/fpu/fenv_private.h: New file.
38060         * sysdeps/sparc/fpu/math_private.h: Use it.
38061         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38062         Remove.
38063         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38064         (libc_feholdexcept_setroundl): Remove.
38065         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38066         Remove.
38067         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38068         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38070 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38072         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38073         int64_t instead of long int.
38074         (INSERT_WORDS64): Likwise.
38076 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38078         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38079         _Unwind_GetCFA return to _Unwind_Ptr first.
38081 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38083         [BZ #13629]
38084         * math/s_clog.c: Include <float.h>.
38085         (__clog): Scale large or subnormal inputs.
38086         * math/s_clogf.c: Likewise.
38087         * math/s_clogl.c: Likewise.
38088         * math/s_clog10.c: Include <float.h>.
38089         (M_LOG10_2): Define.
38090         (__clog10): Scale large or subnormal inputs.
38091         * math/s_clog10f.c: Likewise.
38092         * math/s_clog10l.c: Likewise.
38093         * math/libm-test.inc (clog_test): Add more tests.
38094         (clog10_test): Likewise.
38095         * sysdeps/i386/fpu/libm-test-ulps: Update.
38096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38098         [BZ #11451]
38099         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38100         x and y.
38101         * math/libm-test.inc (atan2_test): Add another test.
38103         * Makerules (common-objdir-compile): Remove.
38104         * sysdeps/unix/Makefile (config-generated): Do not add
38105         $(unix-generated) to variable.
38106         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38107         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38108         Remove rule.
38109         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38110         Likewise.
38111         [generic bits/local_lim.h] (before-compile): Do not append to
38112         variable.
38113         [generic bits/local_lim.h] (common-generated): Likewise.
38114         [generic sys/param.h] (before-compile): Do not append to variable.
38115         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38116         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38117         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38118         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38119         include.
38120         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38121         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38122         [generic sys/param.h] ($(addprefix
38123         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38124         [generic sys/param.h] (common-generated): Do not append to
38125         variable.
38126         [generic sys/param.h] (sysdep_headers): Likewise.
38127         [generic bits/errno.h] (before-compile): Do not append to
38128         variable.
38129         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38130         rule.
38131         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38132         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38133         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38134         [generic bits/errno.h] (common-generated): Do not append to
38135         variable.
38136         [generic bits/ioctls.h] (before-compile): Do not append to
38137         variable.
38138         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38139         rule.
38140         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38141         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38142         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38143         rule.
38144         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38145         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38146         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38147         [generic bits/ioctls.h] (common-generated): Do not append to
38148         variable.
38149         [generic sys/syscall.h] (syscall.h): Remove variable.
38150         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38151         rule.
38152         [generic sys/syscall.h] (before-compile): Do not append to
38153         variable.
38154         [generic sys/syscall.h] (common-generated): Likewise.
38155         * sysdeps/unix/errnos-tmpl.c: Remove file.
38156         * sysdeps/unix/errnos.awk: Likewise.
38157         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38158         * sysdeps/unix/ioctls.awk: Likewise.
38159         * sysdeps/unix/mk-local_lim.c: Likewise.
38160         * sysdeps/unix/snarf-ioctls: Likewise.
38162 2012-03-19  Richard Henderson  <rth@twiddle.net>
38164         * sysdeps/i386/fpu/fenv_private.h: New file.
38165         * sysdeps/i386/fpu/math_private.h: Use it.
38166         (math_opt_barrier, math_force_eval): Remove.
38167         (libc_feholdexcept_setround_53bit): Remove.
38168         (libc_feupdateenv_53bit): Remove.
38169         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38170         (math_opt_barrier, math_force_eval): Remove.
38171         (libc_feholdexcept): Remove.
38172         (libc_feholdexcept_setround): Remove.
38173         (libc_fetestexcept, libc_fesetenv): Remove.
38174         (libc_feupdateenv_test): Remove.
38175         (libc_feupdateenv, libc_feholdsetround): Remove.
38176         (libc_feresetround): Remove.
38178         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38179         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38181         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38182         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38183         (libc_feupdateenv_testl): New.
38184         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38185         (libc_feupdateenv_testf): New.
38186         (libc_feupdateenv): Use libc_feupdateenv_test.
38187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38188         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38190         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38191         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38192         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38193         (libc_feresetround_noex): New.
38194         (libc_feresetround_noexf): New.
38195         (libc_feresetround_noexl): New.
38196         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38197         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38198         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38199         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38200         SET_RESTORE_ROUND.
38201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38202         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38203         (__cos): Likewise.
38204         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38205         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38206         SET_RESTORE_ROUND_NOEX.
38207         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38208         SET_RESTORE_ROUND_NOEXF.
38209         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38210         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38211         (libc_feholdsetroundf): New.
38212         (libc_feresetround, libc_feresetroundf): New.
38214         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38215         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38216         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38218         * sysdeps/generic/math_private.h: Include <fenv.h>.
38219         (default_libc_feholdexcept): New.
38220         (default_libc_feholdexcept_setround): New.
38221         (default_libc_fesetenv, default_libc_feupdateenv): New.
38222         (libc_feholdexcept): Only define if undefined.
38223         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38224         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38225         (libc_feholdexcept_setroundl): Likewise.
38226         (libc_feholdexcept_setround_53bit): Likewise.
38227         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38228         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38229         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38230         (libc_feupdateenv_53bit): Likewise.
38231         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38232         (libc_feholdexcept): Convert from macro to inline function.
38233         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38234         (libc_fesetenv, libc_feupdateenv): Likewise.
38236         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38237         not previously defined.
38238         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38239         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38240         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38241         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38242         * sysdeps/ieee754/flt-32/math_private.h: New file.
38243         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38244         math_private.h below SET_FLOAT_WORD.
38245         (__isnan, __isinf_ns, __finite): Remove.
38246         (__isnanf, __isinf_nsf, __finitef): Remove.
38248 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38252 2012-03-17  David S. Miller  <davem@davemloft.net>
38254         [BZ #6471]
38255         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38256         for 2.16.
38258 2012-03-16  David S. Miller  <davem@davemloft.net>
38260         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38261         warnings.
38263         [BZ #6471]
38264         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38265         properly.
38266         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38267         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38268         sysdep_routines when subdir is sysvipc.
38269         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38270         __getshmlba helper.
38272         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38274 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38276         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38277         [__LP64__].
38279 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38281         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38282         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38283         (__lround): Renamed to ...
38284         (__llround): This.  Replace long int with long long int.
38285         Define lround functions as aliases of llround functions.
38286         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38288 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38290         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38291         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38292         adresses to uintptr_t.  Replace "long int" and "unsigned long
38293         int" with "greg_t" on va_arg.
38295 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38297         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38298         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38300         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38301         Move e_machine check before EI_CLASS check.  Handle x32
38302         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38303         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38304         SKIP_EM_IA_64 and include
38305         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38307         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38308         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38309         (add_system_dir): New macro.
38311         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38312         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38314 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38316         [BZ #2551]
38317         [BZ #2552]
38318         [BZ #2553]
38319         [BZ #2554]
38320         [BZ #2562]
38321         [BZ #2563]
38322         [BZ #2565]
38323         [BZ #2566]
38324         [BZ #2576]
38325         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38326         (y0): Likewise.
38327         * math/w_j0f.c (j0f): Likewise.
38328         (y0f): Likewise.
38329         * math/w_j0l.c (__j0l): Likewise.
38330         (__y0l): Likewise.
38331         * math/w_j1.c (j1): Likewise.
38332         (y1): Likewise.
38333         * math/w_j1f.c (j1f): Likewise.
38334         (y1f): Likewise.
38335         * math/w_j1l.c (__j1l): Likewise.
38336         (__y1l): Likewise.
38337         * math/w_jn.c (jn): Likewise.
38338         (yn): Likewise.
38339         * math/w_jnf.c (jnf): Likewise.
38340         (ynf): Likewise.
38341         * math/w_jnl.c (__jnl): Likewise.
38342         (__ynl): Likewise.
38343         * math/libm-test.inc (j0_test): Add more tests.
38344         (j1_test): Likewise.
38345         (jn_test): Likewise.  Add trailing semicolon to existing test.
38346         (y0_test): Likewise.
38347         (y1_test): Likewise.
38348         * sysdeps/i386/fpu/libm-test-ulps: Update.
38349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38351         [BZ #13851]
38352         [BZ #13854]
38353         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38354         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38355         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38356         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38357         (__tanl): Set errno for infinite argument.
38358         * sysdeps/i386/fpu/mptan.c: Remove.
38359         * sysdeps/i386/fpu/s_tan.S: Likewise.
38360         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38361         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38362         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38363         * math/libm-test.inc (tan_test): Add more tests and enable more
38364         tests for double and long double.
38365         * sysdeps/i386/fpu/libm-test-ulps: Update.
38366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38368 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38370         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38371         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38373 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38375         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38376         * configure.in: Use it for both main tree and add-ons.
38377         * configure: Regenerated.
38379 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38381         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38383 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38385         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38386         in comment.
38388         [BZ #13851]
38389         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38390         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38391         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38392         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38393         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38394         infinite argument.
38395         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38396         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38397         != 0 for prec == 2.
38398         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38399         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38400         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38401         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38402         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38403         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38404         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38405         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38406         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38407         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38408         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38409         * math/libm-test.inc (cos_test): Add more tests and enable more
38410         tests for long double.
38411         (sin_test): Likewise.
38412         (sincos_test): Likewise.
38413         * sysdeps/i386/fpu/libm-test-ulps: Update.
38414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38416 2012-03-16  David S. Miller  <davem@davemloft.net>
38418         * sysdeps/sparc/fpu/math_private.h: New file.
38420 2012-03-15  David S. Miller  <davem@davemloft.net>
38422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38423         file.
38424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38426         file.
38427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38432         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38433         sysdep routines.
38434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38436         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38437         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38439         * sysdeps/sparc/sparc-ifunc.h: New file.
38440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38441         sparc-ifunc.h
38442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38444         Likewise.
38445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38446         Likewise.
38447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38451         Likewise.
38452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38457         Likewise.
38458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38459         Likewise.
38460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38466         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38467         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38470         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38471         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38472         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38473         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38478         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38479         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38480         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38481         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38482         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38483         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38485 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38487         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38488         scaling.
38489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38491 2012-03-15  Andreas Jaeger  <aj@suse.de>
38493         [BZ #13852]
38494         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38495         ieee754/flt-32 implementation for sin, cos and sincos.
38496         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38497         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38498         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38499         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38500         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38501         ieee754/flt-32 implementation for tan.
38503         * math/libm-test.inc (cos_test): Enable some large input tests for
38504         float as well
38505         (sin_test): Likewise.
38506         (sincos_test): Likewise.
38507         (tan_test): Add tests for large input.
38509         * sysdeps/i386/fpu/libm-test-ulps: Update.
38511 2012-03-15  Andreas Jaeger  <aj@suse.de>
38513         [BZ #13658]
38514         * math/libm-test.inc (cos_test): Add more test cases.
38515         (sin_test): Likewise.
38516         (sincos_test): Likewise.
38518 2012-03-15  Andreas Jaeger  <aj@suse.de>
38520         [BZ #13837]
38521         * math/libm-test.inc (cos_test): Add a test case for large input
38522         value.
38523         (sin_test): Likewise.
38524         (sincos_test): Likewise.
38526 2012-03-15  Andreas Jaeger  <aj@suse.de>
38527             Joseph Myers  <joseph@codesourcery.com>
38529         [BZ #13658]
38530         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38531         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38532         * sysdeps/i386/fpu/branred.c: Likewise.
38533         * sysdeps/i386/fpu/dosincos.c: Likewise.
38534         * sysdeps/i386/fpu/mpa.c: Likewise.
38535         * sysdeps/i386/fpu/s_cos.S: Likewise.
38536         * sysdeps/i386/fpu/s_sin.S: Likewise.
38537         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38538         * sysdeps/i386/fpu/sincos32.c: Likewise.
38540         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38541         Define.
38542         (libc_feupdateenv_53bit): Define.
38543         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38544         Define.
38545         (libc_feupdateenv_53bit): Define.
38547         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38548         53 bit (without extend i386 double precision).
38550         * math/libm-test.inc (sincos_test): Add tests for large input.
38551         (sin): Likewise.
38552         (cos): Likewise.
38554         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38556 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38560 2012-03-15  David S. Miller  <davem@davemloft.net>
38562         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38563         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38564         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38565         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38571         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38578         file.
38579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38581         file.
38582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38584         file.
38585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38587         file.
38588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38589         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38590         fmin/fmax sysdep routines.
38591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38593 2012-03-14  David S. Miller  <davem@davemloft.net>
38595         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38596         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38598         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38599         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38600         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38601         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38602         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38603         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38605         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38608         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38610         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38611         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38615         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38616         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38617         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38618         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38619         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38620         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38621         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38622         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38623         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38624         routines.
38625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38626         file.
38627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38629         file.
38630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38632         file.
38633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38635         file.
38636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38638         file.
38639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38641         file.
38642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38643         file.
38644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38645         file.
38646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38647         file.
38648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38649         New file.
38650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38651         file.
38652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38653         file.
38654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38656         file.
38657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38659         file.
38660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38662         file.
38663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38665         VIS3 routines.
38667         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38668         New file.
38670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38672         * sysdeps/sparc/configure.in: New file.
38673         * sysdeps/sparc/configure: Generate.
38674         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38675         * configure: Regenerate.
38676         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38677         * config.make.in (have-as-vis3): New.
38678         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38679         available use -Av9d instead of -Av9a.
38680         * sysdeps/sparc/sparc64/Makefile: Likewise.
38681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38683         New file.
38684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38685         file.
38686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38687         New file.
38688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38689         file.
38690         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38691         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38692         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38693         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38694         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38696         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38697         fzeros/fnegs to load 0x80000000 into a float register instead of
38698         using the stack.
38699         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38701 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38704         bits/syscall.h.
38705         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38706         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38707         ($(inst_includedir)/bits/syscall.h): Remove rule.
38708         ($(objpfx)bits/syscall.d): Include instead of
38709         $(objpfx)syscall-list.d.
38710         (generated): Change syscall-list.h and syscall-list.d to
38711         bits/syscall.h and bits/syscall.d.
38713 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38715         [BZ #13846]
38716         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38718 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38720         [BZ #13841]
38721         * math/s_csqrt.c: Include <float.h>.
38722         (__csqrt): Scale large or subnormal inputs.
38723         * math/s_csqrtf.c: Likewise.
38724         * math/s_csqrtl.c: Likewise.
38725         * math/libm-test.inc (csqrt_test): Add more tests.
38726         * sysdeps/i386/fpu/libm-test-ulps: Update.
38727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38729         [BZ #13840]
38730         * math/libm-test.inc (hypot_test): Add more tests.
38732 2012-03-13  David S. Miller  <davem@davemloft.net>
38734         [BZ #13840]
38735         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38736         double-precision for the calculation instead of scaling.
38738 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38740         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38741         manipulate bits before adding and subtracting TWO52[sx].
38742         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38743         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38744         Likewise.
38745         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38747 2012-03-13  David S. Miller  <davem@davemloft.net>
38749         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38750         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38752         rtld-global-offsets.h
38753         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38755         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38756         large parameters.
38758         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38760         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38761         'err' in the ifdef scope in which it is actually used.
38763         * nss/nss_db/db-init.c: Include string.h
38765 2012-03-12  David S. Miller  <davem@davemloft.net>
38767         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38768         masking out of the most significant byte of random value used.
38769         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38770         Fix coding style in previous change.
38772         * sysdeps/unix/sysv/linux/kernel-features.h
38773         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38774         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38775         expression.
38776         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38777         later.
38779 2012-03-11  David S. Miller  <davem@davemloft.net>
38781         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38782         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38783         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38784         for 'resultvar' otherwise things get truncated on 64-bit.
38786         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38787         Fix masking out of the most significant byte of random value used.
38789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38791 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38795 2012-03-09  David S. Miller  <davem@davemloft.net>
38797         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38798         variables with appropriate CPP guards.
38799         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38800         from the frame pointer, not the stack pointer.  Correct layout
38801         comments.  Fix test on resulting framesize and the management of
38802         the outregs buffer for pltexit.  Preserve floating point return
38803         values across _dl_call_pltexit call.
38804         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38805         framesize and the management of the outregs buffer for pltexit.
38806         Preserve floating point return values across _dl_call_pltexit
38807         call.
38808         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38809         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38810         (la_sparc64_gnu_pltexit): New functions.
38811         (print_exit): Fix format string for return register value.
38813 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38815         * sunrpc/Makefile (others): Add rpcgen.
38816         ($(objpfx)rpcgen): Remove special build rule and dependency on
38817         libc.
38818         * sunrpc/rpcgen.c: New file.
38820 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38822         [BZ #13673]
38823         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38824         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38825         * sysdeps/i386/crti.S: Likewise.
38826         * sysdeps/i386/crtn.S: Likewise.
38827         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38828         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38829         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38830         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38831         * sysdeps/sh/crti.S: Likewise.
38832         * sysdeps/sh/crtn.S: Likewise.
38833         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38835         [BZ #13673]
38836         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38837         with URL.
38838         * locale/programs/locfile-kw.gperf: Likewise.
38839         * locale/programs/charmap-kw.h: Regenerated.
38840         * locale/programs/locfile-kw.h: Likewise.
38842         [BZ #13673]
38843         * intl/plural.y: Replace FSF snail mail address with URL.
38844         * intl/plural.c: Regenerated.
38846 2012-03-09  Richard Henderson  <rth@twiddle.net>
38848         * include/math_private.h: Remove file.
38849         * math/math_private.h: Move file ...
38850         * sysdeps/generic/math_private.h: ... here.
38852         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38853         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38854         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38856         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38857         and <math_private.h>.
38858         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38859         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38860         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38861         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38862         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38863         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38864         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38865         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38866         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38867         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38869         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38870         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38871         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38872         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38873         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38874         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38875         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38876         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38877         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38878         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38879         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38880         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38881         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38882         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38883         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38884         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38885         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38886         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38887         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38888         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38889         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38890         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38891         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38892         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38893         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38894         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38895         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38896         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38898         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38900         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38901         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38902         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38903         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38904         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38905         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38906         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38907         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38908         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38909         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38910         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38911         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38912         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38913         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38914         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38915         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38916         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38917         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38918         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38919         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38920         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38921         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38922         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38923         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38924         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38925         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38926         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38927         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38928         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38929         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38930         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38931         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38932         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38934         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38935         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38936         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38937         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38938         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38939         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38940         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38941         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38942         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38944         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38945         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38946         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38947         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38948         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38949         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38950         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38951         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38952         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38953         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38954         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38955         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38956         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38957         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38958         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38959         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38960         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38961         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38962         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38963         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38964         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38965         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38966         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38967         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38968         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38969         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38970         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38971         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38972         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38973         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38974         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38975         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38976         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38977         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38978         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38979         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38980         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38981         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38982         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38983         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38984         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38985         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38986         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38987         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38988         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38989         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38990         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38991         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38992         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38993         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38994         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38995         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38996         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38997         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38998         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38999         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39000         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39001         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39002         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39003         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39004         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39005         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39006         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39007         * sysdeps/ieee754/k_standard.c: Likewise.
39008         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39011         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39012         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39013         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39014         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39015         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39016         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39017         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39018         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39019         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39020         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39021         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39022         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39023         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39024         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39025         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39026         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39028         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39031         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39032         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39033         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39034         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39035         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39036         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39037         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39038         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39039         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39040         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39041         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39042         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39043         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39044         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39045         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39047         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39048         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39050         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39052         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39053         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39054         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39055         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39056         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39057         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39058         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39059         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39060         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39061         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39062         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39063         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39064         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39065         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39066         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39067         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39068         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39069         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39070         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39071         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39072         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39073         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39074         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39075         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39076         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39077         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39078         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39079         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39080         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39081         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39082         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39083         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39084         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39085         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39086         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39087         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39088         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39089         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39090         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39091         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39092         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39093         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39094         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39095         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39096         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39097         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39098         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39099         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39100         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39101         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39102         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39103         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39104         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39105         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39106         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39107         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39108         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39109         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39110         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39111         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39112         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39113         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39114         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39115         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39116         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39117         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39118         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39119         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39120         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39121         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39122         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39123         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39124         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39125         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39126         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39127         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39128         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39129         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39130         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39131         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39132         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39133         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39134         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39135         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39136         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39137         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39138         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39139         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39140         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39141         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39142         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39143         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39144         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39145         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39146         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39147         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39148         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39149         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39150         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39151         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39152         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39153         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39154         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39155         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39156         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39157         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39158         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39159         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39160         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39161         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39162         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39163         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39164         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39165         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39166         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39167         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39168         * sysdeps/ieee754/s_lib_version.c: Likewise.
39169         * sysdeps/ieee754/s_matherr.c: Likewise.
39170         * sysdeps/ieee754/s_signgam.c: Likewise.
39171         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39172         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39173         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39174         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39175         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39176         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39177         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39178         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39179         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39180         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39181         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39182         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39183         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39184         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39185         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39186         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39187         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39188         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39189         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39190         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39191         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39193 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39195         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39196         * sunrpc/rpc_main.c: Likewise.
39197         * sunrpc/rpc_svcout.c: Likewise.
39199 2012-03-09  David S. Miller  <davem@davemloft.net>
39201         * include/math_private.h: New file.
39203 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39205         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39206         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39207         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39208         from <bits/socket_type.h>.
39209         (enum __socket_type): Don't define here.
39210         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39212         bits/socket_type.h.
39214         [BZ #13566]
39215         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39216         checking __USE_GNU.
39218         * Makerules ($(inst_includedir)/%.h): New rule.
39219         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39220         (install-others): Remove variable setting.
39221         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39223 2012-03-08  Richard Henderson  <rth@twiddle.net>
39225         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39226         from macro to inline function; merge with the
39227         !__LIBC_INTERNAL_MATH_INLINES version.
39228         (__ieee754_sqrtf): Likewise.
39230         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39231         to inline function.
39232         (__rintf, __floor, __floorf): Likewise.
39234         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39235         macro to inline function.
39236         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39238         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39239         not <math/math_private.h>.
39241 2012-03-08  David S. Miller  <davem@davemloft.net>
39243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39244         copyright year.
39245         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39247 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39249         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39250         normalization.
39251         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39252         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39254 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39256         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39257         be defined individually, they must be defined as a block.  Define
39258         S for printing a string instead of hidint the different by using a
39259         macro for adding the 'l'.
39260         * stdio-common/tst-fphex-wide.c: Adjust.
39262 2012-03-07  Marek Polacek  <polacek@redhat.com>
39264         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39266 2012-03-08  Marek Polacek  <polacek@redhat.com>
39268         [BZ #13806]
39269         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39270         * stdio-common/tst-fphex.c: Define a few macros to make the
39271         test reusable.  Use them.
39272         * stdio-common/tst-fphex-wide.c: New file.
39274 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39276         [BZ #6911]
39277         * manual/macros.texi (gnusystems): New macro.
39278         (nongnusystems): Likewise.
39279         (gnulinuxhurdsystems): Likewise.
39280         (gnuhurdsystems): Likewise..
39281         (gnulinuxsystems): Likewise.
39282         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39283         variants of the GNU system, not "GNU system".
39284         * manual/conf.texi: Likewise.
39285         * manual/errno.texi: Likewise.  Update example of errno macro
39286         expansion.
39287         * manual/filesys.texi: Likewise.
39288         (getumask): Document as specific to GNU/Hurd.
39289         * manual/install.texi: Likewise.  Reword some references to
39290         GNU/Linux.
39291         * manual/intro.texi: Likewise.
39292         * manual/io.texi: Likewise.
39293         (File Name Portability): Detail which constraints are inapplicable
39294         to all GNU systems and which are only inapplicable to GNU/Hurd.
39295         * manual/job.texi: Likewise.
39296         * manual/llio.texi: Likewise.
39297         (O_NOCTTY): Document as present on GNU/Linux.
39298         * manual/maint.texi: Likewise.
39299         * manual/memory.texi: Likewise.
39300         * manual/pattern.texi: Likewise.
39301         * manual/pipe.texi: Likewise.
39302         * manual/process.texi: Likewise.
39303         * manual/resource.texi: Likewise.
39304         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39305         child on GNU/Hurd.
39306         * manual/setjmp.texi: Likewise.
39307         * manual/signal.texi: Likewise.
39308         * manual/startup.texi: Likewise.
39309         * manual/stdio.texi: Likewise.
39310         * manual/terminal.texi: Likewise.
39311         (ONLCR): Document as POSIX.
39312         (OXTABS): Document availability on GNU/Linux as XTABS.
39313         (ONOEOT): Document availability separately from other bits.
39314         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39315         * manual/time.texi: Likewise.
39316         * manual/users.texi: Likewise.
39317         * INSTALL: Regenerated.
39318         * sysdeps/gnu/errlist.c: Regenerated.
39320         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39321         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39322         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39323         puts.
39324         * configure: Regenerated.
39326 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39328         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39329         default includes instead of AC_HEADER_CHECK.
39330         * sysdeps/i386/configure: Regenerated.
39332         [BZ #10716]
39333         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39334         * math/s_cacoshf.c (__cacoshf): Likewise.
39335         * math/s_cacoshl.c (__cacoshl): Likewise.
39336         * math/s_casinh.c (__casinh): Set signs of result from argument.
39337         * math/s_casinhf.c (__casinhf): Likewise.
39338         * math/s_casinhl.c (__casinhl): Likewise.
39339         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39340         (casinh_test): Add more tests.
39341         * sysdeps/i386/fpu/libm-test-ulps: Update.
39342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39344 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39346         * po/zh_TW.po: Update from translation team.
39348         * login/Makefile (distribute): Remove variable.
39349         * catgets/Makefile: Likewise.
39350         * mach/Makefile: Likewise.
39351         * malloc/Makefile: Likewise.
39352         * misc/Makefile: Likewise.
39353         * iconv/Makefile: Likewise.
39354         * nscd/Makefile: Likewise.
39355         * hurd/Makefile: Likewise.
39356         * manual/Makefile: Likewise.
39357         * locale/Makefile: Likewise.
39358         * intl/Makefile: Likewise.
39359         * conform/Makefile: Likewise.
39360         * nss/Makefile: Likewise.
39361         * time/Makefile: Likewise.
39362         * soft-fp/Makefile: Likewise.
39363         * dirent/Makefile: Likewise.
39364         * gmon/Makefile: Likewise.
39365         * po/Makefile: Likewise.
39366         * rt/Makefile: Likewise.
39367         * socket/Makefile: Likewise.
39368         * math/Makefile: Likewise.
39369         * signal/Makefile: Likewise.
39370         * debug/Makefile: Likewise.
39371         * elf/Makefile: Likewise.
39372         * timezone/Makefile: Likewise.
39373         * stdlib/Makefile: Likewise.
39374         * iconvdata/Makefile: Likewise.
39375         * sunrpc/Makefile: Likewise.
39376         * io/Makefile: Likewise.
39377         * argp/Makefile: Likewise.
39378         * inet/Makefile: Likewise.
39379         * hesiod/Makefile: Likewise.
39380         * grp/Makefile: Likewise.
39381         * csu/Makefile: Likewise.
39382         * wctype/Makefile: Likewise.
39383         * crypt/Makefile: Likewise.
39384         * libio/Makefile: Likewise.
39385         * string/Makefile: Likewise.
39386         * nis/Makefile: Likewise.
39387         * resolv/Makefile: Likewise.
39388         * stdio-common/Makefile: Likewise.
39389         * wcsmbs/Makefile: Likewise.
39390         * dlfcn/Makefile: Likewise.
39391         * posix/Makefile: Likewise.
39393         [BZ #6959]
39394         * timezone/Makefile: Don't install timezone files, just the programs
39395         and scripts.
39397 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39399         * nss/databases.def: Add missing gshadow entry.
39401         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39403 2012-03-06  Marek Polacek  <polacek@redhat.com>
39405         [BZ #13726]
39406         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39407         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39408         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39409         * stdio-common/tst-long-dbl-fphex.c: New file.
39411 2012-03-06  David S. Miller  <davem@davemloft.net>
39413         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39414         (set_obp_int): New function.
39415         (get_obp_int): New function.
39416         (__get_clockfreq_via_dev_openprom): Likewise.
39417         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39418         Avoid unused variable warnings on 'val' and use builtin_expect.
39419         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39420         __builtin_expect.
39421         (INLINE_CLONE_SYSCALL): Likewise.
39423 2012-03-05  David S. Miller  <davem@davemloft.net>
39425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39427 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39431         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39432         only for |x| >= 40.
39433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39435 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39437         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39438         Replace gettimeofday with __vdso_gettimeofday.
39440         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39441         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39442         __vdso_clock_gettime and __vdso_getcpu.
39444         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39445         time with __vdso_time.
39447 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39449         * manual/lang.texi (size_t): Note types to which size_t may be
39450         equivalent with the GNU C Library, but do not describe when
39451         differences between them are significant.
39453 2012-03-05  Andreas Jaeger  <aj@suse.de>
39455         * sysdeps/i386/fpu/libm-test-ulps: Update.
39457 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39459         [BZ #3976]
39460         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39461         (__ieee754_pow): Save and restore rounding mode and use
39462         round-to-nearest for main computations.
39463         * math/libm-test.inc (pow_test_tonearest): New function.
39464         (pow_test_towardzero): Likewise.
39465         (pow_test_downward): Likewise.
39466         (pow_test_upward): Likewise.
39467         (main): Call the new functions.
39468         * sysdeps/i386/fpu/libm-test-ulps: Update.
39469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39471         [BZ #3976]
39472         * math/libm-test.inc (cosh_test_tonearest): New function.
39473         (cosh_test_towardzero): Likewise.
39474         (cosh_test_downward): Likewise.
39475         (cosh_test_upward): Likewise.
39476         (sinh_test_tonearest): Likewise.
39477         (sinh_test_towardzero): Likewise.
39478         (sinh_test_downward): Likewise.
39479         (sinh_test_upward): Likewise.
39480         (main): Call the new functions.
39481         * sysdeps/i386/fpu/libm-test-ulps: Update.
39482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39484 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39486         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39487         default stack guard is set in last bytes.
39488         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39490 2012-03-05  Kees Cook  <keescook@chromium.org>
39492         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39494         [BZ #13656]
39495         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39496         possibly allocate from heap instead of stack.
39497         * stdio-common/bug-vfprintf-nargs.c: New file.
39498         * stdio-common/Makefile (tests): Add nargs overflow test.
39500 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39504 2012-03-03  Marek Polacek  <polacek@redhat.com>
39506         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39507         * math/math_private.h: Likewise.
39508         * stdlib/tst-strtod.c: Likewise.
39509         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39510         * sysdeps/x86_64/bits/atomic.h: Likewise.
39512 2012-03-02  David S. Miller  <davem@davemloft.net>
39514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39518         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39519         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39520         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39521         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39523 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39525         [BZ #13792]
39526         * manual/examples/README: New file, says the example source files
39527         can be used under GPL>=2.
39528         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39529         line containing just "*/".
39530         * manual/examples/add.c: Add copyright header (GPL>=2).
39531         * manual/examples/argp-ex1.c: Likewise.
39532         * manual/examples/argp-ex2.c: Likewise.
39533         * manual/examples/argp-ex3.c: Likewise.
39534         * manual/examples/argp-ex4.c: Likewise.
39535         * manual/examples/atexit.c: Likewise.
39536         * manual/examples/db.c: Likewise.
39537         * manual/examples/dir.c: Likewise.
39538         * manual/examples/dir2.c: Likewise.
39539         * manual/examples/execinfo.c: Likewise.
39540         * manual/examples/filecli.c: Likewise.
39541         * manual/examples/filesrv.c: Likewise.
39542         * manual/examples/fmtmsgexpl.c: Likewise.
39543         * manual/examples/genpass.c: Likewise.
39544         * manual/examples/inetcli.c: Likewise.
39545         * manual/examples/inetsrv.c: Likewise.
39546         * manual/examples/isockad.c: Likewise.
39547         * manual/examples/longopt.c: Likewise.
39548         * manual/examples/memopen.c: Likewise.
39549         * manual/examples/memstrm.c: Likewise.
39550         * manual/examples/mkfsock.c: Likewise.
39551         * manual/examples/mkisock.c: Likewise.
39552         * manual/examples/mygetpass.c: Likewise.
39553         * manual/examples/pipe.c: Likewise.
39554         * manual/examples/popen.c: Likewise.
39555         * manual/examples/rprintf.c: Likewise.
39556         * manual/examples/search.c: Likewise.
39557         * manual/examples/select.c: Likewise.
39558         * manual/examples/setjmp.c: Likewise.
39559         * manual/examples/sigh1.c: Likewise.
39560         * manual/examples/sigusr.c: Likewise.
39561         * manual/examples/stpcpy.c: Likewise.
39562         * manual/examples/strdupa.c: Likewise.
39563         * manual/examples/strftim.c: Likewise.
39564         * manual/examples/strncat.c: Likewise.
39565         * manual/examples/subopt.c: Likewise.
39566         * manual/examples/swapcontext.c: Likewise.
39567         * manual/examples/termios.c: Likewise.
39568         * manual/examples/testopt.c: Likewise.
39569         * manual/examples/testpass.c: Likewise.
39570         * manual/examples/timeval_subtract.c: Likewise.
39572         [BZ #13792]
39573         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39574         function to ...
39575         * manual/timeval_subtract.c.texi: ... here, new file.
39577 2012-03-02  David S. Miller  <davem@davemloft.net>
39579         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39581 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39583         [BZ #3976]
39584         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39585         (__sin): Save and restore rounding mode and use round-to-nearest
39586         for all computations.
39587         (__cos): Save and restore rounding mode and use round-to-nearest
39588         for all computations.
39589         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39590         <fenv.h>.
39591         (tan): Save and restore rounding mode and use round-to-nearest for
39592         all computations.
39593         * math/libm-test.inc (cos_test_tonearest): New function.
39594         (cos_test_towardzero): Likewise.
39595         (cos_test_downward): Likewise.
39596         (cos_test_upward): Likewise.
39597         (sin_test_tonearest): Likewise.
39598         (sin_test_towardzero): Likewise.
39599         (sin_test_downward): Likewise.
39600         (sin_test_upward): Likewise.
39601         (tan_test_tonearest): Likewise.
39602         (tan_test_towardzero): Likewise.
39603         (tan_test_downward): Likewise.
39604         (tan_test_upward): Likewise.
39605         (main): Call the new functions.
39606         * sysdeps/i386/fpu/libm-test-ulps: Update.
39607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39609         [BZ #10135]
39610         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39611         small n, then large n, before computing and testing k+n.
39612         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39614         Likewise.
39615         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39616         Likewise.
39617         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39618         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39619         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39620         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39621         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39622         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39623         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39624         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39625         * math/libm-test.inc (scalbn_test): Add more tests.
39626         (scalbln_test): Likewise.
39628         * manual/filesys.texi (mode_t): Describe constraints on size and
39629         signedness, not exact equivalence to a particular type.
39630         (ino_t): Likewise.
39631         (ino64_t): Likewise.
39632         (dev_t): Likewise.
39633         (nlink_t): Likewise.
39634         (blkcnt_t): Likewise.
39635         (blkcnt64_t): Likewise.
39636         * manual/llio.texi (off_t): Likewise.
39638         [BZ #3976]
39639         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39640         (__ieee754_exp): Save and restore rounding mode and use
39641         round-to-nearest for all computations.
39642         * math/libm-test.inc (exp_test_tonearest): New function.
39643         (exp_test_towardzero): Likewise.
39644         (exp_test_downward): Likewise.
39645         (exp_test_upward): Likewise.
39646         (main): Call the new functions.
39647         * sysdeps/i386/fpu/libm-test-ulps: Update.
39648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39650 2012-03-01  Chris Demetriou  <cgd@google.com>
39652         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39653         have predictable order.
39655 2012-03-01  David S. Miller  <davem@davemloft.net>
39657         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39659         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39660         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39661         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39662         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39664         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39665         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39666         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39668         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39669         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39670         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39671         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39672         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39676         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39677         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39678         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39680         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39681         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39682         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39683         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39684         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39685         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39686         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39687         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39688         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39689         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39690         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39691         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39692         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39693         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39694         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39696         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39697         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39698         * sysdeps/sparc/elf/configure: Regenerated.
39700 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39702         * configure.in (AS, LD): Require binutils 2.20 or later.
39703         * configure: Regenerated.
39704         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39705         as required minimum version.
39706         * INSTALL: Regenerated.
39708         [BZ #2541]
39709         [BZ #4108]
39710         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39711         before squaring exponent.
39712         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39713         bottom long double and 27 bits of top long double before squaring
39714         exponent.
39715         * math/libm-test.inc (erfc_test): Add more tests.
39716         * sysdeps/i386/fpu/libm-test-ulps: Update.
39717         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39720 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39722         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39723         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39724         containing bit-fields.
39725         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39726         * soft-fp/single.h (_FP_UNION_S): Likewise.
39727         * soft-fp/double.h (_FP_UNION_D): Likewise.
39729 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39731         [BZ #13786]
39732         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39733         not include ../strcmp.S.
39734         [USE_AS_STRNCASECMP_L]: Likewise.
39735         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39736         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39737         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39738         (__strncasecmp_l_ia32): Define as alias to
39739         __strncasecmp_l_nonascii.
39741         [BZ #5794]
39742         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39743         * sysdeps/i386/fpu/libm-test-ulps: Update.
39744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39746         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39749 2012-02-29  Jeff Law  <law@redhat.com>
39751         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39752         out of bounds read.
39754 2012-02-29  Marek Polacek  <polacek@redhat.com>
39756         [BZ #13706]
39757         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39758         * elf/Makefile: Add rules to run tst-unused-dep.out.
39760 2012-02-28  David S. Miller  <davem@davemloft.net>
39762         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39763         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39764         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39765         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39766         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39767         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39769 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39771         * math/libm-test.inc (llround_test): Move one test from
39772         lround_test.  Use TEST_f_L in moved test.
39773         (lround_test): Move misplaced test to llround_test.  Add testcase
39774         from bug 2561.
39776 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39778         * sysdeps/x86_64/fpu/e_expf.S: New file.
39779         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39781 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39783         [BZ #13637]
39784         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39785         of remain_len that may cause incomplete multi-byte character and
39786         false match.
39787         * posix/bug-regex33.c: New file.
39788         * posix/Makefile (tests): Add bug-regex33.
39790 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39792         * manual/macros.texi: New file.
39793         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39794         * manual/libc.texinfo: Include macros.texi.
39795         * manual/creatute.texi: Likewise.
39796         * manual/install.texi: Likewise.
39797         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39798         @glibcadj{} in references to the GNU C Library.
39799         * manual/charset.texi: Likewise.
39800         * manual/conf.texi: Likewise.
39801         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39802         when not using those macros.
39803         * manual/creature.texi: Likewise.
39804         * manual/crypt.texi: Likewise.
39805         * manual/errno.texi: Likewise.
39806         * manual/filesys.texi: Likewise.
39807         * manual/header.texi: Likewise.
39808         * manual/install.texi: Likewise.
39809         * manual/intro.texi: Likewise.
39810         * manual/io.texi: Likewise.
39811         * manual/job.texi: Likewise.
39812         * manual/lang.texi: Likewise.
39813         * manual/libc.texiinfo: Likewise.
39814         * manual/llio.texi: Likewise.
39815         * manual/locale.texi: Likewise.
39816         * manual/maint.texi: Likewise.
39817         * manual/math.texi: Likewise.
39818         * manual/memory.texi: Likewise.
39819         * manual/message.texi: Likewise.
39820         * manual/nss.texi: Likewise.
39821         * manual/pattern.texi: Likewise.
39822         * manual/process.texi: Likewise.
39823         * manual/resource.texi: Likewise.
39824         * manual/search.texi: Likewise.
39825         * manual/setjmp.texi: Likewise.
39826         * manual/signal.texi: Likewise.
39827         * manual/socket.texi: Likewise.
39828         * manual/startup.texi: Likewise.
39829         * manual/stdio.texi: Likewise.
39830         * manual/string.texi: Likewise.
39831         * manual/sysinfo.texi: Likewise.
39832         * manual/syslog.texi: Likewise.
39833         * manual/terminal.texi: Likewise.
39834         * manual/time.texi: Likewise.
39835         * manual/users.texi: Likewise.
39836         * INSTALL: Regenerated.
39837         * NOTES: Regenerated.
39838         * sysdeps/gnu/errlist.c: Regenerated.
39840 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39842         * include/dirent.h: Include <dirstream.h> before
39843         <dirent/dirent.h>.
39845 2012-02-28  David S. Miller  <davem@davemloft.net>
39847         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39848         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39849         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39850         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39852 2012-02-27  David S. Miller  <davem@davemloft.net>
39854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39856         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39857         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39860         frame pointer instead of stack pointer relative arg slot.
39861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39862         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39863         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39865 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39867         [BZ #3992]
39868         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39870 2012-02-27  David S. Miller  <davem@davemloft.net>
39872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39876         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39877         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39878         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39879         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39881 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39883         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39884         later.  Allow versions 5-9.
39885         * configure: Regenerated.
39886         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39887         required minimum version and 4.6 as recommended version.  Do not
39888         mention bugs in GCC 2.7 and 2.8.
39889         * INSTALL: Regenerated.
39891 2012-02-27  David S. Miller  <davem@davemloft.net>
39893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39897         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39898         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39899         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39900         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39902         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39903         manipulate bits before adding and subtracting TWO112[sx].
39904         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39906 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39908         [BZ #13775]
39909         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39910         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39911         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39912         being in POSIX, because they are in 1003.1-2008.
39914         * rt/tst-aio.c: Include <fcntl.h>.
39915         * rt/tst-aio7.c: Likewise.
39916         * rt/tst-aio64.c: Likewise.
39918         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39920 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39922         * manual/install.texi (--with-headers): Describe headers as
39923         interface headers, not private headers.
39924         (Specific advice for GNU/Linux systems): Describe use of headers
39925         from "make headers_install", not private headers from older
39926         kernels.
39927         * INSTALL: Regenerated.
39928         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39929         Change to 2.6.19.
39930         * sysdeps/unix/sysv/linux/configure: Regenerated.
39932         * manual/llio.texi (fclean): Remove documentation.
39934         * manual/Makefile (libc-texi-generated): New variable.  Include
39935         version.texi.
39936         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39937         $(libc-texi-generated), not duplicated list of files.
39938         (version.texi, stamp-version): New rules.
39939         (realclean): Remove $(libc-texi-generated), not individual files
39940         from that list.  Do not remove dir-add.texinfo.
39941         * manual/libc.texinfo: Comment out uses of edition numbers and
39942         references to printed manual.  Remove last-updated dates.
39943         (EDITION): Comment out.
39944         (ISBN): Likewise.
39945         (VERSION, UPDATED): Remove.
39946         (version.texi): Include.
39948 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39950         * sysdeps/posix/spawni.c: Include <signal.h>.
39951         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39952         * sysdeps/pthread/aio_fsync.c: Likewise.
39954 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39956         * conform/Makefile (tests): Run only when not cross-compiling and
39957         when fast-check is not defined.
39959         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39960         * conform/data/limits.h-data: Fixes for POSIX2008.
39961         * conform/run-conformtest.sh: Run all tests.
39962         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39963         headers.
39964         * include/bits/dlfcn.h: Likewise.
39965         * include/langinfo.h: Likewise.
39966         * include/monetary.h: Likewise.
39967         * include/sys/poll.h: Likewise.
39969         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39970         for __USE_GNU.
39971         * posix/spawn.h: Define __need_sigset_t.
39972         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39973         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39974         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39975         to get sigevent_t only.
39976         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39977         only for __USE_GNU.
39978         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39979         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39980         process_vm_writev only for __USE_GNU.
39981         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39983         * conform/Makefile: For now ignore errors from run-conformtest.
39984         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39985         POSIX to avoid namespace pollution.  Don't prepend headers.
39986         * conform/data/aio.h-data: Fixes for POSIX testing.
39987         * conform/data/fcntl.h-data: Likewise.
39988         * conform/data/glob.h-data: Likewise.
39989         * conform/data/grp.h-data: Likewise.
39990         * conform/data/pthread.h-data: Likewise.
39991         * conform/data/pwd.h-data: Likewise.
39992         * conform/data/signal.h-data: Likewise.
39993         * conform/data/spawn.h-data: Likewise.
39994         * conform/data/stdio.h-data: Likewise.
39995         * conform/data/stdlib.h-data: Likewise.
39996         * conform/data/stropts.h-data: Likewise.
39997         * conform/data/sys/mman.h-data: Likewise.
39998         * conform/data/sys/stat.h-data: Likewise.
39999         * conform/data/sys/types.h-data: Likewise.
40000         * conform/data/sys/wait.h-data: Likewise.
40001         * conform/data/time.h-data: Likewise.
40002         * conform/data/unistd.h-data: Likewise.
40003         * conform/data/utime.h-data: Likewise.
40005         * io/sys/stat.h: fchmod was always in POSIX.
40006         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40007         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40008         * rt/aio.h: Define __need_timespec before including <time.h>.
40009         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40010         struct.  Add forward declaration of pthread_attr_t and use it in
40011         sigevent.
40012         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40013         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40014         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40015         always remove CLK_TCK definition.
40017 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40019         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40021 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40023         * conform/run-conformtest.sh: New file.
40024         * conform/Makefile: Run run-conformtest for tests.
40025         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40026         support.
40028         * conform/data/uchar.h-data: New file.
40029         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40030         * conform/data/arpa/inet.h-data: Likewise.
40031         * conform/data/assert.h-data: Likewise.
40032         * conform/data/complex.h-data: Likewise.
40033         * conform/data/cpio.h-data: Likewise.
40034         * conform/data/ctype.h-data: Likewise.
40035         * conform/data/dirent.h-data: Likewise.
40036         * conform/data/dlfcn.h-data: Likewise.
40037         * conform/data/errno.h-data: Likewise.
40038         * conform/data/fcntl.h-data: Likewise.
40039         * conform/data/float.h-data: Likewise.
40040         * conform/data/fmtmsg.h-data: Likewise.
40041         * conform/data/fnmatch.h-data: Likewise.
40042         * conform/data/ftw.h-data: Likewise.
40043         * conform/data/glob.h-data: Likewise.
40044         * conform/data/grp.h-data: Likewise.
40045         * conform/data/iconv.h-data: Likewise.
40046         * conform/data/inttypes.h-data: Likewise.
40047         * conform/data/langinfo.h-data: Likewise.
40048         * conform/data/libgen.h-data: Likewise.
40049         * conform/data/limits.h-data: Likewise.
40050         * conform/data/locale.h-data: Likewise.
40051         * conform/data/math.h-data: Likewise.
40052         * conform/data/monetary.h-data: Likewise.
40053         * conform/data/mqueue.h-data: Likewise.
40054         * conform/data/ndbm.h-data: Likewise.
40055         * conform/data/net/if.h-data: Likewise.
40056         * conform/data/netdb.h-data: Likewise.
40057         * conform/data/netinet/in.h-data: Likewise.
40058         * conform/data/nl_types.h-data: Likewise.
40059         * conform/data/poll.h-data: Likewise.
40060         * conform/data/pthread.h-data: Likewise.
40061         * conform/data/pwd.h-data: Likewise.
40062         * conform/data/regex.h-data: Likewise.
40063         * conform/data/sched.h-data: Likewise.
40064         * conform/data/search.h-data: Likewise.
40065         * conform/data/semaphore.h-data: Likewise.
40066         * conform/data/setjmp.h-data: Likewise.
40067         * conform/data/signal.h-data: Likewise.
40068         * conform/data/spawn.h-data: Likewise.
40069         * conform/data/stdarg.h-data: Likewise.
40070         * conform/data/stdio.h-data: Likewise.
40071         * conform/data/stdlib.h-data: Likewise.
40072         * conform/data/string.h-data: Likewise.
40073         * conform/data/strings.h-data: Likewise.
40074         * conform/data/stropts.h-data: Likewise.
40075         * conform/data/sys/ipc.h-data: Likewise.
40076         * conform/data/sys/mman.h-data: Likewise.
40077         * conform/data/sys/msg.h-data: Likewise.
40078         * conform/data/sys/resource.h-data: Likewise.
40079         * conform/data/sys/select.h-data: Likewise.
40080         * conform/data/sys/sem.h-data: Likewise.
40081         * conform/data/sys/shm.h-data: Likewise.
40082         * conform/data/sys/socket.h-data: Likewise.
40083         * conform/data/sys/stat.h-data: Likewise.
40084         * conform/data/sys/statvfs.h-data: Likewise.
40085         * conform/data/sys/time.h-data: Likewise.
40086         * conform/data/sys/timeb.h-data: Likewise.
40087         * conform/data/sys/times.h-data: Likewise.
40088         * conform/data/sys/types.h-data: Likewise.
40089         * conform/data/sys/uio.h-data: Likewise.
40090         * conform/data/sys/un.h-data: Likewise.
40091         * conform/data/sys/utsname.h-data: Likewise.
40092         * conform/data/sys/wait.h-data: Likewise.
40093         * conform/data/syslog.h-data: Likewise.
40094         * conform/data/tar.h-data: Likewise.
40095         * conform/data/termios.h-data: Likewise.
40096         * conform/data/utime.h-data: Likewise.
40097         * conform/data/utmpx.h-data: Likewise.
40098         * conform/data/varargs.h-data: Likewise.
40099         * conform/data/wchar.h-data: Likewise.
40100         * conform/data/wctype.h-data: Likewise.
40101         * conform/data/wordexp.h-data: Likewise.
40103         * include/stropts.h: New file.
40104         * include/uchar.h: New file.
40105         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40106         * include/assert.h: Likewise.
40107         * include/ctype.h: Likewise.
40108         * include/dirent.h: Likewise.
40109         * include/dlfcn.h: Likewise.
40110         * include/fcntl.h: Likewise.
40111         * include/fnmatch.h: Likewise.
40112         * include/glob.h: Likewise.
40113         * include/grp.h: Likewise.
40114         * include/libio.h: Likewise.
40115         * include/locale.h: Likewise.
40116         * include/math.h: Likewise.
40117         * include/net/if.h: Likewise.
40118         * include/netdb.h: Likewise.
40119         * include/netinet/in.h: Likewise.
40120         * include/pthread.h: Likewise.
40121         * include/pwd.h: Likewise.
40122         * include/regex.h: Likewise.
40123         * include/sched.h: Likewise.
40124         * include/search.h: Likewise.
40125         * include/setjmp.h: Likewise.
40126         * include/signal.h: Likewise.
40127         * include/stdio.h: Likewise.
40128         * include/stdlib.h: Likewise.
40129         * include/string.h: Likewise.
40130         * include/sys/cdefs.h: Likewise.
40131         * include/sys/mman.h: Likewise.
40132         * include/sys/msg.h: Likewise.
40133         * include/sys/resource.h: Likewise.
40134         * include/sys/select.h: Likewise.
40135         * include/sys/socket.h: Likewise.
40136         * include/sys/stat.h: Likewise.
40137         * include/sys/statvfs.h: Likewise.
40138         * include/sys/time.h: Likewise.
40139         * include/sys/times.h: Likewise.
40140         * include/sys/uio.h: Likewise.
40141         * include/sys/utsname.h: Likewise.
40142         * include/sys/wait.h: Likewise.
40143         * include/termios.h: Likewise.
40144         * include/time.h: Likewise.
40145         * include/ulimit.h: Likewise.
40146         * include/unistd.h: Likewise.
40147         * include/utime.h: Likewise.
40148         * include/wchar.h: Likewise.
40149         * include/wctype.h: Likewise.
40150         * include/wordexp.h: Likewise.
40152         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40154         * time/time.h: TIME_UTC must be a macro.
40155         Make timespec_get available for ISO C11 only as well.
40157 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40159         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40160         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40162 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40164         * configure.in: Use -o not -a in test for unsupported multi-arch.
40166 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40168         * manual/texinfo.tex: Update to version 2012-01-19.16.
40170 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40172         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40174 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40176         [BZ #13738]
40177         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40178         * manual/fdl-1.3.texi: New file.
40179         * manual/fdl-1.1.texi: File removed.
40181         [BZ #13738]
40182         * manual/libc.texinfo (FDL_VERSION): New @set.
40183         Use it for mention of FDL in cover text.
40184         (Documentation License): Use it in @include file name.
40186 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40187             Roland McGrath  <roland@hack.frob.com>
40189         [BZ #5461]
40190         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40191         (not LONG_LONG_MAX and LONG_LONG_MIN.
40192         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40193         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40194         name.
40195         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40197 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40199         [BZ #2547]
40200         [BZ #11365]
40201         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40202         manipulate bits before adding and subtracting TWO23[sx].
40203         * math/libm-test.inc (nearbyint_test): Add more tests.
40205 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40207         [BZ #2548]
40208         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40209         bits before adding and subtracting TWO23[sx].
40210         * math/libm-test.inc (rint_test): Add more tests.
40211         (rint_test_tonearest): Likewise.
40212         (rint_test_towardzero): Likewise.
40213         (rint_test_downward): Likewise.
40214         (rint_test_upward: Likewise.
40216 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40218         [BZ #10110]
40219         * include/stdc-predef.h: New file.  Extracted from features.h.
40220         * include/features.h: Include stdc-predef.h.
40221         * Makefile (headers): Add stdc-predef.h.
40222         * CONFORMANCE (Compiler limitations): Update.
40224 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40226         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40228 2012-02-21  David S. Miller  <davem@davemloft.net>
40230         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40231         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40233 2012-02-20  David S. Miller  <davem@davemloft.net>
40235         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40236         using a normal save/restore sequence, rather than allocating a
40237         dummy stack frame just to store a frame pointer and restore.
40238         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40240 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40242         * manual/install.texi: Fix stray word in line-wrapped comment.
40244 2012-02-20  David S. Miller  <davem@davemloft.net>
40246         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40247         both binutils and gcc support GOTDATA.
40249         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40250         "rd %pc" in the PIC register setup sequences.
40252         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40253         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40254         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40255         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40256         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40257         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40258         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40259         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40261         (SYSCALL_ERROR_HANDLER): Likewise.
40262         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40263         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40264         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40265         (SYSCALL_ERROR_HANDLER): Likewise.
40267         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40268         (HAVE_GCC_GOTDATA): New.
40269         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40270         relocation support in both binutils and gcc.
40271         * sysdeps/sparc/elf/configure: Regenerate.
40273         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40274         * sysdeps/sparc/sparc32/elf/configure: Delete.
40275         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40276         * sysdeps/sparc/sparc64/elf/configure: Delete.
40277         * sysdeps/sparc/elf/configure.in: New file.
40278         * sysdeps/sparc/elf/configure: Generate.
40280         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40281         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40282         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40283         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40284         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40286 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40288         * manual/install.texi: Do not mention specific glibc version
40289         numbers.
40290         * manual/libc.texinfo (VERSION, UPDATED): Update.
40291         (@copying): Use @copyright{} and range of years.
40293 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40295         [BZ #13695]
40296         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40297         [crti.S not in sysdirs] (generated): Do not append.
40298         [crti.S not in sysdirs] (omit-deps): Likewise.
40299         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40300         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40301         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40302         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40303         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40304         Likewise.
40305         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40306         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40307         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40308         * csu/defs.awk: Remove file.
40309         * sysdeps/generic/initfini.c: Likewise.
40310         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40311         variable.
40312         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40313         Likewise.
40315 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40317         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40318         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40319         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40320         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40321         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40322         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40323         <bits/epoll.h>.
40324         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40325         (__EPOLL_PACKED): Define to empty if not defined by
40326         <bits/epoll.h>.
40327         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40329         bits/epoll.h.
40331 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40333         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40334         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40335         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40336         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40337         <bits/timerfd.h>.
40338         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40340         bits/timerfd.h.
40342 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40344         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40345         in C locale.
40346         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40347         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40348         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40351 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40354         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40356 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40358         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40359         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40360         defined.
40361         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40362         Likewise.
40363         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40364         entry for 2.16.
40366 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40368         * math/w_acos.c: Use non-signaling floating-point comparisons.
40369         * math/w_acosf.c: Likewise.
40370         * math/w_acosh.c: Likewise.
40371         * math/w_acoshf.c: Likewise.
40372         * math/w_acoshl.c: Likewise.
40373         * math/w_acosl.c: Likewise.
40374         * math/w_asin.c: Likewise.
40375         * math/w_asinf.c: Likewise.
40376         * math/w_asinl.c: Likewise.
40377         * math/w_atanh.c: Likewise.
40378         * math/w_atanhf.c: Likewise.
40379         * math/w_atanhl.c: Likewise.
40380         * math/w_exp2.c: Likewise.
40381         * math/w_exp2f.c: Likewise.
40382         * math/w_exp2l.c: Likewise.
40383         * math/w_j0.c: Likewise.
40384         * math/w_j0f.c: Likewise.
40385         * math/w_j0l.c: Likewise.
40386         * math/w_j1.c: Likewise.
40387         * math/w_j1f.c: Likewise.
40388         * math/w_j1l.c: Likewise.
40389         * math/w_jn.c: Likewise.
40390         * math/w_jnf.c: Likewise.
40391         * math/w_log.c: Likewise.
40392         * math/w_log10.c: Likewise.
40393         * math/w_log10f.c: Likewise.
40394         * math/w_log10l.c: Likewise.
40395         * math/w_log2.c: Likewise.
40396         * math/w_log2f.c: Likewise.
40397         * math/w_log2l.c: Likewise.
40398         * math/w_logf.c: Likewise.
40399         * math/w_logl.c: Likewise.
40400         * math/w_sqrt.c: Likewise.
40401         * math/w_sqrtf.c: Likewise.
40402         * math/w_sqrtl.c: Likewise.
40403         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40404         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40405         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40406         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40407         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40409 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40411         [BZ #9739]
40412         * manual/string.texi (strnlen): Use correct parameter name in
40413         equivalent expression.
40415 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40417         [BZ #11174]
40418         * manual/users.texi (seteuid): Consistently use neweuid for
40419         argument name.
40421 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40423         [BZ #13704]
40424         * manual/nss.texi (Services in the NSS configuration): Correct
40425         list of services in example configuration file.
40427 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40429         [BZ #11322]
40430         * manual/arith.texi: Remove statements about negative zero
40431         behaving identically to zero.
40433 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40435         [BZ #5993]
40436         * manual/install.texi: Do not document upgrading from libc5.
40438 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40440         [BZ #4596]
40441         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40443 2012-02-18  David S. Miller  <davem@davemloft.net>
40445         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40446         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40447         %o7 across the call.
40448         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40449         instead.
40450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40451         SETUP_PIC_REG_LEAF.
40452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40453         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40454         * sysdeps/sparc/crtn.S: Likewise.
40456 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40458         * aout/Makefile: Remove.
40460 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40462         [BZ #13058]
40463         * manual/examples/argp-ex1.c (main): Format definition in GNU
40464         style.
40465         * manual/examples/argp-ex2.c (main): Likewise.
40466         * manual/examples/argp-ex3.c (main): Likewise.
40467         * manual/examples/argp-ex4.c (main): Likewise.
40468         * manual/examples/longopt.c (main): Use new-style prototype
40469         definition.
40470         * manual/examples/strncat.c (main): Specify return type and use
40471         (void) for arguments.
40472         * manual/examples/subopt.c (main): Use char **argv argument.
40474 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40476         [BZ #5077]
40477         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40478         rounding modes.
40480 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40482         [BZ #6907]
40483         * manual/string.texi (strchr): Change when strchrnul is
40484         recommended.
40486 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40488         [BZ #174]
40489         * manual/locale.texi (setlocale): Document LOCPATH.
40491 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40493         [BZ #10210]
40494         * manual/process.texi (execle): Move @dots{} before last argument.
40496 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40498         [BZ #12047]
40499         * manual/charset.texi (Generic Charset Conversion): Fix typo
40500         (LC_TYPE -> LC_CTYPE).
40502 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40504         [BZ #5805]
40505         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40506         (scalbnf): Likewise.
40507         (scalbnl): Likewise.
40508         (scalbln): Likewise.
40509         (scalblnf): Likewise.
40510         (scalblnl): Likewise.
40511         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40512         (vwarnx): Likewise.
40513         (verr): Likewise.
40514         (verrx): Likewise.
40515         * manual/filesys.texi (telldir): Use braces around return type.
40516         * manual/llio.texi (mmap): Add space after comma.
40517         (mmap64): Likewise.
40518         * manual/math.texi (jn): Use @var{} on parameter names.
40519         (jnf): Likewise.
40520         (jnl): Likewise.
40521         (yn): Likewise.
40522         (ynf): Likewise.
40523         (ynl): Likewise.
40524         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40525         line.
40526         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40527         "...".
40528         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40529         (sched_get_priority_max): Likewise.
40530         * manual/signal.texi (sigvec): Add space after comma.
40531         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40532         names.
40533         (if_indextoname): Likewise.
40534         (if_freenameindex): Likewise.
40535         (sendto): Use ',' instead of '.' in prototype.
40536         * manual/startup.texi (syscall): Use @dots{} instead of literal
40537         "...".
40538         * manual/stdio.texi (__fpending): Separate initial words of
40539         paragraph from @deftypefun line.
40540         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40541         "...".
40542         (vsyslog): Use @var{} on parameter names.
40543         * manual/terminal.texi (stty): Use @var{} on parameter names.
40544         * manual/users.texi (getutmp): Use @var{} on parameter names.
40545         (getutmpx): Likewise.
40547 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40549         [BZ #6884]
40550         * manual/stdio.texi (fopen): Fix typos in description of
40551         ",ccs=STRING".
40553 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40555         [BZ #4026]
40556         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40557         get clock_id definition.
40559 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40561         [BZ #4822]
40562         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40563         (madvise): Cast every argument to void on its own.
40565 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40567         [BZ #9902]
40568         * manual/startup.texi (Exit Status): Fix typo.
40570 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40572         [BZ #10140]
40573         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40574         * manual/examples/argp-ex2.c: Likewise.
40575         * manual/examples/argp-ex3.c: Likewise.
40577 2012-02-16  Richard Henderson  <rth@redhat.com>
40579         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40580         * sysdeps/s390/s390-32/initfini.c: Remove.
40581         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40582         * sysdeps/s390/s390-64/initfini.c: Remove.
40584 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40586         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40587         compiler output for sysdeps/generic/initfini.c.
40588         * sysdeps/sh/elf/initfini.c: Remove file.
40590 2012-02-16  David S. Miller  <davem@davemloft.net>
40592         [BZ #11494]
40593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40595         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40596         * sysdeps/sparc/crti.S: New file.
40597         * sysdeps/sparc/crtn.S: New file.
40598         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40599         * sysdeps/sparc/sparc64/Makefile: Likewise.
40601 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40603         [BZ #3335]
40604         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40606 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40608         [BZ #4822]
40609         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40611         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40612         (write, read, close): Likewise.
40613         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40615 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40617         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40618         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40619         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40620         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40621         <bits/signalfd.h>.
40622         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40623         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40624         bits/signalfd.h.
40626 2012-02-14  Marek Polacek  <polacek@redhat.com>
40628         * sysdeps/x86_64/crti.S: New file.
40629         * sysdeps/x86_64/crtn.S: New file.
40630         * sysdeps/x86_64/elf/initfini.c: Remove file.
40632 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40634         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40635         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40636         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40637         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40638         <bits/inotify.h>.
40639         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40641         bits/inotify.h.
40643 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40645         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40646         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40647         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40648         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40649         <bits/eventfd.h>.
40650         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40652         bits/eventfd.h.
40654 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40656         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40657         __feraiseexcept instead of feraiseexcept.
40659         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40660         nanosleep invocations.
40661         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40662         strings, and add error checking for a nanosleep invocations.
40664 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40666         Replace FSF snail mail address with URLs, as per GNU coding standards.
40667         Most of the snail mail addresses were wrong anyway, and omitting
40668         them makes the source code easier to maintain.  Almost all of the
40669         changes are to license notices and to locale LC_IDENTIFICATION
40670         addresses, except for this one:
40671         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40672         not its snail mail address.
40674 2012-02-09  Richard Henderson  <rth@twiddle.net>
40676         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40677         of kernel-features.h.
40679         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40681 2012-02-08  Marek Polacek  <polacek@redhat.com>
40683         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40684         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40685         * sysdeps/gnu/_G_config.h: Likewise.
40686         * sysdeps/generic/_G_config.h: Likewise.
40688 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40690         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40691         tests.
40692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40694         * sysdeps/powerpc/powerpc32/crti.S: New file.
40695         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40696         * sysdeps/powerpc/powerpc64/crti.S: New file.
40697         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40699         * Makeconfig (have-initfini): Don't set.
40700         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40701         * configure.in (nopic_initfini): Don't substitute.
40702         * config.h.in (HAVE_INITFINI): Don't #undef.
40703         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40704         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40706 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40708         Support crti.S and crtn.S provided directly by architectures.
40709         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40710         [crti.S in sysdirs] (omit-deps): Likewise.
40711         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40712         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40713         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40714         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40715         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40716         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40717         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40718         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40719         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40720         compiler output for sysdeps/generic/initfini.c.
40721         * sysdeps/i386/elf/Makefile: Remove file.
40722         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40724 2012-02-07  Marek Polacek  <polacek@redhat.com>
40726         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40727         * sysdeps/gnu/_G_config.h: Likewise.
40728         * sysdeps/mach/hurd/_G_config.h: Likewise.
40730 2012-02-07  Marek Polacek  <polacek@redhat.com>
40732         * math/Makefile (tests): Add tst-CMPLX2.
40733         * math/tst-CMPLX2.c: New file.
40735 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40737         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40739         * math/libm-test.inc (jn_test): Add missing L suffix.
40741 2012-02-06  Marek Polacek  <polacek@redhat.com>
40743         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40744         * sysdeps/i386/fpu/e_powf.S: Likewise.
40745         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40746         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40747         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40748         * sysdeps/i386/fpu/e_pow.S: Likewise.
40749         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40750         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40751         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40752         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40753         * sysdeps/i386/fpu/e_log2.S: Likewise.
40754         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40755         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40756         * sysdeps/i386/fpu/e_powl.S: Likewise.
40757         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40758         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40759         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40760         * sysdeps/i386/fpu/e_logl.S: Likewise.
40761         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40762         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40763         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40764         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40765         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40766         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40767         * sysdeps/i386/fpu/e_log.S: Likewise.
40768         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40769         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40770         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40771         * sysdeps/i386/fpu/e_logf.S: Likewise.
40772         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40773         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40774         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40775         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40776         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40777         * sysdeps/i386/fpu/e_log10.S: Likewise.
40778         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40779         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40780         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40781         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40782         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40783         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40784         * sysdeps/i386/asm-syntax.h: Likewise.
40785         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40786         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40787         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40788         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40789         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40790         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40791         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40792         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40793         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40794         * sysdeps/powerpc/sysdep.h: Likewise.
40795         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40796         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40798 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40800         [BZ #411]
40801         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40803 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40805         * sysdeps/i386/sysdep.h: Include <features.h>.
40806         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40807         version.
40809 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40811         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40812         Define.
40813         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40814         LOAD_PIC_REG_STR.
40816 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40818         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40819         (SETUP_PIC_REG): Use GET_PC_THUNK.
40820         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40821         macro.
40823 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40825         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40826         for non-PIC compilation.
40827         (SETUP_PIC_REG): Add .p2align directive.
40828         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40829         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40830         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40831         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40832         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40833         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40834         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40835         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40836         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40837         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40838         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40839         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40840         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40841         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40842         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40843         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40844         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40845         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40846         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40847         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40848         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40849         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40850         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40851         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40852         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40853         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40854         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40855         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40856         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40857         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40858         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40859         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40860         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40861         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40862         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40863         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40864         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40865         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40866         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40867         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40868         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40870 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40872         * math/tst-CMPLX.c: Include <stdio.h>.
40874 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40876         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40877         float.
40878         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40879         * sysdeps/sparc/bits/mathdef.h: Likewise.
40881 2012-01-31  Marek Polacek  <polacek@redhat.com>
40883         * libio/libio.h: Don't define _PARAMS.
40884         * locale/programs/config.h: Don't define PARAMS.
40885         * stdlib/strtol_l.c: Likewise.
40886         (__strtol_l): Remove PARAMS from the prototype.
40888 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40890         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40891         names.  Just use the correct names.  Remove unnecessary wrapper
40892         functions.
40893         * malloc/arena.c: Likewise.
40894         * malloc/hooks.c: Likewise.
40896         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40897         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40898         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40900 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40902         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40903         into tail calls.
40904         (update_get_addr): New function.
40905         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40906         GET_ADDR_MODULE parameter.
40908 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40910         * crypt/cert.c: Remove __STDC__ conditionals.
40911         * crypt/crypt-entry.c: Likewise.
40912         * crypt/crypt_util.c: Likewise.
40913         * libio/filedoalloc.c: Likewise.
40914         * libio/fileops.c: Likewise.
40915         * libio/genops.c: Likewise.
40916         * libio/iofclose.c: Likewise.
40917         * libio/iofdopen.c: Likewise.
40918         * libio/iofopen.c: Likewise.
40919         * libio/iofopen64.c: Likewise.
40920         * libio/iogetdelim.c: Likewise.
40921         * libio/iopopen.c: Likewise.
40922         * libio/obprintf.c: Likewise.
40923         * libio/oldfileops.c: Likewise.
40924         * libio/oldiofclose.c: Likewise.
40925         * libio/oldiofdopen.c: Likewise.
40926         * libio/oldiofopen.c: Likewise.
40927         * libio/oldiopopen.c: Likewise.
40928         * libio/wfiledoalloc.c: Likewise.
40929         * libio/wgenops.c: Likewise.
40930         * locale/programs/xmalloc.c: Likewise.
40931         * misc/syslog.c: Likewise.
40932         * stdio-common/xbug.c: Likewise.
40933         * string/memchr.c: Likewise.
40934         * string/memcmp.c: Likewise.
40935         * string/memrchr.c: Likewise.
40936         * string/rawmemchr.c: Likewise.
40937         * sysdeps/posix/getcwd.c: Likewise.
40938         * time/strftime_l.c: Likewise.
40940 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40942         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40943         * config.make.in (config-cflags-sse2avx): Define.
40944         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40945         Fix typo.
40947 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40949         * scripts/config.guess: Update from upstream config git repository.
40950         * scripts/config.sub: Likewise.
40952 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40954         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40955         (EM_NUM): Update.
40956         (R_TILEPRO_*, R_TILEGX_*): New macros.
40958         * scripts/firstversions.awk: Fix bug in version range handling.
40960         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40962         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40964         * include/sys/epoll.h: New file.
40965         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40966         libc_hidden_def.
40968 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40970         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40971         Avoid unnecessary __WORDSIZE == 64 test.
40972         (fmaxf): Use VEX format if possible.
40973         (fmax): Likewise.
40974         (fminf): Likewise.
40975         (fmin): Likewise.
40977         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40978         * math/math_private.h: Remove libc_fegetround* and
40979         libc_fesetround*.
40980         * sysdeps/i386/configure.in: Check for -msse2avx.
40981         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40982         also if SSE2AVX is defined.
40983         Remove libc_fegetround* and libc_fesetround*.
40984         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40985         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40986         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40987         of HAS_YMM_USABLE.
40988         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40989         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40990         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40991         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40992         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40994         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40996 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40998         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40999         size is not set.
41000         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41002 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41004         [BZ #13618]
41005         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41006         relocation.
41007         * Makeconfig (libm): Define.
41008         * elf/Makefile: Add rules to build and run tst-relsort1.
41009         * elf/tst-relsort1.c: New file.
41010         * elf/tst-relsort1mod1.c: New file.
41011         * elf/tst-relsort1mod2.c: New file.
41013 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41015         * math/s_ldexp.c: Remove __STDC__ conditionals.
41016         * math/s_ldexpf.c: Likewise.
41017         * math/s_ldexpl.c: Likewise.
41018         * math/s_nextafter.c: Likewise.
41019         * math/s_nexttowardf.c: Likewise.
41020         * math/s_significand.c: Likewise.
41021         * math/s_significandf.c: Likewise.
41022         * math/s_significandl.c: Likewise.
41023         * math/w_jnl.c: Likewise.
41024         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41025         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41026         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41027         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41028         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41029         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41030         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41031         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41032         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41033         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41034         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41035         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41036         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41037         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41038         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41039         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41040         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41041         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41042         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41043         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41044         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41045         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41046         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41047         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41048         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41049         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41050         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41051         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41052         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41053         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41054         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41055         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41056         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41057         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41058         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41059         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41060         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41061         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41062         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41063         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41064         * sysdeps/ieee754/k_standard.c: Likewise.
41065         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41067         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41068         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41069         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41070         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41072         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41074         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41076         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41078         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41079         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41080         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41081         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41082         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41083         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41084         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41085         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41086         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41087         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41089         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41090         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41091         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41093         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41094         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41095         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41096         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41097         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41098         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41099         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41102         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41103         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41104         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41105         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41106         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41107         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41108         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41109         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41110         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41111         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41112         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41113         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41114         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41116         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41117         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41118         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41119         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41120         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41121         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41122         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41123         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41124         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41125         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41126         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41127         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41128         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41129         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41130         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41131         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41132         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41133         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41134         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41135         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41136         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41137         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41138         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41139         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41140         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41141         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41142         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41143         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41144         * sysdeps/ieee754/s_matherr.c: Likewise.
41145         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41146         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41147         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41148         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41150 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41152         * crypt/md5.h: Remove __STDC__ conditionals.
41153         * libio/libioP.h: Likewise.
41154         * locale/programs/config.h: Likewise.
41155         * sysdeps/generic/sysdep.h: Likewise.
41156         * sysdeps/i386/asm-syntax.h: Likewise.
41157         * sysdeps/s390/asm-syntax.h: Likewise.
41158         * sysdeps/unix/sysdep.h: Likewise.
41159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41162 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41164         * libio/libio.h: Remove __STDC__ conditionals.
41165         * malloc/obstack.h: Likewise.
41166         * math/complex.h: Likewise.
41167         * math/math.h: Likewise.
41168         * sysdeps/generic/_G_config.h: Likewise.
41169         * sysdeps/gnu/_G_config.h: Likewise.
41170         * sysdeps/mach/hurd/_G_config.h: Likewise.
41171         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41172         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41173         * sysdeps/sparc/bits/mathdef.h: Likewise.
41175 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41177         [BZ #13583]
41178         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41179         Clean up HAS_* macros.
41180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41181         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41182         possible.
41183         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41184         HAS_AVX.
41185         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41186         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41187         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41188         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41189         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41191 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41193         * elf/tst-unique3.cc (gets): Remove declaration.
41194         * elf/tst-unique3lib.cc (gets): Likewise.
41195         * elf/tst-unique3lib2.cc (gets): Likewise.
41196         * elf/tst-unique4.cc (gets): Likewise.
41198 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41200         * include/stdio.h: Add C++ protection.  Add gets declarations and
41201         definitions.
41202         * debug/tst-chk1.c: Don't declare gets here.
41203         * stdio-common/tst-gets.c: Likewise.
41205 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41207         * posix/glob: Remove directory.
41209 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41211         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41213 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41215         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41216         of the non-standard EPFNOSUPPORT.
41218 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41220         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41221         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41222         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41224 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41226         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41228 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41230         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41231         transient errors.
41232         * nscd/grpcache.c (cache_addgr): Likewise.
41233         * nscd/hstcache.c (cache_addhst): Likewise.
41234         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41235         * nscd/pwdcache.c (cache_addpw): Likewise.
41236         * nscd/servicescache.c (cache_addserv): Likewise.
41238 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41240         * malloc/malloc.c: Various cleanups.
41241         * malloc/hooks.c: Likewise.
41243         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41244         * stdlib/bug-fmtmsg1.c: New file.
41246         * stdlib/fmtmsg.c (init): Add missing unlock.
41247         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41249 2012-01-12  Marek Polacek  <polacek@redhat.com>
41251         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41252         and _GNU_SOURCE.
41254 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41256         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41257         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41258         macro to ensure uniqueness of label name.
41259         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41260         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41262 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41264         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41266         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41267         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41268         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41269         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41271 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41273         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41275         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41276         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41277         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41279         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41281         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41282         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41283         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41284         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41286         * math/bits/math-finite.h: Add ldexp support.
41288 2012-01-10  Marek Polacek  <polacek@redhat.com>
41290         * locale/programs/localedef.h (show_archive_content): Add noreturn
41291         attribute.
41293 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41295         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41297 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41299         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41301         * io/Makefile (headers): Add bits/poll2.h.
41303 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41306         typo #include statement.
41308 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41310         * include/sys/cdefs.h: Define __attribute_alloc_size.
41311         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41312         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41313         * elf/pldd.c: Likewise.
41314         * iconv/iconv_charmap.c: Likewise.
41315         * iconv/iconvconfig.c: Likewise.
41316         * iconv/strtab.c: Likewise.
41317         * locale/programs/locale.c: Likewise.
41318         * locale/programs/localedef.h: Likewise.
41319         * locale/programs/simple-hash.c: Likewise.
41320         * nscd/nscd.h: Likewise.
41321         * nss/makedb.c: Likewise.
41322         * sysdeps/generic/ldconfig.h: Likewise.
41323         * locale/programs/localedef.c: Remove xmalloc prototype.
41324         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41326 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41328         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41329         appropriate.
41331 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41333         * math/Makefile (tests): Add tst-CMPLX.
41334         * math/tst-CMPLX.c: New file.
41336         * math/complex.h (CMPLXL): Fix typo.
41338         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41339         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41340         GLIBC_2.16.
41341         * debug/tst-chk1.c: Add poll and ppoll tests.
41342         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41343         * include/sys/poll.h: Add hidden proto for ppoll.
41344         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41345         * sysdeps/mach/hurd/ppoll.c: Likewise.
41346         * io/ppoll.c: Likewise.
41347         * debug/poll_chk.c: New file.
41348         * debug/ppoll_chk.c: New file.
41349         * include/bits/poll2.h: New file.
41350         * io/bits/poll2.h: New file.
41352         [BZ #1350]
41353         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41355         * configure.in: static is always set to yes.  Remove.
41356         * config.make.in: Don't set build-static.
41357         * Makeconfig: Remove use of build-static.
41358         * dlfcn/Makefile: Likewise.
41359         * elf/Makefile: Likewise.
41360         * math/Makefile: Likewise.
41361         * misc/Makefile: Likewise.
41362         * nptl/Makefile: Likewise.
41363         * sysdeps/mach/hurd/Makefile: Likewise.
41365         * configure.in: PWD_P is not used anymore.
41366         * config.make.in: Remove PWD_P entry.
41368         * configure.in: Remove last remnants of RANLIB.
41369         No need to check for signed size_t anymore.
41370         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41371         and IA-64.
41372         Remove __builtin_expect test because we require at least gcc 3.4.
41373         * aclocal.m4: Likewise.
41375         * wcsmbs/mbrtoc16.c: Implement using towc function.
41376         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41377         * wcsmbs/wcsmbsload.c: Likewise.
41378         * iconv/gconv_simple.c: Likewise.
41379         * iconv/gconv_int.h: Likewise.
41380         * iconv/gconv_builtin.h: Likewise.
41381         * iconv/iconv_prog.c: Remove CHAR16 handling.
41383         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41385         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41387         * configure.in: Remove --with-elf and --enable-bounded options.
41388         Dont set base_machine for ia64.  More non-ELF conditions removed.
41389         Remove testing and setting of leading underscore information.
41390         * config.make.in (build-bounded): Set to no.
41391         * config.h.in: Remove NO_UNDERSCORES entry.
41392         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41393         them.
41394         * csu/start.c: Remove !NO_UNDERSCORE code.
41395         * locale/localeinfo.h: Likewise.
41396         * sysdeps/generic/machine-gmon.h: Likewise.
41397         * sysdeps/generic/sysdep.h: Likewise.
41398         * sysdeps/i386/sysdep.h: Likewise.
41399         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41400         * sysdeps/mach/sysdep.h: Likewise.
41401         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41402         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41403         * sysdeps/sh/sysdep.h: Likewise.
41404         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41405         * sysdeps/unix/i386/sysdep.S: Likewise.
41406         * sysdeps/unix/sparc/start.c: Likewise.
41407         * sysdeps/unix/sparc/sysdep.S: Likewise.
41408         * sysdeps/unix/sparc/sysdep.h: Likewise.
41409         * sysdeps/unix/start.c: Likewise.
41410         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41411         * sysdeps/x86_64/sysdep.h: Likewise.
41413 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41415         [BZ #13553]
41416         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41417         for non-gcc.
41418         * argp/argp-fmtstream.h: Use const instead __const.
41419         * argp/argp.h: Likewise.
41420         * assert/assert.h: Likewise.
41421         * bits/fenv.h: Likewise.
41422         * bits/sched.h: Likewise.
41423         * bits/sigset.h: Likewise.
41424         * bits/sigthread.h: Likewise.
41425         * catgets/nl_types.h: Likewise.
41426         * conform/data/pthread.h-data: Likewise.
41427         * crypt/crypt-private.h: Likewise.
41428         * crypt/crypt.h: Likewise.
41429         * crypt/crypt_util.c: Likewise.
41430         * ctype/ctype.h: Likewise.
41431         * debug/execinfo.h: Likewise.
41432         * debug/mbsnrtowcs_chk.c: Likewise.
41433         * debug/mbsrtowcs_chk.c: Likewise.
41434         * debug/wcsnrtombs_chk.c: Likewise.
41435         * debug/wcsrtombs_chk.c: Likewise.
41436         * debug/wcstombs_chk.c: Likewise.
41437         * dirent/dirent.h: Likewise.
41438         * dlfcn/dlfcn.h: Likewise.
41439         * elf/neededtest4.c: Likewise.
41440         * grp/grp.h: Likewise.
41441         * gshadow/gshadow.h: Likewise.
41442         * iconv/gconv.h: Likewise.
41443         * iconv/gconv_int.h: Likewise.
41444         * iconv/gconv_simple.c: Likewise.
41445         * iconv/iconv.h: Likewise.
41446         * iconv/loop.c: Likewise.
41447         * iconv/skeleton.c: Likewise.
41448         * include/aio.h: Likewise.
41449         * include/aliases.h: Likewise.
41450         * include/argz.h: Likewise.
41451         * include/arpa/inet.h: Likewise.
41452         * include/assert.h: Likewise.
41453         * include/dirent.h: Likewise.
41454         * include/dlfcn.h: Likewise.
41455         * include/execinfo.h: Likewise.
41456         * include/fcntl.h: Likewise.
41457         * include/fenv.h: Likewise.
41458         * include/glob.h: Likewise.
41459         * include/grp.h: Likewise.
41460         * include/libintl.h: Likewise.
41461         * include/mntent.h: Likewise.
41462         * include/netdb.h: Likewise.
41463         * include/pwd.h: Likewise.
41464         * include/rpc/netdb.h: Likewise.
41465         * include/sched.h: Likewise.
41466         * include/search.h: Likewise.
41467         * include/shadow.h: Likewise.
41468         * include/signal.h: Likewise.
41469         * include/stdio.h: Likewise.
41470         * include/stdlib.h: Likewise.
41471         * include/string.h: Likewise.
41472         * include/sys/socket.h: Likewise.
41473         * include/sys/stat.h: Likewise.
41474         * include/sys/statfs.h: Likewise.
41475         * include/sys/statvfs.h: Likewise.
41476         * include/sys/syslog.h: Likewise.
41477         * include/sys/time.h: Likewise.
41478         * include/sys/uio.h: Likewise.
41479         * include/time.h: Likewise.
41480         * include/unistd.h: Likewise.
41481         * include/utmp.h: Likewise.
41482         * include/wchar.h: Likewise.
41483         * include/wctype.h: Likewise.
41484         * inet/aliases.h: Likewise.
41485         * inet/arpa/inet.h: Likewise.
41486         * inet/netinet/ether.h: Likewise.
41487         * inet/netinet/in.h: Likewise.
41488         * intl/libintl.h: Likewise.
41489         * io/bits/fcntl2.h: Likewise.
41490         * io/fcntl.h: Likewise.
41491         * io/ftw.h: Likewise.
41492         * io/sys/poll.h: Likewise.
41493         * io/sys/stat.h: Likewise.
41494         * io/sys/statfs.h: Likewise.
41495         * io/sys/statvfs.h: Likewise.
41496         * io/utime.h: Likewise.
41497         * libio/bits/stdio.h: Likewise.
41498         * libio/bits/stdio2.h: Likewise.
41499         * libio/libio.h: Likewise.
41500         * libio/libioP.h: Likewise.
41501         * libio/stdio.h: Likewise.
41502         * locale/lc-ctype.c: Likewise.
41503         * locale/locale.h: Likewise.
41504         * login/utmp.h: Likewise.
41505         * malloc/arena.c: Likewise.
41506         * malloc/malloc.c: Likewise.
41507         * malloc/malloc.h: Likewise.
41508         * malloc/mcheck.c: Likewise.
41509         * malloc/mtrace.c: Likewise.
41510         * math/bits/mathcalls.h: Likewise.
41511         * math/fenv.h: Likewise.
41512         * math/math_private.h: Likewise.
41513         * misc/bits/error.h: Likewise.
41514         * misc/bits/syslog.h: Likewise.
41515         * misc/err.h: Likewise.
41516         * misc/error.h: Likewise.
41517         * misc/fstab.h: Likewise.
41518         * misc/mntent.h: Likewise.
41519         * misc/regexp.h: Likewise.
41520         * misc/search.h: Likewise.
41521         * misc/sgtty.h: Likewise.
41522         * misc/sys/mman.h: Likewise.
41523         * misc/sys/syslog.h: Likewise.
41524         * misc/sys/uio.h: Likewise.
41525         * misc/sys/xattr.h: Likewise.
41526         * misc/ttyent.h: Likewise.
41527         * nis/rpcsvc/ypclnt.h: Likewise.
41528         * nss/nss.h: Likewise.
41529         * posix/bits/unistd.h: Likewise.
41530         * posix/fnmatch.h: Likewise.
41531         * posix/glob.h: Likewise.
41532         * posix/sched.h: Likewise.
41533         * posix/spawn.h: Likewise.
41534         * posix/sys/wait.h: Likewise.
41535         * posix/unistd.h: Likewise.
41536         * posix/wordexp.h: Likewise.
41537         * pwd/pwd.h: Likewise.
41538         * resolv/netdb.h: Likewise.
41539         * resource/sys/resource.h: Likewise.
41540         * rt/aio.h: Likewise.
41541         * rt/bits/mqueue2.h: Likewise.
41542         * rt/mqueue.h: Likewise.
41543         * shadow/shadow.h: Likewise.
41544         * signal/signal.h: Likewise.
41545         * socket/send.c: Likewise.
41546         * socket/sendto.c: Likewise.
41547         * socket/sys/socket.h: Likewise.
41548         * stdio-common/printf.h: Likewise.
41549         * stdlib/bits/stdlib.h: Likewise.
41550         * stdlib/fmtmsg.h: Likewise.
41551         * stdlib/monetary.h: Likewise.
41552         * stdlib/stdlib.h: Likewise.
41553         * stdlib/ucontext.h: Likewise.
41554         * streams/stropts.h: Likewise.
41555         * string/argz.h: Likewise.
41556         * string/bits/string2.h: Likewise.
41557         * string/string.h: Likewise.
41558         * string/strings.h: Likewise.
41559         * sunrpc/rpc/auth.h: Likewise.
41560         * sunrpc/rpc/auth_des.h: Likewise.
41561         * sunrpc/rpc/clnt.h: Likewise.
41562         * sunrpc/rpc/netdb.h: Likewise.
41563         * sunrpc/rpc/pmap_clnt.h: Likewise.
41564         * sunrpc/rpc/xdr.h: Likewise.
41565         * sysdeps/generic/inttypes.h: Likewise.
41566         * sysdeps/generic/net/if.h: Likewise.
41567         * sysdeps/generic/sys/swap.h: Likewise.
41568         * sysdeps/gnu/net/if.h: Likewise.
41569         * sysdeps/gnu/utmpx.h: Likewise.
41570         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41571         * sysdeps/i386/i486/bits/string.h: Likewise.
41572         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41573         * sysdeps/s390/bits/string.h: Likewise.
41574         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41575         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41576         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41577         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41578         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41579         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41580         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41581         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41582         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41583         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41584         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41585         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41586         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41587         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41588         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41589         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41590         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41591         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41592         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41593         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41594         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41595         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41596         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41597         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41598         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41599         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41600         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41601         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41602         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41603         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41604         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41605         * sysvipc/sys/ipc.h: Likewise.
41606         * sysvipc/sys/msg.h: Likewise.
41607         * sysvipc/sys/sem.h: Likewise.
41608         * sysvipc/sys/shm.h: Likewise.
41609         * termios/termios.h: Likewise.
41610         * time/sys/time.h: Likewise.
41611         * time/time.h: Likewise.
41612         * wcsmbs/bits/wchar2.h: Likewise.
41613         * wcsmbs/uchar.h: Likewise.
41614         * wcsmbs/wchar.h: Likewise.
41615         * wctype/wctype.h: Likewise.
41617         [BZ #13551]
41618         * Makeconfig: Remove all but ELF support including AIX support.
41619         * Makerules: Likewise.
41620         * config.h.in: Likewise.
41621         * config.make.in: Likewise.
41622         * configure: Likewise.
41623         * configure.in: Likewise.
41624         * csu/Makefile: Likewise.
41625         * csu/version.c: Likewise.
41626         * debug/Makefile: Likewise.
41627         * dlfcn/Makefile: Likewise.
41628         * elf/Makefile: Likewise.
41629         * extra-lib.mk: Likewise.
41630         * iconv/Makefile: Likewise.
41631         * include/libc-symbols.h: Likewise.
41632         * include/shlib-compat.h: Likewise.
41633         * resolv/Makefile: Likewise.
41634         * resolv/res_libc.c: Likewise.
41635         * rt/Makefile: Likewise.
41636         * sysdeps/i386/asm-syntax.h: Likewise.
41637         * sysdeps/i386/sysdep.h: Likewise.
41638         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41639         * sysdeps/mach/sysdep.h: Likewise.
41640         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41641         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41642         * sysdeps/s390/asm-syntax.h: Likewise.
41643         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41644         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41645         * sysdeps/sh/sysdep.h: Likewise.
41646         * sysdeps/unix/sparc/sysdep.h: Likewise.
41647         * sysdeps/wordsize-32/divdi3.c: Likewise.
41648         * sysdeps/x86_64/sysdep.h: Likewise.
41650         * argp/Versions: Remove _argp_unlock_xxx.
41652         [BZ #13559]
41653         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41654         * abilist/libBrokenLocale.abilist: Likewise.
41655         * abilist/libanl.abilist: Likewise.
41656         * abilist/libc.abilist: Likewise.
41657         * abilist/libcrypt.abilist: Likewise.
41658         * abilist/libdl.abilist: Likewise.
41659         * abilist/libm.abilist: Likewise.
41660         * abilist/libnsl.abilist: Likewise.
41661         * abilist/libpthread.abilist: Likewise.
41662         * abilist/libresolv.abilist: Likewise.
41663         * abilist/librt.abilist: Likewise.
41664         * abilist/libthread_db.abilist: Likewise.
41665         * abilist/libutil.abilist: Likewise.
41666         * abilist/libnss_db.abilist: New file.
41668         * scripts/abilist.awk: Add support for indirect functions.
41670         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41672         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41674         * shlib-versions: Remove entries for ports architectures.
41676         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41677         files in ports.
41678         * elf/stackguard-macros.h: Remove support for IA-64.
41679         * elf/tst-auditmod1.c: Likewise.
41680         * sysdeps/generic/ldsodefs.h: Likewise.
41682         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41683         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41684         configure files.
41686         [BZ #13552]
41687         * configure.in: Remove --enable-omitfp support.
41688         * FAQ.in: Adjust.
41689         * config.make.in: Likewise.
41690         * Makeconfig: Likewise.
41691         * manual/install.texi: Likewise.
41693         In case anyone cares, the IA-64 architecture could move to ports.
41694         * sysdeps/ia64/*: Removed.
41695         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41696         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41698         [BZ #13555]
41699         * configure.in: Remove entries for unsupported architectures.
41701         [BZ #13533]
41702         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41703         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41704         routines.
41705         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41706         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41707         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41708         fall back to using wcrtomb.
41709         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41710         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41711         renaming.
41712         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41713         * wcsmbs/tst-c16c32-1.c: New file.
41715         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41716         local variable.
41718         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41720         * elf/tst-unique3.cc: Add explicit declaration of gets.
41721         * elf/tst-unique3lib.cc: Likewise.
41722         * elf/tst-unique3lib2.cc: Likewise.
41723         * elf/tst-unique4.cc: Likewise.
41725         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41727 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41729         [BZ #13566]
41730         * assert/assert.h (static_assert): Don't define for C++.
41731         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41732         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41734 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41736         * iconv/loop.c (single loop): Fix assertion in storing of
41737         remaining bytes.
41739         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41741 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41743         * posix/getconf.c: Update copyright year.
41744         * nss/getent.c: Likewise.
41745         * nss/makedb.c: Likewise.
41746         * iconv/iconvconfig.c: Likewise.
41747         * iconv/iconv_prog.c: Likewise.
41748         * elf/ldconfig.c: Likewise.
41749         * elf/pldd.c: Likewise.
41750         * elf/sotruss.ksh: Likewise.
41751         * catgets/gencat.c: Likewise.
41752         * csu/version.c: Likewise.
41753         * elf/ldd.bash.in: Likewise.
41754         * elf/sprof.c (print_version): Likewise.
41755         * locale/programs/locale.c: Likewise.
41756         * locale/programs/localedef.c: Likewise.
41757         * login/programs/pt_chown.c: Likewise.
41758         * nscd/nscd.c (print_version): Likewise.
41759         * debug/xtrace.sh: Likewise.
41760         * malloc/memusage.sh: Likewise.
41761         * malloc/mtrace.pl: Likewise.
41762         * debug/catchsegv.sh: Likewise.
41764 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41766         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41767         pure attribute.
41769 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41771         [BZ #13533]
41772         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41773         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41774         transformations.
41775         * iconv/gconv_int.h: Likewise.
41776         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41777         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41778         from libc for GLIBC_2.16.
41779         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41780         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41781         * wcsmbs/uchar.h: Really define mbstate_t.
41782         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41783         * wcsmbs/c16rtomb.c: New file.
41784         * wcsmbs/mbrtoc16.c: New file.
41785         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41786         for C/POSIX locale.
41787         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41788         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41790         * wcsmbs/wchar.h: Add missing __restrict.
41792 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41794         [BZ #13532]
41795         * time/Makefile (routines): Add timespec_get.
41796         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41797         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41798         timespec for ISO C11.
41799         * time/timespec_get.c: New file.
41800         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41801         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41803         [BZ #13531]
41804         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41805         * stdlib/stdlib.h: Declare aligned_alloc.
41806         * Versions.def: Add GLIBC_2.16 for libc.
41807         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41809         [BZ 13527]
41810         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41811         ISO C11.
41813         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41814         code.
41816         [BZ #13528]
41817         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41819         [BZ #13529]
41820         * assert/assert.h (static_assert): Define.
41822         * version.h: Update for 2.16 development version.
41824         [BZ #13526]
41825         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41826         _ISOC11_SOURCE.
41828         * version.h (RELEASE): Bump for 2.15 release.
41829         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41831         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41832         Patch by Marek Polacek <mpolacek@redhat.com>.
41834         * bits/byteswap.h: Protect long long constants with __extension__.
41835         * sysdeps/i386/bits/byteswap.h: Likewise.
41836         * sysdeps/ia64/bits/byteswap.h: Likewise.
41837         * sysdeps/s390/bits/byteswap.h: Likewise.
41838         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41840 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41842         [BZ #13540]
41843         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41844         destination buffer.
41845         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41847 2011-12-23  Marek Polacek  <polacek@redhat.com>
41849         * elf/dl-addr.c (determine_info): Add inline keyword.
41850         * elf/tst-auditmod4b.c (check_avx): Likewise.
41851         * elf/tst-auditmod6b.c (check_avx): Likewise.
41852         * elf/tst-auditmod6c.c (check_avx): Likewise.
41853         * elf/tst-auditmod7b.c (check_avx): Likewise.
41855 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41857         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41858         !__SSE_MATH__.
41860 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41862         [BZ #13540]
41863         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41864         processing for last bytes.
41866 2011-08-06  Bruno Haible  <bruno@clisp.org>
41868         [BZ #13061]
41869         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41870         U+0385, not to U+1FEE.
41872         [BZ #13062]
41873         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41874         entry for U+00A5 U+0301.
41876 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41878         [BZ #13166]
41879         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41880         buffer for the output is too small.
41882         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41883         optimization.
41885         [BZ #13185]
41886         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41887         SSE flags if possible.
41889 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41891         [BZ #13540]
41892         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41893         processing for last bytes.
41895 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41897         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41898         (syscall-list-default-options, syscall-list-default-condition)
41899         (syscall-list-includes): Define.
41900         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41901         list of ABIs and options and #if conditions for each ABI.  Do not
41902         handle common syscalls between ABIs specially.
41903         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41904         Remove.
41905         (syscall-list-variants, syscall-list-32bit-options)
41906         (syscall-list-32bit-condition, syscall-list-64bit-options)
41907         (syscall-list-64bit-condition): Define.
41908         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41909         (syscall-list-variants, syscall-list-32bit-options)
41910         (syscall-list-32bit-condition, syscall-list-64bit-options)
41911         (syscall-list-64bit-condition): Define.
41912         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41913         Remove.
41914         (syscall-list-variants, syscall-list-32bit-options)
41915         (syscall-list-32bit-condition, syscall-list-64bit-options)
41916         (syscall-list-64bit-condition): Define.
41917         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41918         Remove.
41919         (syscall-list-variants, syscall-list-32bit-options)
41920         (syscall-list-32bit-condition, syscall-list-64bit-options)
41921         (syscall-list-64bit-condition): Define.
41923 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41925         * locale/iso-639.def: Add brx entry.
41927         [BZ #13328]
41928         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41929         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41931         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41932         __feraiseexcept_renamed.
41934 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41936         [BZ #13538]
41937         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41938         EPOLLET with unsigned values.
41939         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41940         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41942         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41943         to large cancellation.
41944         * math/s_cacoshf.c: Likewise.
41945         * math/s_cacoshl.c: Likewise.
41947 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41949         [BZ #13305]
41950         [BZ #12786]
41951         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41952         * math/s_cacoshf.c: Likewise.
41953         * math/s_cacoshl.c: Likewise.
41955 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41957         [BZ #13439]
41958         * iconv/gconv.h: Define __GCONV_SWAP.
41959         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41960         * iconvdata/utf-16.c: Likewise.
41961         * iconvdata/utf-32.c: Likewise.
41963 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41965         [BZ #13524]
41966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41967         numerator after shifting it by one limb.
41969 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41971         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41972         under [__USE_EXTERN_INLINES].
41974 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41976         [BZ #13446]
41977         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41979 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41981         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41982         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41983         optimized code.
41984         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41985         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41986         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41987         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41988         for strncasecmp/strncasecmp_l compilation.
41989         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41990         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41992 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41994         [BZ #13484]
41995         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41996         of __asm__.
41998 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42000         [BZ #13506]
42001         * time/tzfile.c (__tzfile_read): Check values from file header.
42003 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42005         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42006         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42007         * powerpc/powerpc32/dl-start.S: Likewise.
42008         * powerpc/powerpc32/elf/start.S: Likewise.
42009         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42010         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42011         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42012         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42013         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42014         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42015         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42016         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42017         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42018         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42019         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42020         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42021         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42022         * powerpc/powerpc32/memset.S: Likewise.
42023         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42024         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42025         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42026         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42027         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42028         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42029         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42030         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42031         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42032         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42033         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42034         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42035         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42037 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42039         * math/libm-test.inc: Added more nearbyint tests.
42040         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42041         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42042         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42043         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42045 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42047         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42048         FD_CLOEXEC.
42050 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42052         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42053         Add wcscpy-ssse3 wcscpy-c.
42054         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42055         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42056         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42057         * sysdeps/x86_64/wcschr.S: New file.
42058         * sysdeps/x86_64/wcsrchr.S: New file.
42059         * string/test-strcmp.c: Remove checking of wcscmp function for
42060         wrong alignments.
42061         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42062         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42063         wcsrchr-sse2 wcsrchr-c.
42064         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42065         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42066         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42067         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42068         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42069         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42070         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42071         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42072         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42073         * wcsmbc/wcschr.c (WCSCHR): New macro.
42075 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42077         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42078         * wcsmbs/test-wcsrchr.c: New file.
42079         * string/test-strrchr.c: Add wcsrchr support.
42080         (WIDE): New macro.
42081         * wcsmbs/test-wcscpy.c: New file.
42082         * string/test-strcpy.c: Add wcscpy support.
42083         (WIDE): New macro.
42085 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42087         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42088         the inner loop.
42090 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42092         [BZ #13472]
42093         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42095 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42097         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42098         Minor optimizations.
42100         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42101         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42102         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42104 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42106         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42107         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42108         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42109         for gcc to avoid warnings.
42110         * inet/Makefile (tests): Add tst-checks.
42111         * inet/tst-checks.c: New file.
42113         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42114         warning.
42116         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42117         __wmemcmp_sse2.
42119         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42120         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42122         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42124 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42126         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42127         problem.
42129         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42131 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42133         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42134         conditional on GCC version.
42135         (__arch_compare_and_exchange_val_8_acq)
42136         (__arch_compare_and_exchange_val_16_acq)
42137         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42138         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42139         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42141 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42143         * sysdeps/sh/backtrace.c: New file.
42145 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42147         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42148         parenthesis.
42150 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42152         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42153         falling back to utime.
42155 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42157         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42158         expectations for float.
42160 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42162         * locale/weight.h (findidx): Add parameter len.
42163         * locale/weightwc.h (findidx): Likewise.
42164         * posix/fnmatch_loop.c (FCT): Adjust caller.
42165         * posix/regcomp.c (build_equiv_class): Likewise.
42166         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42167         * posix/regexec.c (check_node_accept_bytes): Likewise.
42168         * string/strcoll_l.c (STRCOLL): Likewise.
42169         * string/strxfrm_l.c (STRXFRM): Likewise.
42171 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42173         * Makefile.in: Remove CVSOPT handling.
42174         * configure.in: Remove use of AC_REVISION.
42175         * iconvdata/Makefile (distribute): No need to filter out CVS.
42176         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42177         handling.
42179 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42181         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42182         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42183         [USE_AS_STRNCASECMP_L]: Likewise.
42184         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42185         NO_TLS_DIRECT_SEG_REFS.
42186         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42187         Fix argument offsets for non-PIC.
42188         [USE_AS_STRNCASECMP_L]: Likewise.
42189         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42190         NO_TLS_DIRECT_SEG_REFS.
42192 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42194         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42195         O_CLOEXEC.
42196         * locale/loadlocale.c (_nl_load_locale): Likewise.
42198 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42200         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42201         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42202         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42203         (SYSCALL_GETTIME): Set errno on error.
42205         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42206         count references to noai6ai_cached.
42208 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42210         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42212         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42213         FD_CLOEXEC for /proc/self/maps.
42215         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42216         FD_CLOEXEC for /proc/meminfo.
42218         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42219         gai.conf.
42221         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42222         FD_CLOEXEC for given file.
42224         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42226         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42227         FD_CLOEXEC for /etc/hosts.
42228         (_gethtent): Likewise.
42230         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42232         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42233         cancellation and set FD_CLOEXEC for /etc/netgroup.
42235         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42236         reading /etc/publickey.
42238         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42239         allow cancellation when reading /etc/group.
42241         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42242         cancellation.
42243         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42245         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42246         when using data file.
42248         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42250         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42251         (write_nis_obj): Use "c" and "e" in fopen.
42253         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42255         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42257         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42259         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42261         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42262         locale.alias.
42264         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42266         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42268         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42270         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42271         file parsing and set FD_CLOEXEC.
42273 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42275         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42277 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42279         * malloc/arena.c (arena_get2): Don't call reused_arena when
42280         _int_new_arena failed.
42282 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42284         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42285         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42286         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42287         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42288         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42289         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42290         to compile strcasecmp and strncasecmp.
42291         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42292         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42294         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42296 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42298         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42299         locale-defines.sym to gen-as-const-headers.
42300         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42301         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42302         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42303         to compile strcasecmp and strncasecmp.
42304         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42305         strcasecmp_l and strncasecmp_l.
42306         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42307         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42308         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42309         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42310         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42311         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42312         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42313         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42314         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42315         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42316         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42318 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42320         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42321         result of SYSDEP_GETTIME_CPU to retval.
42322         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42323         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42325         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42326         variable.
42328         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42329         mantissa words.
42330         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42332         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42333         from unused variable.
42335         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42336         DWARF definitions.
42337         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42338         for assembling.
42340         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42341         over namespaces.
42343         * sunrpc/rpc_prot.c (rejected): Fix case value.
42345         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42346         unsigned long long int to avoid warnings in shift.
42348         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42349         of use of trans.
42350         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42351         variable tmp.
42353         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42354         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42355         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42357         * nis/nis_table.c (nis_list): Use variable of correct type for
42358         result of __follow_path call.
42360 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42362         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42363         of math functions ceil, trunc, floor, round, and sqrt, when
42364         avaliable on the platform.
42365         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42366         name clash.
42367         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42368         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42369         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42371 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42373         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42374         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42376 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42378         * include/unistd.h: Fix __readlink return type.
42379         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42381 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42383         * stdlib/ucontext.h: Undo last change for makecontext.
42385 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42387         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42389         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42390         * setjmp/setjmp.h: Mark functions as non-leaf.
42391         * setjmp/bits/setjmp2.h: Likewise.
42392         * stdlib/ucontext.h: Likewise.
42394 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42396         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42397         (reused_arena): Don't check arena limit.
42398         (arena_get2): Atomically check arena limit.
42400 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42402         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42403         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42405         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42406         instructions.
42408 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42410         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42411         handler when locking.
42413         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42414         Fix size of allocated buffer.
42416 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42418         [BZ #10103]
42419         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42420         declarations for long double functions.
42421         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42423         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42425 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42427         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42428         installed.
42430         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42431         is disabled.
42433 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42435         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42437 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42439         * include/alloca.h (stackinfo_alloca_round): Define.
42440         (extend_alloca): Use it.
42441         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42442         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42443         here.
42445         * scripts/check-local-headers.sh: Ignore libaudit.h.
42447         * nscd/Makefile (extra-objs): Make recursively expanded.
42449 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42451         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42452         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42454         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42455         * posix/tst-rfc3484-2.c: Likewise.
42456         * posix/tst-rfc3484-3.c: Likewise.
42458         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42459         process_vm_writev.
42460         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42461         process_vm_writev.
42462         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42463         process_vm_writev from libc using GLIBC_2.15 version.
42465         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42467 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42469         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42470         stack usage.
42472 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42474         [BZ #13367]
42475         * nss/getent.c (initgroups_keys): Show error message in case no group
42476         names are given.
42478         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42479         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42480         __bump_nl_timestamp.
42481         * nscd/connections (nscd_init): When host database is served open
42482         netlink socket and request notification about configuration changes.
42483         (main_loop_poll): Track netlink file descriptor and bump timestamp
42484         in case data becomes available.
42485         (main_loop_epoll): Likewise.
42486         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42487         (database_pers_head): Add extra_data fileds.
42488         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42489         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42490         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42491         Adjust caller.
42492         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42493         in6ai data, call __free_in6ai.
42494         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42495         Add -DHAVE_NETLINK.
42496         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42497         interface information.  Reuse previous data if netlink timestamp
42498         is not changed.
42499         (__bump_nl_timestamp): New function.
42500         (__free_in6ai): New function.
42502 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42504         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42505         close_not_cancel_no_status here.
42506         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42508 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42510         [BZ #13276]
42511         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42512         return value.
42514         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42515         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42516         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42518 2011-07-03  Andreas Jaeger  <aj@suse.de>
42520         [BZ #10709]
42521         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42522         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42523         * math/libm-test.inc (sin_test): Add test case.
42525 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42527         [BZ #13337]
42528         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42529         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42531         * elf/chroot_canon.c (chroot_canon): Cleanups.
42533         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42535         [BZ #13335]
42536         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42537         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42539         * string/test-strchr.c: Make usable for strchrnul testing.
42540         * string/test-strchrnul.c: New file.
42541         * string/Makefile (strop-tests): Add strchrnul.
42543         * po/it.po: Update from translation team.
42544         * po/es.po: Likewise.
42546 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42548         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42549         the three constants needed as parameters.  Drop the others.
42550         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42551         __m128i_strloadu_tolower.
42552         Create and initialize variable zero and use it in all the places
42553         where _mm_setzero_si128 was used.
42555         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42556         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42557         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42558         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42559         anymore.
42560         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42561         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42562         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42563         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42564         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42565         __mpranred, __mptan.
42566         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42567         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42568         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42569         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42570         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42571         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42572         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42573         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42574         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42576 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42578         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42579         redefine if SHARED.
42580         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42582         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42583         wide char related routines to wcsmbs subdir.
42585 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42587         [BZ #13344]
42588         * misc/sys/cdefs.h (__THROWNL): Define.
42589         * posix/unistd.h: Use __THREADNL instead of __THREAD
42590         for memory synchronization functions.
42592 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42594         [BZ #13349]
42595         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42596         doesn't exist.
42597         * manual/stdio.texi (Obstack Streams): Node removed.
42599 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42601         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42602         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42603         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42605         * math/math_private.h (math_force_eval): Allow non-addressable
42606         arguments.
42607         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42609 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42611         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42612         file is not needed.
42614         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42615         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42616         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42617         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42618         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42619         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42620         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42621         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42622         Add AVX variants.
42623         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42624         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42625         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42626         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42627         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42628         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42629         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42630         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42631         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42632         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42633         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42634         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42635         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42636         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42637         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42638         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42639         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42640         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42641         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42643         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42644         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42646         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42647         place.  Use VEX encoding when compiling for AVX.
42649 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42651         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42652         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42654         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42656 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42658         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42659         useless if() expression.
42660         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42661         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42662         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42663         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42664         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42665         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42666         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42667         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42668         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42669         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42670         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42671         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42672         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42673         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42674         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42675         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42676         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42677         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42678         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42680         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42682 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42684         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42685         condition.
42686         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42688 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42690         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42691         .text section.  Avoid duplicate constants.
42692         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42693         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42694         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42695         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42696         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42697         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42698         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42699         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42700         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42701         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42702         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42703         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42704         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42705         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42706         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42707         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42708         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42709         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42710         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42711         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42712         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42713         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42714         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42715         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42716         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42717         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42718         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42719         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42720         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42721         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42722         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42723         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42724         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42725         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42726         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42727         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42728         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42729         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42730         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42731         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42732         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42733         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42734         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42735         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42736         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42738 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42740         * sysdeps/x86_64/dla.h: Move to ...
42741         * sysdeps/x86_64/fpu/dla.h: ...here.
42742         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42743         situations.  Use __builtin_fma only for gcc 4.6 and up.
42745         * config.make.in: Add have-mfma4 entry.
42746         * configure.in: Substitute libc_cv_cc_fma4.
42747         * math/Makefile (dbl-only-routines): Add sincostab.
42748         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42749         Use __sincostab not sincos.
42750         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42751         name is a macro.
42752         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42753         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42756         using __copysign.
42757         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42758         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42759         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42760         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42761         and __inv.
42762         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42763         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42764         __copysign.
42765         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42766         define aliases when function name is a macro.
42767         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42768         sysdeps/ieee754/dbl-64/sincos.tbl.
42769         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42770         fma4-enabled routines.
42771         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42772         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42773         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42774         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42775         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42776         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42777         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42778         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42779         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42780         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42781         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42782         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42783         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42784         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42785         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42786         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42787         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42788         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42789         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42790         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42791         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42792         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42793         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42794         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42795         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42796         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42797         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42798         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42799         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42800         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42802         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42803         rename.
42804         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42805         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42806         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42807         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42808         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42809         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42810         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42811         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42813 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42815         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42817 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42819         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42821         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42822         prediction.
42823         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42825         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42826         Remove unused variable magic_bits.
42827         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42829         * string/strnlen.c: Define and use STRNLEN macro.
42830         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42831         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42832         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42833         * wcsmbs/wcslen.c: Define and use WCSLEN.
42834         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42835         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42836         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42837         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42838         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42839         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42840         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42842 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42845         strnlen-sse2-no-bsf.
42846         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42847         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42848         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42849         Add strnlen support.
42850         (USE_AS_STRNLEN): New macro.
42851         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42852         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42853         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42854         * sysdeps/x86_64/wcslen.S: New file.
42856 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42858         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42859         XMM-moves are used for copying on small sizes.
42861 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42863         * wcsmbs/Makefile (strop-tests): Add wcschr.
42864         * wcsmbs/test-wcschr.c: New file.
42865         * string/test-strchr.c: Update.
42866         Add wcschr support.
42867         (WIDE): New macro.
42869 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42871         * wcsmbs/Makefile (strop-tests): Add wcslen.
42872         * wcsmbs/test-wcslen.c: New file.
42873         * string/test-strlen.c: Update.
42874         Add wcslen support.
42875         (WIDE): New macro.
42877 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42879         * po/it.po: Update from translation team.
42881 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42883         * sysdeps/x86_64/wcscmp.S: Update.
42884         Fix wrong comparison semantics.
42885         wcscmp shall use signed comparison not unsigned.
42886         Don't use substraction to avoid overflow bug.
42887         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42888         * wcsmbc/wcscmp.c: Likewise.
42889         * string/test-strcmp.c: Likewise.
42890         Add new tests to check cases with negative values.
42892 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42894         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42895         * sysdeps/x86_64/dla.h: ...here.  New file.
42896         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42897         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42898         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42899         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42901         * sysdeps/ieee754/dbl-64/e_sqrt.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.
42906 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42908         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42909         __ynl_finite aliases.
42911 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42915         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42916         define DLA_FMA.
42917         [DLA_FMA] (EMULV): Use DLA_FMA.
42918         [DLA_FMA] (MUL12): Use EMULV.
42919         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42920         that are not needed.
42921         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42922         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42923         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42924         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42925         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42926         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42927         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42929 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42931         * math/s_nan.c: Undef __nan.
42932         * math/s_nanf.c: Undef __nanf.
42933         * math/s_nanl.c: Undef __nanl.
42934         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42935         "math_private.h".
42937 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42939         * math/s_catan.c: Add branch predictions.
42940         * math/s_catanf.c: Likewise.
42941         * math/s_catanh.c: Likewise.
42942         * math/s_catanhf.c: Likewise.
42943         * math/s_catanhl.c: Likewise.
42944         * math/s_catanl.c: Likewise.
42945         * math/s_cexp.c: Likewise.
42946         * math/s_cexpf.c: Likewise.
42947         * math/s_cexpl.c: Likewise.
42948         * math/s_clog.c: Likewise.
42949         * math/s_clog10.c: Likewise.
42950         * math/s_clog10f.c: Likewise.
42951         * math/s_clog10l.c: Likewise.
42952         * math/s_clogf.c: Likewise.
42953         * math/s_clogl.c: Likewise.
42954         * math/s_csqrt.c: Likewise.
42955         * math/s_csqrtf.c: Likewise.
42956         * math/s_csqrtl.c: Likewise.
42957         * math/s_ctanf.c: Likewise.
42958         * math/s_ctanh.c: Likewise.
42959         * math/s_ctanhf.c: Likewise.
42960         * math/s_ctanhl.c: Likewise.
42961         * math/s_ctanl.c: Likewise.
42963         * math/math_private.h: Define __nan, __nanf, __nanl.
42964         * math/s_cacosh.c: Include <math_private.h>.
42965         * math/s_cacoshl.c: Likewise.
42966         * math/s_casinh.c: Likewise.
42967         * math/s_casinhf.c: Likewise.
42968         * math/s_casinhl.c: Likewise.
42969         * math/s_ccos.c: Rely entire on ccosh.
42970         * math/s_ccosf.c: Rely entire on ccoshf.
42971         * math/s_ccosl.c: Rely entirely on ccoshl.
42972         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42973         Remove tests for FE_INVALID.
42974         * math/s_ccoshf.c: Likewise.
42975         * math/s_ccoshl.c: Likewise.
42976         * math/s_csin.c: Likewise.
42977         * math/s_csinf.c: Likewise.
42978         * math/s_csinh.c Likewise.
42979         * math/s_csinhf.c: Likewise.
42980         * math/s_csinhl.c: Likewise.
42981         * math/s_csinl.c: Likewise.
42982         * math/s_ctan.c: Likewise.
42983         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42984         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42985         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42987 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42989         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42990         compilation problems.
42992         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42993         __builtin_expect.
42995 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42997         * sysdeps/i386/configure.in: Test for -mfma4 option.
42998         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42999         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43000         COMMON_CPUID_INDEX_80000001.
43001         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43002         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43003         use it if FMA3 is not supported.
43004         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43006         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43007         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43009 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43011         [BZ #12892]
43012         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43013         it would create a cycle with a link time dependency.
43015 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43017         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43018         instruction.
43019         * string/Makefile (strop-tests): Add rawmemchr.
43020         * string/test-rawmemchr.c: New file.
43022         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43023         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43024         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43025         when compiling str{,n}casecmp and when AVX is available.  Hook up
43026         new optimized code in initializers.
43028 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43030         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43031         __feraiseexcept instead of feraiseexcept.
43033 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43035         * math/math_private.h: Define defaults for libc_fetestexcept and
43036         libc_feupdateenv.
43037         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43038         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43039         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43040         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43041         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43042         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43043         libc_fetestexcept and libc_feupdateenv.
43045         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43046         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43047         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43048         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43049         libc_feholdexcept_setround.
43051         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43052         Add s_nearbyint-c and s_nearbyintf-c.
43053         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43054         nearbyintf inlines.
43055         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43056         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43057         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43058         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43060         * math/math_private.h: Define defaults for libc_fegetround,
43061         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43062         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43063         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43064         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43065         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43066         standard functions.
43067         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43068         Remove comments and hacks for old compiler versions.
43069         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43070         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43071         libc_feholdexceptl.
43073 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43075         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43076         (__feraiseexcept_renamed): Add __NTH.
43077         (feraiseexcept): Add __NTH.  Rename local variables to fix
43078         namespace violations.
43080 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43082         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43084         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43086         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43087         recently added interfaces.
43088         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43090         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43091         about macro parameter expansion.
43093         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43094         __NO_MATH_INLINES is defined.  Cleanups.
43096         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43097         and __floorf is target has SSE4.1.
43098         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43099         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43100         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43101         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43103         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43104         name.
43105         (floorf): Likewise.
43107         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43109 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43111         * misc/sys/cdefs.h: Fix last change.
43113         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43114         database lookup.
43116 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43118         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43120         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43121         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43122         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43123         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43124         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43125         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43126         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43127         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43128         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43129         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43130         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43131         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43132         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43133         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43134         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43135         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43136         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43137         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43138         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43139         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43140         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43141         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43143         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43144         ceil, ceilf, floor, floorf.
43146         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43147         Perform IRELATIVE relocations last.
43149         * elf/do-rel.h: Add another parameter nrelative, replacing the
43150         local variable with the same name.  Change name of the function
43151         to end in Rel or Rela (uppercase).
43152         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43153         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43154         elf_dynamic_do_##reloc function.
43156 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43158         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43159         is sufficient, at least on modern CPUs.
43161         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43163         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43164         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43166         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43167         __expl_finite.
43168         * math/bits/math-finite.h: Add entries for exp.
43169         * math/e_expl.c: Add __*_finite alias.
43170         * sysdeps/i386/fpu/e_exp.S: Likewise.
43171         * sysdeps/i386/fpu/e_expf.S: Likewise.
43172         * sysdeps/i386/fpu/e_expl.c: Likewise.
43173         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43174         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43175         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43176         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43177         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43178         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43179         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43181         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43182         is sufficient, at least on modern CPUs.
43184         * ctype/ctype-info.c (__ctype_init): Define.
43185         * include/ctype.h (__ctype_init): Declare.
43186         (__ctype_b_loc): The variable is always initialized.
43187         (__ctype_toupper_loc): Likewise.
43188         (__ctype_tolower_loc): Likewise.
43189         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43190         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43192 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43194         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43196         * configure.in: Also look in $cxxmachine/include for C++ system
43197         headers.
43199 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43201         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43202         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43203         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43204         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43205         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43206         (USE_AS_WMEMCMP): New macro.
43207         Fixing indents.
43208         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43209         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43210         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43211         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43212         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43213         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43214         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43215         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43216         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43217         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43218         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43219         (USE_AS_WMEMCMP): New macro.
43220         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43221         * sysdeps/string/test-memcmp.c: Update.
43222         Fix simple_wmemcmp.
43223         Add new tests.
43224         * wcsmbs/wmemcmp.c: Update.
43225         (WMEMCMP): New macro.
43226         Fix overflow bug.
43228 2011-10-12  Andreas Jaeger  <aj@suse.de>
43230         [BZ #13268]
43231         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43233 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43235         * libio/iofwide.c (do_length): Avoid warning.
43237         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43239 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43241         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43243         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43244         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43245         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43246         * sysdeps/i386/i686/fpu/e_log.S: New file.
43247         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43248         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43250         * ctype/ctype.h: Add support for inlined isXXX functions when
43251         compiling C++ code.
43253 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43255         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43257         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43259 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43261         [BZ #13291]
43262         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43264 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43266         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43267         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43268         feraiseexcept.
43270         * sysdeps/x86_64/memrchr.S: Check for zero size.
43272         * string/stratcliff.c: Add memrchr tests.
43274 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43277         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43278         rawmemchr-sse2 rawmemchr-sse2-bsf.
43279         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43280         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43281         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43282         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43283         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43284         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43285         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43286         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43287         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43288         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43289         * string/memrchr.c (MEMRCHR): New macro.
43291 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43293         Add integration with gcc's -ffinite-math-only and optimize wrapper
43294         functions in libm.
43295         * Versions.def: Define GLIBC_2.15 version for libm.
43296         * math/Makefile (headers): Add bits/math-finite.h.
43297         * math/bits/math-finite.h: New file.
43298         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43299         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43300         * math/e_acoshl.c: Add __*_finite alias.
43301         * math/e_acosl.c: Likewise.
43302         * math/e_asinl.c: Likewise.
43303         * math/e_atan2l.c: Likewise.
43304         * math/e_atanhl.c: Likewise.
43305         * math/e_coshl.c: Likewise.
43306         * math/e_exp10.c: Likewise.
43307         * math/e_exp10f.c: Likewise.
43308         * math/e_exp10l.c: Likewise.
43309         * math/e_exp2l.c: Likewise.
43310         * math/e_fmodl.c: Likewise.
43311         * math/e_gammal_r.c: Likewise.
43312         * math/e_hypotl.c: Likewise.
43313         * math/e_j0l.c: Likewise.
43314         * math/e_j1l.c: Likewise.
43315         * math/e_jnl.c: Likewise.
43316         * math/e_lgammal_r.c: Likewise.
43317         * math/e_log10l.c: Likewise.
43318         * math/e_log2l.c: Likewise.
43319         * math/e_logl.c: Likewise.
43320         * math/e_powl.c: Likewise.
43321         * math/e_sinhl.c: Likewise.
43322         * math/e_sqrtl.c: Likewise.
43323         * math/e_scalb.c: Completely rewritten and optimized.
43324         * math/e_scalbf.c: Likewise.
43325         * math/e_scalbl.c: Likewise.
43326         * math/w_acos.c: Likewise.
43327         * math/w_acosf.c: Likewise.
43328         * math/w_acosl.c: Likewise.
43329         * math/w_acosh.c: Likewise.
43330         * math/w_acoshf.c: Likewise.
43331         * math/w_acoshl.c: Likewise.
43332         * math/w_asin.c: Likewise.
43333         * math/w_asinf.c: Likewise.
43334         * math/w_asinl.c: Likewise.
43335         * math/w_atan2.c: Likewise.
43336         * math/w_atan2f.c: Likewise.
43337         * math/w_atan2l.c: Likewise.
43338         * math/w_atanh.c: Likewise.
43339         * math/w_atanhf.c: Likewise.
43340         * math/w_atanhl.c: Likewise.
43341         * math/w_exp10.c: Likewise.
43342         * math/w_exp10f.c: Likewise.
43343         * math/w_exp10l.c: Likewise.
43344         * math/w_fmod.c: Likewise.
43345         * math/w_fmodf.c: Likewise.
43346         * math/w_fmodl.c: Likewise.
43347         * math/w_j0.c: Likewise.
43348         * math/w_j0f.c: Likewise.
43349         * math/w_j0l.c: Likewise.
43350         * math/w_j1.c: Likewise.
43351         * math/w_j1f.c: Likewise.
43352         * math/w_j1l.c: Likewise.
43353         * math/w_jn.c: Likewise.
43354         * math/w_jnf.c: Likewise.
43355         * math/w_log.c: Likewise.
43356         * math/w_logf.c: Likewise.
43357         * math/w_logl.c: Likewise.
43358         * math/w_log10.c: Likewise.
43359         * math/w_log10f.c: Likewise.
43360         * math/w_log10l.c: Likewise.
43361         * math/w_log2.c: Likewise.
43362         * math/w_log2f.c: Likewise.
43363         * math/w_log2l.c: Likewise.
43364         * math/w_pow.c: Likewise.
43365         * math/w_powf.c: Likewise.
43366         * math/w_powl.c: Likewise.
43367         * math/w_remainder.c: Likewise.
43368         * math/w_remainderf.c: Likewise.
43369         * math/w_remainderl.c: Likewise.
43370         * math/w_scalb.c: Likewise.
43371         * math/w_scalbf.c: Likewise.
43372         * math/w_scalbl.c: Likewise.
43373         * math/w_sqrt.c: Likewise.
43374         * math/w_sqrtf.c: Likewise.
43375         * math/w_sqrtl.c: Likewise.
43376         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43377         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43378         used.
43379         * math/math_private.h: Declare __kernel_standard_f.
43380         * math/w_cosh.c: Remove cruft and optimize a bit.
43381         * math/w_coshf.c: Likewise.
43382         * math/w_coshl.c: Likewise.
43383         * math/w_exp2.c: Likewise.
43384         * math/w_exp2f.c: Likewise.
43385         * math/w_exp2l.c: Likewise.
43386         * math/w_hypot.c: Likewise.
43387         * math/w_hypotf.c: Likewise.
43388         * math/w_hypotl.c: Likewise.
43389         * math/w_lgamma.c: Likewise.
43390         * math/w_lgamma_r.c: Likewise.
43391         * math/w_lgammaf.c: Likewise.
43392         * math/w_lgammaf_r.c: Likewise.
43393         * math/w_lgammal.c: Likewise.
43394         * math/w_lgammal_r.c: Likewise.
43395         * math/w_sinh.c: Likewise.
43396         * math/w_sinhf.c: Likewise.
43397         * math/w_sinhl.c: Likewise.
43398         * math/w_tgamma.c: Likewise.
43399         * math/w_tgammaf.c: Likewise.
43400         * math/w_tgammal.c: Likewise.
43401         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43402         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43403         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43404         Minor optimizations.  Pretty printing.  Remove cruft.
43405         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43406         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43407         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43408         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43409         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43410         * sysdeps/i386/fpu/e_asin.S: Likewise.
43411         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43412         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43413         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43414         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43415         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43416         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43417         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43418         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43419         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43420         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43421         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43422         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43423         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43424         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43425         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43426         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43427         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43428         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43429         * sysdeps/i386/fpu/e_log.S: Likewise.
43430         * sysdeps/i386/fpu/e_log10.S: Likewise.
43431         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43432         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43433         * sysdeps/i386/fpu/e_log2.S: Likewise.
43434         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43435         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43436         * sysdeps/i386/fpu/e_logf.S: Likewise.
43437         * sysdeps/i386/fpu/e_logl.S: Likewise.
43438         * sysdeps/i386/fpu/e_pow.S: Likewise.
43439         * sysdeps/i386/fpu/e_powf.S: Likewise.
43440         * sysdeps/i386/fpu/e_powl.S: Likewise.
43441         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43442         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43443         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43444         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43445         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43446         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43447         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43448         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43449         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43450         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43451         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43452         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43453         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43454         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43455         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43456         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43457         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43458         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43459         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43460         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43461         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43462         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43463         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43464         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43466         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43467         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43468         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43470         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43471         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43472         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43473         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43474         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43475         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43476         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43477         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43478         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43479         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43480         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43481         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43482         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43483         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43484         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43485         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43486         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43487         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43488         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43489         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43490         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43491         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43492         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43493         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43494         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43495         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43496         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43497         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43498         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43499         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43500         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43501         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43502         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43503         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43504         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43505         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43506         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43507         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43508         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43509         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43510         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43511         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43512         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43513         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43514         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43515         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43516         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43517         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43518         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43519         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43520         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43521         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43522         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43523         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43524         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43525         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43526         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43527         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43528         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43529         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43530         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43531         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43532         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43533         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43534         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43535         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43536         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43537         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43538         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43539         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43540         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43541         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43542         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43543         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43544         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43545         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43546         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43547         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43548         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43549         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43550         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43551         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43552         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43553         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43554         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43555         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43556         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43557         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43558         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43559         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43560         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43561         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43562         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43563         (__isnanf): Likewise.
43564         (__isinf_ns): Likewise.
43565         (__isinf_nsf): Likewise.
43566         (__finite): Likewise.
43567         (__finitef): Likewise.
43568         (__ieee754_sqrt): Define as macro.
43569         (__ieee754_sqrtf): Define as macro.
43570         (__ieee754_sqrtl): Define as macro.
43571         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43572         inlined copy.
43573         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43574         __FINITE_MATH_ONLY__ consistent.
43575         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43577 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43579         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43580         of rawmemchr.
43582         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43584 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43586         * po/ja.po: Update from translation team.
43588 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43590         * locale/programs/locarchive.c (prepare_address_space): New function.
43591         (create_archive, enlarge_archive, open_archive): Use it.
43593         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43594         inside [SHARED], where it is used.
43596         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43598         * nss/getent.c (netgroup_keys): Remove unused variable.
43599         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43601 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43603         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43604         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43606         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43607         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43608         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43609         * math/Makefile (libm-calls): Add s_isinf_ns.
43610         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43611         * math/multc3.c: Likewise.
43612         * math/s_casin.c: Likewise.
43613         * math/s_casinf.c: Likewise.
43614         * math/s_casinl.c: Likewise.
43615         * math/s_ccos.c: Likewise.
43616         * math/s_ccosf.c: Likewise.
43617         * math/s_ccosl.c: Likewise.
43618         * math/s_ctan.c: Likewise.
43619         * math/s_ctanf.c: Likewise.
43620         * math/s_ctanh.c: Likewise.
43621         * math/s_ctanhf.c: Likewise.
43622         * math/s_ctanhl.c: Likewise.
43623         * math/s_ctanl.c: Likewise.
43624         * math/w_fmod.c: Likewise.
43625         * math/w_fmodf.c: Likewise.
43626         * math/w_fmodl.c: Likewise.
43627         * math/w_remainder.c: Likewise.
43628         * math/w_remainderf.c: Likewise.
43629         * math/w_remainderl.c: Likewise.
43630         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43631         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43632         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43634         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43635         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43636         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43637         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43639         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43640         of the number.
43641         * stdio-common/printf_fphex.c: Likewise.
43642         * stdio-common/printf_size.c: Likewise.
43644         * math/e_exp10.c: Include math_private.h using <...> not "...".
43645         * math/e_exp10f.c: Likewise.
43646         * math/e_exp10l.c: Likewise.
43647         * math/e_exp2l.c: Likewise.
43648         * math/e_j0l.c: Likewise.
43649         * math/e_j1l.c: Likewise.
43650         * math/e_jnl.c: Likewise.
43651         * math/e_lgammal_r.c: Likewise.
43652         * math/e_rem_pio2l.c: Likewise.
43653         * math/e_scalb.c: Likewise.
43654         * math/e_scalbf.c: Likewise.
43655         * math/e_scalbl.c: Likewise.
43656         * math/k_cosl.c: Likewise.
43657         * math/k_sinl.c: Likewise.
43658         * math/k_tanl.c: Likewise.
43659         * math/s_cacoshf.c: Likewise.
43660         * math/s_catan.c: Likewise.
43661         * math/s_catanf.c: Likewise.
43662         * math/s_catanh.c: Likewise.
43663         * math/s_catanhf.c: Likewise.
43664         * math/s_catanhl.c: Likewise.
43665         * math/s_catanl.c: Likewise.
43666         * math/s_ccosh.c: Likewise.
43667         * math/s_ccoshf.c: Likewise.
43668         * math/s_ccoshl.c: Likewise.
43669         * math/s_cexp.c: Likewise.
43670         * math/s_cexpf.c: Likewise.
43671         * math/s_cexpl.c: Likewise.
43672         * math/s_clog.c: Likewise.
43673         * math/s_clog10.c: Likewise.
43674         * math/s_clog10f.c: Likewise.
43675         * math/s_clog10l.c: Likewise.
43676         * math/s_clogf.c: Likewise.
43677         * math/s_clogl.c: Likewise.
43678         * math/s_csin.c: Likewise.
43679         * math/s_csinf.c: Likewise.
43680         * math/s_csinh.c: Likewise.
43681         * math/s_csinhf.c: Likewise.
43682         * math/s_csinhl.c: Likewise.
43683         * math/s_csinl.c: Likewise.
43684         * math/s_csqrt.c: Likewise.
43685         * math/s_csqrtf.c: Likewise.
43686         * math/s_csqrtl.c: Likewise.
43687         * math/s_ctan.c: Likewise.
43688         * math/s_ctanf.c: Likewise.
43689         * math/s_ctanh.c: Likewise.
43690         * math/s_ctanhf.c: Likewise.
43691         * math/s_ctanhl.c: Likewise.
43692         * math/s_ctanl.c: Likewise.
43693         * math/s_ldexp.c: Likewise.
43694         * math/s_ldexpf.c: Likewise.
43695         * math/s_ldexpl.c: Likewise.
43696         * math/s_significand.c: Likewise.
43697         * math/s_significandf.c: Likewise.
43698         * math/s_significandl.c: Likewise.
43699         * math/w_acos.c: Likewise.
43700         * math/w_acosf.c: Likewise.
43701         * math/w_acosh.c: Likewise.
43702         * math/w_acoshf.c: Likewise.
43703         * math/w_acoshl.c: Likewise.
43704         * math/w_acosl.c: Likewise.
43705         * math/w_asin.c: Likewise.
43706         * math/w_asinf.c: Likewise.
43707         * math/w_asinl.c: Likewise.
43708         * math/w_atan2.c: Likewise.
43709         * math/w_atan2f.c: Likewise.
43710         * math/w_atan2l.c: Likewise.
43711         * math/w_atanh.c: Likewise.
43712         * math/w_atanhf.c: Likewise.
43713         * math/w_atanhl.c: Likewise.
43714         * math/w_cosh.c: Likewise.
43715         * math/w_coshf.c: Likewise.
43716         * math/w_coshl.c: Likewise.
43717         * math/w_dremf.c: Likewise.
43718         * math/w_exp10.c: Likewise.
43719         * math/w_exp10f.c: Likewise.
43720         * math/w_exp10l.c: Likewise.
43721         * math/w_exp2.c: Likewise.
43722         * math/w_exp2f.c: Likewise.
43723         * math/w_fmod.c: Likewise.
43724         * math/w_fmodf.c: Likewise.
43725         * math/w_fmodl.c: Likewise.
43726         * math/w_hypot.c: Likewise.
43727         * math/w_hypotf.c: Likewise.
43728         * math/w_hypotl.c: Likewise.
43729         * math/w_j0.c: Likewise.
43730         * math/w_j0f.c: Likewise.
43731         * math/w_j0l.c: Likewise.
43732         * math/w_j1.c: Likewise.
43733         * math/w_j1f.c: Likewise.
43734         * math/w_j1l.c: Likewise.
43735         * math/w_jn.c: Likewise.
43736         * math/w_jnf.c: Likewise.
43737         * math/w_jnl.c: Likewise.
43738         * math/w_lgamma.c: Likewise.
43739         * math/w_lgamma_r.c: Likewise.
43740         * math/w_lgammaf.c: Likewise.
43741         * math/w_lgammaf_r.c: Likewise.
43742         * math/w_lgammal.c: Likewise.
43743         * math/w_lgammal_r.c: Likewise.
43744         * math/w_log.c: Likewise.
43745         * math/w_log10.c: Likewise.
43746         * math/w_log10f.c: Likewise.
43747         * math/w_log10l.c: Likewise.
43748         * math/w_log2.c: Likewise.
43749         * math/w_log2f.c: Likewise.
43750         * math/w_log2l.c: Likewise.
43751         * math/w_logf.c: Likewise.
43752         * math/w_logl.c: Likewise.
43753         * math/w_pow.c: Likewise.
43754         * math/w_powf.c: Likewise.
43755         * math/w_powl.c: Likewise.
43756         * math/w_remainder.c: Likewise.
43757         * math/w_remainderf.c: Likewise.
43758         * math/w_remainderl.c: Likewise.
43759         * math/w_scalb.c: Likewise.
43760         * math/w_scalbf.c: Likewise.
43761         * math/w_scalbl.c: Likewise.
43762         * math/w_sinh.c: Likewise.
43763         * math/w_sinhf.c: Likewise.
43764         * math/w_sinhl.c: Likewise.
43765         * math/w_sqrt.c: Likewise.
43766         * math/w_sqrtf.c: Likewise.
43767         * math/w_sqrtl.c: Likewise.
43768         * math/w_tgamma.c: Likewise.
43769         * math/w_tgammaf.c: Likewise.
43770         * math/w_tgammal.c: Likewise.
43772         * po/ja.po: Update from translation team.
43774 2011-09-29  Andreas Jaeger  <aj@suse.de>
43776         [BZ #13179]
43777         * sunrpc/netname.c (netname2host): Fix logic.
43779         [BZ #6779]
43780         [BZ #6783]
43781         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43782         correctly.
43783         * math/w_remainder.c (__remainder): Likewise.
43784         * math/w_remainderf.c (__remainderf): Likewise.
43785         * math/libm-test.inc (remainder_test): Add test cases.
43787 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43789         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43790         sdiv_qrnnd.
43792 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43794         * string/test-memcmp.c: Avoid unncessary #defines.
43795         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43797 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43799         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43800         Use new sse2 version for core i3 - i7 as it's faster
43801         than sse42 version.
43802         (bit_Prefer_PMINUB_for_stringop): New.
43803         * sysdeps/x86_64/rawmemchr.S: Update.
43804         Replace with faster SSE2 version.
43805         * sysdeps/x86_64/memrchr.S: New file.
43806         * sysdeps/x86_64/memchr.S: Update.
43807         Replace with faster SSE2 version.
43809 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43811         * elf/dl-load.c (lose): Add cast to avoid warning.
43813 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43815         * po/ca.po: Update from translation team.
43817         * inet/getnetgrent_r.c: Hook up nscd.
43818         * nscd/Makefile (routines): Add nscd_netgroup.
43819         (nscd-modules): Add netgroupcache.
43820         (CFLAGS-netgroupcache.c): Define.
43821         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43822         (cache_search): Add const to second parameter.
43823         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43824         INNETGR.
43825         (dbs): Add netgrdb entry.
43826         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43827         (verify_persistent_db): Handle netgrdb.
43828         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43829         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43830         GETFDNETGR.
43831         (netgroup_response_header): Define.
43832         (innetgroup_response_header): Define.
43833         (datahead): Add netgroup_response_header and innetgroup_response_header
43834         elements.
43835         * nscd/nscd.conf: Add entries for netgroup cache.
43836         * nscd/nscd.h (dbtype): Add netgrdb.
43837         (_PATH_NSCD_NETGROUP_DB): Define.
43838         (netgroup_iov_disabled): Declare.
43839         (xmalloc, xcalloc, xrealloc): Move declarations here.
43840         (cache_search): Adjust prototype.
43841         Add netgroup-related prototypes.
43842         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43843         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43844         (__nscd_innetgr): Declare.
43845         * nscd/selinux.c (perms): Use access_vector_t as element type and
43846         add netgroup-related initializers.
43847         * nscd/netgroupcache.c: New file.
43848         * nscd/nscd_netgroup.c: New file.
43849         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43850         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43851         For four parameters use innetgr.
43852         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43853         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43854         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43855         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43857         * nscd/connections.c (register_traced_file): Don't register file
43858         for disabled databases.
43860 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43862         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43864         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43865         from tree and freeing node.
43867 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43869         * nss/nsswitch.c (__nss_database_lookup): Handle
43870         nss_parse_service_list out of memory case.
43872 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43874         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43875         out of memory case.
43877 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43879         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43880         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43881         pass it down.
43882         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43883         elf_machine_rela, elf_machine_lazy_rel.
43884         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43885         (ELF_DYNAMIC_DO_REL): Likewise.
43886         (ELF_DYNAMIC_DO_RELA): Likewise.
43887         (ELF_DYNAMIC_RELOCATE): Likewise.
43888         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43889         to ELF_DYNAMIC_DO_REL.
43890         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43891         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43892         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43893         elf_machine_rela.
43894         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43895         skip_ifunc, don't call ifunc function if non-zero.
43896         (elf_machine_rela): Likewise.
43897         (elf_machine_lazy_rel): Likewise.
43898         (elf_machine_lazy_rela): Likewise.
43899         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43900         (elf_machine_lazy_rel): Likewise.
43901         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43902         Likewise.
43903         (elf_machine_lazy_rel): Likewise.
43904         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43905         Likewise.
43906         (elf_machine_lazy_rel): Likewise.
43907         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43908         (elf_machine_lazy_rel): Likewise.
43909         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43910         (elf_machine_lazy_rel): Likewise.
43911         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43912         (elf_machine_lazy_rel): Likewise.
43913         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43914         (elf_machine_lazy_rel): Likewise.
43915         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43916         (elf_machine_lazy_rel): Likewise.
43917         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43918         (elf_machine_lazy_rel): Likewise.
43920 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43922         * nss/nss_files/files-init.c (_nss_files_init): Use static
43923         initialization for all the *_traced_file variables.
43925 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43927         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43929 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43931         [BZ #13226]
43932         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43934 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43936         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43937         Reread the line before reparsing it.
43939 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43941         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43943 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43944             Maxim Kuvyrkov  <maxim@codesourcery.com>
43945             Joseph Myers  <joseph@codesourcery.com>
43947         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43948         if needed for __stack_chk_guard.
43950 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43952         * sysdeps/posix/spawni.c (script_execute): Always define it.
43953         It will be optimized away if unused.
43954         (maybe_script_execute): New function.
43955         (__spawni): Call it.
43957         * Makerules: Don't include tls.make.
43958         (config-tls): Always set to thread.
43959         * tls.make.c: File removed.
43961 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43963         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43964         * config.make.in (CPPFLAGS-config): New substituted variable.
43966 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43968         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43970         [BZ #13192]
43971         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43972         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43974 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43976         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43977         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43978         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43979         (CALL_FAIL): Likewise.
43980         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43981         (CALL_FAIL): Macro removed.
43982         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43984 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43986         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43987         for __FINITE_MATH_ONLY__ == 1.
43989 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43991         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43992         __ieee754_sqrt instead of sqrt.
43993         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43994         __ieee754_sqrtf instead of sqrtf.
43995         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43996         __floorf instead of floorf.
43997         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43998         __floorf, __truncf instead of floorf, truncf.
44000 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44002         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44004         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44005         __extern_always_inline.
44006         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44007         32-bit.
44009 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44011         * elf/rtld.c (dl_main): Also relocate in dependency order when
44012         doing symbol dependency testing.
44014 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44016         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44017         Always define `refsym'.
44019 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44021         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44022         (__FD_ELT): Renamed from __FDELT.
44023         * misc/bits/select2.h (__FD_ELT): Likewise.
44024         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44025         __FD_MASK instead of __FDELT, __FDMASK.
44026         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44027         Likewise.
44028         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44029         Likewise.
44031         * elf/Makefile (gen-ldd): Fix pattern.
44033         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44034         (init_tls): Likewise.
44036 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44038         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44040 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44042         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44043         `struct cmsghdr *' instead of `void *'.
44044         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44045         Likewise.
44047 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44049         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44050         if non-absolute.
44051         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44052         ldd_rewrite_script.
44054 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44056         * configure.in: Remove --with-tls option.
44057         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44058         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44059         out in case it is missing.
44060         * sysdeps/ia64/elf/configure.in: Likewise.
44061         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44062         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44063         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44064         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44065         * sysdeps/sh/elf/configure.in: Likewise.
44066         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44067         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44068         * sysdeps/x86_64/elf/configure.in: Likewise.
44069         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44070         * sysdeps/mach/hurd/tls.h: Likewise.
44072         [BZ #13067]
44073         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44075         [BZ #13090]
44076         * configure.in: Fix use of AC_INIT.
44078         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44080 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44082         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44083         __set_errno.
44084         * malloc/hooks.c: Likewise.
44086         [BZ #11929]
44087         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44088         variables statically.
44089         (narenas): Initialize.
44090         (list_lock): Initialize.
44091         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44092         initializtion of main_arena and list_lock.  Small cleanups.
44093         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44094         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44095         Add initializers to main_arena and mp_.
44096         (malloc_state): Remove pagesize member.  Change all users to use
44097         GLRO(dl_pagesize).
44099         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44100         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44101         is always initialized.
44103         * malloc/malloc.c: Removed unused configurations and dead code.
44104         * malloc/arena.c: Likewise.
44105         * malloc/hooks.c: Likewise.
44106         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44108         * include/tls.h: Removed.  USE___THREAD must always be defined.
44109         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44110         * elf/dl-libc.c: Likewise.
44111         * elf/dl-tsd.c: Likewise.
44112         * include/errno.h: Likewise.
44113         * include/netdb.h: Likewise.
44114         * include/resolv.h: Likewise.
44115         * inet/herrno-loc.c: Likewise.
44116         * inet/herrno.c: Likewise.
44117         * malloc/arena.c: Likewise.
44118         * malloc/hooks.c: Likewise.
44119         * malloc/malloc.c: Likewise.
44120         * resolv/res-state.c: Likewise.
44121         * resolv/res_libc.c: Likewise.
44122         * sysdeps/i386/dl-machine.h: Likewise.
44123         * sysdeps/ia64/dl-machine.h: Likewise.
44124         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44125         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44126         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44127         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44128         * sysdeps/sh/dl-machine.h: Likewise.
44129         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44130         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44131         * sysdeps/unix/i386/sysdep.S: Likewise.
44132         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44133         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44134         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44135         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44136         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44137         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44138         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44139         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44140         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44141         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44142         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44143         * sysdeps/x86_64/dl-machine.h: Likewise.
44144         * tls.make.c: Likewise.
44146         * configure.in: Remove --with-__thread option.  Make tests for
44147         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44148         tls_model attribute fail if no support is available.  Remove
44149         USE_IN_LIBIO.
44150         * Makeconfig: Adjust for dropped configure option.  All features are
44151         now mandatory.
44152         * Makerules: Likewise.
44153         * Versions.def: Likewise.
44154         * argp/argp-fmtstream.c: Likewise.
44155         * argp/argp-fmtstream.h: Likewise.
44156         * argp/argp-help.c: Likewise.
44157         * assert/assert.c: Likewise.
44158         * config.h.in: Likewise.
44159         * config.make.in: Likewise.
44160         * configure: Likewise.
44161         * configure.in: Likewise.
44162         * csu/Versions: Likewise.
44163         * csu/init.c: Likewise.
44164         * elf/tst-audit2.c: Likewise.
44165         * elf/tst-tls10.c: Likewise.
44166         * elf/tst-tls10.h: Likewise.
44167         * elf/tst-tls11.c: Likewise.
44168         * elf/tst-tls12.c: Likewise.
44169         * elf/tst-tls14.c: Likewise.
44170         * elf/tst-tlsmod11.c: Likewise.
44171         * elf/tst-tlsmod12.c: Likewise.
44172         * elf/tst-tlsmod13.c: Likewise.
44173         * elf/tst-tlsmod13a.c: Likewise.
44174         * elf/tst-tlsmod14a.c: Likewise.
44175         * elf/tst-tlsmod15b.c: Likewise.
44176         * elf/tst-tlsmod16a.c: Likewise.
44177         * elf/tst-tlsmod16b.c: Likewise.
44178         * elf/tst-tlsmod7.c: Likewise.
44179         * elf/tst-tlsmod8.c: Likewise.
44180         * elf/tst-tlsmod9.c: Likewise.
44181         * gmon/gmon.c: Likewise.
44182         * grp/fgetgrent_r.c: Likewise.
44183         * grp/putgrent.c: Likewise.
44184         * hurd/fopenport.c: Likewise.
44185         * include/libc-symbols.h: Likewise.
44186         * include/tls.h: Likewise.
44187         * intl/gettextP.h: Likewise.
44188         * intl/loadinfo.h: Likewise.
44189         * locale/global-locale.c: Likewise.
44190         * locale/localeinfo.h: Likewise.
44191         * mach/devstream.c: Likewise.
44192         * malloc/arena.c: Likewise.
44193         * malloc/set-freeres.c: Likewise.
44194         * misc/err.c: Likewise.
44195         * misc/getttyent.c: Likewise.
44196         * misc/mntent_r.c: Likewise.
44197         * posix/getopt.c: Likewise.
44198         * posix/wordexp.c: Likewise.
44199         * pwd/fgetpwent_r.c: Likewise.
44200         * resolv/Versions: Likewise.
44201         * resolv/res_hconf.c: Likewise.
44202         * shadow/fgetspent_r.c: Likewise.
44203         * shadow/putspent.c: Likewise.
44204         * stdio-common/printf_fphex.c: Likewise.
44205         * stdio-common/tmpfile.c: Likewise.
44206         * stdlib/abort.c: Likewise.
44207         * stdlib/fmtmsg.c: Likewise.
44208         * sunrpc/auth_unix.c: Likewise.
44209         * sunrpc/clnt_perr.c: Likewise.
44210         * sunrpc/clnt_tcp.c: Likewise.
44211         * sunrpc/clnt_udp.c: Likewise.
44212         * sunrpc/clnt_unix.c: Likewise.
44213         * sunrpc/openchild.c: Likewise.
44214         * sunrpc/svc_simple.c: Likewise.
44215         * sunrpc/svc_tcp.c: Likewise.
44216         * sunrpc/svc_udp.c: Likewise.
44217         * sunrpc/svc_unix.c: Likewise.
44218         * sunrpc/xdr.c: Likewise.
44219         * sunrpc/xdr_array.c: Likewise.
44220         * sunrpc/xdr_rec.c: Likewise.
44221         * sunrpc/xdr_ref.c: Likewise.
44222         * sunrpc/xdr_stdio.c: Likewise.
44224 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44226         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44228 2011-07-03  Andreas Jaeger  <aj@suse.de>
44230         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44231         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44232         regenerate with gen-libm-tests.pl.
44234 2010-05-12  Petr Baudis  <pasky@suse.cz>
44236         [BZ #11589]
44237         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44238         around j0() zero points by switching to j1().
44239         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44240         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44241         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44242         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44244 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44246         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44247         instead of 0.
44248         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44249         instead of 0.
44250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44251         Patch in part by Pavel Roskin <proski@gnu.org>.
44253         [BZ #13138]
44254         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44255         realloc.
44256         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44257         Free memory block if necessary.
44259         [BZ #12847]
44260         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44261         be NULL.  Don't lock in this case.
44263 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44265         * elf/elf.h (ELFOSABI_GNU): New macro.
44266         (ELFOSABI_LINUX): Define to that.
44268 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44270         * string/strncat.c (strncat): Undef the symbol in case it has been
44271         defined in bits/string.h.
44273 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44275         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44277         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44278         link map.
44280 2011-08-17  Andreas Jaeger  <aj@suse.de>
44282         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44284 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44285             Ian Lance Taylor  <iant@google.com>
44287         * math/libm-test.inc (lround_test): New testcase.
44288         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44290 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44292         * Makefile: Remove support for automatic cvs check-ins.
44293         * Makerules: Likewise.
44294         * config.make.in: Likewise.
44295         * configure.in: Likewise.
44296         * intl/Makefile: Likewise.
44297         * locale/Makefile: Likewise.
44298         * po/Makefile: Likewise.
44299         * posix/Makefile: Likewise.
44300         * sysdeps/gnu/Makefile: Likewise.
44301         * sysdeps/mach/hurd/Makefile: Likewise.
44302         * sysdeps/sparc/sparc32/Makefile: Likewise.
44304         [BZ #13118]
44305         * posix/Makefile (bug-regex32-ENV): Define.
44306         Patch by John Stanley <jpsinthemix@verizon.net>.
44308         * misc/Makefile (headers): Add bits/select2.h.
44309         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44310         * misc/bits/select2.h: New file.
44311         * include/bits/select2.h: New file.
44312         * debug/Makefile (routines): Add fdelt_chk.
44313         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44314         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44315         FD_ISSET.
44316         * debug/fdelt_chk.c: New file.
44318         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44319         * wcsmbs/test-wmemcmp.c: Likewise.
44320         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44321         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44323 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44325         * string/Makefile (strop-tests): Add memcmp.
44326         * string/test-wmemcmp.c: New file.
44327         * string/test-memcmp.c: Add wmemcmp support.
44329 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44331         [BZ #13153]
44332         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44333         2011-07-19 change.
44335         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44336         garbage value in a __mach_port_mod_refs call in the cases of the
44337         task-self and thread-self ports.
44339 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44341         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44343 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44345         * elf/dl-load.c (lose): Check for non-null L.
44347 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44349         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44351         * elf/dl-libc.c (dlerror_run): Pass back error code from
44352         dl_catch_error.
44354         [BZ #13123]
44355         * elf/dl-load.c (lose): Free l_origin if it is valid.
44357         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44358         names.
44359         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44360         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44361         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44362         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44363         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44364         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44366 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44368         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44369         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44370         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44371         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44372         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44373         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44374         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44375         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44376         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44377         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44379 2011-08-15  Alan Modra  <amodra@gmail.com>
44381         [BZ #13092]
44382         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44383         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44384         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44385         ppc_mcount to static-only-routines.
44386         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44387         __mcount_internal.
44388         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44389         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44391 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44393         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44394         for finite and infinity parameters.
44396 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44399         and add nop instructions for throughput optimization.
44400         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44402 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44404         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44405         aligned copy for power7 with vector-scalar instructions.
44406         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44408 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44410         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44411         AVX check.
44413 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44415         [BZ #13144]
44416         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44417         last change.
44419 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44421         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44422         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44423         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44424         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44425         clock_gettime.
44427 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44429         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44430         Forgot to demangle the pointer.
44432         * sysdeps/i386/sysdep.h: Define atom_text_section.
44433         * sysdeps/x86_64/sysdep.h: Likewise.
44434         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44435         section with atom_text_section.
44436         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44437         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44438         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44439         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44440         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44442         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44443         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44444         already be defined.  Change to take two parameters and don't assign
44445         result to variable.  Adjust all users.
44446         Define INTERNAL_GETTIME if not already defined.
44447         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44448         call.
44449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44450         HAVE_CLOCK_GETTIME_VSYSCALL.
44451         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44453         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44454         gettimeofday vsyscall, just use time.
44456 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44458         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44459         <errno.h>.
44461 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44463         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44464         syscall on x86-64.
44465         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44466         syscall.
44467         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44468         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44469         syscall if possible.
44471 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44473         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44474         e_ident.  Don't pass to find_mapsXX.
44475         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44477 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44480         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44481         * sysdeps/x86_64/multiarch/strchr.S: Update.
44482         Check bit_slow_BSF bit.
44483         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44484         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44485         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44487 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44489         [BZ #13134]
44490         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44491         before glibc 2.15.
44492         (tryshell): Define.
44493         (__spawni): Change last parameter to be flag.  Test
44494         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44495         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44496         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44497         * posix/spawni.c: Likewise.
44498         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44499         * posix/spawnp.c: Likewise.  Change normal version to use
44500         SPAWN_XFLAGS_USE_PATH.
44501         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44502         SPAWN_XFLAGS_TRY_SHELL.
44504         [BZ #13150]
44505         * posix/glob.h: Remove gcc 1.x support.
44507         [BZ #13068]
44508         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44510 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44513         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44514         strrchr-sse2-bsf
44515         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44516         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44517         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44518         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44519         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44520         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44522 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44524         * sysdeps/x86_64/wcscmp.S: New file.
44526         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44527         wcscmp-c wcscmp-sse2
44528         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44529         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44530         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44531         * wcsmbs/wcscmp.c: Allow renaming.
44533 2011-09-05  David S. Miller  <davem@davemloft.net>
44535         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44536         stack slot, rather than the struct return pointer slot.
44537         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44538         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44540         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44542 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44544         * po/ja.po: Update from translation team.
44546         [BZ #13144]
44547         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44548         kernel in 64-bit binaries.
44550 2011-09-01  David S. Miller  <davem@davemloft.net>
44552         * elf/elf.h (HWCAP_SPARC_*): Move to..
44553         * sysdeps/sparc/sysdep.h: this new file and add new values.
44554         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44555         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44556         _DL_HWCAP_COUNT to 24.
44557         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44558         entries.
44559         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44560         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44561         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44563         instead of magic constants.
44564         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44566 2011-08-31  David S. Miller  <davem@davemloft.net>
44568         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44569         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44570         Reimplement to do errno handling inline.
44571         (SYSCALL_ERROR_HANDLER): New macro.
44572         (__SYSCALL_STRING): Do not do errno handling in asm.
44573         (__CLONE_SYSCALL_STRING): Delete.
44574         (__INTERNAL_SYSCALL_STRING): Delete.
44575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44576         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44577         (PSEUDO): Reimplement to do errno handling inline.
44578         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44579         (SYSCALL_ERROR_HANDLER): New macro.
44580         (__SYSCALL_STRING): Do not do errno handling in asm.
44581         (__CLONE_SYSCALL_STRING): Delete.
44582         (__INTERNAL_SYSCALL_STRING): Delete.
44583         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44584         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44585         i386.
44586         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44587         (inline_syscall*): Add 'err' argument.
44588         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44589         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44590         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44591         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44593         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44594         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44596 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44598         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44600 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44602         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44603         directive.
44605 2011-08-24  David S. Miller  <davem@davemloft.net>
44607         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44609 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44611         * elf/Makefile: Add rules to build and run unload8 test.
44612         * elf/unload8.c: New file.
44613         * elf/unload8mod1.c: New file.
44614         * elf/unload8mod1x.c: New file.
44615         * elf/unload8mod2.c: New file.
44616         * elf/unload8mod3.c: New file.
44618         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44619         it wasn't used.
44621 2011-08-23  David S. Miller  <davem@davemloft.net>
44623         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44624         subtract stack bias.
44625         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44626         %sp not %fp in calculations.
44627         (_JMPBUF_UNWINDS_ADJ): Likewise.
44629         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44630         (aio_suspend): Call it to force an exception region around the
44631         AIO_MISC_WAIT() invocation.
44633 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44635         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44636         backslash.
44638 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44640         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44641         protection macro.
44642         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44643         and <dl-machine.h>.
44644         (Elf64_FuncDesc): Remove.
44646 2011-08-22  David S. Miller  <davem@davemloft.net>
44648         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44649         sigaltstack check, add missing cfi directives.
44650         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44651         missing cfi directives, and sigaltstack handling.
44653 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44655         [BZ #11724]
44656         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44657         object is seen twice.
44658         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44660         * elf/Makefile (distribute): Add tst-initorder2.c.
44661         (tests): Add tst-initorder2.
44662         (modules-names): Add tst-initorder2a tst-initorder2b
44663         tst-initorder2c tst-initorder2d.  Add rules to build them.
44664         ($(objpfx)tst-initorder2.out): New rule.
44665         * elf/tst-initorder2.c: New file.
44666         * elf/tst-initorder2.exp: New file.
44668 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44670         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44672         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44673         dependencies back to end of function.
44675         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44676         $(elfobjdir)/ld.so.
44678 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44680         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44681         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44682         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44683         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44684         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44685         of __vdso_gettimeofday.
44686         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44687         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44688         attribute_hidden.
44689         (_libc_vdso_platform_setup): Remove initialization of
44690         __vdso_gettimeofday and __vdso_time.
44692 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44694         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44695         and fgetc_unlocked.
44696         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44697         getc_unlocked.
44699         * elf/dl-open.c (add_to_global): Report additions to the global scope
44700         for LD_DEBUG=scopes.
44701         (dl_open_worker): Also print scope of newly loaded dependencies.
44702         (_dl_show_scope): Indicate if there is no scope.
44704         [BZ #13114]
44705         * stdio-common/Makefile (tests): Add bug24.
44706         * stdio-common/bug24.c: New file.
44708 2011-08-19  Andreas Jaeger  <aj@suse.de>
44710         [BZ #13114]
44711         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44712         non-existant file when using close-on-exec mode.
44714 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44716         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44717         the very first instruction.
44719         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44720         the CFI state in the end.
44721         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44722         inclusion of dl-trampoline.h.
44723         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44725 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44727         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44728         expectations for long double.
44730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44731         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44733 2011-08-14  David S. Miller  <davem@davemloft.net>
44735         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44736         artificual limit depends upon the system page size.
44738 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44740         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44741         * resolv/Makefile: Define CFLAGS-libresolv.
44743 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44745         * nss/makedb.c (compute_tables): Make variables used in nested
44746         function static.
44748 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44750         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44751         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44752         if buffer was too small.
44754         * elf/pldd.c (main): Attach to all threads in the process.
44755         Rewrite /proc handling to use *at functions.
44757 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44759         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44760         specifies first scope to show.
44761         (dl_open_worker): Update callers.  Move printing scope of new
44762         object to before the relocation.
44763         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44764         * sysdeps/generic/ldsodefs.h: Update declaration.
44766         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44767         string for the scope number.
44769 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44771         * nscd/servicescache.c (cache_addserv): Make sure written is always
44772         initialized.
44774 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44776         * sysdeps/i386/i486/bits/atomic.h
44777         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44778         statement expression, so as to suppress "set but not used" warning.
44779         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44781         * string/strncat.c (STRNCAT): Use prototype definition.
44783         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44784         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44785         -Iprograms here.
44786         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44787         (localedef-modules): Add localedef.
44788         (locale-modules): Add locale.
44790         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44791         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44792         to avoid a warning.
44794 2011-08-14  David S. Miller  <davem@davemloft.net>
44796         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44797         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44799 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44801         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44802         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44803         * elf/rtld.c (dl_main): Set l_name of vDSO.
44804         Call _dl_show_scope when DL_DEBUG_SCOPES.
44805         (process_dl_debug): Recognize scopes flag and also set it for all.
44806         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44807         Declare _dl_show_scope.
44809         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44810         (do_dlopen): Pass caller_dlopen to dl_open.
44811         (__libc_dlopen_mode): Initialize caller_dlopen.
44813         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44814         of libc.  Make tolower call locale-independent.  Optimize a bit by
44815         using isdigit instead of isalnum.
44816         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44818 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44820         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44821         was a dependency or dynamically loaded.
44823 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44825         * intl/l10nflist.c: Allow architecture-specific pop function.
44826         * sysdeps/x86_64/l10nflist.c: New file.
44828         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44829         classification.
44831 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44833         * include/dirent.h: Add libc_hidden_proto for scandirat and
44834         scandirat64.  Don't declare __scandirat64.
44835         * dirent/scandirat.c: Add libc_hidden_def.
44836         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44837         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44839 2011-08-10  David S. Miller  <davem@davemloft.net>
44841         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44842         enum.
44843         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44844         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44845         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44847 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44849         * Versions.def [libc]: Add GLIBC_2.15.
44850         * dirent/Makefile (routines): Add scandirat and scandirat64.
44851         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44852         GLIBC_2.15.
44853         * dirent/dirent.h: Declare scandirat and scandirat64.
44854         * dirent/scandirat.c: New file.
44855         * dirent/scandirat64.c: New file.
44856         * sysdeps/wordsize-64/scandirat.c: New file.
44857         * sysdeps/wordsize-64/scandirat64.c: New file.
44858         * dirent/opendir.c: Define opendirat.
44859         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44860         using scandirat.
44861         * dirent/scandir64.c: Adjust for scandir.c change.
44862         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44863         __scandirat64, and __scandir_cancel_handler.
44864         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44865         additional parameter and use openat instead of open (outside of ld.so).
44866         Add new __opendir as wrapper around __opendirat.
44867         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44868         here without requiring old scandirat implementation.
44870 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44872         * dirent/scandir.c (cancel_handler): Renamed to
44873         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44874         defined.  Adjust users.
44875         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44876         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44878 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44880         * string/test-string.h (IMPL): Use __STRING to expand name and then
44881         stringify it.
44883         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44884         of cleanups.
44886 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44888         * string/Makefile: Update.
44889         (strop-tests): Append strncat.
44890         * string/test-wcscmp.c: New file.
44891         New comprehensive test for wcscmp.
44892         * string/test-strcmp.c: Update.
44893         (WIDE): New define.
44895 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44897         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44898         line.
44900 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44903         encoding to ACE if AI_IDN.
44905 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44907         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44908         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44910 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44912         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44913         Fix overflow bug in strncat.
44914         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44916         * string/test-strncat.c: Update.
44917         Add new tests for checking overflow bugs.
44919 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44921         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44922         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44923         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44924         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44925         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44926         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44927         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44928         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44929         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44931         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44932         (USE_AS_STRCAT): Define.
44933         Add strcat and strncat support.
44934         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44936 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44938         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44939         __n bigger than INT_MAX+1.
44940         (__strncmp_g): Likewise.
44942 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44944         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44945         * libio/stido.h: Likewise.
44947         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44948         (AF_NFC): Define.
44949         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44950         (AF_NFC): Define.
44952         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44953         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44954         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44955         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44956         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44958         [BZ #13021]
44959         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44960         installed.
44962         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44963         typo.
44964         (_dl_x86_64_save_sse): Likewise.
44966 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44968         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44969         OSXSAVE.
44970         (_dl_x86_64_save_sse): Likewise.
44972         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44974         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44976 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44978         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44979         change.
44980         (_dl_x86_64_save_sse): Use correct AVX check.
44982 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44984         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44985         bug in strncpy/strncat.
44986         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44988 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44990         * string/tester.c (test_strcat): Add tests for different alignments
44991         of source and destination.
44992         (test_strncat): Likewise.
44994 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44996         [BZ #12852]
44997         * posix/glob.c (glob): Check passed in values before using them in
44998         expressions to avoid some overflows.
44999         (glob_in_dir): Likewise.
45001         [BZ #13007]
45002         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45003         check for AVX enablement so that we don't crash with old kernels and
45004         new hardware.
45005         * elf/tst-audit4.c: Add same checks here.
45006         * elf/tst-audit6.c: Likewise.
45008         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45010 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45012         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45014 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45016         * po/cs.po: Update from translation team.
45017         * po/bg.po: Likewise.
45019 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45021         * misc/sys/cdefs.h: Add support for const attribute.
45022         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45023         to gnu_dev_{major,minor,makedev} functions.
45025 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45027         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45029 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45031         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45032         strlen results.
45034 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45036         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45037         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45038         register in order to avoid conflicts with the soft frame pointer
45039         being held in r11 when necessary.
45040         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45041         (INTERNAL_VSYSCALL_NCS): Likewise.
45043 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45045         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45046         * elf/dl-fini.c (_dl_fini): Adjust caller.
45047         * elf/dl-close.c (_dl_close_worker): Likewise.
45048         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45050 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45052         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45053         "aux_cache->nlibs < 0".
45055         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45056         in the reload-count case.
45058 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45061         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45062         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45063         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45064         * sysdeps/x86_64/multiarch/strcat.S: New file.
45065         * sysdeps/x86_64/multiarch/strncat.S: New file.
45066         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45067         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45068         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45069         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45070         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45071         (USE_AS_STRCAT): Define.
45072         Add strcat and strncat support.
45073         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45074         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45075         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45076         * string/strncat.c: Update.
45077         (USE_AS_STRNCAT): Define.
45078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45079         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45080         and i7.
45081         * sysdeps/x86_64/multiarch/init-arch.h
45082         (bit_Prefer_PMINUB_for_stringop): New.
45083         (index_Prefer_PMINUB_for_stringop): Likewise.
45084         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45085         bit_Prefer_PMINUB_for_stringop.
45087 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45089         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45090         buffer64.
45091         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45092         of casting of buffer.
45093         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45094         buffer32 and buffer64.
45095         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45096         writes instead of casting of buffer.
45097         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45098         buffer32.
45099         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45100         casting of buffer.
45102 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45104         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45106 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45108         * nscd/nscd.c (termination_handler): Don't do anything for a database
45109         if it has not yet been initialized.
45111 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45113         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45115 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45117         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45119 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45121         * po/nl.po: Update from translation team.
45122         * po/sv.po: Likewise.
45124 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45126         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45127         now disallowed by GCC.
45129         * configure.in (use-default-link): Default to yes if a test -shared
45130         link meets our qualifications.
45131         * configure: Regenerated.
45133         * config.make.in (output-format): New variable.
45134         * configure.in: Check for ld --print-output-format support.
45135         * configure: Regenerated.
45136         * Makerules ($(common-objpfx)format.lds)
45137         [$(output-format) != unknown]: Just use $(output-format),
45138         instead of the linker-script munging.
45140 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45142         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45143         of $(common-objpfx)shlib.lds.
45144         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45146         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45147         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45149         * configure.in (-z relro check): Adjust test code to add a large
45150         writable data section after it.
45151         * configure: Regenerated.
45153 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45155         * configure.in (-z relro check): Fix test code to make the variable
45156         truly const.
45157         * configure: Regenerated.
45159 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45161         * nscd/nscd.h (struct traced_file): Define.
45162         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45163         elements.  Add traced_files.
45164         (inotify_fd): Declare.
45165         (register_traced_file): Declare.
45166         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45167         (inotify_fd): Export.
45168         (resolv_conf_descr): Remove.
45169         (nscd_init): Move inotify descriptor creation to main.
45170         Don't register files for notification here.
45171         (register_traced_file): New function.
45172         (invalidate_cache): Don't use reset_res to determine whether to call
45173         res_init, go through the list of registered files.
45174         (main_loop_poll): The inotify descriptors are now stored in the
45175         structures for the traced files.
45176         (main_loop_epoll): Likewise
45177         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45178         to __nss_disable_nscd.
45179         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45180         for a database anymore.  Check the records for all the registered
45181         files instead.
45182         * nss/Makefile (libnss_files-routines): Add files-init.
45183         (libnss_db-routines): Add db-init.
45184         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45185         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45186         * nss/nss_db/db-init.c: New file.
45187         * nss/nss_files/files-init.c: New file.
45188         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45189         __nss_lookup_function.
45190         (__nss_lookup_function): Call nss_load_library.
45191         (nss_load_all_libraries): New function.
45192         (__nss_disable_nscd): Take parameter with callback function for files
45193         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45194         used for the cached services.
45195         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45196         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45197         options for features to all the files in nscd.
45199         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45201 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45203         * csu/elf-init.c (__libc_csu_init): Comment typo.
45205 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45207         * po/pl.po: Update from translation team.
45208         * po/ja.po: Likewise.
45209         * po/ru.po: Likewise.
45210         * po/ko.po: Likewise.
45211         * po/fr.po: Likewise.
45213 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45215         * configure.in (.ctors/.dtors header and trailer check):
45216         Use an empirical test on a built program.
45217         * configure: Regenerated.
45219         * configure.in (-z relro check): Use an empirical test on a built DSO.
45220         Detect, but do not require, on ia64.
45221         * configure: Regenerated.
45223         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45224         Update tests that use readelf to use $READELF instead.
45225         * configure: Regenerated.
45227 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45229         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45230         if the result is not used.
45232 2011-07-05  Andreas Jaeger  <aj@suse.de>
45234         [BZ#9696]
45235         * stdlib/tst-strtod.c: Add testcase.
45237 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45239         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45240         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45241         The latter has a higher limit.  Take additional parameter to pass to
45242         the new function.
45243         (__pathconf): Pass file to __statfs_link_max.
45244         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45245         __statfs_link_max.
45246         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45247         __statfs_link_max.
45249         [BZ #12868]
45250         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45251         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45252         Handle Lustre.
45253         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45254         (__statfs_filesize_max): Likewise.
45255         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45257 2011-07-05  Andreas Jaeger  <aj@suse.de>
45259         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45261 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45263         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45264         `status' variable.
45265         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45266         Likewise.
45268 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45270         * Makefile (strop-tests): Add strncat.
45271         * string/test-strncat.c: New file.
45273 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45275         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45277 2011-06-21  Andreas Jaeger  <aj@suse.de>
45279         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45280         Copy rule from iconvdata/Makefile.
45282 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45284         [BZ #12922]
45285         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45286         but no long options are defined, just return 'W'.
45288 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45290         [BZ #9696]
45291         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45293 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45295         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45296         netgroups to read.
45297         (innetgr): Likewise.
45299 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45301         * config.make.in (install_root): Default to $(DESTDIR).
45303 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45305         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45307 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45309         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45311         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45312         containing directory rather than embedding absolute directory names.
45314         * scripts/check-local-headers.sh: Rewritten using awk.
45315         Match by word, not by line.  Print error messages for matches.
45316         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45318         * Makerules [shlib-lds-flags empty]:
45319         ($(common-objpfx)libc_pic.opts): New target.
45320         ($(common-objpfx)libc_pic.os.clean): New target.
45321         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45323         * config.make.in (OBJCOPY): New variable.
45324         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45325         * configure: Regenerated.
45327         * config.make.in (use-default-link): New variable.
45328         * configure.in (use_default_link): Grok --with-default-link to set it.
45329         * configure: Regenerated.
45330         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45331         (shlib-lds, shlib-lds-flags): Define to empty.
45333         * Makerules (shlib-lds): New variable.
45334         (shlib-lds-flags): New variable.
45335         (build-shlib, build-moduile, build-module-asneeded): Use it.
45336         ($(common-objpfx)libc.so): Use $(shlib-lds).
45337         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45338         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45340         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45341         DT_FLAGS/DT_FLAGS_1 with zero flags.
45343         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45344         linker script munging.
45346 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45348         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45349         as 128-bit value.
45350         * crypt/sha512.c (sha512_process_block): Perform total addition using
45351         128-bit if possible.
45352         (__sha512_finish_ctx): Likewise.
45353         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45354         as 64-bit value.
45355         * crypt/sha256.c (SWAP64): Define.
45356         (sha256_process_block): Perform total addition using 64-bit if
45357         possible.
45358         (__sha256_finish_ctx): Likewise.
45360 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45362         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45363         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45364         * nscd/hstcache.c (cache_addhst): Likewise.
45365         * nscd/grpcache.c (cache_addgr): Likewise.
45366         * nscd/aicache.c (addhstaiX): Likewise
45367         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45369 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45371         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45372         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45373         * nscd/hstcache.c (cache_addhst): Likewise.
45374         * nscd/grpcache.c (cache_addgr): Likewise.
45375         * nscd/aicache.c (addhstaiX): Likewise
45377 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45379         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45380         domain only when needed.
45382 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45385         is always restored.
45387 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45389         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45390         are re-adding the entry.
45391         * nscd/servicescache.c (cache_addserv): Likewise.
45393 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45395         * sysdeps/generic/dl-irel.h: fix protection against multiple
45396         inclusions.
45397         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45399 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45401         [BZ #12935]
45402         * malloc/memusage.sh: Fix quoting in message.
45403         * debug/xtrace.sh: Likewise.
45405         * configure.in: Remove support for --experimental-malloc option, make
45406         it the default.
45407         * config.make.in: Likewise.
45408         * malloc/Makefile: Likewise.
45410 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45412         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45413         two-byte characters.
45415 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45417         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45418         AC_CACHE_CHECK invocation.
45419         * configure: Regenerated.
45421         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45423 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45425         [BZ #12350]
45426         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45427         bit from old_res_options.
45429         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45431         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45432         value type for setfct.
45434 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45436         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45437         __gettimeofday instead of gettimeofday.
45439 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45441         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45443 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45445         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45447         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45448         info.
45450 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45453         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45454         strcpy-sse2-unaligned strncpy-sse2-unaligned
45455         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45456         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45457         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45458         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45459         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45460         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45461         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45462         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45463         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45464         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45465         (STRCPY): Support SSE2 and SSSE3 versions.
45467 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45469         [BZ #12874]
45470         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45471         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45472         kernels which artificially limit size of requests.
45474 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45476         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45477         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45478         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45479         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45480         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45481         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45482         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45483         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45484         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45485         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45486         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45487         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45488         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45489         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45490         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45492         Enable unaligned load optimization for Intel Core i3, i5 and i7
45493         processors.
45494         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45495         Define.
45496         (index_Fast_Unaligned_Load): Define.
45497         (HAS_FAST_UNALIGNED_LOAD): Define.
45499 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45501         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45503 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45505         [BZ #12907]
45506         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45507         until it is clear that the information is realy needed.
45508         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45510 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45514 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45516         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45517         /sys/devices/system/cpu/online if it is usable.
45519         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45520         reading the information from the /proc filesystem to once a second.
45522 2011-06-21  Andreas Jaeger  <aj@suse.de>
45524         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45525         NULL after inclusion of kernel headers.
45527 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45529         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45530         calls to internal_setent.
45532         [BZ #12885]
45533         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45534         addresses using gethostbyname4_r ignore IPv4 addresses.
45536         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45537         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45539         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45541 2011-06-20  David S. Miller  <davem@davemloft.net>
45543         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45544         inclusions.
45545         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45547         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45548         (elf_irel): Use it.
45549         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45550         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45551         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45552         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45553         * sysdeps/x86_64/dl-irel.h: Likewise.
45555         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45556         * elf/dl-sym.c: Likewise.
45558 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45560         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45561         need to dereference resplen2.
45563 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45565         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45567 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45569         * Makeconfig: Define vardbdir and inst_vardbdir.
45570         * nss/Makefile: Add rules to install db-Makefile.
45572         * nss/nss_db/db-XXX.c: Cleanup.
45574         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45575         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45576         GLIBC_PRIVATE.
45577         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45578         * nss/makedb.c: Implement -g option to specify that value strings
45579         are generated and should not be added to table iterated over for
45580         get*ent calls.
45581         * nss/nss_db/db-initgroups.c: New file.
45583         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45584         interface.
45586         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45587         (internal_getgrouplist): Adjust to name change.
45588         Update use_initgroups_entry if this is not the first call.
45589         * nss/databases.def: Add initgroups entry.
45591         * nss/makedb.c (compute_tables): Check result of multiple hash table
45592         sizes to minimize maximum chain length.
45594 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45596         * Versions.def: Add entry for libnss_db.
45597         * shlib-versions: Likewise.
45598         * nss/Makefile: Add rules to build libnss_db.
45599         * nss/Versions: Add libnss_db information.  Organize libnss_files
45600         entries better.
45601         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45602         makedb progra.  Some minor improvements to generate smaller files.
45603         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45604         here from...
45605         * nss/makedb.c: ...here.
45606         Improve database format to be smaller and require less memory at
45607         runtime.
45608         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45609         db anymore.
45610         * nss/nss_db/db-netgrp.c: Likewise.
45611         * nss/nss_db/db-open.c: Likewise.
45612         * nss/nss_files/flies-XXX.x: Adjust comments.
45613         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45614         * nss/nss_files/files-grp.c: Likewise.
45615         * nss/nss_files/files-hosts.c: Likewise.
45616         * nss/nss_files/files-network.c: Likewise.
45617         * nss/nss_files/files-proto.c: Likewise.
45618         * nss/nss_files/files-pwd.c: Likewise.
45619         * nss/nss_files/files-rpc.c: Likewise.
45620         * nss/nss_files/files-service.c: Likewise.
45621         * nss/nss_files/files-sgrp.c: Likewise.
45622         * nss/nss_files/files-spwd.c: Likewise.
45623         * nss/nss_db/db-alias.c: Removed.
45624         * nss/nss_db/dummy-db.h: Removed.
45626 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45628         * nss/makedb.c: Rewritten to not use database library.
45629         * nss/Makefile: Update to build new makedb program.
45631 2011-06-14  Andreas Jaeger  <aj@suse.de>
45633         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45634         memset declaration.
45636 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45639         tmpbuf.
45641 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45643         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45644         * elf/Makefile ($(objpfx)ld.so): Likewise.
45646         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45647         Don't list ld.so twice in dependencies.
45649         * posix/bug-regex31.c: Include <stdlib.h>.
45651         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45653         * nis/nss_compat/compat-spwd.c
45654         (getspent_next_nss_netgr): Remove unused variable.
45655         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45657         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45658         nonmembers" output to use the right array.
45660         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45662         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45664         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45665         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45666         * catgets/gencat.c (read_input_file): Likewise.
45667         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45669         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45670         variable definition inside #if's controlling its use.
45672         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45674         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45676         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45678         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45679         unreachable code.
45681         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45683         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45684         * configure: Regenerated.
45686         * Makerules: Revert last change.
45687         * elf/Makefile: Likewise.
45689 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45691         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45692         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45693         (reloc-link): Likewise.
45695 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45697         * elf/Makefile: Add rules to build pldd.
45698         * elf/pldd.c: New file.
45699         * elf/pldd-xx.c: New file.
45701 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45703         * version.h: Update for 2.15 development version.
45705 2011-06-07  David S. Miller  <davem@davemloft.net>
45707         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45708         ifuncs.
45709         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45710         elf_machine_lazy_rel): Likewise.
45711         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45712         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45713         elf_machine_lazy_rel): Likewise.
45714         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45715         dl_hwcap via passed in argument.
45716         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45717         Likewise.
45719 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45721         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45723 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45725         [BZ #12849]
45726         * manual/fdl-1.1.texi: New file, verbatim from:
45727         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45728         * manual/lgpl-2.1.texi: New file, verbatim from:
45729         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45730         * manual/Makefile (licenses): New variable, list those new file names.
45731         (texis): Use it.
45732         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45734         * manual/fdl.texi: File removed.
45735         * manual/lesser.texi: File removed.
45736         * manual/libc.texinfo (Copying, Documentation License):
45737         Use new @include file names, put @appendix directive before @include.
45739 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45741         [BZ #12841]
45742         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45743         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45744         (mq_open): Add __NTH.
45746 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45749         Assume Intel Core i3/i5/i7 processor if AVX is available.
45751 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45753         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45754         typo.
45756 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45758         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45759         memory.  Use alloca_account.  Fix memory leak when retrying.
45761 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45763         * version.h (RELEASE): Bump for 2.14 release.
45764         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45766         * config.make.in (RANLIB): Remove entry.
45768 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45770         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45771         (libc.pot): Work around missing support for .ksh extension in xgettext.
45773         [BZ #12684]
45774         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45775         if both request failed.
45776         (send_dg): In case of server errors clear resplen or *resplen2.
45778         [BZ #12454]
45779         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45780         when there are multiple maps.
45781         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45782         (_dl_fini): Remove test here.
45784         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45786 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45788         [BZ #12350]
45789         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45790         bit from old_res_options.
45791         (gaih_inet): Likewise.
45793         [BZ #11099]
45794         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45795         as signed.
45797         * resolv/res_init.c (res_setoptions): Make the code more compact.
45799         [BZ #11558]
45800         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45801         set RES_USEVC.
45803         [BZ #11634]
45804         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45806         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45808         [BZ #11781]
45809         * malloc/malloc.h: Declare malloc hook variables as volatile.
45811         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45812         in last patch.
45814         [BZ #11799]
45815         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45816         raise in the comment.
45817         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45818         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45819         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45821 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45823         [BZ #12811]
45824         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45825         grow the buffers more if it already has to be sufficient.
45826         (build_wcs_upper_buffer): Likewise.
45827         * posix/regexec.c (check_matching): Likewise.
45828         (clean_state_log_if_needed): Likewise.
45829         (extend_buffers): Don't enlarge buffers beyond size of the input
45830         buffer.
45831         Patches mostly by Emil Wojak <emil@wojak.eu>.
45832         * posix/bug-regex32.c: New file.
45833         * posix/Makefile (tests): Add bug-regex32.
45835         * locale/findlocale.c (_nl_find_locale): Return right away if
45836         _nl_explode_name failed.
45837         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45839         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45841         * debug/xtrace.sh: Unify messages.
45842         * malloc/memusage.sh: Likewise.
45844         [BZ #12813]
45845         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45846         time symbol from vDSO.  Substitute with vsyscall if not available.
45847         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45848         __vdso_time.
45850         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45851         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45852         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45853         Add sendmmsg and internal_sendmmsg.
45854         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45855         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45856         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45858         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45859         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45860         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45862 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45864         [BZ #12813]
45865         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45866         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45867         available.
45868         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45869         __vdso_getcpu.
45871         [BZ #12814]
45872         * iconvdata/Makefile (tests): Add bug-iconv9.
45873         * iconvdata/bug-iconv9.c: New file.
45875 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45877         [BZ #12814]
45878         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45880 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45882         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45883         (struct user_regs_struct): Change intcs field back to cs.
45885 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45887         * po/ja.po: Update from translation team.
45889 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45891         [BZ #12795]
45892         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45893         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45895 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45897         * stdlib/longlong.h: Update from GCC.
45899 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45901         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45902         parameter name.
45903         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45904         Add parameter name.
45905         (__sysconf): Pass it down.
45907 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45909         [BZ #12671]
45910         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45911         some situations.
45912         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45913         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45914         add in in __libc_use_alloca calls.  Adjust callers.
45915         (glob): Use malloc in some situations.
45917         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45918         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45919         pltexit.
45921 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45923         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45924         and CLOCK_BOOTTIME_ALARM.
45926         [BZ #12782]
45927         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45928         is returned.
45930         * string/_strerror.c (__strerror_r): Print negative errors as signed
45931         numbers.
45933         [BZ #12777]
45934         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45935         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45936         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45938         * configure.in: Fix typo in redirection and correct removal of test
45939         files in two cases.
45941         [BZ #12788]
45942         * locale/setlocale.c (new_composite_name): Fix test to check for
45943         identical name of all categories.
45945         [BZ #12792]
45946         * libio/filedoalloc.c (local_isatty): New function.
45947         (_IO_file_doallocate): Use local_isatty.
45948         * stdio-common/perror.c (perror): In case a new stream is used
45949         forward the stream error.
45950         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45951         error flag.
45953 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45955         [BZ #11869]
45956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45957         alloca.
45958         * include/alloca.h (extend_alloca_account): Define.
45960         [BZ #11857]
45961         * posix/regex.h: Fix comments with documentation of user-accessible
45962         fields after compilation and describe correct free'ing of pattern
45963         after re_compile_pattern.
45964         Patch by Reuben Thomas <rrt@sc3d.org>.
45966 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45968         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45969         and -mno-altivec to prevent the compiler from using Altivec and/or
45970         VSX instructions when the corresponding registers are not available.
45972 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45974         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45976 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45978         * libio/freopen.c (freopen): Use __dup2, not dup2.
45979         * libio/freopen64.c (freopen64): Likewise.
45981 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45983         [BZ #12775]
45984         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45985         * math/Makefile (tests): Add test-powl.
45986         (CFLAGS-test-powl.c): Define.
45987         * math/test-powl.c: New file.
45989 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45991         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45993 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45995         [BZ #11837]
45996         * iconvdata/gb18030.c: Update to GB18020-2005.
45998 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46000         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46001         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46002         Patch by Aharon Robbins <arnold@skeeve.com>.
46004         [BZ #11892]
46005         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46006         on the stack.
46008         [BZ #11895]
46009         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46010         through underflows.
46012         [BZ #12766]
46013         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46014         point to strings before performing equality test for error_one_per_line
46015         mode.
46017         [BZ #11697]
46018         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46020         [BZ #11820]
46021         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46022         (struct user_fpregs_struct): Avoid __uint*_t types.
46024         [BZ #6420]
46025         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46026         symbol info.  Use it instead of calling _dl_addr locally.
46027         (lock_and_info): New function.
46028         (tr_freehook): Call lock_and_info and pass symbol info as additional
46029         parameter to tr_where.
46030         (tr_mallochook): Likewise.
46031         (tr_reallochook): Likewise.
46032         (tr_memalignhook): Likewise.
46034         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46035         used and couldn't be at all thread-safe.
46037 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46039         * libio/freopen.c (freopen): Don't close old file descriptor
46040         before the new one is opened.  Instead dup the new file descriptor
46041         to the old one after the new stream is created.
46042         * libio/freopen64.c (freopen64): Likewise.
46043         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46044         * libio/fileops.c (_IO_new_file_close_it): Handle new
46045         _IO_FLAGS2_NOCLOSE flag.
46046         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46047         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46048         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46049         _IO_FLAGS2_NOCLOSE flag.
46050         * include/unistd.h: Add hidden_proto for dup3.
46051         Define __have_dup3.
46052         * io/dup3.c: Define hidden symbol.
46053         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46055         [BZ #7101]
46056         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46057         when an incomplete long option is used.
46058         * posix/tst-getopt_long1.c: New file.
46059         * posix/Makefile (tests): Add tst-getopt_long1.
46061         [BZ #10138]
46062         * scripts/config.guess: Update from autoconf-2.68.
46063         * scripts/config.sub: Likewise.
46065         [BZ #10157]
46066         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46067         tests into ...
46068         (has_cpuclock): ...this.  New function.
46069         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46070         macro here based on has_cpuclock code.
46072         [BZ #10149]
46073         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46074         First byte (not low byte) is now always NUL.
46075         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46077         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46078         Use non-cancelable interfaces.
46080         [BZ #9809]
46081         * locale/iso-639.def: Add entry for Sorani.
46083         [BZ #11901]
46084         * include/stdlib.h: Move include protection to the right place.
46085         Define abort_msg_s.  Declare __abort_msg with it.
46086         * stdlib/abort.c (__abort_msg): Adjust type.
46087         * assert/assert.c (__assert_fail_base): New function.  Majority
46088         of code from __assert_fail.  Allocate memory for __abort_msg with
46089         mmap.
46090         (__assert_fail): Now call __assert_fail_base.
46091         * assert/assert-perr.c: Remove bulk of implementation.  Use
46092         __assert_fail_base.
46093         * include/assert.hL Declare __assert_fail_base.
46094         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46095         mmap.
46096         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46098 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46100         [BZ #11952]
46101         [BZ #12453]
46102         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46103         until all modules are registered in the DTV.
46104         * elf/Makefile: Add rules to build and run tst-tls19.
46105         * elf/tst-tls19.c: New file.
46106         * elf/tst-tls19mod1.c: New file.
46107         * elf/tst-tls19mod2.c: New file.
46108         * elf/tst-tls19mod3.c: New file.
46109         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46111         [BZ #12083]
46112         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46113         correctly.
46115         [BZ #12601]
46116         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46117         two-byte sequence errors.
46118         * iconvdata/Makefile (tests): Add bug-iconv8.
46119         * iconvdata/bug-iconv8.c: New file.
46121         [BZ #12626]
46122         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46123         buf2 definition.
46125         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46127         [BZ #12432]
46128         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46129         (dummy_getcfa): New function.
46130         (init): Get _Unwind_GetCFA address, use dummy if not found.
46131         (backtrace_helper): In recursion check, also check whether CFA changes.
46132         (__backtrace): Completely initialize arg.
46134         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46135         storing incomplete byte sequence in state object.  Avoid testing for
46136         guaranteed too small input if we know there is enough data available.
46138 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46140         * Makeconfig (+link-pie): Indent.
46141         * Rules (binaries-pie): Define if $(have-fpie) and
46142         $(build-shared).
46143         (binaries-shared): Also filter out $(binaries-pie).
46144         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46145         * nscd/Makefile (others-pie): Add nscd.
46146         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46147         ($(objpfx)nscd): Remove command override.
46148         * login/Makefile (others-pie): Add pt_chown.
46149         ($(objpfx)pt_chown): Remove command override.
46150         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46151         remove command overrides.
46153 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46155         * libio/tst_putwc.c: Fix error messages.
46157         [BZ #12724]
46158         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46159         currently writing and seek to current position when not.
46160         * libio/Makefile (tests): Add bug-fclose1.
46161         * libio/bug-fclose1.c: New file.
46163 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46165         [BZ #12511]
46166         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46167         don't set DF_1_NODELETE here.
46168         (do_lookup_x): When entering new entry test for copy relocation
46169         and if necessary set DF_1_NODELETE flag.
46170         * elf/tst-unique4.cc: New file.
46171         * elf/tst-unique4.h: New file.
46172         * elf/tst-unique4lib.cc: New file.
46173         * elf/Makefile: Add rules to build and run tst-unique4.
46174         Patch by Piotr Bury <pbury@goahead.com>.
46176 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46178         [BZ #12052]
46179         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46181         [BZ #12625]
46182         * misc/mntent_r.c (addmntent): Flush the stream after the output
46184         [BZ #12393]
46185         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46186         (is_trusted_path_normalize): Skip initial colon.  Append slash
46187         to empty buffer.  Duplicate is_trusted_path code but allow
46188         constructed patch to be prefix.
46189         (is_dst): Allow $ORIGIN followed by /.
46190         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46191         Correct testing of result of is_trusted_path_normalize
46192         (decompose_rpath): Fix warning.
46194 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46196         [BZ #11257]
46197         * grp/initgroups.c (internal_getgrouplist): When we found the service
46198         list through the initgroups entry in nsswitch.conf do not always
46199         continue on a successful lookup.  Don't always use the
46200         __nss_group_database value if it is set.
46201         * nss/nsswitch.conf (initgroups): Change action for successful db
46202         lookup to continue for compatibility.
46204 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46206         [BZ #11532]
46207         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46208         and CP774 modules.
46209         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46210         and CP774 modules.
46211         * iconvdata/tst-tables.sh: Likewise.
46212         * iconvdata/cp770.c: New file.
46213         * iconvdata/cp771.c: New file.
46214         * iconvdata/cp772.c: New file.
46215         * iconvdata/cp773.c: New file.
46216         * iconvdata/cp774.c: New file.
46217         * iconvdata/testdata/CP770: New file.
46218         * iconvdata/testdata/CP770..UTF8: New file.
46219         * iconvdata/testdata/CP771: New file.
46220         * iconvdata/testdata/CP771..UTF8: New file.
46221         * iconvdata/testdata/CP772: New file.
46222         * iconvdata/testdata/CP772..UTF8: New file.
46223         * iconvdata/testdata/CP773: New file.
46224         * iconvdata/testdata/CP773..UTF8: New file.
46225         * iconvdata/testdata/CP774: New file.
46226         * iconvdata/testdata/CP774..UTF8: New file.
46228         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46229         END CHARMAP line.
46230         * iconvdata/gen-8bit-gap.sh: Likewise.
46231         * iconvdata/gen-8bit.sh: Likewise.
46233         * locale/iso-639.def: Add ary entry.
46235         [BZ #11258]
46236         * locale/C-translit.h.in: Add U20A1 transliteration.
46238         [BZ #12178]
46239         * locale/iso-639.def: Add wae entry.
46240         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46242         [BZ #12545]
46243         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46244         for n.
46246         [BZ #12711]
46247         * locale/C-translit.h.in: Add entry for U20B9.
46248         Patch by pravin.d.s@gmail.com.
46250 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46252         [BZ #12713]
46253         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46254         ENAMETOOLONG use generic getcwd.
46255         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46256         in rtld.  Use *stat64.
46257         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46258         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46259         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46260         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46261         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46262         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46263         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46264         __fstatat64 macros.
46265         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46266         * dirent/rewinddir.c: Add libc_hidden_def.
46267         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46268         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46270         * include/dirent.h (__alloc_dir): Add flags parameter.
46271         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46272         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46273         __alloc_dir.
46274         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46275         from fdopendir if O_CLOEXEC is already set.
46277 2011-03-15  Alan Modra  <amodra@gmail.com>
46279         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46280         l_tls_firstbyte_offset non-zero.  Save padding offset in
46281         l_tls_firstbyte_offset for later use.
46282         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46283         freeing static tls block.
46285 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46287         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46288         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46289         being defined by the kernel headers.
46291 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46293         [BZ #12734]
46294         * resolv/resolv.h: Define RES_NOTLDQUERY.
46295         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46296         no-tld-query and set RES_NOTLDQUERY.
46297         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46298         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46299         modern BIND to search name as TLD unless forbidden.
46301 2011-05-07  Petr Baudis  <pasky@suse.cz>
46302             Ulrich Drepper  <drepper@gmail.com>
46304         [BZ #12393]
46305         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46306         (is_trusted_path): ...to here.
46307         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46308         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46309         using is_trusted_path_normalize() in setuid scripts.
46311 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46313         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46314         __BEGIN/__END_DECLS.
46316 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46318         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46319         NSS_STATUS_NOTFOUND if no record was found.
46321 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46323         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46324         (headers-not-in-tirpc): Remove rpc/netdb.h
46325         * resolv/netdb.h: Revert last change.
46327 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46329         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46330         circular dependency between libgcc.a and libc.a.
46332 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46334         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46335         * nis/Makefile: Don't install rpcsvc/*.
46336         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46337         instead of <rpc/types.h>.
46338         (MAXHOSTNAMELEN): Define.
46340 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46342         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46344 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46346         [BZ #12714]
46347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46348         gethostbyname4_r when IPv6 results are possible.
46350 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46352         [BZ #12723]
46353         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46354         _PC_PIPE_BUF handling.
46356 2011-04-30  Bruno Haible  <bruno@clisp.org>
46358         [BZ #12717]
46359         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46360         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46361         to 'int'.
46362         * inet/getnameinfo.c (getnameinfo): Likewise.
46364 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46366         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46367         to groups setting in database lookup.
46368         * nss/nsswitch.conf: Add initgroups entry.
46370 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46372         [BZ #12685]
46373         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46374         mode string.
46375         Patch by Eric Blake <eblake@redhat.com>.
46377 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46379         * sunrpc/Makefile (need-export-routines): Add svc_run.
46380         (routines): Remove svc_run.
46381         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46382         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46383         * sunrpc/svc_run.c (svc_run): Likewise.
46384         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46386 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46388         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46389         problem in reallocation in last patch.
46391 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46393         * sunrpc/Makefile: Move inclusion of Rules.
46395 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46397         * nss/nss_files/files-initgroups.c: New file.
46398         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46399         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46400         _nss_files_initgroups_dyn.
46402 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46404         * elf/elf.h (R_ARM_IRELATIVE): Define.
46406 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46408         * po/ru.po: Update from translation team.
46410 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46412         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46413         dependencies.
46415 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46417         [BZ #12653]
46418         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46419         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46420         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46421         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46422         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46424 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46426         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46427         differing bytes.
46428         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46429         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46430         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46432 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46434         [BZ #12420]
46435         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46436         storing it.
46437         * stdlib/bug-getcontext.c: New file.
46438         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46440 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46442         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46443         instructions into .machine "z9-109".
46444         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46445         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46447 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46449         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46450         between environment variables and auxiliary vector.
46452 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46454         * Makefile: Add rules to build linkobj/libc.so.
46455         * include/libc-symbols.h: Define libc_hidden_nolink.
46456         * include/rpc/auth.h: Mark functions which are to be hidden.
46457         * include/rpc/auth_des.h: Likewise.
46458         * include/rpc/auth_unix.h: Likewise.
46459         * include/rpc/clnt.h: Likewise.
46460         * include/rpc/des_crypt.h: Likewise.
46461         * include/rpc/key_prot.h: Likewise.
46462         * include/rpc/pmap_clnt.h: Likewise.
46463         * include/rpc/pmap_prot.h: Likewise.
46464         * include/rpc/pmap_rmt.h: Likewise.
46465         * include/rpc/rpc_msg.h: Likewise.
46466         * include/rpc/svc.h: Likewise.
46467         * include/rpc/svc_auth.h: Likewise.
46468         * include/rpc/xdr.h: Likewise.
46469         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46470         * nss/Makefile: Likewise.
46471         * sunrpc/Makefile: Don't install headers.  Build library with normal
46472         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46473         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46474         for the compat linking library.  Remove use of INTDEF/INTUSE.
46475         * sunrpc/auth_none.c: Likewise.
46476         * sunrpc/auth_unix.c: Likewise.
46477         * sunrpc/authdes_prot.c: Likewise.
46478         * sunrpc/authuxprot.c: Likewise.
46479         * sunrpc/clnt_gen.c: Likewise.
46480         * sunrpc/clnt_perr.c: Likewise.
46481         * sunrpc/clnt_raw.c: Likewise.
46482         * sunrpc/clnt_simp.c: Likewise.
46483         * sunrpc/clnt_tcp.c: Likewise.
46484         * sunrpc/clnt_udp.c: Likewise.
46485         * sunrpc/clnt_unix.c: Likewise.
46486         * sunrpc/des_crypt.c: Likewise.
46487         * sunrpc/des_soft.c: Likewise.
46488         * sunrpc/get_myaddr.c: Likewise.
46489         * sunrpc/key_call.c: Likewise.
46490         * sunrpc/key_prot.c: Likewise.
46491         * sunrpc/netname.c: Likewise.
46492         * sunrpc/pm_getmaps.c: Likewise.
46493         * sunrpc/pm_getport.c: Likewise.
46494         * sunrpc/pmap_clnt.c: Likewise.
46495         * sunrpc/pmap_prot.c: Likewise.
46496         * sunrpc/pmap_prot2.c: Likewise.
46497         * sunrpc/pmap_rmt.c: Likewise.
46498         * sunrpc/publickey.c: Likewise.
46499         * sunrpc/rpc_cmsg.c: Likewise.
46500         * sunrpc/rpc_common.c: Likewise.
46501         * sunrpc/rpc_dtable.c: Likewise.
46502         * sunrpc/rpc_prot.c: Likewise.
46503         * sunrpc/rpc_thread.c: Likewise.
46504         * sunrpc/rtime.c: Likewise.
46505         * sunrpc/svc.c: Likewise.
46506         * sunrpc/svc_auth.c: Likewise.
46507         * sunrpc/svc_authux.c: Likewise.
46508         * sunrpc/svc_raw.c: Likewise.
46509         * sunrpc/svc_run.c: Likewise.
46510         * sunrpc/svc_simple.c: Likewise.
46511         * sunrpc/svc_tcp.c: Likewise.
46512         * sunrpc/svc_udp.c: Likewise.
46513         * sunrpc/svc_unix.c: Likewise.
46514         * sunrpc/svcauth_des.c: Likewise.
46515         * sunrpc/xcrypt.c: Likewise.
46516         * sunrpc/xdr.c: Likewise.
46517         * sunrpc/xdr_array.c: Likewise.
46518         * sunrpc/xdr_float.c: Likewise.
46519         * sunrpc/xdr_intXX_t.c: Likewise.
46520         * sunrpc/xdr_mem.c: Likewise.
46521         * sunrpc/xdr_rec.c: Likewise.
46522         * sunrpc/xdr_ref.c: Likewise.
46523         * sunrpc/xdr_sizeof.c: Likewise.
46524         * sunrpc/xdr_stdio.c: Likewise.
46526 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46528         [BZ #12650]
46529         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46530         * sysdeps/ia64/dl-tls.h: Likewise.
46531         * sysdeps/powerpc/dl-tls.h: Likewise.
46532         * sysdeps/s390/dl-tls.h: Likewise.
46533         * sysdeps/sh/dl-tls.h: Likewise.
46534         * sysdeps/sparc/dl-tls.h: Likewise.
46535         * sysdeps/x86_64/dl-tls.h: Likewise.
46536         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46538 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46540         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46541         rpath element also skip the following colon.
46542         (expand_dynamic_string_token): Add is_path parameter and pass
46543         down to DL_DST_REQUIRED and _dl_dst_substitute.
46544         (decompose_rpath): Call expand_dynamic_string_token with
46545         non-zero is_path.  Ignore empty rpaths.
46546         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46547         with zero is_path.
46549 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46552         Make cancelable.
46554 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46556         [BZ #12655]
46557         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46558         Patch by Filipe David Manana <fdmanana@apache.org>.
46560 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46562         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46563         Maintain aligned stack.
46564         (CHECK_RSP): Remove unused macro.
46566 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46568         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46569         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46571 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46573         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46575         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46577 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46579         [BZ #12518]
46580         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46581         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46582         * sysdeps/x86_64/memmove.c: New file.
46583         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46584         (memcpy): Renamed to ...
46585         (__new_memcpy): This.
46586         (memcpy): Provide GLIBC_2_14 memcpy.
46587         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46588         (memcpy): Provide GLIBC_2_2_5 memcpy.
46590 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46592         [BZ #12631]
46593         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46595 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46597         * misc/syncfs.c: New file.
46598         * misc/Makefile (routines): Add syncfs.
46599         * posix/unistd.h: Declare syncfs.
46600         * sysdeps/unix/syscalls.list: Add syncfs.
46602 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46604         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46605         open_by_handle_at.
46606         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46607         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46608         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46609         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46611         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46612         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46614 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46616         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46617         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46618         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46619         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46620         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46621         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46622         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46624         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46625         sync_file_range.c with -fexceptions.
46626         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46627         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46628         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46629         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46630         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46631         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46632         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46633         sync_file_range as cancellation point
46634         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46635         now a wrapper around __call_sync_file_range with cancellation handling.
46636         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46637         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46638         function name to __call_sync_file_range.
46639         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46640         Add call_sync_file_range.
46642 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46645         bits/timex.h.
46647 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46649         * iconv/iconv.h: Fix typo in comment.
46650         * io/fcntl.h: Likewise.
46651         * libio/stdio.h: Likewise.
46652         * posix/spawn.h: Likewise.
46653         * posix/unistd.h: Likewise.
46654         * stdlib/stdlib.h: Likewise.
46655         * time/time.h: Likewise.
46656         * wcsmbs/wchar.h: Likewise.
46658         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46659         open_by_handle): Add.
46660         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46661         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46662         Augment a few comments.
46663         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46664         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46665         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46666         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46667         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46668         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46669         open_by_handle.
46671         * io/fcntl.h (AT_EMPTY_PATH): Define.
46673 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46675         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46676         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46677         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46678         to...
46679         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46680         * Versions.def: Add GLIBC_2.14.
46681         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46682         Export.
46684 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46686         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46687         round counter.
46688         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46690 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46692         [BZ #12597]
46693         * string/test-strncmp.c (do_page_test): New function.
46694         (check2): Likewise.
46695         (test_main): Call check2.
46696         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46698 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46700         [BZ #12587]
46701         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46702         Handle cache information in CPU leaf 4.
46703         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46705 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46707         [BZ #12583]
46708         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46709         character representation.
46710         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46712 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46714         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46715         END(__isnan) to END(__isnanf) to match function entry point/label
46716         EALIGN(__isnanf,...).
46718 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46720         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46722 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46724         [BZ #12510]
46725         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46726         copy from the symbol referenced in the relocation to initialize the
46727         used variable.
46728         Patch by Piotr Bury <pbury@goahead.com>.
46729         * elf/Makefile: Add rules to build and tst-unique3.
46730         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46731         * elf/tst-unique3.cc: New file.
46732         * elf/tst-unique3.h: New file.
46733         * elf/tst-unique3lib.cc: New file.
46734         * elf/tst-unique3lib2.cc: New file.
46736         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46738 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46740         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46741         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46742         to _start.
46744 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46746         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46747         to-be-loaded object along a path to loader is ld.so.
46749 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46750             Ulrich Drepper  <drepper@gmail.com>
46752         * sysdeps/x86_64/memset.S: After aligning destination, code
46753         branches to different locations depending on the value of
46754         misalignment, when multiarch is enabled. Fix this.
46756 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46758         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46759         Set _x86_64_preferred_memory_instruction for AMD processsors.
46760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46761         Set bit_Prefer_SSE_for_memop for AMD processors.
46763 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46765         * libio/fmemopen.c (fmemopen): Optimize a bit.
46767 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46769         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46771 2011-03-03  Roland McGrath  <roland@redhat.com>
46773         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46775 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46777         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46778         __bzero_ultra1 instead of __memset_ultra1.
46780 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46781             Ulrich Drepper  <drepper@gmail.com>
46783         [BZ #12509]
46784         * include/link.h (struct link_map): Add l_orig_initfini.
46785         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46786         returning unsuccessfully.
46787         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46788         close of a file loaded at startup, restore the original l_initfini
46789         list.
46790         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46791         list, store the pointer.
46792         * elf/Makefile ($(objpfx)noload-mem): New rule.
46793         (noload-ENV): Define.
46794         (tests): Add $(objpfx)noload-mem.
46795         * elf/noload.c: Include <memcheck.h>.
46796         (main): Call mtrace.  Close all opened handles.
46798 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46800         [BZ #12454]
46801         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46802         dependencies are missing.
46804 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46806         Fix __if_freereq crash: Unlike the generic version which uses free,
46807         Hurd needs munmap.
46808         * sysdeps/mach/hurd/ifreq.h: New file.
46810 2011-01-27  Petr Baudis  <pasky@suse.cz>
46811             Ulrich Drepper  <drepper@gmail.com>
46813         [BZ 12445]#
46814         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46815         to extend_alloca().
46816         * stdio-common/bug23.c: New file.
46817         * stdio-common/Makefile (tests): Add bug23.
46819 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46820             Ulrich Drepper  <drepper@gmail.com>
46822         [BZ #12489]
46823         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46824         before performing relro protection.  At old place add assertion
46825         to make sure nothing changed.
46827 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46828             Glauber de Oliveira Costa  <glommer@gmail.com>
46830         * elf/elf.h: Add new ARM TLS relocs.
46832 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46835         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46836         cast from r3.
46837         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46838         'tests' variable.
46839         * sysdeps/wordsize-64/tst-writev.c: New file.
46841 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46843         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46844         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46845         insns in _dl_start to prevent a TOC reference before relocs are
46846         resolved.
46848 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46850         [BZ #12469]
46851         * Makeconfig: Remove RANLIB definition.
46852         * Makerules: Don't use RANLIB.
46853         * aclocal.m4: Remove ranlib test.
46854         * configure.in: No need to check for ranlib.
46855         * elf/rtld-Rules: Don't use RANLIB.
46857 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46859         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46860         protection macro.
46861         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46862         inclusion protection macro.
46864         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46865         SIGRTMIN and SIGRTMAX and print information in that case only when
46866         SIGRTMIN is defined.
46868 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46870         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46871         arginfo fn returning -1.
46873         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46874         and thousands string is zero terminated.
46876 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46878         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46879         sysdeps/unix/sysv/linux/bits/socket.h.
46881 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46883         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46884         (__CPU_COUNT): Remove old macros.
46885         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46886         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46887         (__CPU_ALLOC, __CPU_FREE): Add macros.
46888         (__sched_cpualloc, __sched_cpufree): Add declarations.
46890 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46892         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46893         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46894         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46895         (readdhstai): Return value of addhstaiX call.
46896         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46897         (addgrbyX): Return value returned by cache_addgr.
46898         (readdgrbyname): Return value returned by addgrbyX.
46899         (readdgrbygid): Likewise.
46900         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46901         (addpwbyX): Return value returned by cache_addpw.
46902         (readdpwbyname): Return value returned by addhstbyX.
46903         (readdpwbyuid): Likewise.
46904         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46905         (addservbyX): Return value returned by cache_addserv.
46906         (readdservbyname): Return value returned by addservbyX:
46907         (readdservbyport): Likewise.
46908         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46909         (addhstbyX): Return value returned by cache_addhst.
46910         (readdhstbyname): Return value returned by addhstbyX.
46911         (readdhstbyaddr): Likewise.
46912         (readdhstbynamev6): Likewise.
46913         (readdhstbyaddrv6): Likewise.
46914         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46915         (readdinitgroups): Return value returned by addinitgroupsX.
46916         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46917         (prune_cache): Keep track of timeout value of re-added entries.
46918         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46919         * nscd/nscd.h: Adjust prototypes of readd* functions.
46921 2011-02-04  Roland McGrath  <roland@redhat.com>
46923         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46924         (nis_stats): Likewise.
46925         * nis/nis_modify.c (nis_modify): Likewise.
46926         * nis/nis_remove.c (nis_remove): Likewise.
46927         * nis/nis_add.c (nis_add): Likewise.
46929         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46931         * posix/fnmatch_loop.c: Add some consts.
46933         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46935 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46937         [BZ #12460]
46938         * config.make.in (config-cflags-novzeroupper): Define.
46939         * configure.in: Substitute libc_cv_cc_novzeroupper.
46940         * elf/Makefile (AVX-CFLAGS): Define.
46941         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46942         (CFLAGS-tst-auditmod4a.c): Likewise.
46943         (CFLAGS-tst-auditmod4b.c): Likewise.
46944         (CFLAGS-tst-auditmod6b.c): Likewise.
46945         (CFLAGS-tst-auditmod6c.c): Likewise.
46946         (CFLAGS-tst-auditmod7b.c): Likewise.
46947         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46949 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46951         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46952         function to the callback.
46953         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46955 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46957         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46958         of errno.
46960 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46962         [BZ #11724]
46963         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46964         of constructors.
46965         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46966         of destructors.
46967         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46969         [BZ #11724]
46970         * elf/Makefile: Add rules to build and run new test.
46971         * elf/tst-initorder.c: New file.
46972         * elf/tst-initorder.exp: New file.
46973         * elf/tst-initordera1.c: New file.
46974         * elf/tst-initordera2.c: New file.
46975         * elf/tst-initordera3.c: New file.
46976         * elf/tst-initordera4.c: New file.
46977         * elf/tst-initorderb1.c: New file.
46978         * elf/tst-initorderb2.c: New file.
46979         * elf/tst-order-a1.c: New file.
46980         * elf/tst-order-a2.c: New file.
46981         * elf/tst-order-a3.c: New file.
46982         * elf/tst-order-a4.c: New file.
46983         * elf/tst-order-b1.c: New file.
46984         * elf/tst-order-b2.c: New file.
46985         * elf/tst-order-main.c: New file.
46986         New test case by George Gensure <werkt0@gmail.com>.
46988 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46990         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46991         decoding ACE if AI_CANONIDN.
46993 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46995         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46997 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46999         * version.h (RELEASE): Bump for 2.13 release.
47000         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47002         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47004         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47005         MADV_NOHUGEPAGE.
47006         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47007         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47008         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47009         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47010         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47011         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47013         * posix/getconf.c: Update copyright year.
47014         * catgets/gencat.c: Likewise.
47015         * csu/version.c: Likewise.
47016         * debug/catchsegv.sh: Likewise.
47017         * debug/xtrace.sh: Likewise.
47018         * elf/ldconfig.c: Likewise.
47019         * elf/ldd.bash.in: Likewise.
47020         * elf/sprof.c (print_version): Likewise.
47021         * iconv/iconv_prog.c: Likewise.
47022         * iconv/iconvconfig.c: Likewise.
47023         * locale/programs/locale.c: Likewise.
47024         * locale/programs/localedef.c: Likewise.
47025         * malloc/memusage.sh: Likewise.
47026         * malloc/mtrace.pl: Likewise.
47027         * nscd/nscd.c (print_version): Likewise.
47028         * nss/getent.c: Likewise.
47030         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47031         PF_CAIF, and PF_ALG.
47032         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47034 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47036         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47037         (modules-names): Use them.
47038         (ifunc-test-modules, ifunc-pie-tests): Define.
47039         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47040         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47041         (test-extras): Likewise.
47042         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47043         $(compile-command.c).
47044         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47045         (all-built-dso): Define.
47046         (check-textrel.out, check-execstack.out): Depend on it.
47048         * configure.in: Don't override --enable-multi-arch.
47050 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47052         [BZ #6812]
47053         * nscd/hstcache.c (tryagain): Define.
47054         (cache_addhst): Return tryagain not notfound for temporary errors.
47055         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47056         failed.
47058 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47060         [BZ #10563]
47061         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47062         to make the syscall.
47063         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47065         [BZ #12378]
47066         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47067         and fall back to matching as normal character if the string ends before
47068         the matching ']' is found.  This is what POSIX requires.
47069         * posix/testfnm.c: Adjust test result.
47070         * posix/globtest.sh: Adjust test result.  Add new test.
47071         * posix/tst-fnmatch.input: Likewise.
47072         * posix/tst-fnmatch2.c: Add new test.
47074 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47076         * elf/Makefile (check-execstack): Revert last change.  Depend on
47077         check-execstack.h.
47078         (check-execstack.h): New target.
47079         (generated): Add check-execstack.h.
47080         * elf/check-execstack.c: Include "check-execstack.h".
47081         (main): Revert last change.
47082         (handle_file): Return zero if GNU_STACK is absent and
47083         DEFAULT_STACK_PERMS doesn't include PF_X.
47085 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47087         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47088         in child fails because the descriptor is already closed.
47089         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47090         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47091         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47093         [BZ #12397]
47094         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47095         syscall.
47097         [BZ #10484]
47098         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47099         temporary buffer used to handle multi lookups locally.
47100         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47102 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47104         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47105         loader is ld.so.
47107 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47109         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47110         alignment for SSE2.
47112 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47114         [BZ #12394]
47115         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47116         characters.  When rounding increased number of integer digits recompute
47117         number of groups.
47118         * stdio-common/tst-grouping.c: New file.
47119         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47121 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47123         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47124         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47126         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47127         void.
47128         * bits/select.h: Likewise.
47130 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47132         * po/ja.po: Update from translation team.
47134 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47136         [BZ #11155]
47137         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47138         implementation just like for lxstat, fxstatat, et al.
47140 2010-12-27  Jim Meyering  <meyering@redhat.com>
47142         [BZ #12348]
47143         * posix/regexec.c (build_trtable): Return failure indication upon
47144         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47146 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47148         [BZ #12201]
47149         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47150         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47151         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47152         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47154         [BZ #12207]
47155         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47157         [BZ #12204]
47158         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47159         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47161 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47163         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47164         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47165         script has SORT_BY_INIT_PRIORITY.
47166         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47167         NO_CTORS_DTORS_SECTIONS is defined.
47168         * elf/soinit.c: Likewise.
47169         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47170         NO_CTORS_DTORS_SECTIONS is defined.
47171         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47172         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47173         * sysdeps/sh/init-first.c: Likewise.
47174         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47176 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47178         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47179         always use the slow path.
47181 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47183         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47184         similar rule which adds the sysdep directories to the header search in
47185         order to pick up the correct platform stackinfo.h.
47186         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47187         perform test if it is, otherwise return successfully without testing.
47188         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47189         DEFAULT_STACK_PERMS define in stackinfo.h.
47190         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47191         defined in stackinfo.h.
47192         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47193         DEFAULT_STACK_PERMS defined in stackinfo.h.
47194         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47195         * sysdeps/ia64/stackinfo.h: Likewise.
47196         * sysdeps/s390/stackinfo.h: Likewise.
47197         * sysdeps/sh/stackinfo.h: Likewise.
47198         * sysdeps/sparc/stackinfo.h: Likewise.
47199         * sysdeps/x86_64/stackinfo.h: Likewise.
47200         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47201         PF_X for powerpc64.  Retain PF_X for powerpc32.
47203 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47205         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47206         accurately.
47207         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47208         GETDENTS_64BIT_ALIGNED.
47210 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47212         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47214 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47216         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47217         _GNU_SOURCE.
47219         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47220         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47221         Remove __restrict.
47222         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47223         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47225 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47227         [BZ #11655]
47228         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47229         are initialized.
47231 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47233         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47235 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47237         * po/it.po: Update from translation team.
47239 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47241         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47242         unused codes.
47244 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47246         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47248 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47250         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47251         specially.
47252         (gaih_getanswer_slice): Likewise.
47254 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47258 2010-05-31  Petr Baudis  <pasky@suse.cz>
47260         [BZ #11149]
47261         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47262         silently even in the chroot mode.
47264 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47266         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47267         last patch a bit.  Pretty printing
47269 2010-05-31  Petr Baudis <pasky@suse.cz>
47271         [BZ #10085]
47272         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47273         initialization of skip_initgroups_dyn.
47275 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47277         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47278         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47280 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47282         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47284 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47286         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47287         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47288         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47289         ($(objpfx)tst-fnmatch-mem): New rule.
47290         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47291         * posix/tst-fnmatch.c (main): Call mtrace.
47293 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47296         Support Intel processor model 6 and model 0x2c.
47298 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47300         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47301           signed comparison.
47303 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47305         [BZ #12205]
47306         * string/test-strncasecmp.c (check_result): New function.
47307         (do_one_test): Use it.
47308         (check1): New function.
47309         (test_main): Use it.
47310         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47311         Support strcasecmp and strncasecmp.
47313 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47315         [BZ #12194]
47316         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47317         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47319 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47321         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47322         IFUNC support.
47323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47324         memset-x86-64.
47325         * sysdeps/x86_64/multiarch/bzero.S: New file.
47326         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47327         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47328         * sysdeps/x86_64/multiarch/memset.S: New file.
47329         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47331         Set bit_Prefer_SSE_for_memop for Intel processors.
47332         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47333         Define.
47334         (index_Prefer_SSE_for_memop): Define.
47335         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47337 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47339         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47340         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47342 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47344         [BZ #12191]
47345         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47346         (__x86_64_raw_data_cache_size_half): Likewise.
47347         (__x86_64_raw_shared_cache_size): Likewise.
47348         (__x86_64_raw_shared_cache_size_half): Likewise.
47350         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47351         (__x86_64_raw_data_cache_size_half): Likewise.
47352         (__x86_64_raw_shared_cache_size): Likewise.
47353         (__x86_64_raw_shared_cache_size_half): Likewise.
47354         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47355         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47356         and __x86_64_raw_shared_cache_size_half.  Round
47357         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47358         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47359         to multiple of 256 bytes.
47361 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47363         [BZ #12167]
47364         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47365         of inacessible symlinks.  Verify result of symlink before returning it.
47366         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47367         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47369 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47371         * math/math.h (isinf): Fix typo in comment.
47373 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47375         * po/da.po: Update from translation team.
47377 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47379         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47380         is added to the list.
47382 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47383             Ulrich Drepper  <drepper@gmail.com>
47385         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47386         the global list here.  Move code to...
47387         (_dl_add_to_namespace_list): ...here.  New function.
47388         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47389         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47390         * elf/dl-load.c (lose): Don't remove the element from the list.
47391         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47392         (_dl_map_object): Likewise.
47394 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47396         [BZ #12159]
47397         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47398         into all bytes of SSE register.
47399         Patch by Richard Li <richardpku@gmail.com>.
47401 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47403         [BZ #12140]
47404         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47405         perturbing.
47407 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47409         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47410         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47411         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47412         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47414         submachine.
47415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47417 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47419         * include/dlfcn.h (__RTLD_SECURE): Define.
47420         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47421         mode & __RTLD_SECURE instead.
47422         (open_path): Rename preloaded parameter to secure.
47423         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47424         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47425         * elf/dl-deps.c (openaux): Likewise.
47426         * elf/rtld.c (struct map_args): Remove is_preloaded.
47427         (map_doit): Don't use it.
47428         (dl_main): Likewise.
47429         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47430         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47432 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47434         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47435         (sysd-rules-targets): Remove duplicates.
47436         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47437         rtld-%.$o dependency.
47439 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47441         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47442         _dl_map_object do it.
47444 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47446         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47447         fast fma builtins, define the macros in the C99 standard.
47448         (FP_FAST_FMAF): Likewise.
47449         (FP_FAST_FMAL): Likewise.
47450         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47452         * bits/mathdef.h: Update copyright year.
47453         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47455 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47457         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47458         builtins, define the macros in the C99 standard.
47459         (FP_FAST_FMAF): Likewise.
47460         (FP_FAST_FMAL): Likewise.
47461         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47462         multiply/add.
47463         (FP_FAST_FMAF): Likewise.
47465 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47467         [BZ #3268]
47468         * math/libm-test.inc (fma_test): Some new testcases.
47469         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47470         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47471         y and infinite z.  Do multiplication by C already in long double.
47472         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47474         y and infinite z.  Do bitwise or of inexact bit into u.d.
47475         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47476         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47477         * sysdeps/i386/fpu/s_fma.S: Removed.
47478         * sysdeps/i386/fpu/s_fmal.S: Removed.
47480 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47482         [BZ #3268]
47483         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47485         computation is not scheduled after fetestexcept.  Fix value
47486         of minimum denormal long double.
47488 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47490         [BZ #3268]
47491         * math/libm-test.inc (fma_test): Add some more tests.
47492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47493         correctly.
47495 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47497         * scripts/data/localplt-s390-linux-gnu.data: New file.
47498         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47500 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47502         [BZ #3268]
47503         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47504         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47505         instead of dbl-64.
47506         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47507         inlines.
47508         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47510         if one of x and y is very large and the other is subnormal.
47511         * sysdeps/s390/fpu/s_fmaf.c: New file.
47512         * sysdeps/s390/fpu/s_fma.c: New file.
47513         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47514         * sysdeps/powerpc/fpu/s_fma.S: New file.
47515         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47516         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47517         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47519 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47521         [BZ #3268]
47522         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47523         fma tests.
47524         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47525         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47526         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47527         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47528         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47529         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47530         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47532 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47534         [BZ #12078]
47535         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47536         * posix/bug-regex31.input: Add test case.
47538 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47540         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47541         * posix/bug-regex31.input: New file.
47543         [BZ #12078]
47544         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47545         (parse_sub_exp): Fix last change, use postorder.
47547         * posix/bug-regex31.c: New file.
47548         * posix/Makefile: Add rules to build and run bug-regex31.
47550         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47552         [BZ #12078]
47553         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47555         [BZ #12108]
47556         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47557         to have entries in sys_siglist.
47559         [BZ #12093]
47560         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47561         be NULL.
47563 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47565         [BZ #3268]
47566         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47567         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47568         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47569         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47570         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47571         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47572         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47573         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47574         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47575         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47576         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47577         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47578         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47579         * math/ftestexcept.c (fetestexcept): Likewise.
47580         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47581         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47582         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47583         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47584         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47585         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47586         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47588 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47590         [BZ #12107]
47591         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47592         newline.
47594 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47596         * string/bug-strstr1.c: New file.
47597         * string/Makefile: Add rules to build and run bug-strstr1.
47599 2010-10-05  Eric Blake  <eblake@redhat.com>
47601         [BZ #12092]
47602         * string/str-two-way.h (two_way_long_needle): Always clear memory
47603         when skipping input due to the shift table.
47605 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47607         [BZ #12005]
47608         * malloc/mcheck.c: Handle large requests.
47610         [BZ #12077]
47611         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47612         for strncmp and strncasecmp.
47613         * string/stratcliff.c: Add tests for strcmp and strncmp.
47614         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47616 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47618         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47619         __set_fpscr.
47621 2010-09-30  Andreas Jaeger  <aj@suse.de>
47623         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47624         (CGROUP_SUPER_MAGIC): Define.
47625         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47626         Handle btrfs and cgroup file systems.
47627         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47628         Likewise.
47630 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47632         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47633         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47635 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47637         [BZ #12067]
47638         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47639         trying to locate the ELF header.
47641 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47643         [BZ #11611]
47644         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47645         Mask out sign-bit copies when constructing f_fsid.
47647 2010-09-24  Petr Baudis <pasky@suse.cz>
47649         * debug/stack_chk_fail_local.c: Add missing licence exception.
47650         * debug/warning-nop.c: Likewise.
47652 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47654         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47655         implementing getdents64 using getdents syscall, set d_type if
47656         __ASSUME_GETDENTS32_D_TYPE.
47658 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47660         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47661         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47663 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47665         [BZ #12037]
47666         * posix/unistd.h: Undo change of feature selection for ftruncate from
47667         2010-01-11.
47669 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47671         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47672         detection.
47674 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47676         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47677         fanotify_mark.
47678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47680 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47682         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47683         variables after CHECK_SP call.
47684         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47686 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47687             Ulrich Drepper  <drepper@redhat.com>
47689         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47690         re-relocationg ld.so.
47691         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47692         _dl_init_paths call.
47693         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47694         here anymore.
47696 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47698         * resolv/res_init.c (__res_vinit): Count the default server we added.
47700 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47701             Ulrich Drepper  <drepper@redhat.com>
47703         [BZ #11968]
47704         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47705         (____longjmp_chk): Use %ebx for saving value across system call.
47706         Add unwind info.
47708 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47710         * manual/Makefile: Don't mix pattern rules with normal rules.
47712 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47714         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47715         operation.
47716         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47717         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47718         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47719         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47720         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47721         Likewise.
47723 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47725         [BZ #11979]
47726         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47727         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47729 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47731         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47732         * sysdeps/x86_64/addmul_1.S: Likewise.
47733         * sysdeps/x86_64/lshift.S: Likewise.
47734         * sysdeps/x86_64/mul_1.S: Likewise.
47735         * sysdeps/x86_64/rshift.S: Likewise.
47736         * sysdeps/x86_64/sub_n.S: Likewise.
47737         * sysdeps/x86_64/submul_1.S: Likewise.
47739 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47741         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47742         Define __sched_param instead of SCHED_* and sched_param when
47743         <bits/sched.h> is included with __need_schedparam defined.
47744         * bits/sched.h [__need_schedparam]
47745         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47746         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47747         (__defined_schedparam): Define to 1.
47748         (__sched_param): New structure, identical to sched_param.
47749         (__need_schedparam): Undefine.
47751 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47753         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47754         (epoll_create1): Declare.
47756         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47758 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47760         [BZ #7066]
47761         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47762         shifting retval into place.
47764 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47766         * nis/rpcsvc/nis.h: Update copyright notice.
47767         * nis/rpcsvc/nis.x: Likewise.
47768         * nis/rpcsvc/nis_callback.h: Likewise.
47769         * nis/rpcsvc/nis_callback.x: Likewise.
47770         * nis/rpcsvc/nis_object.x: Likewise.
47771         * nis/rpcsvc/nis_tags.h: Likewise.
47772         * nis/rpcsvc/yp.h: Likewise.
47773         * nis/rpcsvc/yp.x: Likewise.
47774         * nis/rpcsvc/ypupd.h: Likewise.
47775         * nis/yp_xdr.c: Likewise.
47776         * nis/ypupdate_xdr.c: Likewise.
47778         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47779         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47780         (pmap_getport): Use __libc_rpc_getport.
47781         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47782         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47783         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47785 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47788         fanotify_mark.
47790 2010-08-27  Roland McGrath  <roland@redhat.com>
47792         * sysdeps/i386/i686/multiarch/Makefile
47793         (CFLAGS-varshift.c): New variable.
47795 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47797         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47798         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47800         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47802         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47804 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47806         * sysdeps/x86_64/strlen.S: Unroll the loop.
47807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47808         strlen-sse2 strlen-sse2-bsf.
47809         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47810         __strlen_no_bsf if bit_Slow_BSF is set.
47811         (__strlen_sse42): Removed.
47812         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47813         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47815 2010-08-25  Roland McGrath  <roland@redhat.com>
47817         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47818         * sysdeps/x86_64/multiarch/varshift.c: New file.
47819         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47820         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47821         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47822         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47824 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47827         strlen-sse2 strlen-sse2-bsf.
47828         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47829         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47830         (__strlen_sse2): Removed.
47831         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47832         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47834         bit_Slow_BSF for Atom.
47835         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47836         (index_Slow_BSF): Define.
47837         (HAS_SLOW_BSF): Define.
47839 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47841         [BZ #10851]
47842         * resolv/res_init.c (__res_vinit): When no server address at all
47843         is given default to loopback.
47845 2010-08-24  Roland McGrath  <roland@redhat.com>
47847         * configure.in: Remove config-name.h generation.
47848         * configure: Regenerated.
47849         * config-name.in: File removed.
47850         * scripts/config-uname.sh: New file.
47851         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47852         ($(objdir)config-name.h): New target.
47854         * sunrpc/rpc_parse.h: Avoid nested comment.
47856 2010-08-24  Richard Henderson  <rth@redhat.com>
47857             Ulrich Drepper  <drepper@redhat.com>
47858             H.J. Lu  <hongjiu.lu@intel.com>
47860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47862         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47863         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47864         _mm_alignr_epi8 with _mm_loadu_si128.
47865         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47866         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47867         (__m128i_shift_right): Removed.
47868         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47869         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47870         * sysdeps/x86_64/multiarch/varshift.h: New file.
47871         * sysdeps/x86_64/multiarch/varshift.S: New file.
47873 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47875         * configure.in: Move assembler checks to before sysdep dir checking.
47877 2010-08-20  Petr Baudis  <pasky@suse.cz>
47879         * LICENSES: Sync the sunrpc license.
47881 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47883         * sunrpc/auth_des.c: Update copyright notice once again.
47884         * sunrpc/auth_none.c: Likewise.
47885         * sunrpc/auth_unix.c: Likewise.
47886         * sunrpc/authdes_prot.c: Likewise.
47887         * sunrpc/authuxprot.c: Likewise.
47888         * sunrpc/bindrsvprt.c: Likewise.
47889         * sunrpc/clnt_gen.c: Likewise.
47890         * sunrpc/clnt_perr.c: Likewise.
47891         * sunrpc/clnt_raw.c: Likewise.
47892         * sunrpc/clnt_simp.c: Likewise.
47893         * sunrpc/clnt_tcp.c: Likewise.
47894         * sunrpc/clnt_udp.c: Likewise.
47895         * sunrpc/clnt_unix.c: Likewise.
47896         * sunrpc/des_crypt.c: Likewise.
47897         * sunrpc/des_soft.c: Likewise.
47898         * sunrpc/get_myaddr.c: Likewise.
47899         * sunrpc/getrpcport.c: Likewise.
47900         * sunrpc/key_call.c: Likewise.
47901         * sunrpc/key_prot.c: Likewise.
47902         * sunrpc/openchild.c: Likewise.
47903         * sunrpc/pm_getmaps.c: Likewise.
47904         * sunrpc/pm_getport.c: Likewise.
47905         * sunrpc/pmap_clnt.c: Likewise.
47906         * sunrpc/pmap_prot.c: Likewise.
47907         * sunrpc/pmap_prot2.c: Likewise.
47908         * sunrpc/pmap_rmt.c: Likewise.
47909         * sunrpc/rpc/auth.h: Likewise.
47910         * sunrpc/rpc/auth_unix.h: Likewise.
47911         * sunrpc/rpc/clnt.h: Likewise.
47912         * sunrpc/rpc/des_crypt.h: Likewise.
47913         * sunrpc/rpc/key_prot.h: Likewise.
47914         * sunrpc/rpc/netdb.h: Likewise.
47915         * sunrpc/rpc/pmap_clnt.h: Likewise.
47916         * sunrpc/rpc/pmap_prot.h: Likewise.
47917         * sunrpc/rpc/pmap_rmt.h: Likewise.
47918         * sunrpc/rpc/rpc.h: Likewise.
47919         * sunrpc/rpc/rpc_des.h: Likewise.
47920         * sunrpc/rpc/rpc_msg.h: Likewise.
47921         * sunrpc/rpc/svc.h: Likewise.
47922         * sunrpc/rpc/svc_auth.h: Likewise.
47923         * sunrpc/rpc/types.h: Likewise.
47924         * sunrpc/rpc/xdr.h: Likewise.
47925         * sunrpc/rpc_clntout.c: Likewise.
47926         * sunrpc/rpc_cmsg.c: Likewise.
47927         * sunrpc/rpc_common.c: Likewise.
47928         * sunrpc/rpc_cout.c: Likewise.
47929         * sunrpc/rpc_dtable.c: Likewise.
47930         * sunrpc/rpc_hout.c: Likewise.
47931         * sunrpc/rpc_main.c: Likewise.
47932         * sunrpc/rpc_parse.c: Likewise.
47933         * sunrpc/rpc_parse.h: Likewise.
47934         * sunrpc/rpc_prot.c: Likewise.
47935         * sunrpc/rpc_sample.c: Likewise.
47936         * sunrpc/rpc_scan.c: Likewise.
47937         * sunrpc/rpc_scan.h: Likewise.
47938         * sunrpc/rpc_svcout.c: Likewise.
47939         * sunrpc/rpc_tblout.c: Likewise.
47940         * sunrpc/rpc_util.c: Likewise.
47941         * sunrpc/rpc_util.h: Likewise.
47942         * sunrpc/rpcinfo.c: Likewise.
47943         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47944         * sunrpc/rpcsvc/key_prot.x: Likewise.
47945         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47946         * sunrpc/rpcsvc/mount.x: Likewise.
47947         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47948         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47949         * sunrpc/rpcsvc/rex.x: Likewise.
47950         * sunrpc/rpcsvc/rstat.x: Likewise.
47951         * sunrpc/rpcsvc/rusers.x: Likewise.
47952         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47953         * sunrpc/rpcsvc/spray.x: Likewise.
47954         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47955         * sunrpc/rtime.c: Likewise.
47956         * sunrpc/svc.c: Likewise.
47957         * sunrpc/svc_auth.c: Likewise.
47958         * sunrpc/svc_authux.c: Likewise.
47959         * sunrpc/svc_raw.c: Likewise.
47960         * sunrpc/svc_run.c: Likewise.
47961         * sunrpc/svc_simple.c: Likewise.
47962         * sunrpc/svc_tcp.c: Likewise.
47963         * sunrpc/svc_udp.c: Likewise.
47964         * sunrpc/svc_unix.c: Likewise.
47965         * sunrpc/svcauth_des.c: Likewise.
47966         * sunrpc/xcrypt.c: Likewise.
47967         * sunrpc/xdr.c: Likewise.
47968         * sunrpc/xdr_array.c: Likewise.
47969         * sunrpc/xdr_float.c: Likewise.
47970         * sunrpc/xdr_mem.c: Likewise.
47971         * sunrpc/xdr_rec.c: Likewise.
47972         * sunrpc/xdr_ref.c: Likewise.
47973         * sunrpc/xdr_sizeof.c: Likewise.
47974         * sunrpc/xdr_stdio.c: Likewise.
47976         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47977         handling.
47979 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47981         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47983 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47985         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47986         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47987         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47988         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47989         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47990         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47991         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47992         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47993         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47994         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47995         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47996         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47997         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47998         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48000 2010-07-26  Anton Blanchard  <anton@samba.org>
48002         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48003         * malloc/arena.c (heap_trim): Likewise.
48005 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48007         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48008         here.  Not...
48009         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48010         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48012 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48014         * sysdeps/i386/elf/Makefile: New file.
48016 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48018         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48019         from fanotify_init.
48020         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48021         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48023 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48025         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48026         of strncasecmp_l.
48027         * sysdeps/multiarch/strcmp.S: Likewise.
48029 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48031         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48032         strncase_l-nonascii.
48033         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48034         Add strncase_l-ssse3.
48035         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48036         * sysdeps/x86_64/strcmp.S: Likewise.
48037         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48038         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48039         * sysdeps/x86_64/strncase.S: New file.
48040         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48041         * sysdeps/x86_64/strncase_l.S: New file.
48042         * string/Makefile (strop-tests): Add strncasecmp.
48043         * string/test-strncasecmp.c: New file.
48045         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48046         warning.
48048         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48049         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48051 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48053         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48055 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48057         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48058         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48059         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48061 2010-05-01  Alan Modra  <amodra@gmail.com>
48063         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48064         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48065         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48066         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48067         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48068         tidying.  Don't tail-call __sigjmp_save for static lib.
48069         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48070         save location.
48071         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48072         (CALL_MCOUNT): Add eh info, and nop after bl.
48073         (TAIL_CALL_SYSCALL_ERROR): New macro.
48074         (PSEUDO_RET): Use it.
48075         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48076         Correct save location of integer regs and cr.
48077         (_dl_profile_resolve): Correct cr save location.  Delete nops
48078         after bl when SHARED.  Reduce cfi size a little by better
48079         placement of cfi directives.
48080         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48081         make a stack frame.  Instead use parm save area as a temp.
48082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48083         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48085         Don't make a stack frame for parent, use parm save area.
48086         Increase child stack frame to 112 bytes.  Don't save unused reg,
48087         and adjust reg usage.  Set up cfi on error recovery and
48088         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48090         (__makecontext): Add dummy nop after jump to exit.
48091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48092         Use correct parm save area and cr save, reduce stack frame.
48093         Correct cfi for possible PSEUDO_RET frame setup.
48094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48095         Branch to local label emitted by PSEUDO_RET rather than
48096         __syscall_error.
48098 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48100         [BZ #11904]
48101         * locale/programs/locale.c (print_assignment): New function.
48102         (show_locale_vars): Use it.
48104 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48106         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48107         field.
48108         (struct statfs64): Likewise.
48109         (_STATFS_F_FLAGS): Define.
48110         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48111         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48112         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48113         (ST_VALID): Define locally.
48114         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48115         __statvfs_getflags, use the provided value.
48116         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48117         __ASSUME_STATFS_F_FLAGS.
48119         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48121         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48122         Add sys/fanotify.h.
48123         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48124         fanotify_mask for GLIBC_2.13.
48125         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48126         fanotify_init and fanotify_mark.
48127         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48128         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48130         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48131         Add prlimit.
48132         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48133         prlimit64 for GLIBC_2.13.
48134         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48135         prlimit64.
48136         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48137         syscall.
48138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48139         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48140         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48141         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48142         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48143         add prlimit alias.
48144         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48146         [BZ #11903]
48147         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48148         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48150         * nss/Makefile: Add rules to build and run tst-nss-test1.
48151         * shlib-versions: Add entry for libnss_test1.
48152         * nss/nss_test1.c: New file.
48153         * nss/tst-nss-test1.c: New file.
48155         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48156         (__nss_configure_lookup): Set appropriate entry in
48157         __nss_configure_lookup to true.
48158         * nss/nsswitch.h: Define enum with indeces of databases in
48159         databases and __nss_database_custom arrays.  Declare
48160         __nss_database_custom.
48161         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48162         to avoid using nscd when custom rules are installed.
48163         * nss/getXXbyYY_r.c: Likewise.
48164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48166         * nss/nss_files/files-parse.c: Whitespace fixes.
48168 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48170         [BZ #11883]
48171         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48172         * posix/fnmatch_loop.c: Likewise.
48174 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48176         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48177         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48178         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48179         * Versions.def [GLIBC_2.13]: Add.
48181 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48183         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48184         Also fail if tpwd after pwuid call is NULL.
48186 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48188         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48189         when converting to ms.
48191 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48193         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48194         EOPNOTSUPP errors with ENOTTY.
48195         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48196         EOPNOTSUPP errors with ENOTTY.
48198 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48200         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48201         Add strcasecmp_l-ssse3.
48202         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48203         strcasecmp.
48204         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48205         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48206         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48208 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48210         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48212         * string/Makefile (strop-tests): Add strcasecmp.
48213         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48214         strcasecmp_l-nonascii.
48215         (gen-as-const-headers): Add locale-defines.sym.
48216         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48217         * sysdeps/x86_64/strcasecmp.S: New file.
48218         * sysdeps/x86_64/strcasecmp_l.S: New file.
48219         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48220         * sysdeps/x86_64/locale-defines.sym: New file.
48221         * string/test-strcasecmp.c: New file.
48223         * string/test-strcasestr.c: Test both ends of the range of characters.
48224         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48226 2010-07-29  Roland McGrath  <roland@redhat.com>
48228         [BZ #11856]
48229         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48231 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48233         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48234         for ld.so.
48236 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48238         * manual/memory.texi (Malloc Tunable Parameters): Document
48239         M_PERTURB.
48241 2010-07-26  Roland McGrath  <roland@redhat.com>
48243         [BZ #11840]
48244         * configure.in (-fgnu89-inline check): Set and substitute
48245         gnu89_inline, not libc_cv_gnu89_inline.
48246         * configure: Regenerated.
48247         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48249 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48251         * string/test-strnlen.c: New file.
48252         * string/Makefile (strop-tests): Add strnlen.
48253         * string/tester.c (test_strnlen): Add a few more test cases.
48254         * string/tst-strlen.c: Better error reporting.
48256         * sysdeps/x86_64/strnlen.S: New file.
48258 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48260         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48261         lower-latency instructions.
48263 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48265         * string/test-strcasestr.c: New file.
48266         * string/test-strstr.c: New file.
48267         * string/Makefile (strop-tests): Add strstr and strcasestr.
48268         * string/str-two-way.h: Don't undefine MAX.
48269         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48271 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48273         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48274         strcasestr-nonascii.
48275         (CFLAGS-strcasestr-nonascii.c): Define.
48276         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48277         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48278         Remove unused attribute.
48280 2010-07-20  Roland McGrath  <roland@redhat.com>
48282         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48283         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48284         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48285         like LD_HWCAP_MASK can disable hwcaps.
48287 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48289         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48291 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48293         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48294         call in strcasestr.
48295         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48296         __strcasestr_sse42_nonascii.
48297         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48298         strcasestr-nonascii.c.
48299         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48301 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48303         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48304         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48305         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48306         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48308 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48310         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48311         fcntl.
48313 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48315         [BZ #11577]
48316         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48317         dl_signal_cerror.
48319 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48321         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48322         _PC_PIPE_BUF using F_GETPIPE_SZ.
48324 2010-07-05  Roland McGrath  <roland@redhat.com>
48326         * manual/arith.texi (Rounding Functions): Fix rint description
48327         implicit in round description.
48329 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48331         * elf/Makefile: Fix linking for a few tests to make recent linker
48332         happy.
48334 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48336         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48337         $(common-objpfx)libc_nonshared.a.
48339 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48341         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48342         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48343         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48344         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48345         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48346         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48347         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48348         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48363         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48364         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48365         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48366         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48367         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48368         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48369         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48370         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48371         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48372         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48373         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48374         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48390 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48392         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48393         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48394         * string/memmove.c (memmove): Renamed to ...
48395         (MEMMOVE): ...this.  Default to memmove.
48396         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48397         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48398         (END_CHK): Define.
48399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48400         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48401         mempcpy-ssse3-back memmove-ssse3-back.
48402         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48403         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48404         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48405         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48406         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48407         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48408         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48409         * sysdeps/x86_64/multiarch/memmove.c: New file.
48410         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48411         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48412         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48413         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48414         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48415         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48416         Define.
48417         (index_Fast_Copy_Backward): Define.
48418         (HAS_ARCH_FEATURE): Define.
48419         (HAS_FAST_REP_STRING): Define.
48420         (HAS_FAST_COPY_BACKWARD): Define.
48422 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48424         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48425         Restore proper fallback handling.
48427 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48429         [BZ #11701]
48430         * posix/group_member.c (__group_member): Correct checking loop.
48432         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48433         OOM in getpwuid_r correctly.  Return error number when the caller
48434         should return, otherwise -1.
48435         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48436         call returning > 0 value.
48437         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48439 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48441         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48442         libc_nonshared.a from targets in modules-names.
48444 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48446         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48447         requires it.
48449 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48451         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48452         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48453         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48454         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48456 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48458         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48460 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48462         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48463         and F_GETPIPE_SZ.
48464         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48465         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48466         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48467         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48468         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48469         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48471 2010-06-14  Roland McGrath  <roland@redhat.com>
48473         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48475 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48477         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48478         __REDIRECT followed by __THROW.
48479         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48480         * posix/getopt.h (getopt): Likewise.
48482 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48484         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48485         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48486         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48487         in AT_FLAGS.
48488         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48489         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48491 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48493         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48495 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48497         [BZ #11640]
48498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48499         Properly check family and model.
48501 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48503         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48505 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48507         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48509 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48511         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48512         symbol reference.
48514 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48516         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48517         symbol reference.
48519 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48521         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48522         and internal_recvmmsg.
48523         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48524         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48525         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48526         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48528         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48529         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48530         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48532 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48534         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48536 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48538         POWER7 optimizations.
48539         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48540         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48542 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48544         * version.h: Update for 2.13 development version.
48546 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48548         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48549         exceptions.  Return 0.
48551 2010-05-07  Roland McGrath  <roland@redhat.com>
48553         * elf/ldconfig.c (main): Add a const.
48555 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48557         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48558         (args_options): Add no-idn option.
48559         (ahosts_keys_int): Add idn_flags to ai_flags.
48560         (parse_option): Handle 'i' option to clear idn_flags.
48562         * malloc/malloc.c (_int_free): Possible race in the most recently
48563         added check.  Only act on the data if no current modification
48564         happened.
48566 See ChangeLog.17 for earlier changes.