iconv/loop.c: Fix -Wundef warning with !_STRING_ARCH_unaligned
[glibc.git] / ChangeLog
blob9c9b2c3a3b3875110040359f96bc2a09bebb74a1
1 2014-07-17  Will Newton  <will.newton@linaro.org>
3         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4         into an #else block.
6 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9         just Linux configurations.  Test empirically that the compiler sets
10         __ARM_EABI__, rather than using the tuple to decide.
11         * sysdeps/arm/preconfigure: Regenerated.
12         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14         contents appended ...
15         * sysdeps/arm/configure.ac: ... here.
16         * sysdeps/arm/configure: Regenerated.
18 2014-07-15  Roland McGrath  <roland@hack.frob.com>
20         * nptl/pthread_kill.c: New file.
21         * nptl/pthread_sigmask.c: New file.
22         * nptl/pthread_sigqueue.c: New file.
24         * sysdeps/nptl/lowlevellock.h: New file.
25         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26         * sysdeps/nptl/lowlevellock-futex.h: New file.
28         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29         Remove dead declarations.
31 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
35         config-cflags-avx2.
36         * sysdeps/x86_64/configure.ac: Likewise.
37         * sysdeps/i386/configure: Regenerated.
38         * sysdeps/x86_64/configure: Likewise.
39         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40         memset-avx2 only if config-cflags-avx2 is yes.
41         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43         defined.
44         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45         only if HAVE_AVX2_SUPPORT is defined.
46         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48 2014-07-14  Alan Modra  <amodra@gmail.com>
50         [BZ #17153]
51         * elf/elf.h (DT_PPC64_NUM): Correct value.
52         * NEWS: Add to fixed bug list.
54 2014-07-13  Jim Meyering  <meyering@fb.com>
56         [BZ 17150]
57         regex: don't deref NULL upon heap allocation failure
58         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
59         failure in one more place.
60         To trigger the segfault, configure grep -with-included-regex,
61         build it, and run these commands:
62         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
64 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
66         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
68 2014-07-11  Richard Henderson  <rth@redhat.com>
70         * sysdeps/aarch64/libm-test-ulps: Update.
72 2014-07-10  Florian Weimer  <fweimer@redhat.com>
74         [BZ #17135]
75         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
76         * nptl/allocatestack.c (__nptl_setxid_error): New function.
77         (__nptl_setxid): Initialize error member.  Call
78         __nptl_setxid_error.
79         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
80         * nptl/descr.h (struct xid_command): Add error member.
81         * nptl/tst-setuid3.c: New file.
82         * nptl/Makefile (tests): Add it.
84 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
87         New define.
88         (__lll_trylock): Use __lll_base_trylock.
89         (__lll_cond_trylock): Likewise.
91 2014-07-10  Roland McGrath  <roland@hack.frob.com>
93         * nptl/pthread_create.c (start_thread): Use atomic_or and
94         lll_futex_wake directly rather than lll_robust_dead.
95         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
96         (lll_robust_dead): Macro removed.
97         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
98         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
99         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
100         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
102         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
103         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
104         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
105         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
106         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
107         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
108         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
109         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
110         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
111         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
113         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
114         Use atomic_compare_and_exchange_val_acq directly rather than
115         lll_robust_trylock.
116         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
117         (__lll_robust_trylock, lll_robust_trylock): Removed.
118         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
119         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
120         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
121         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
122         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
123         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
124         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
125         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
126         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
127         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
128         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
129         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
130         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
131         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
133 2014-07-02  Florian Weimer  <fweimer@redhat.com>
135         * manual/locale.texi (Locale Names): New section documenting
136         locale name syntax.  Adjust menu and node chaining accordingly.
137         (Choosing Locale): Reference Locale Names, Locale Categories.
138         Mention setting LC_ALL=C.  Reflect that name syntax is now
139         documented.
140         (Locale Categories): New section title.  Reference Locale Names.
141         LC_ALL is an environment variable, but not a category.
142         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
143         description, now in Locale Name.  Reference that section.  Locale
144         name syntax is now documented.
146 2014-07-02  Florian Weimer  <fweimer@redhat.com>
148         [BZ #17137]
149         * locale/findlocale.c (name_present, valid_locale_name): New
150         functions.
151         (_nl_find_locale): Use the loc_name variable to store name
152         candidates.  Call name_present and valid_locale_name to check and
153         validate locale names.  Return an error if the locale is invalid.
155 2014-07-02  Florian Weimer  <fweimer@redhat.com>
157         * locale/setlocale.c (setlocale): Use strdup for allocating
158         composite name copy.
160 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
162         Sync up with gnulib.
163         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
164         [!_LIBC && ENABLE_NLS]: Include gettext.h.
165         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
166         and _GL_ARG_NONNULL.
167         [USE_UNLOCKED_IO]: Include unlocked-io.h.
168         [!_LIBC]: Include code for Windows and Cygwin.
169         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
170         Include prototype for int strerror_r.
171         [!_LIBC] (is_open): New function.
172         (flush_stdout): New function.
173         (print_errno_message): Use it.
174         (error): Likewise.
175         (error_at_line): Likewise.
176         (error_tail) Add function attribute macros.  Use
177         __builtin_expect.
179         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
181         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
183         * io/ftw.c: Include sys/param.h unconditionally.
185         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
187         [BZ #17125]
188         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
189         libc_freeres_ptr.
190         (freecache): New function to free CACHE on exit.
192         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
193         initialization.
195 2014-07-09  David S. Miller  <davem@davemloft.net>
197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
199         * sysdeps/sparc/nptl/internaltypes.h: Delete.
200         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
201         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
202         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
203         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
204         * sysdeps/sparc/nptl/sem_init.c: Likewise.
205         * sysdeps/sparc/nptl/sem_post.c: Likewise.
206         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
207         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
208         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
209         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
210         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
211         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
213 2014-07-09  Andreas Schwab  <schwab@suse.de>
215         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
216         output.
217         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
218         (do_test): Likewise.
220         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
222 2014-07-09  Will Newton  <will.newton@linaro.org>
224         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
225         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
226         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
227         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
228         * sysdeps/hppa/start.S (_start): Likewise.
230 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
232         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
234         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
235         defined.
237 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
239         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
240         after checking that it is non-NULL.
242         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
244 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
246         * sysdeps/powerpc/memmove.c: Remove file.
247         * sysdeps/powerpc/powerpc32/power4/memcopy.h
248         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
249         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
250         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
252         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
253         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
254         string memmove instead of removed powerpc one.
256         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
257         [weak_alias]: Fix compiler warning due trailing data.
258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
259         [weak_alias]: Likewise.
260         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
261         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
264         (__libc_ifunc_impl_list): Add memmove functions.
266 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
268         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
269         Remove code.
270         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
271         Likewise
272         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
273         Likewise
274         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
275         Likewise
276         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
277         Likewise
278         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
279         Likewise
280         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
281         Likewise
282         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
283         Likewise
284         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
285         Likewise
286         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
287         Likewise
288         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
289         Likewise
290         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
291         Likewise
292         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
293         Likewise
294         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
295         Likewise
296         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
297         Likewise
298         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
299         Likewise
300         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
301         Likewise
303 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
305         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
306         to avoid alignment traps in non-cacheable memory.
307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
310         multiarch objects.
311         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
312         file: multiarch power7 memmove.
313         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
314         multiarch default memmove.
315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
316         multiarch memove for powerpc32/power4.
318         * string/bcopy.c: Use full path to include memmove.c.
319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
320         multiarch objects.
321         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
322         bcopy for powerpc64.
323         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
324         bcopy for powerpc64.
325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
326         and memmove implementations.
327         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
328         optimized multiarch memmove for POWER7/powerpc64.
329         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
330         default multiarch memmove for powerpc64.
331         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
332         multiarch for powerpc64.
333         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
334         for POWER7/powerpc64.
335         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
336         memmove for POWER7/powerpc64.
338         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
339         glibc default one.
341         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
342         __ELF_NATIVE_CLASS equal to 64.
344 2014-07-07  Roland McGrath  <roland@hack.frob.com>
346         * sysdeps/nptl/lowlevellock.h: File removed.
348         * NEWS: NPTL is no longer an add-on!
349         * nptl/internaltypes.h: Moved ...
350         * sysdeps/nptl/internaltypes.h: ... here.
351         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
352         * sysdeps/nptl/fork.c: Likewise.
353         * sysdeps/nptl/gai_misc.h: Likewise.
354         * sysdeps/nptl/librt-cancellation.c: Likewise.
355         * sysdeps/nptl/jmp-unwind.c: Likewise.
356         * sysdeps/nptl/setxid.h: Likewise.
357         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
358         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
359         * sysdeps/unix/sysv/linux/arm/Implies: New file.
360         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
361         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
362         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
363         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
364         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
365         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
366         * sysdeps/unix/sysv/linux/mips/Implies: New file.
367         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
368         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
369         * sysdeps/unix/sysv/linux/sh/Implies: New file.
370         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
371         * sysdeps/unix/sysv/linux/tile/Implies: New file.
372         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
373         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
374         * nptl/Makeconfig: Moved ...
375         * sysdeps/nptl/Makeconfig: ... here.
376         * nptl/configure: File removed.
377         * nptl/ANNOUNCE: File removed.
378         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
379         * sysdeps/unix/sysv/linux/configure: Regenerated.
381         * nptl/Makefile (routines): Add libc_pthread_init,
382         libc_multiple_threads, register-atfork and unregister-atfork.
383         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
384         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
385         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
386         pthread-pi-defines.sym, structsem.sym.
387         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
388         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
389         [$(subdir) = nptl] (tests): Add tst-setgetname.
390         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
391         * sysdeps/unix/sysv/linux/sigaction.c: Just include
392         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
393         [!LIBC_SIGACTION]: Remove aliases.
394         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
395         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
396         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
397         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
398         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
399         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
400         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
401         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
402         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
403         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
404         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
405         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
406         __libc_allocate_rtsig_private.
407         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
408         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
409         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
410         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
411         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
412         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
413         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
414         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
415         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
416         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
417         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
418         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
419         * nptl/internaltypes.h: ... here.
420         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
421         * sysdeps/nptl/jmp-unwind.c: ... here.
422         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
423         * nptl/libc-lowlevellock.c: ... here.
424         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
425         * nptl/libc_multiple_threads.c: ... here.
426         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
427         * nptl/libc_pthread_init.c: ... here.
428         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
429         * nptl/lowlevelbarrier.sym: ... here.
430         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
431         * nptl/lowlevelcond.sym: ... here.
432         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
433         * nptl/lowlevellock.c: ... here.
434         * nptl/lowlevellock.h: Moved ...
435         * sysdeps/nptl/lowlevellock.h: ... here.
436         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
437         * nptl/lowlevelrobustlock.c: ... here.
438         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
439         * nptl/lowlevelrobustlock.sym: ... here.
440         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
441         * nptl/lowlevelrwlock.sym: ... here.
442         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
443         * nptl/pt-fork.c: ... here.
444         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
445         * nptl/pthread-pi-defines.sym: ... here.
446         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
447         * nptl/pthread_attr_getaffinity.c: ... here.
448         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
449         * nptl/pthread_attr_setaffinity.c: ... here.
450         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
451         * nptl/pthread_mutex_cond_lock.c: ... here.
452         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
453         Update #include.
454         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
455         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
456         * nptl/pthread_once.c: ... here, replacing old file.
457         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
458         * nptl/pthread_yield.c: ... here.
459         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
460         * nptl/register-atfork.c: ... here.
461         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
462         * nptl/sem_post.c: ... here.
463         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
464         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
465         * nptl/sem_timedwait.c: ... here.
466         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
467         * nptl/sem_trywait.c: ... here.
468         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
469         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
470         * nptl/sem_wait.c: ... here.
471         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
472         * nptl/structsem.sym: ... here.
473         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
474         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
475         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
476         * nptl/unregister-atfork.c: ... here.
477         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
478         * nptl/unwindbuf.sym: ... here.
479         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
480         * sysdeps/nptl/fork.c: ... here.
481         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
482         * sysdeps/nptl/fork.h: ... here.
483         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
484         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
485         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
486         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
487         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
488         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
489         * sysdeps/unix/sysv/linux/getpid.c: ... here.
490         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
491         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
492         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
493         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
494         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
495         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
496         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
497         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
498         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
499         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
500         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
501         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
502         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
503         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
504         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
505         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
506         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
507         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
508         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
509         * sysdeps/unix/sysv/linux/raise.c: ... here.
510         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
511         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
512         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
513         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
514         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
515         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
516         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
517         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
518         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
519         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
520         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
521         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
522         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
523         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
524         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
526 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
528         * sysdeps/generic/memcopy.h: Add comment for
529         MEMCPY_OK_FOR_FWD_MEMMOVE.
531 2014-07-04  Will Newton  <will.newton@linaro.org>
533         * string/memchr.c: Merge from gnulib.
534         [_LIBC]: Remove conditionals.
535         (__ptr_t): Remove define.
536         (LONG_MAX_32_BITS): Likewise.
537         (LONG_MAX): Likewise.
538         (MEMCHR): Use ANSI prototype and optimize algorithm.
540         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
542 2014-07-03  Roland McGrath  <roland@hack.frob.com>
544         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
545         (lll_futex_timed_wait_bitset): Fix syscall argument count.
547         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
548         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
549         in a bare environment with no <stdlib.h> installed.
550         * sysdeps/nptl/configure: Regenerated.
552         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
554         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
555         AC_EGREP_CPP for kernel header checks, so they only succeed if
556         including <linux/version.h> actually works right.
557         * sysdeps/unix/sysv/linux/configure: Regenerated.
559         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
560         value so it's not diagnosed as unused.
562         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
563         thing) with "ifeq ($(subdir),rt)".
565 2014-07-03  Richard Henderson  <rth@redhat.com>
567         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
568         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
569         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
571         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
572         (math_force_eval): New.
574         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
575         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
577         * sysdeps/alpha/fpu/s_round.c: Remove file.
578         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
580         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
581         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
582         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
583         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
584         (_dl_start, print_statistics): Likewise.
585         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
586         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
588         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
589         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
590         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
591         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
593         (HP_SMALL_TIMING_AVAIL): Define.
594         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
595         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
596         (HP_SMALL_TIMING_AVAIL): Define.
597         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
598         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
600         * sysdeps/aarch64/hp-timing.h: New file.
602         * sysdeps/generic/hp-timing.h: Remove dead comment.
603         * sysdeps/generic/hp-timing-common.h: New file.
604         * sysdeps/alpha/hp-timing.h: Include it.
605         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
606         * sysdeps/i386/i686/hp-timing.h: Likewise.
607         * sysdeps/ia64/hp-timing.h: Likewise.
608         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
609         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
610         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
611         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
612         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
613         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
614         (hp_timing_t): New.
616         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
617         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
618         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
619         * elf/rtld.c (_dl_start_final): Likewise.
620         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
621         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
622         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
623         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
624         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
625         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
626         (HP_TIMING_DIFF_INIT): Remove.
627         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
628         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
629         (HP_TIMING_DIFF_INIT): Remove.
630         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
631         * sysdeps/i386/i686/hp-timing.c: Remove file.
632         * sysdeps/x86_64/hp-timing.c: Remove file.
633         * sysdeps/ia64/hp-timing.c: Remove file.
634         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
635         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
636         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
637         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
639         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
640         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
641         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
642         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
644         (HP_TIMING_ACCUM): Remove.
645         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
646         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
647         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
649         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
650         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
651         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
652         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
653         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
654         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
655         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
656         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
658         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
660 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
662         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
664 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
666         Sync up with gettext.
667         * intl/loadmsgcat.c: Define O_BINARY if not defined.
668         [_MSC_VER]: Include malloc.h
669         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
670         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
671         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
672         TEMP_FAILURE_RETRY.  Cast return of alloca.
673         [!_LIBC] Call gl_rwlock_init.
674         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
676 2014-07-02  Roland McGrath  <roland@hack.frob.com>
678         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
679         before checking its value.
681 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
683         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
685         * debug/memcpy_chk.c: Don't include pagecopy.h.
686         * debug/mempcpy_chk.c: Likewise.
687         * string/memcpy.c: Likewise.
688         * string/memmove.c: Likewise.
689         * sysdeps/powerpc/memmove.c: Likewise.
690         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
691         definition of PAGE_COPY_FWD_MAYBE here...
692         * sysdeps/generic/pagecopy.h: ... from here.
693         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
695 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
696             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
698         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
700         optimizations.
701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
702         (__libc_ifunc_impl_list): Likewise.
703         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
704         multiarch strcat for PPC64.
705         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
706         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
708 2014-07-02  Roland McGrath  <roland@hack.frob.com>
710         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
712 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
714         * intl/loadmsgcat.c: Remove declaration of
715         get_sysdep_segment_value.
716         (get_sysdep_segment_value): Use ISO C style.
717         (_nl_load_domain): Use ISO C style.  Get rid of redundant
718         semicolon.  Fix typo and formatting in comment.
719         (_nl_unload_domain): Use ISO C style.
721         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
723 2014-07-02  Will Newton  <will.newton@linaro.org>
725         * malloc/obstack.c: Merge from gnulib master.
726         [HAVE_CONFIG_H]: Remove conditional code.
727         [!_LIBC]: Include config.h.
728         [!ELIDE_CODE]: Don't include inttypes.h, include
729         stdint.h unconditionally.
730         (print_and_abort): Mark as _Noreturn.
731         (_obstack_allocated_p): Mark as __attribute_pure__.
732         (obstack_free): Rename to __obstack_free.
733         [!__attribute__]: Remove conditional code.
734         * malloc/obstack.h: Merge from gnulib master.
735         [__cplusplus]: Move conditional down.
736         [!__attribute_pure__]: Define __attribute_pure__ here
737         if it is not already defined.
738         (_obstack_memory_used): Mark as __attribute_pure__.
739         [!__obstack_free]: Define as obstack_free.
740         [__GNUC__]: Remove check for ancient NeXT gcc.
742 2014-07-02  Will Newton  <will.newton@linaro.org>
743             Paul Eggert  <eggert@cs.ucla.edu>
745         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
747 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
749         * resolv/gethnamaddr.c: Add comment warning that the file is
750         not maintained.
752 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
754         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
755         entries.
757         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
758         entry for aio_cancel and aio_cancel64.
759         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
760         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
761         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
762         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
763         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
764         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
765         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
766         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
767         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
768         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
769         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
770         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
771         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
773 2014-07-01  Roland McGrath  <roland@hack.frob.com>
775         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
776         * nptl/pthread_mutex_lock.c: Likewise.
777         * nptl/pthread_mutex_timedlock.c: Likewise.
778         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
780 2014-07-01  Richard henderson  <rth@redhat.com>
782         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
783         (__isnan, __isnanl): Remove.
784         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
786         * sysdeps/alpha/fpu/libm-test-ulps: Update.
788 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
790         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
792 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
794         * resolv/nss_dns/dns-host.c (getanswer_r)
795         [MULTI_PTRS_ARE_ALIASES]: Remove code.
797 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
799         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
800         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
801         undefine.
802         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
803         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
805 2014-07-01  Roland McGrath <roland@hack.frob.com>
807         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
808         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
810         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
811         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
813         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
814         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
815         ... here.
816         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
817         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
819         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
820         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
821         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
822         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
824         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
825         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
826         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
827         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
828         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
829         Moved ...
830         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
831         ... here.
832         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
833         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
834         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
835         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
836         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
837         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
838         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
839         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
840         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
841         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
842         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
843         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
844         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
845         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
846         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
847         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
848         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
849         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
850         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
851         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
852         ... here.
853         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
854         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
855         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
856         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
857         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
858         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
859         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
860         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
862 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
864         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
865         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
866         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
867         Add sysdep.
869 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
873 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
875         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
876         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
878         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
880         * sysdeps/arm/libm-test-ulps: Regenerated.
882 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
883             Roland McGrath <roland@hack.frob.com>
885         * test-skeleton.c (signal_handler): Kill the whole process group
886         before killing the child individually.
887         (main): Report any failure on `setpgid'.
889 2014-06-30  Roland McGrath  <roland@hack.frob.com>
891         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
892         from _TLS_H to _ARM_NPTL_TLS_H.
893         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
894         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
896 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
898         [BZ #16539]
899         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
900         (__expm1l): Return argument unchanged when small but not
901         subnormal.
903         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
904         include macro name.
905         (_FP_UNPACK_RAW_1_P): Likewise.
906         (_FP_PACK_RAW_1): Likewise.
907         (_FP_PACK_RAW_1_P): Likewise.
908         (_FP_MUL_MEAT_1_wide): Likewise.
909         (_FP_MUL_MEAT_DW_1_hard): Likewise.
910         (_FP_MUL_MEAT_1_hard): Likewise.
911         (_FP_DIV_MEAT_1_imm): Likewise.
912         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
913         (_FP_DIV_MEAT_1_udiv): Likewise.
914         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
915         (_FP_UNPACK_RAW_2): Likewise.
916         (_FP_UNPACK_RAW_2_P): Likewise.
917         (_FP_PACK_RAW_2): Likewise.
918         (_FP_PACK_RAW_2_P): Likewise.
919         (_FP_MUL_MEAT_DW_2_wide): Likewise.
920         (_FP_MUL_MEAT_2_wide): Likewise.
921         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
922         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
923         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
924         (_FP_MUL_MEAT_2_gmp): Likewise.
925         (_FP_DIV_MEAT_2_udiv): Likewise.
926         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
927         (_FP_FRAC_SRL_4): Likewise.
928         (_FP_FRAC_SRST_4): Likewise.
929         (_FP_FRAC_SRS_4): Likewise.
930         (_FP_UNPACK_RAW_4): Likewise.
931         (_FP_UNPACK_RAW_4_P): Likewise.
932         (_FP_PACK_RAW_4): Likewise.
933         (_FP_PACK_RAW_4_P): Likewise.
934         (_FP_MUL_MEAT_DW_4_wide): Likewise.
935         (_FP_MUL_MEAT_4_wide): Likewise.
936         (_FP_MUL_MEAT_4_gmp): Likewise.
937         (umul_ppppmnnn): Likewise.
938         (_FP_DIV_MEAT_4_udiv): Likewise.
939         (__FP_FRAC_ADD_4): Likewise.
940         (__FP_FRAC_SUB_3): Likewise.
941         (__FP_FRAC_SUB_4): Likewise.
942         (__FP_FRAC_DEC_3): Likewise.
943         (__FP_FRAC_DEC_4): Likewise.
944         (__FP_FRAC_ADDI_4): Likewise.
945         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
946         (_FP_FRAC_SRL_8): Likewise.
947         (_FP_FRAC_SRS_8): Likewise.
949         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
950         include macro name.
951         (FP_UNPACK_RAW_EP): Likewise.
952         (FP_PACK_RAW_E): Likewise.
953         (FP_PACK_RAW_EP): Likewise.
954         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
955         (_FP_ISSIGNAN): Likewise.
956         (_FP_ADD_INTERNAL): Likewise.
957         (_FP_FMA): Likewise.
958         (_FP_CMP): Likewise.
959         (_FP_SQRT): Likewise.
960         (_FP_TO_INT): Likewise.
961         (_FP_FROM_INT): Likewise.
962         (FP_EXTEND): Likewise.
963         (_FP_DIV_MEAT_N_loop): Likewise.
965 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
967         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
968         throughout.
970 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
972         [BZ #17097]
973         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
974         result with correct sign in case of exponents that produce
975         overflow except for X very close to 1.
977 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
979         mktime: merge #if/#ifdef usage from glibc
980         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
981         as that works with both Glibc's and Gnulib's style.
982         See thread starting at Siddhesh Poyarekar's bug report at:
983         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
985 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
987         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
988         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
989         * sysdeps/tile/tilegx/memmove.c: Remove file.
991 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
993         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
994         abi-name definition.
995         * scripts/soversions.awk: Do not handle or generate ABI lines.
996         * shlib-versions: Remove ABI entries.
997         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
998         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1000 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1003         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1004         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1005         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1007         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1009         Moved ...
1010         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1011         ... here.
1012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1013         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1015         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1017         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1019         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1023         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1025         Moved ...
1026         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1028         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1030         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1032         Moved ...
1033         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1035         Moved ...
1036         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1038         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1040         Moved ...
1041         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1043         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1045         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1047         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1049         Moved ...
1050         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1052         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1053         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1054         Moved ...
1055         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1057         Moved ...
1058         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1060         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1062         Moved ...
1063         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1064         ... here.
1065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1066         Identical file removed.
1067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1068         Moved ...
1069         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1071         Identical file removed.
1072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1073         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1075         Moved ...
1076         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1078         Identical file removed.
1079         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1080         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1082         Identical file removed.
1083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1084         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1086         Identical file removed.
1087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1088         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1090         Identical file removed.
1091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1092         Moved ...
1093         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1094         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1095         Identical file removed.
1096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1097         Moved ...
1098         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1100         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1102         Identical file removed.
1103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1104         Moved ...
1105         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1106         ... here.
1107         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1108         Identical file removed.
1109         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1110         Moved ...
1111         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1113         Identical file removed.
1114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1115         Moved ...
1116         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1118         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1120         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1122         Moved ...
1123         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1124         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1125         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1127         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1128         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1129         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1130         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1131         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1133 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1135         [BZ #17092]
1136         * nscd/nscd.c (monitor_child): Return exit status of child
1137         instead of return value from wait syscall.
1139 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1141         * configure.ac (libc_commonpagesize): Remove variable.
1142         (libc_relro_required): Likewise.
1143         (libc_cv_z_relro): Remove configure test.
1144         * configure: Regenerated.
1145         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1146         variable.
1147         (libc_relro_required): Likewise.
1148         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1149         (libc_relro_required): Likewise.
1150         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1151         (libc_relro_required): Likewise.
1152         * sysdeps/arm/preconfigure: Regenerated.
1153         * sysdeps/ia64/preconfigure: Remove file.
1154         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1155         variable.
1156         (libc_relro_required): Likewise.
1158         [BZ #16561]
1159         [BZ #16562]
1160         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1161         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1162         recompute overflowing results in original rounding mode.
1163         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1164         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1165         recompute overflowing results in original rounding mode.
1166         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1167         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1168         recompute overflowing results in original rounding mode.
1169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1170         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1171         recompute overflowing results in original rounding mode.
1172         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1173         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1174         recompute overflowing results in original rounding mode.
1175         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1176         (libc_feholdsetround_ctx): New macro.
1177         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1178         * sysdeps/i386/fpu/libm-test-ulps: Update.
1179         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1181 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1183         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1184         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1185         corresponding .cpsetup call.
1187 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1189         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1190         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1191         * sysdeps/arm/Makefile [$(subdir) = csu]
1192         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1193         (static-only-routines): Add aeabi_read_tp here.
1194         (shared-only-routines): Add libc-aeabi_read_tp here.
1195         (CFLAGS-libc-start.c): Add -fexceptions here.
1196         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1197         (sysdep_routines, static-only-routines, shared-only-routines):
1198         Don't add to these here.
1199         (CFLAGS-libc-start.c): Likewise.
1201         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1202         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1203         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1204         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1205         * sysdeps/arm/Makefile [$(subdir) = rt]
1206         (librt-sysdep_routines, librt-shared-only-routines):
1207         Append rt-aeabi_unwind_cpp_pr1 here.
1208         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1209         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1210         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1211         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1212         Append nptl-aeabi_unwind_cpp_pr1 here.
1213         (tests): Filter out tst-cleanupx4 here.
1214         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1215         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1216         Don't do those here.
1218 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1220         * scripts/list-sources.sh: Do not handle ports specially.
1222 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1224         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1225         * sysdeps/arm/feupdateenv.c: Likewise.
1227         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1229 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1231         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1232         trailing whitespace removed.
1233         * scripts/config.guess: Update to version 2014-03-23.
1234         * scripts/config.sub: Update to version 2014-05-01
1235         * scripts/install-sh: Update to version 2013-12-25.23.
1236         * scripts/move-if-change: Update from gnulib.
1238 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1240         * debug/memmove_chk.c: Remove pagecopy.h include.
1242 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1244         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1245         identical to gnulib mktime.
1247 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1249         * configure.ac: Do not test for machine being rs6000.  Do not test
1250         for powerpc*-*soft.
1251         * configure: Regenerated.
1253         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1254         test.
1255         * configure: Regenerated.
1256         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1257         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1258         Remove configure test.
1259         * sysdeps/arm/configure: Regenerated.
1260         * sysdeps/nptl/configure.ac: Do not check
1261         libc_cv_asm_cfi_directives.
1262         * sysdeps/nptl/configure: Regenerated.
1263         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1264         * sysdeps/x86_64/nptl/configure: Remove generated file.
1265         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1266         unconditional.
1267         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1269 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1271         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1272         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1273         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1274         it is defined.
1276         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1277         instead of whether it is defined.
1278         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1279         * sysdeps/hppa/dl-machine.h: Likewise.
1280         * sysdeps/ia64/dl-machine.h: Likewise.
1281         * sysdeps/m68k/dl-machine.h: Likewise.
1282         * sysdeps/microblaze/dl-machine.h: Likewise.
1283         * sysdeps/mips/dl-machine.: Likewise.
1284         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1285         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1286         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1287         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1288         * sysdeps/sh/dl-machine.h: Likewise.
1289         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1290         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1291         * sysdeps/tile/dl-machine.h: Likewise.
1292         * sysdeps/x86_64/dl-machine.h: Likewise.
1294         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1295         code.
1296         (verify_persistent_db): Likewise.
1298 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1301         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1303         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1305         Moved ...
1306         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1307         ... here.
1308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1309         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1311         Identical file removed.
1312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1313         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1315         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1317         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1319         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1321         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1323         Moved ...
1324         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1326         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1328         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1330         Moved ...
1331         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1333         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1335         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1337         Identical file removed.
1338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1339         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1341         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1343         Moved ...
1344         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1345         ... here.
1346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1347         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1349         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1351         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1353         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1355         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1357         Moved ...
1358         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1360         Moved ...
1361         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1363         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1365         Moved ...
1366         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1368         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1371         folded into ...
1372         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1373         * sysdeps/unix/sysv/linux/s390/Versions
1374         (libpthread: GLIBC_2.19): New version set.
1375         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1376         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1377         (librt: GLIBC_2.3.3): New version set.
1378         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1379         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1380         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1381         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1382         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1383         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1384         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1385         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1386         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1387         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1388         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1389         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1390         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1391         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1392         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1393         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1394         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1395         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1396         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1397         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1398         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1399         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1400         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1402         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1403         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1404         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1405         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1406         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1408         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1409         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1414         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1415         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1416         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1417         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1418         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1420         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1422         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1424         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1425         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1426         (__libc_vfork): Define the function under this name.
1427         [!NOT_IN_libc] (__vfork): Make this an alias.
1428         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1430         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1431         (__libc_vfork): Define the function under this name.
1432         [!NOT_IN_libc] (__vfork): Make this an alias.
1433         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1434         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1435         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1437         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1438         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1440         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1441         code that was previously under [RESET_PID].
1442         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1443         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1446         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1447         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1448         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1449         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1450         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1451         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1452         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1453         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1454         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1455         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1456         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1457         Moved ...
1458         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1459         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1460         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1461         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1462         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1463         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1464         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1465         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1466         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1467         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1468         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1469         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1470         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1471         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1472         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1473         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1474         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1475         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1476         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1477         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1478         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1479         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1480         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1481         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1482         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1483         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1484         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1485         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1486         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1488 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1490         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1491         that was previously under [RESET_PID].
1492         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1494 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1496         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1497         not undefine and redefine.
1498         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1499         [O_CLOEXEC]: Make code unconditional.
1500         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1501         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1502         <kernel-features.h>.
1503         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1504         conditional variable definition.
1505         (shm_open) [O_CLOEXEC]: Make code unconditional.
1506         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1507         code.
1509         * configure.ac (USE_REGPARMS): Don't define here.
1510         * configure: Regenerated.
1511         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1512         * sysdeps/i386/configure: Regenerated.
1514         * nptl/createthread.c: Don't include kernel-features.h.
1515         * nptl/pthread_cancel.c: Likewise.
1516         * nptl/pthread_condattr_setclock.c: Likewise.
1517         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1518         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1519         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1520         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1521         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1522         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1523         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1524         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1525         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1526         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1527         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1528         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1529         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1530         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1531         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1532         * nscd/gai.c: Likewise.
1533         * nss/nss_db/db-open.c: Likewise.
1534         * sysdeps/generic/ldsodefs.h: Likewise.
1535         * sysdeps/sh/nptl/tls.h: Likewise.
1536         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1537         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1538         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1539         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1540         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1541         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1542         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1543         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1544         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1545         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1546         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1547         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1548         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1549         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1550         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1551         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1552         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1553         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1554         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1555         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1556         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1558         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1559         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1560         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1564         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1565         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1566         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1567         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1568         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1569         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1570         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1571         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1572         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1573         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1574         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1575         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1576         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1577         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1578         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1579         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1580         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1581         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1582         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1583         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1584         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1585         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1586         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1587         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1588         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1589         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1590         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1591         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1592         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1593         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1616         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1617         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1618         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1619         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1620         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1621         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1622         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1623         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1624         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1625         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1626         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1627         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1628         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1629         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1630         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1631         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1632         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1633         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1634         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1635         * sysdeps/unix/sysv/linux/system.c: Likewise.
1636         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1637         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1638         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1639         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1640         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1641         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1642         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1644         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1645         * configure: Regenerated.
1646         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1648         * configure.ac (base_machine): Do not set specially for particular
1649         machines here.
1650         * configure: Regenerated.
1651         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1652         settings from configure.ac.
1653         * sysdeps/i386/preconfigure: New file.
1654         * sysdeps/s390/preconfigure: Likewise.
1655         * sysdeps/sh/preconfigure: Likewise.
1656         * sysdeps/sparc/preconfigure: Likewise.
1658 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1660         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1661         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1662         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1663         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1664         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1665         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1666         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1667         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1668         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1669         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1670         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1671         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1672         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1673         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1674         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1676         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1677         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1678         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1680         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1681         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1682         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1683         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1684         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1685         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1686         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1687         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1688         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1689         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1690         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1691         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1692         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1693         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1694         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1695         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1696         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1697         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1698         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1699         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1700         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1701         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1702         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1703         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1704         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1705         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1706         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1707         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1708         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1709         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1710         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1711         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1712         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1713         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1714         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1715         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1716         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1717         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1719         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1720         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1722         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1724         Moved ...
1725         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1726         ... here.
1727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1728         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1730         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1732         Moved ...
1733         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1735         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1737         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1739         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1741         Moved ...
1742         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1744         Moved ...
1745         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1747         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1749         Moved ...
1750         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1752         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1754         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1756         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1758         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1760         Moved ...
1761         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1762         ... here.
1763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1764         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1768         Moved ...
1769         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1771         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1773         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1775         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1777         Moved ...
1778         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1780         Moved ...
1781         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1783         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1785         Moved ...
1786         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1788         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1790         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1792 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1794         * timezone/checktab.awk: Update from tzcode 2014e.
1795         * timezone/private.h: Likewise.
1796         * timezone/tzfile.h: Likewise.
1797         * timezone/zdump.c: Likewise.
1798         * timezone/zic.c: Likewise.
1800         * sysdeps/unix/sysv/linux/kernel-features.h
1801         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1802         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1803         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1804         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1805         Remove conditional code.
1807 2014-06-25  Will Newton  <will.newton@linaro.org>
1809         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1810         (_dl_arm_cap_flags): Add HWCAP2 values.
1811         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1812         (_DL_HWCAP_COUNT): Increase to 37.
1813         (_DL_HWCAP_LAST): New define.
1814         (_DL_HWCAP2_LAST): New define.
1815         (_dl_procinfo): Add support for printing
1816         AT_HWCAP2 entries.
1817         (_dl_string_hwcap): Use _dl_hwcap_string.
1819 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1823 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1825         * README: Do not mention ports directory.
1827         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1828         Remove macro.
1829         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1830         <kernel-features.h>.
1831         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1832         conditional variable definition.
1833         (__futimes): Update comment.
1834         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1835         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1837         [BZ #16560]
1838         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1839         arguments close to 0.
1840         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1841         Likewise.
1842         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1843         Likewise.
1844         * math/auto-libm-test-in: Add more tests of exp10.
1845         * math/auto-libm-test-out: Regenerated.
1846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1848         * sysdeps/unix/sysv/linux/kernel-features.h
1849         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1850         * sysdeps/unix/sysv/linux/readv.c: Do not include
1851         <kernel-features.h>.
1852         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1853         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1854         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1855         unconditional.
1856         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1857         conditional code.
1858         * sysdeps/unix/sysv/linux/writev.c: Do not include
1859         <kernel-features.h>.
1860         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1861         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1862         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1863         unconditional.
1864         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1865         conditional code.
1867 2014-06-25  Will Newton  <will.newton@linaro.org>
1869         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1870         comment changes throughout the file.  Remove checks
1871         for HAVE_*_H definitions that are not required.
1872         (__gen_tempname): Call abort if an unknown kind value is
1873         passed.
1875 2014-06-25  Andreas Schwab  <schwab@suse.de>
1877         [BZ #17086]
1878         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1879         scalbln, scalblnf, scalblnl in libc.
1881 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1883         [BZ #17086]
1884         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1885         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1886         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1888 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1890         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1891         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1892         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1893         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1894         Update #include.
1895         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1896         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1897         Update #include.
1898         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1899         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1900         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1901         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1902         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1903         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1904         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1905         * sysdeps/x86/bits/semaphore.h: ... here.
1906         * sysdeps/x86/nptl/elide.h: Moved ...
1907         * sysdeps/x86/elide.h: ... here.
1908         * sysdeps/x86_64/nptl/Implies: File removed.
1909         * sysdeps/i386/nptl/Implies: File removed.
1911 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1913         [BZ #16539]
1914         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1915         return the argument for normal arguments with exponent below -64.
1916         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1917         Likewise.
1918         * math/auto-libm-test-in: Add another test of expm1.
1919         * math/auto-libm-test-out: Regenerated.
1921         [BZ #16287]
1922         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1923         calling __erfcl for arguments at least 16.
1924         * math/auto-libm-test-in: Add more tests of erf.
1925         * math/auto-libm-test-out: Regenerated.
1927         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1928         individual architectures.
1929         * sysdeps/unix/sysv/linux/configure: Regenerated.
1930         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1931         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1932         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1933         (ldd_rewrite_script): Define variable.
1934         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1936         file.
1937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1938         generated file.
1939         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1940         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1941         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1942         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1943         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1944         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1945         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1946         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1948 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1950         [BZ #17084]
1951         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1952         Rename member __data.d to __data.__elision_data.
1954 2014-06-24  Wilco  <wdijkstr@arm.com>
1956         * NEWS: Add 16918 to fixed bug list.
1958 2014-06-24  Wilco  <wdijkstr@arm.com>
1960         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1962 2014-06-24  Wilco  <wdijkstr@arm.com>
1964         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1965         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1966         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1967         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1968         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1969         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1970         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1971         Use _FPU_MASK_RM.
1973 2014-06-24  Wilco  <wdijkstr@arm.com>
1975         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1977 2014-06-24  Wilco  <wdijkstr@arm.com>
1979         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1980         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1981         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1982         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1984 2014-06-24  Wilco  <wdijkstr@arm.com>
1986         [BZ #16918]
1987         * sysdeps/arm/feupdateenv.c (feupdateenv):
1988         Rewrite to reduce FPSCR accesses and fix return value.
1990 2014-06-24  Wilco  <wdijkstr@arm.com>
1992         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1993         Optimize to avoid unnecessary FPSCR writes.
1994         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1995         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1996         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1997         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1999 2014-06-24  Wilco  <wdijkstr@arm.com>
2001         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2002         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2003         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2004         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2005         Call libc_fetestexcept_vfp.
2006         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2007         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2008         __SOFTFP__ ifdef so that they can be built for softfp.
2010 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2012         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2013         argument type signed char.
2015         * Makerules (check-abi): Dump diff of symlist if the test
2016         fails.
2018 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2020         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2021         using abort.
2023         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2024         Remove unused variable ST.
2026 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2028         [BZ #16354]
2029         [BZ #17061]
2030         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2031         small arguments before calling __expm1.
2032         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2033         small arguments before calling __expm1f.
2034         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2035         small arguments before calling __expm1l.
2036         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2037         Likewise.
2038         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2039         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2040         spurious underflow for some cosh tests.
2041         * math/auto-libm-test-out: Regenerated.
2042         * sysdeps/i386/fpu/libm-test-ulps: Update.
2044         [BZ #17050]
2045         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2046         (__ieee754_y1): Set errno if return value overflows.
2047         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2048         (__ieee754_y1f): Set errno if return value overflows.
2049         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2050         (__ieee754_y1l): Set errno if return value overflows.
2051         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2052         (__ieee754_y1l): Set errno if return value overflows.
2053         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2054         * math/auto-libm-test-out: Regenerated.
2056         * math/gen-auto-libm-tests.c: Document use of
2057         ignore-zero-inf-sign.
2058         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2059         (input_flags): Add ignore-zero-inf-sign.
2060         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2061         * math/gen-libm-test.pl (generate_testfile): Handle
2062         ignore-zero-inf-sign.
2063         * math/auto-libm-test-in: Mark some cpow tests with
2064         ignore-zero-inf-sign and some with xfail-rounding.
2065         * math/auto-libm-test-out: Regenerated.
2066         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2067         * sysdeps/i386/fpu/libm-test-ulps: Update.
2068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2070         [BZ #16315]
2071         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2072         overflowing or underflowing operations take place with sign of
2073         result.
2074         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2075         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2076         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2077         (__ieee754_pow): Recompute overflowing and underflowing results in
2078         original rounding mode.
2079         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2080         (__powl_helper): Allow negative argument X and scale negated value
2081         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2082         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2083         overflowing or underflowing operations take place with sign of
2084         result.
2085         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2086         Include <math.h>.
2087         * math/auto-libm-test-in: Add more tests of pow.
2088         * math/auto-libm-test-out: Regenerated.
2089         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2090         (pow_tonearest_test_data): Remove.
2091         (pow_test_tonearest): Likewise.
2092         (pow_towardzero_test_data): Likewise.
2093         (pow_test_towardzero): Likewise.
2094         (pow_downward_test_data): Likewise.
2095         (pow_test_downward): Likewise.
2096         (pow_upward_test_data): Likewise.
2097         (pow_test_upward): Likewise.
2098         (main): Don't call removed functions.
2099         * sysdeps/i386/fpu/libm-test-ulps: Update.
2100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2102 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2105         Moved ...
2106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2108         Moved ...
2109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2111         Moved ...
2112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2114         Moved ...
2115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2117         File removed.
2118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2119         File removed.
2120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2121         File removed.
2122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2123         File removed.
2124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2125         File removed.
2126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2127         File removed.
2128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2129         File removed.
2130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2131         File removed.
2132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2133         File removed.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2135         File removed.
2136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2137         File removed.
2138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2139         File removed.
2140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2141         Moved ...
2142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2144         Moved ...
2145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2146         ... here.
2147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2148         Moved ...
2149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2151         Moved ...
2152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2154         Moved ...
2155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2157         Moved ...
2158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2160         Moved ...
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2163         Moved ...
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2166         Moved ...
2167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2170         ... here.
2171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2172         Moved ...
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2175         Moved ...
2176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2177         ... here.
2178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2179         Moved ...
2180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2181         ... here.
2182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2183         Moved ...
2184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2185         ... here.
2186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2187         Moved ...
2188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2190         Moved ...
2191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2195         Moved ...
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2197         ... here.
2198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2199         Moved ...
2200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2201         ... here.
2202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2203         Moved ...
2204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2206         Moved ...
2207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2209         Moved ...
2210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2212         Moved ...
2213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2215         Moved ...
2216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2217         ... here.
2218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2219         Moved ...
2220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2222         Moved ...
2223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2225         Moved ...
2226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2228         Moved ...
2229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2233         Moved ...
2234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2236         Moved ...
2237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2239         Moved ...
2240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2241         ... here.
2242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2243         Moved ...
2244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2245         ... here.
2246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2247         Moved ...
2248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2249         ... here.
2250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2251         Moved ...
2252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2254         Moved ...
2255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2257         Moved ...
2258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2260         Moved ...
2261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2262         ... here.
2263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2264         Moved ...
2265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2266         ... here.
2267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2268         Moved ...
2269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2270         ... here.
2271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2272         Moved ...
2273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2275         Moved ...
2276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2278 2014-06-23  Will Newton  <will.newton@linaro.org>
2279             Wilco  <wdijkstr@arm.com>
2281         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2282         implementation.  Include get-rounding-mode.h.
2283         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2284         [!libc_feholdsetround_noex_ctx]: Define
2285         libc_feholdsetround_noex_ctx.
2286         [!libc_feholdsetround_noexf_ctx]: Define
2287         libc_feholdsetround_noexf_ctx.
2288         [!libc_feholdsetround_noexl_ctx]: Define
2289         libc_feholdsetround_noexl_ctx.
2290         (libc_feholdsetround_ctx): New function.
2291         (libc_feresetround_ctx): New function.
2292         (libc_feholdsetround_noex_ctx): New function.
2293         (libc_feresetround_noex_ctx): New function.
2295 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2297         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2298         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2299         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2300         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2301         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2302         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2304         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2305         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2306         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2307         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2308         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2309         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2310         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2311         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2313         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2315         Moved ...
2316         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2317         ... here.
2318         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2319         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2320         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2321         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2322         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2323         Moved ...
2324         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2326         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2328         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2332         Moved ...
2333         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2335         Moved ...
2336         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2338         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2340         Moved ...
2341         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2343         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2344         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2345         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2346         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2347         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2348         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2349         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2350         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2351         Moved ...
2352         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2353         ... here.
2354         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2355         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2356         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2357         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2359         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2360         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2363         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2365         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2366         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2367         Moved ...
2368         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2370         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2372         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2374         Moved ...
2375         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2377         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2378         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2379         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2381         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2382         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2383         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2384         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2385         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2386         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2387         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2388         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2389         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2390         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2391         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2392         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2393         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2394         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2395         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2396         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2397         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2398         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2399         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2400         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2401         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2402         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2403         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2404         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2405         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2406         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2407         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2408         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2410 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2412         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2413         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2414         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2415         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2416         (IPV6_PMTUDISC_INTERFACE): Likewise.
2417         (IPV6_PMTUDISC_OMIT): Likewise.
2419 2014-06-23  Andreas Schwab  <schwab@suse.de>
2421         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2422         Remove unused errout label.
2424 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2426         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2427         macro: hardware supports Vector Crypto instructions.
2429 2014-06-23  Will Newton  <will.newton@linaro.org>
2431         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2432         rather than __builtin_expect.
2434         * elf/dl-lookup.c (undefined_msg): Remove variable.
2435         (_dl_lookup_symbol_x): Replace undefined_msg with string
2436         literal.
2438         * elf/dl-lookup.c (do_lookup_unique): New function.
2439         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2440         to a separate function.
2442 2014-06-23  Andreas Schwab  <schwab@suse.de>
2444         [BZ #17079]
2445         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2446         before reading the next line.
2448 2014-06-23  Will Newton  <will.newton@linaro.org>
2450         * test-skeleton.c (signal_handler): Use printf and %m
2451         rather than perror.  Use printf rather than fprintf to
2452         stderr.  Use puts rather than fputs to stderr.
2453         (main): Likewise.
2455 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2457         * nscd/nscd.c (thread_info_t): Remove typedef.
2458         (thread_info): Remove variable.
2460 2014-06-21  Allan McRae  <allan@archlinux.org>
2462         * NEWS: Mention CVE-2014-4043.
2464 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2466         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2467         * nptl/smp.h: ... here.
2469         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2471         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2472         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2473         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2474         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2476         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2477         * nptl/stack-aliasing.h: New file.
2478         * sysdeps/i386/i686/stack-aliasing.h: New file.
2479         * sysdeps/i386/i686/nptl/Makefile: File removed.
2480         * sysdeps/x86_64/stack-aliasing.h: New file.
2481         * sysdeps/x86_64/nptl/Makefile
2482         (CFLAGS-pthread_create.c): Variable removed.
2484         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2485         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2486         old file.
2487         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2488         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2489         old file.
2491 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2493         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2494         (__ASSUME_SIGFRAME_V2): Remove macro.
2495         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2496         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2497         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2498         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2499         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2500         Declare as function.  Remove conditional macro definitions.
2501         (__default_rt_sa_restorer): Likewise.
2502         (__default_sa_restorer_v1): Remove declaration.
2503         (__default_sa_restorer_v2): Likewise.
2504         (__default_rt_sa_restorer_v1): Likewise.
2505         (__default_rt_sa_restorer_v2): Likewise.
2506         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2507         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2508         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2510 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2512         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2513         (libpthread-routines): Add sysdep.
2514         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2515         * sysdeps/unix/sysv/linux/sparc/Versions
2516         (libpthread: GLIBC_2.3.3): New version set.
2517         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2518         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2519         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2520         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2521         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2522         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2523         Moved ...
2524         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2525         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2526         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2527         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2528         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2529         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2530         * sysdeps/sparc/nptl/sem_init.c: ... here.
2531         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2532         * sysdeps/sparc/nptl/sem_post.c: ... here.
2533         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2534         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2535         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2536         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2537         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2538         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2539         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2540         (libpthread-routines): Add cpu_relax.
2541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2542         File removed.
2543         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2544         (librt: GLIBC_2.3.3): New version set.
2545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2546         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2547         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2548         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2551         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2553         Moved ...
2554         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2556         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2558         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2560         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2562         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2564         Moved ...
2565         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2566         Update #include.
2567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2568         Moved ...
2569         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2570         Update #include.
2571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2572         Moved ...
2573         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2574         Update #include.
2575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2576         Moved ...
2577         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2578         Update #include.
2579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2580         Moved ...
2581         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2582         Update #include.
2583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2584         Moved ...
2585         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2586         Update #include.
2587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2588         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2592         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2594         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2596         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2598         Moved ...
2599         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2601         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2603         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2605 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2607         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2608         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2609         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2610         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2611         * nscd/nscd.c: Likewise.
2612         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2613         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2614         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2615         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2617         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2618         <kernel-features.h>.
2619         (init_mq_netlink): Remove conditional have_sock_cloexec
2620         definitions.  Remove code conditional on have_sock_cloexec < 0.
2621         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2622         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2623         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2624         <kernel-features.h>.
2625         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2626         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2628 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2631         Add tests for memset_chk and memset.
2633         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2634         with AVX2_Usable.
2636 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2638         [BZ #16046]
2639         * elf/tst-dl-iter-static.c: New file.
2640         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2642         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2643         error.
2645 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2647         * sysdeps/unix/sysv/linux/kernel-features.h
2648         (__ASSUME_F_GETOWN_EX): Remove macro.
2649         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2650         <kernel-features.h>.
2651         (miss_F_GETOWN_EX): Remove variable or macro.
2652         (do_fcntl): Do not check miss_F_GETOWN_EX.
2653         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2655         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2656         Remove macro.
2657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2658         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2659         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2661         * sysdeps/unix/sysv/linux/kernel-features.h
2662         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2663         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2664         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2665         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2667 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2669         [BZ #17075]
2670         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2671         Fix calculation of the symbol's value.
2672         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2673         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2674         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2675         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2676         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2677         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2678         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2679         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2680         (modules-names): Add `tst-armtlsdescmod',
2681         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2682         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2683         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2684         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2685         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2686         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2687         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2688         ($(objpfx)tst-armtlsdescloc): New dependency.
2689         ($(objpfx)tst-armtlsdescextnow): Likewise.
2690         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2691         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2692         TLS scheme support.
2693         * sysdeps/arm/configure: Regenerate.
2695 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2697         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2698         (__atfct_seterrno_2): Likewise.
2699         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2700         <kernel-features.h>.
2701         (__ASSUME_ATFCTS): Do not undefine and redefine.
2702         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2703         (__have_atfcts): Remove conditional definition.
2704         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2705         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2706         unreachable if [__ASSUME_ATFCTS].
2707         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2708         not undefine and redefine.
2709         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2710         <kernel-features.h>.
2711         (faccessat) [__NR_faccessat]: Make code unconditional.
2712         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2713         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2714         <kernel-features.h>.
2715         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2716         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2717         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2718         <kernel-features.h>.
2719         (fchownat) [__NR_fchownat]: Make code unconditional.
2720         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2721         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2722         <kernel-features.h>.
2723         (futimesat) [__NR_futimesat]: Make code unconditional.
2724         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2725         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2726         <kernel-features.h>.
2727         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2728         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2729         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2730         <kernel-features.h>.
2731         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2732         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2733         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2734         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2735         <kernel-features.h>.
2736         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2737         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2738         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2739         <kernel-features.h>.
2740         (linkat) [__NR_linkat]: Make code unconditional.
2741         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2742         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2743         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2744         <kernel-features.h>.
2745         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2746         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2747         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2748         <kernel-features.h>.
2749         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2750         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2751         * sysdeps/unix/sysv/linux/openat.c: Do not include
2752         <kernel-features.h>.
2753         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2754         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2755         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2756         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2757         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2758         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2759         <kernel-features.h>.
2760         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2761         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2762         result of INLINE_SYSCALL directly, not via int variable.
2763         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2764         <kernel-features.h>.
2765         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2766         (renameat) [__NR_renameat]: Make code unconditional.
2767         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2768         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2769         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2770         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2771         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2772         (__ASSUME_ATFCTS): Do not undefine and redefine.
2773         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2774         <kernel-features.h>.
2775         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2776         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2777         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2778         <kernel-features.h>.
2779         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2780         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2781         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2782         (__ASSUME_ATFCTS): Do not undefine and redefine.
2783         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2784         <kernel-features.h>.
2785         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2786         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2787         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2788         <kernel-features.h>.
2789         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2790         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2792 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2794         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2796 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2798         [BZ #17069]
2799         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2800         constructed tree before returning error.
2801         * posix/bug-regexp36.c: Expand test case.
2803 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2805         [BZ #6803]
2806         * math/libm-test.inc (scalbln_test_date):
2807         Add errno expectations.
2808         * math/w_scalblnf.c: New File.
2809         Add wrapper which checks for setting errno to ERANGE.
2810         Add weak_alias for corresponding scalbln function.
2811         * math/w_scalbln.c: Likewise.
2812         * math/w_scalblnl.c: Likewise.
2813         * math/Makefile (libm-calls): Add w_scalbln.
2814         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2815         Remove weak_alias for corresponding scalbln function.
2816         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2817         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2818         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2820         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2821         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2822         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2823         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2824         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2825         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2826         Remove long_double_symbol for scalblnl function in libm, libc.
2827         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2828         Add wrapper which checks for setting errno to ERANGE.
2829         Add long_double_symbol for scalblnl function in libm, libc.
2830         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2831         Remove long_double_symbol for scalblnl in libm.
2832         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2833         Add wrapper which checks for setting errno to ERANGE.
2834         Add long_double_symbol for scalblnl function in libm.
2835         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2836         Do not use wrapper because of own implementation.
2838 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2840         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2841         3 bytes for __pad1 for x32.
2842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2844 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2845             H.J. Lu  <hongjiu.lu@intel.com>
2847         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2848         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2849         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2850         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2851         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2853 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2855         [BZ #17069]
2856         * posix/regcomp.c (parse_expression): Deallocate partially
2857         constructed tree before returning error.
2858         * posix/Makefile.c (tests): Add bug-regex36.
2859         (generated): Add bug-regex36.mtrace.
2860         (tests-special): Add $(objpfx)bug-regex36-mem.out
2861         (bug-regex36-ENV): New variable.
2862         ($(objpfx)bug-regex36-mem.out): New rule.
2863         * posix/bug-regex36.c: New file.
2865 2014-06-19  Will Newton  <will.newton@linaro.org>
2867         * malloc/malloc.c (systrim): If extra is zero then return
2868         early.
2870 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2872         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2874 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2876         * sysdeps/aarch64/strchr.S: New file.
2878 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2880         [BZ #17022]
2881         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2882         from arguments -2 or below.
2883         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2884         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2886 2014-06-18  Andreas Schwab  <schwab@suse.de>
2888         [BZ #17062]
2889         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2890         of a bracket expr not to run off the end of the string.
2891         * posix/Makefile (tests): Add tst-fnmatch3.
2892         * posix/tst-fnmatch3.c: New file.
2894 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2896         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2897         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2898         [$(cross-compiling) = no]: Likewise.
2899         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2900         [$(cross-compiling) = no]: Likewise.
2902 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2904         [BZ #17031]
2905         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2906         double, adjusted for any remainder from the high double.
2907         * math/libm-test.inc (nearbyint): Add tests.
2908         (rint): Likewise.
2910 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2912         * nptl/sysdeps/powerpc/Makefile: Moved ...
2913         * sysdeps/powerpc/nptl/Makefile: ... here.
2914         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2915         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2916         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2917         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2918         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2919         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2920         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2921         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2922         * nptl/sysdeps/powerpc/tls.h: Moved ...
2923         * sysdeps/powerpc/nptl/tls.h: ... here.
2925 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2927         [BZ #16681]
2928         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2929         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2930         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2931         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2932         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2933         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2934         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2935         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2936         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2938 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2940         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2942 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2944         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2945         defined operator.
2947         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2948         $TIMEOUTFACTOR.
2950 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2952         [BZ #17058]
2953         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2954         non-executed part of the test.
2956 2014-06-16  Andreas Schwab  <schwab@suse.de>
2958         * string/bits/string2.h (strdup, strndup): Update feature guard.
2960 2014-06-14  David S. Miller  <davem@davemloft.net>
2962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2964 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2966         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2967         that was previously under [RESET_PID].
2968         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2970         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2971         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2972         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2973         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2974         (__libc_vfork): New strong alias.
2975         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2977 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2979         * sysdeps/generic/elide.h: New file.
2981 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2983         * Makefile (installed-headers): Adjust path of pthread.h header.
2985 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2987         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2988         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2989         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2990         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2992         * nptl/sysdeps/s390/Makefile: Moved ...
2993         * sysdeps/s390/nptl/Makefile: ... here.
2994         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2995         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2996         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2997         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2998         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2999         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3000         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3001         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3002         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3003         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3004         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3005         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3006         * nptl/sysdeps/s390/tls.h: Moved ...
3007         * sysdeps/s390/nptl/tls.h: ... here.
3009         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3010         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3012 2014-06-13  David S. Miller  <davem@davemloft.net>
3014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3017         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3021         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3022         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3023         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3024         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3025         Remove RESET_PID cpp guards.
3026         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3027         Remove RESET_PID cpp guards.
3028         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3030 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3032         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3033         __sp to uintptr_t.
3035 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3037         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3038         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3039         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3042         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3043         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3044         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3047         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3048         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3049         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3052         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3053         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3058         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3059         (pthread_rwlock_rdlock): Add elision.
3060         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3061         (pthread_rwlock_wrlock): Add elision.
3062         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3063         (pthread_rwlock_trywrlock): Add elision.
3064         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3065         (pthread_rwlock_tryrdlock): Add elision.
3066         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3067         (pthread_rwlock_tryrdlock): Add elision unlock.
3068         * nptl/sysdeps/pthread/pthread.h:
3069         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3070         (PTHREAD_RWLOCK_INITIALIZER,
3071         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3072         Handle new elision field.
3073         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3074         * sysdeps/arm/nptl/bits/pthreadtypes.h
3075         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3076         * sysdeps/sh/nptl/bits/pthreadtypes.h
3077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3078         * sysdeps/tile/nptl/bits/pthreadtypes.h
3079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3080         * sysdeps/a/nptl/bits/pthreadtypes.h
3081         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3082         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3084         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3086         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3088         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3090         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3092         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3093         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3094         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3095         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3096         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3098         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3099         (elision_init): Set try_xbegin to zero when no RTM.
3100         * sysdeps/x86/nptl/bits/pthreadtypes.h
3101         (pthread_rwlock_t): Change __pad1 to __rwelision.
3102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3104 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3106         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3107         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3108         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3109         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3111 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3113         [BZ #16996]
3114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3115         that the cached result has been set before returning it.
3117 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3119         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3120         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3121         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3122         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3123         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3124         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3126         * nptl/sysdeps/sparc/Makefile: Moved ...
3127         * sysdeps/sparc/nptl/Makefile: ... here.
3128         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3129         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3130         * nptl/sysdeps/sparc/tls.h: Moved ...
3131         * sysdeps/sparc/nptl/tls.h: ... here.
3132         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3133         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3134         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3135         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3136         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3137         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3138         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3139         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3140         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3141         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3142         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3143         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3144         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3145         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3146         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3147         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3148         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3149         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3150         Update #include.
3151         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3152         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3153         Update #include.
3154         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3155         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3156         Update #include.
3157         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3159         Update #include.
3161         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3163         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3164         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3166         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3167         (struct list_links): Type removed.
3168         (struct thread_node, struct timer_node): Replace struct list_links
3169         with struct list_head.
3170         (list_unlink_ip): Likewise.
3171         * sysdeps/pthread/timer_routines.c
3172         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3173         (list_append, list_insbefore): Likewise.
3174         (list_init): Function removed.
3175         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3176         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3177         * sysdeps/pthread/Makefile: ... here, new file.
3179         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3180         * sysdeps/nptl/Implies: ... here.
3181         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3182         * nptl/sysdeps/pthread/list.h: Moved ...
3183         * include/list.h: ... here.
3184         * nptl/sysdeps/pthread/createthread.c: Moved ...
3185         * nptl/createthread.c: ... here.
3186         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3187         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3188         * nptl/pt-longjmp.c: ... here.
3189         * nptl/sysdeps/pthread/Makefile: Moved ...
3190         * sysdeps/nptl/Makefile: ... here.
3191         * nptl/sysdeps/pthread/Subdirs: Moved ...
3192         * sysdeps/nptl/Subdirs: ... here.
3193         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3194         * sysdeps/nptl/aio_misc.h: ... here.
3195         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3196         * sysdeps/nptl/bits/libc-lock.h: ... here.
3197         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3198         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3199         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3200         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3201         * nptl/sysdeps/pthread/configure: Moved ...
3202         * sysdeps/nptl/configure: ... here.
3203         * nptl/sysdeps/pthread/configure.ac: Moved ...
3204         * sysdeps/nptl/configure.ac: ... here.
3205         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3206         * sysdeps/nptl/gai_misc.h: ... here.
3207         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3208         * sysdeps/nptl/librt-cancellation.c: ... here.
3209         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3210         * sysdeps/nptl/malloc-machine.h: ... here.
3211         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3212         * sysdeps/nptl/pthread-functions.h: ... here.
3213         * nptl/sysdeps/pthread/pthread.h: Moved ...
3214         * sysdeps/nptl/pthread.h: ... here.
3215         * nptl/sysdeps/pthread/setxid.h: Moved ...
3216         * sysdeps/nptl/setxid.h: ... here.
3217         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3218         * sysdeps/nptl/sigfillset.c: ... here.
3219         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3220         * sysdeps/nptl/tcb-offsets.h: ... here.
3221         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3222         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3223         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3224         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3225         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3226         * sysdeps/pthread/allocalim.h: ... here.
3227         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3228         * sysdeps/pthread/bits/sigthread.h: ... here.
3229         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3230         * sysdeps/pthread/flockfile.c: ... here.
3231         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3232         * sysdeps/pthread/ftrylockfile.c: ... here.
3233         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3234         * sysdeps/pthread/funlockfile.c: ... here.
3235         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3236         * sysdeps/pthread/posix-timer.h: ... here.
3237         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3238         * sysdeps/pthread/timer_create.c: ... here.
3239         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3240         * sysdeps/pthread/timer_delete.c: ... here.
3241         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3242         * sysdeps/pthread/timer_getoverr.c: ... here.
3243         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3244         * sysdeps/pthread/timer_gettime.c: ... here.
3245         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3246         * sysdeps/pthread/timer_routines.c: ... here.
3247         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3248         * sysdeps/pthread/timer_settime.c: ... here.
3249         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3250         * sysdeps/pthread/tst-timer.c: ... here.
3251         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3252         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3254         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3255         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3257         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3258         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3259         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3260         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3261         Update #include target.
3262         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3263         * sysdeps/i386/i686/nptl/Makefile: ... here.
3264         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3265         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3266         Update #include target.
3267         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3268         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3269         * nptl/sysdeps/i386/Makefile: Moved ...
3270         * sysdeps/i386/nptl/Makefile: ... here.
3271         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3272         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3273         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3274         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3275         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3276         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3277         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3278         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3279         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3280         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3281         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3282         * nptl/sysdeps/i386/tls.h: Moved ...
3283         * sysdeps/i386/nptl/tls.h: ... here.
3285         * sysdeps/sh/Makefile [$(subdir) = csu]
3286         (gen-as-const-headers): Add tcb-offsets.sym.
3287         * nptl/sysdeps/sh/Makefile: File removed.
3288         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3289         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3290         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3291         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3292         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3293         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3294         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3295         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3296         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3297         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3298         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3299         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3300         * nptl/sysdeps/sh/tls.h: Moved ...
3301         * sysdeps/sh/nptl/tls.h: ... here.
3302         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3303         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3304         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3305         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3306         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3307         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3308         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3309         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3310         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3311         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3312         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3313         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3314         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3315         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3316         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3317         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3318         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3319         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3320         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3321         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3322         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3323         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3324         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3326         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3327         Moved ...
3328         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3330         Moved ...
3331         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3332         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3333         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3334         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3335         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3336         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3337         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3338         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3339         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3340         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3341         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3342         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3343         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3344         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3345         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3346         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3347         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3348         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3349         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3351 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3353         * posix/spawn_faction_addopen.c: Include string.h.
3355 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3357         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3358         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3359         * nptl/sysdeps/x86_64/Makefile: Moved ...
3360         * sysdeps/x86_64/nptl/Makefile: ... here.
3361         * nptl/sysdeps/x86_64/configure: Moved ...
3362         * sysdeps/x86_64/nptl/configure: ... here.
3363         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3364         * sysdeps/x86_64/nptl/configure.ac: ... here.
3365         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3366         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3367         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3368         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3369         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3370         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3371         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3372         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3373         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3374         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3375         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3376         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3377         * nptl/sysdeps/x86_64/tls.h: Moved ...
3378         * sysdeps/x86_64/nptl/tls.h: ... here.
3379         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3380         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3381         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3382         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3384         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3386 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3390 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3392         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3393         type.
3394         [POSIX] (off_t): Likewise.
3395         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3396         [POSIX] (S_ISBLK): Require macro.
3397         [POSIX] (S_ISCHR): Likewise.
3398         [POSIX] (S_ISDIR): Likewise.
3399         [POSIX] (S_ISFIFO): Likewise.
3400         [POSIX] (S_ISREG): Likewise.
3401         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3402         optional-macro.
3403         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3404         type.
3405         [POSIX] (time_t): Likewise.
3406         [POSIX] (timer_t): Likewise.
3408 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3410         [BZ #17048]
3411         * posix/spawn_int.h (struct __spawn_action): Make the path string
3412         non-const to support deallocation.
3413         * posix/spawn_faction_addopen.c
3414         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3415         * posix/spawn_faction_destroy.c
3416         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3417         path in all spawn_do_open actions.
3418         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3419         posix_spawn_file_actions_addopen.
3421 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3423         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3424         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3425         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3426         conditional code always true.
3427         (__libc_vfork): New alias.
3429 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3431         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3432         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3434         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3436         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3437         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3439         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3440         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3442         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3443         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3445 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3447         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3448         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3449         multiarch strcmp for PPC64.
3450         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3451         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3453         multiarch optimizations.
3454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3455         (__libc_ifunc_impl_list): Likewise.
3457 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3459         * benchtests/scripts/validate_benchout.py: New script.
3460         * benchtests/Makefile (bench-func): Call it.
3461         * benchtests/scripts/benchout.schema.json: New file.
3463 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3465         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3466         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3467         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3468         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3469         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3470         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3471         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3472         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3473         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3474         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3475         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3476         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3477         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3478         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3479         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3480         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3482         Moved ...
3483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3484         ... here.
3485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3486         Moved ...
3487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3489         Moved ...
3490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3491         ... here.
3492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3493         Moved ...
3494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3495         ... here.
3496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3497         Moved ...
3498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3500         Moved ...
3501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3502         ... here.
3503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3504         Moved ...
3505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3506         ... here.
3507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3508         Moved ...
3509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3511         Moved ...
3512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3513         ... here.
3514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3515         Moved ...
3516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3517         ... here.
3518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3519         Moved ...
3520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3521         ... here.
3522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3523         Moved ...
3524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3526         Moved ...
3527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3528         ... here.
3529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3530         Moved ...
3531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3532         ... here.
3533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3534         Moved ...
3535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3536         ... here.
3537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3538         Moved ...
3539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3541         Moved ...
3542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3543         ... here.
3544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3545         Moved ...
3546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3547         ... here.
3548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3549         Moved ...
3550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3552         Moved ...
3553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3554         ... here.
3555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3556         Moved ...
3557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3559         Moved ...
3560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3562         Moved ...
3563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3564         ... here.
3565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3566         Moved ...
3567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3568         ... here.
3569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3570         Moved ...
3571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3572         ... here.
3573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3574         Moved ...
3575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3577         Moved ...
3578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3579         ... here.
3580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3581         Moved ...
3582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3583         ... here.
3584         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3585         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3586         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3587         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3588         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3589         Moved ...
3590         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3591         ... here.
3592         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3593         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3595         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3597         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3598         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3599         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3600         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3601         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3605         Moved ...
3606         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3608         Moved ...
3609         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3610         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3611         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3612         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3613         Moved ...
3614         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3616         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3617         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3618         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3619         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3620         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3622 2014-06-10  Wilco  <wdijkstr@arm.com>
3624         * math/test-fenv-return.c: New file.
3625         * math/Makefile: Add new test test-fenv-return.
3627 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3629         [BZ #17042]
3630         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3631         when x - 1 is zero.
3632         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3633         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3634         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3635         0.0L for an argument of 1.0L.
3636         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3637         Likewise.
3638         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3639         value when x - 1 is zero.
3640         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3641         * sysdeps/i386/fpu/libm-test-ulps: Update.
3642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3644 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3646         [BZ #15119]
3647         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3649 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3651         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3652         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3654 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3656         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3657         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3659         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3660         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3662         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3663         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3665         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3666         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3668         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3669         if not already defined.
3670         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3671         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3672         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3673         (TLS_INIT_TP): Use it.
3674         (TLS_DEFINE_INIT_TP): New macro.
3675         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3677 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3679         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3680         constant.
3681         [POSIX] (IXANY): Likewise.
3682         [POSIX] (OLCUC): Likewise.
3683         [POSIX || POSIX2008] (CBAUD): Do not allow.
3684         [POSIX || POSIX2008] (DEFECHO): Likewise.
3685         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3686         [POSIX || POSIX2008] (ECHOKE): Likewise.
3687         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3688         [POSIX || POSIX2008] (EXTA): Likewise.
3689         [POSIX || POSIX2008] (EXTB): Likewise.
3690         [POSIX || POSIX2008] (FLUSHO): Likewise.
3691         [POSIX || POSIX2008] (LOBLK): Likewise.
3692         [POSIX || POSIX2008] (PENDIN): Likewise.
3693         [POSIX || POSIX2008] (SWTCH): Likewise.
3694         [POSIX || POSIX2008] (VDISCARD): Likewise.
3695         [POSIX || POSIX2008] (VDSUSP): Likewise.
3696         [POSIX || POSIX2008] (VLNEXT): Likewise.
3697         [POSIX || POSIX2008] (VREPRINT): Likewise.
3698         [POSIX || POSIX2008] (VSTATUS): Likewise.
3699         [POSIX || POSIX2008] (VWERASE): Likewise.
3700         (B*): Change to B[0123456789]*.
3701         * conform/data/time.h-data [POSIX || UNIX98]
3702         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3703         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3704         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3705         [POSIX] (tm_*): Do not allow.
3707 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3709         * Makefile (install): Don't set LANGUAGE.
3710         * Makefile.in (install): Likewise.
3711         * assert/Makefile (test-assert-ENV): Remove variable.
3712         (test-assert-perr-ENV): Likewise.
3713         * elf/Makefile (neededtest4-ENV): Likewise.
3714         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3715         [$(cross-compiling) = no]: Don't set LANGUAGE.
3716         * io/ftwtest-sh (LANG): Remove variable.
3717         * libio/Makefile (tst-widetext-ENV): Likewise.
3718         * manual/install.texi (Running make install): Don't refer to
3719         environment settings for make install.
3720         * INSTALL: Regenerated.
3721         * nptl/tst-tls6.sh: Don't set LANG.
3722         * posix/globtest.sh (LANG): Remove variable.
3723         * string/Makefile (tester-ENV): Likewise.
3724         (inl-tester-ENV): Likewise.
3725         (noinl-tester-ENV): Likewise.
3726         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3727         [$(cross-compiling) = no]: Don't set LANGUAGE.
3728         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3729         without explicit environment settings.
3731 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3733         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3734         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3735         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3736         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3738 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3740         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3741         other files in the crypt directory.
3742         * crypt/crypt.c: Remove duplicate includes.
3743         * crypt/crypt-entry.c: Likewise.
3744         * crypt/crypt_util.c: Likewise.
3746 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3748         * Makeconfig (run-program-env): New variable.
3749         (run-program-prefix-before-env): Likewise.
3750         (run-program-prefix-after-env): Likewise.
3751         (run-program-prefix): Define in terms of new variables.
3752         (built-program-cmd-before-env): New variable.
3753         (built-program-cmd-after-env): Likewise.
3754         (built-program-cmd): Define in terms of new variables.
3755         (test-program-prefix-before-env): New variable.
3756         (test-program-prefix-after-env): Likewise.
3757         (test-program-prefix): Define in terms of new variables.
3758         (test-program-cmd-before-env): New variable.
3759         (test-program-cmd-after-env): Likewise.
3760         (test-program-cmd): Define in terms of new variables.
3761         * Rules (make-test-out): Use $(run-program-env).
3762         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3763         (help): Do not mention environment variables.  Mention
3764         --timeoutfactor option.
3765         (timeoutfactor): New variable.
3766         (blacklist_exports): Remove function.
3767         (exports): Remove variable.
3768         (command): Do not include ${exports}.
3769         * manual/install.texi (Configuring and compiling): Do not mention
3770         test wrappers preserving environment variables.  Mention that last
3771         assignment to a variable must take precedence.
3772         * INSTALL: Regenerated.
3773         * benchtests/Makefile (run-bench): Use $(run-program-env).
3774         * catgets/Makefile ($(objpfx)test1.cat): Use
3775         $(built-program-cmd-before-env), $(run-program-env) and
3776         $(built-program-cmd-after-env).
3777         ($(objpfx)test2.cat): Do not specify environment variables
3778         explicitly.
3779         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3780         $(run-program-env) and $(built-program-cmd-after-env).
3781         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3782         $(run-program-env) and $(test-program-cmd-after-env).
3783         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3784         explicitly.
3785         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3786         run_program_env and test_program_cmd_after_env arguments.
3787         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3788         * elf/tst-pathopt.sh: Use run_program_env argument.
3789         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3790         $(test-wrapper-env) and $(run-program-env).
3791         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3792         run_program_env arguments.
3793         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3794         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3795         $(test-program-prefix-before-env), $(run-program-env) and
3796         $(test-program-prefix-after-env).
3797         ($(objpfx)tst-gettext2.out): Likewise.
3798         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3799         run_program_env and test_program_prefix_after_env arguments.
3800         * intl/tst-gettext2.sh: Likewise.
3801         * intl/tst-gettext4.sh: Do not set environment variables
3802         explicitly.
3803         * intl/tst-gettext6.sh: Likewise.
3804         * intl/tst-translit.sh: Likewise.
3805         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3806         $(test-program-prefix-before-env), $(run-program-env) and
3807         $(test-program-prefix-after-env).
3808         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3809         run_program_env and test_program_prefix_after_env arguments.
3810         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3811         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3812         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3813         explicitly with each use of ${test_wrapper_env}.
3814         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3815         $(test-program-prefix-before-env), $(run-program-env) and
3816         $(test-program-prefix-after-env).
3817         * posix/tst-getconf.sh: Do not set environment variables
3818         explicitly.
3819         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3820         run_program_env and test_program_prefix_after_env arguments.
3821         * stdio-common/tst-printf.sh: Do not set environment variables
3822         explicitly.
3823         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3824         $(test-program-prefix-before-env), $(run-program-env) and
3825         $(test-program-prefix-after-env).
3826         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3827         run_program_env and test_program_prefix_after_env arguments.
3828         Split $test calls into $test_pre and $test.
3829         * timezone/Makefile (build-testdata): Use
3830         $(built-program-cmd-before-env), $(run-program-env) and
3831         $(built-program-cmd-after-env).
3833 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3835         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3836         strlen for non SHARED builds.
3838 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3840         * nptl/allocatestack.c (check_list): Inlined function...
3841         (__reclaim_stacks): ... here.
3843 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3845         [BZ #15698]
3846         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3847         memory overrun.
3849 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3851         * Rules (make-test-out): Include
3852         LOCPATH=$(common-objpfx)localedata in default environment.
3853         * debug/Makefile (tst-chk1-ENV): Remove variable.
3854         (tst-chk2-ENV): Likewise.
3855         (tst-chk3-ENV): Likewise.
3856         (tst-chk4-ENV): Likewise.
3857         (tst-chk5-ENV): Likewise.
3858         (tst-chk6-ENV): Likewise.
3859         (tst-lfschk1-ENV): Likewise.
3860         (tst-lfschk2-ENV): Likewise.
3861         (tst-lfschk3-ENV): Likewise.
3862         (tst-lfschk4-ENV): Likewise.
3863         (tst-lfschk5-ENV): Likewise.
3864         (tst-lfschk6-ENV): Likewise.
3865         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3866         (tst-iconv7-ENV): Likewise.
3867         * intl/Makefile (LOCPATH-ENV): Likewise.
3868         (tst-codeset-ENV): Likewise.
3869         (tst-gettext3-ENV): Likewise.
3870         (tst-gettext5-ENV): Likewise.
3871         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3872         (tst-fopenloc-ENV): Likewise.
3873         (tst-fgetws-ENV): Remove variable.
3874         (tst-ungetwc1-ENV): Likewise.
3875         (tst-ungetwc2-ENV): Likewise.
3876         (bug-ungetwc2-ENV): Likewise.
3877         (tst-swscanf-ENV): Likewise.
3878         (bug-ftell-ENV): Likewise.
3879         (tst-fgetwc-ENV): Likewise.
3880         (tst-fseek-ENV): Likewise.
3881         (tst-ftell-partial-wide-ENV): Likewise.
3882         (tst-ftell-active-handler-ENV): Likewise.
3883         (tst-ftell-append-ENV): Likewise.
3884         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3885         (tst-regexloc-ENV): Likewise.
3886         (bug-regex1-ENV): Likewise.
3887         (tst-regex-ENV): Likewise.
3888         (tst-regex2-ENV): Likewise.
3889         (bug-regex5-ENV): Likewise.
3890         (bug-regex6-ENV): Likewise.
3891         (bug-regex17-ENV): Likewise.
3892         (bug-regex18-ENV): Likewise.
3893         (bug-regex19-ENV): Likewise.
3894         (bug-regex20-ENV): Likewise.
3895         (bug-regex22-ENV): Likewise.
3896         (bug-regex23-ENV): Likewise.
3897         (bug-regex25-ENV): Likewise.
3898         (bug-regex26-ENV): Likewise.
3899         (bug-regex30-ENV): Likewise.
3900         (bug-regex32-ENV): Likewise.
3901         (bug-regex33-ENV): Likewise.
3902         (bug-regex34-ENV): Likewise.
3903         (bug-regex35-ENV): Likewise.
3904         (tst-rxspencer-ENV): Likewise.
3905         (tst-rxspencer-no-utf8-ENV): Likewise.
3906         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3907         (tst-sscanf-ENV): Likewise.
3908         (tst-swprintf-ENV): Likewise.
3909         (tst-swscanf-ENV): Likewise.
3910         (test-vfprintf-ENV): Likewise.
3911         (scanf13-ENV): Likewise.
3912         (bug14-ENV): Likewise.
3913         (tst-grouping-ENV): Likewise.
3914         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3915         (tst-strtod3-ENV): Likewise.
3916         (tst-strtod4-ENV): Likewise.
3917         (tst-strtod5-ENV): Likewise.
3918         (testmb2-ENV): Likewise./
3919         * string/Makefile (tst-strxfrm-ENV): Likewise.
3920         (tst-strxfrm2-ENV): Likewise.
3921         (bug-strcoll1-ENV): Likewise.
3922         (test-strcasecmp-ENV): Likewise.
3923         (test-strncasecmp-ENV): Likewise.
3924         * time/Makefile (tst-strptime-ENV): Likewise.
3925         (tst-ftime_l-ENV): Likewise.
3926         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3927         (tst-mbrtowc-ENV): Likewise.
3928         (tst-wcrtomb-ENV): Likewise.
3929         (tst-mbrtowc2-ENV): Likewise.
3930         (tst-c16c32-1-ENV): Likewise.
3931         (tst-mbsnrtowcs-ENV): Likewise.
3933 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3935         * manual/resource.texi (How to get information about the memory
3936         subsystem?): Fix typo.
3937         Reported by Peon de la Parra Ivan <peon@keba.com>
3939 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3941         [BZ #16882]
3942         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3943         (pthread_spin_lock): Branch out of spin loop to proper location.
3944         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3945         (pthread_spin_lock): Likewise.
3947         * nptl/tst-spin4.c: New test.
3948         * nptl/Makefile (tests): Add tst-spin4.
3950 2014-06-03  Andreas Schwab  <schwab@suse.de>
3952         [BZ #15946]
3953         * resolv/res_send.c (send_dg): Reload file descriptor after
3954         calling reopen.
3956 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3958         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3960 2014-06-03  Richard Henderson  <rth@redhat.com>
3962         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3963         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3964         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3965         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3966         in the SAVE_PID block.
3967         (__libc_vfork): New alias.
3968         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3970         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3971         child in registers, not on the stack.  Remove RESET_PID conditionals.
3972         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3974 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3976         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3978 2014-06-03  Wilco  <wdijkstr@arm.com>
3980         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3981         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3982         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3983         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3984         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3985         Likewise.
3987 2014-06-03  Wilco  <wdijkstr@arm.com>
3989         * sysdeps/aarch64/fpu/math_private.h
3990         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3991         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3992         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3993         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3994         Fix declarations.
3996 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3998         * crypt/crypt-private.h: Include ufc-crypt.h.
3999         (__b64_from_24bit): Declare extern.
4000         * crypt/crypt_util.c(__b64_from_24bit): New function.
4001         (b64t): New static const variable.
4002         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4003         (b64t): Remove variable.
4004         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4005         * crypt/sha256-crypt.c: Include crypt-private.h.
4006         (b64t): Remove variable.
4007         (__sha256_crypt_r): Remove b64_from_24bit and replace
4008         with __b64_from_24bit.
4009         * crypt/sha512-crypt.c: Likewise.
4011 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4013         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4014         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4015         Label the code __libc_vfork rather than __vfork.
4016         [!NOT_IN_libc] (vfork): Define as weak alias.
4017         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4018         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4019         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4021 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4023         * malloc/malloc.c (malloc_info): Fix format specifier for
4024         n_mmaps.
4026 2014-06-02  Wilco  <wdijkstr@arm.com>
4028         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4029         FPCR write.
4031 2014-06-02  Wilco  <wdijkstr@arm.com>
4033         [BZ #17009]
4034         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4035         Rewrite to reduce FPCR/FPSR accesses.
4037 2014-06-01  David S. Miller  <davem@davemloft.net>
4039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4041 2014-05-31  David S. Miller  <davem@davemloft.net>
4043         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4044         to occur in round to nearest mode when |x| >= 2.0
4046 2014-05-30  Richard Henderson  <rth@twiddle.net>
4048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4049         (PSEUDO_RET_NOERRNO): Remove.
4050         (ret): Don't redefine.
4051         (ret_NOERRNO): Define in terms of ret.
4052         (ret_ERRVAL): Likewise.
4054         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4055         use of PSEUDO_RET; perform the error check directly.
4057 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4059         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4060         with __int128_t.
4062 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4064         * malloc/malloc (malloc_info): Fix formatting.
4066 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4067             Roland McGrath  <roland@hack.frob.com>
4069         * malloc/malloc (malloc_info): Also print mmapped statistics.
4071 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4073         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4074         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4076 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4078         * malloc/malloc.c (malloc_info): Inline mi_arena.
4080 2014-05-29  Richard Henderson  <rth@twiddle.net>
4082         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4083         Remove comma before expanding ASM_ARGS_##nr.
4084         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4085         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4086         of ASM_ARGS_##nr.
4087         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4088         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4089         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4090         (ASM_ARGS_1): Add leading comma.
4092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4093         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4094         to __errno_location.
4095         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4096         Remove the expected plt for __errno_location.
4098         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4099         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4100         call to __read_tp.
4102         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4103         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4104         it and break it down.
4105         (DOCARGS_0, DOCARGS_1): Do nothing.
4106         (DOCARGS_2): Update to store into the new stack frame.
4107         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4108         (UNDOCARGS_1): Update to restore from the new stack frame.
4109         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4110         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4112         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4113         (SINGLE_THREAD_P): New parameter for result regno.
4114         (PSEUDO): Update to match; use cbz instead of beq.
4116         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4117         Use ENTRY to define the _nocancel entry point.  Share the syscall
4118         and syscall error check paths with the cancel path.
4119         (PSEUDO_END): New.
4121         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4122         whitespace; tabs before and after asm mnemonics.
4124 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4126         [BZ #15132]
4127         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4128         Call fstat64 or stat64 internally, depending on arguments passed.
4129         Replace stat buffer argument with file descriptor argument.
4130         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4131         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4132         Pass fd to __internal_statvfs instead of calling fstat64.
4133         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4134         Pass fd to __internal_statvfs64 instead of calling fstat64.
4135         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4136         Pass -1 to __internal_statvfs instead of calling stat64.
4137         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4138         Pass -1 to __internal_statvfs64 instead of calling stat64.
4140 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4142         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4143         that was previously under [RESET_PID].
4144         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4146         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4147         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4149 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4151         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4153         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4154         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4156 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4158         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4160 2014-05-27  Andreas Schwab  <schwab@suse.de>
4162         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4163         TLS_INIT_TP macro.
4164         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4165         * elf/rtld.c (init_tls, dl_main): Likewise.
4166         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4167         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4168         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4169         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4170         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4171         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4172         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4173         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4174         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4175         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4176         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4177         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4178         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4179         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4180         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4181         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4182         * sysdeps/generic/tls.h: Update description.
4184 2014-05-27  Will Newton  <will.newton@linaro.org>
4186         [BZ #16990]
4187         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4188         and restore r2 rather than just restoring.
4190 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4192         [BZ #16724]
4193         * libio/tst-ftell-append.c: New test case.
4194         * libio/Makefile (tests): Add test case.
4195         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4196         append mode.
4197         * libio/wfileops.c (do_ftell_wide): Likewise.
4199 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4203         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4204         ...
4205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4207         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4208         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4209         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4210         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4211         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4212         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4214         Moved ...
4215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4217         Moved ...
4218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4219         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4220         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4221         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4222         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4223         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4224         ...
4225         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4226         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4227         Moved ...
4228         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4229         here.
4230         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4231         ...
4232         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4234         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4236         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4237         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4238         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4239         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4241         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4242         merge into ...
4243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4245         ...
4246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4247         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4248         ...
4249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4251         Moved ...
4252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4253         here.
4254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4255         Moved ...
4256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4258         Moved ...
4259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4262         conditional [RESET_PID].
4263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4265         removed.
4266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4267         removed.
4269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4270         <tcb-offsets.h>.
4271         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4272         (__libc_vfork): New strong alias.
4273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4274         removed.
4275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4276         Removed.
4278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4279         <tcb-offsets.h>.
4280         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4281         (__libc_vfork): New strong alias.
4282         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4283         removed.
4284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4285         removed.
4287 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4289         * malloc/malloc.c (mi_arena): New function.
4290         (malloc_info): Remove nested function mi_arena. Call non-nosted
4291         function mi_arena.
4293 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4295         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4296         by insrwi.
4297         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4298         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4299         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4300         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4301         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4302         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4303         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4305 2014-05-26  Andreas Schwab  <schwab@suse.de>
4307         [BZ #16984]
4308         * locale/programs/repertoire.c (repertoire_read): Add slash
4309         between I18NPATH element and file name.
4310         * locale/programs/locfile.c (locfile_read): Likewise.
4312 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4314         * nptl/pthread_mutexattr_settype.c
4315         (__pthread_mutexattr_settype):
4316         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4318 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4320         * nptl/tst-mutex5 (do_test):
4321         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4323 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4325         * benchtests/README: Document 'init' directive.
4326         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4327         BENCH_INIT.
4328         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4329         (parse_file): Recognize 'init' directive.
4331 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4333         [BZ #16796]
4334         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4335         alignment of struct pthread.
4337 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4339         [BZ #16878]
4340         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4341         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4342         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4343         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4345 2014-05-25  Richard Henderson  <rth@twiddle.net>
4347         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4348         (SINGLE_THREAD_P_PIC): Remove.
4349         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4350         (SINGLE_THREAD_P_PIC): Remove.
4352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4353         branch to syscall error ...
4354         (PSEUDO): ... here.
4355         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4356         from __local_syscall_error to .Lsyscall_error.
4357         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4358         (SYSCALL_ERROR): Update label name.
4360         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4361         Do not use DOARGS/UNDOARGS.
4362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4363         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4364         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4365         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4366         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4369         block comment.
4371         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4372         define if !NOT_IN_libc.
4373         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4374         define with non-default symbol versions.
4376 2014-05-23  Richard Henderson  <rth@twiddle.net>
4378         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4379         (vfork, __vfork): Define via compat_symbol.
4381         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4382         [!HAVE_IFUNC] (vfork_compat): Remove.
4383         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4385 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4387         [BZ #16978]
4388         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4389         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4390         variable.
4392 2014-05-23  Richard Henderson  <rth@twiddle.net>
4394         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4395         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4396         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4397         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4399         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4400         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4401         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4402         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4403         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4404         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4405         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4406         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4407         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4408         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4409         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4410         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4411         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4412         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4413         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4414         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4415         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4416         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4417         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4418         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4419         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4420         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4421         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4422         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4423         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4425         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4426         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4427         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4428         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4429         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4430         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4431         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4432         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4433         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4434         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4435         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4436         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4437         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4438         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4439         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4440         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4441         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4442         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4443         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4444         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4445         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4446         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4447         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4448         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4449         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4450         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4451         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4452         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4453         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4454         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4456         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4457         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4458         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4459         before exiting on error.
4460         (__libc_vfork): New strong alias.
4461         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4462         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4464         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4465         that was previously under [RESET_PID].
4466         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4468         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4470 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4472         [BZ #16977]
4473         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4474         value when x - 1 is zero.
4475         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4476         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4477         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4478         0.0L for an argument of 1.0L.
4479         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4480         Likewise.
4481         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4482         value when x - 1 is zero.
4483         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4484         * sysdeps/i386/fpu/libm-test-ulps: Update.
4485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4487 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4489         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4490         alphasort and versionsort.
4492 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4494         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4495         macro.
4496         [copysignf]: Likewise.
4498 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4500         * crypt/md5-crypt.c: Fix formatting.
4502 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4504         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4505         (b64_from_24bit): New function.
4507 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4509         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4510         libc_hidden_builtin_def to ifunc.
4511         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4512         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4514 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4516         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4517         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4519 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4521         * nscd/Depend (linuxthreads): Remove.
4522         (nptl): Add.
4523         * resolv/Depend (linuxthreads): Remove.
4524         * rt/Depend (linuxthreads): Remove.
4526         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4527         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4528         $(common-objpfx)elf/.
4529         (link-libc-before-gnulib): Likewise.
4530         (elfobjdir): Remove variable.
4531         * Makefile (install): Use $(elf-objpfx) instead of
4532         $(common-objpfx)elf/.
4533         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4534         $(elfobjdir)/.
4535         (link-libc-deps): Likewise.
4536         ($(common-objpfx)libc.so): Likewise.
4537         ($(common-objpfx)linkobj/libc.so): Likewise.
4538         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4539         instead of $(common-objpfx)elf/.
4540         (symbolic-link-list): Likewise.
4541         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4542         [$(cross-compiling) = no]: Likewise.
4543         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4544         $(elfobjdir)/.
4545         (static-gnulib-arch): Likewise.
4546         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4547         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4548         $(common-objpfx)elf/.
4550 2014-05-21  Richard Henderson  <rth@redhat.com>
4552         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4553         (SINGLE_THREAD_P): Use the correct width load.  Fold
4554         into the ldr offset.
4556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4557         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4559 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4561         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4562         (libgcc_s_resume): Use __attribute_used__.
4563         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4564         Likewise.
4566 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4568         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4569         optimization when used with float constants.
4571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4573 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4575         [BZ #16915]
4576         * locale/nl_langinfo_l.c: Make direct reference to every
4577         _nl_current_CATEGORY symbol.
4578         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4579         (tests-static): Add tst-langinfo-static.
4580         (tests-special): Add tst-langinfo-static.out.
4581         ($(objpfx)tst-langinfo.out): Redirect output.
4582         ($(objpfx)tst-langinfo-static.out): New.
4583         * localedata/tst-langinfo.sh: Send output to stdout.
4584         * localedata/tst-langinfo-static.c: New file.
4586         [BZ #16965]
4587         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4588         when the shift amount is modulo the limb size.
4590 2014-05-20  Richard Henderson  <rth@redhat.com>
4592         [BZ #16967]
4593         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4594         Change type of sa_flags from unsigned int to int.
4596         [BZ #16966]
4597         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4599         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4601 2014-05-20  Will Newton  <will.newton@linaro.org>
4603         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4604         Test the return value of the system call in the nocancel case.
4606 2014-05-20  Will Newton  <will.newton@linaro.org>
4607             Yvan Roux  <yvan.roux@linaro.org>
4609         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4610         #include of asm/ptrace.h.
4611         (PTRACE_GET_THREAD_AREA): Remove #undef.
4612         (PTRACE_GETHBPREGS): Likewise.
4613         (PTRACE_SETHBPREGS): Likewise.
4614         (struct user_regs_struct): New structure.
4615         (struct user_fpsimd_struct): New structure.
4616         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4617         #include of asm/ptrace.h and second #include of sys/user.h.
4618         (PTRACE_GET_THREAD_AREA): Remove #undef.
4619         (PTRACE_GETHBPREGS): Likewise.
4620         (PTRACE_SETHBPREGS): Likewise.
4621         (ELF_NGREG): Use new struct user_regs_struct.
4622         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4624 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4626         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4627         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4629 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4631         [BZ #16958]
4632         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4633         membar to avoid block loads/stores to overlap previous stores.
4635 2014-05-17  Richard Henderson  <rth@redhat.com>
4637         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4638         Create the __##syscall_name##_nocancel entry point.
4639         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4640         Remove; let the sysdep-cancel.h code create it.
4642 2014-05-17  David S. Miller  <davem@davemloft.net>
4644         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4645         Protect with __USE_GNU.
4646         (TIOCSET_TEMPT): Likewise.
4647         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4648         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4649         these are already provided in bits/ioctl-types.h
4651 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4653         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4654         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4656         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4657         Use wait4 regardless of [__NR_waitpid].
4659 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4661         PR libgcc/60166
4662         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4663         (_FP_NANSIGN_Q): Set the quiet bit.
4665 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4667         * benchtests/Makefile
4668         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4669         not $(common-objpfx)math/libm.so.
4670         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4671         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4672         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4673         $(common-objpfx)dlfcn/libdl.so.
4674         ($(objpfx)tst-audit8): Depend on $(libm), not
4675         $(common-objpfx)math/libm.so.
4676         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4677         not $(common-objpfx)dlfcn/libdl.so.
4678         * math/Makefile
4679         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4680         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4681         [$(build-shared) = yes].
4682         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4683         $(common-objpfx)nptl/libpthread.so.
4684         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4685         $(common-objpfx)math/libm.so$(libm.so-version) or
4686         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4687         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4688         $(common-objpfx)dlfcn/libdl.so.
4689         * setjmp/Makefile (link-libm): Remove variable.
4690         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4691         * stdio-common/Makefile (link-libm): Remove variable.
4692         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4693         * stdlib/Makefile (link-libm): Remove variable.
4694         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4695         ($(objpfx)tst-strtod-round): Likewise.
4696         ($(objpfx)tst-tininess): Likewise.
4697         ($(objpfx)tst-strtod-underflow): Likewise.
4698         ($(objpfx)tst-strtod6): Likewise.
4699         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4700         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4701         $(common-objpfx)dlfcn/libdl.so.
4703 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4705         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4706         BSD terminal modes definitions.
4708 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4710         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4711         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4713         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4714         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4715         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4716         Don't do #include_next.
4717         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4718         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4719         Don't do #include_next.
4720         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4721         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4722         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4723         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4725 2014-05-16  Allan McRae  <allan@archlinux.org>
4727         * po/sv.po: Update Swedish translation from translation project.
4729         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4730         in sed expression.
4732 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4734         [BZ #16917]
4735         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4736         errno if the TIOCGPTN ioctl fails with an error different than
4737         EINVAL.
4738         * login/tst-ptsname.c: New file.
4739         * login/Makefile (tests): Add tst-ptsname.
4741         [BZ #16943]
4742         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4743         and prlimit64.
4745 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4747         [BZ #16849]
4748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4749         herrno to return EAI_AGAIN.
4751 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4753         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4754         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4755         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4756         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4757         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4758         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4759         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4760         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4761         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4762         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4763         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4764         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4765         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4766         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4767         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4768         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4769         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4770         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4771         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4772         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4773         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4774         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4775         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4776         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4777         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4778         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4779         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4780         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4781         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4782         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4784         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4786         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4788         Moved ...
4789         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4791         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4793         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4795         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4797         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4799         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4801         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4803         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4805         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4807         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4809         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4811         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4813         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4815         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4817         Moved ...
4818         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4820         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4822         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4824         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4826         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4828         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4830         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4832         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4834         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4836         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4838         Moved ...
4839         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4841         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4843         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4844         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4845         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4846         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4847         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4848         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4849         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4850         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4851         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4852         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4853         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4854         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4855         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4856         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4857         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4858         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4859         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4860         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4861         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4862         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4863         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4864         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4865         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4866         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4867         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4868         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4869         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4870         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4871         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4872         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4873         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4875         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4876         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4878         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4879         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4880         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4881         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4882         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4883         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4884         Moved ...
4885         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4887         Moved ...
4888         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4889         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4890         Moved ...
4891         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4893         Moved ...
4894         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4895         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4896         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4897         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4898         Moved ...
4899         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4900         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4901         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4902         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4903         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4904         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4905         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4906         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4907         Moved ...
4908         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4909         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4910         Moved ...
4911         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4912         ... here.
4913         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4914         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4915         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4916         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4918         Moved ...
4919         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4920         ... here.
4921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4922         Moved ...
4923         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4924         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4925         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4926         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4927         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4928         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4929         Moved ...
4930         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4932         Moved ...
4933         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4934         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4935         Moved ...
4936         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4938         Moved ...
4939         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4940         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4941         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4942         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4943         Moved ...
4944         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4945         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4946         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4947         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4948         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4949         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4950         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4951         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4952         Moved ...
4953         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4954         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4955         Moved ...
4956         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4957         ... here.
4958         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4959         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4960         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4961         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4963         Moved ...
4964         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4965         ... here.
4966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4967         Moved ...
4968         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4969         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4970         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4971         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4972         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4973         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4974         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4975         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4976         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4977         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4978         Moved ...
4979         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4980         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4981         Moved ...
4982         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4984         Moved ...
4985         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4987         Moved ...
4988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4989         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4990         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4991         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4992         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4993         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4994         Moved ...
4995         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4996         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4997         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4998         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4999         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5000         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5001         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5002         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5003         Moved ...
5004         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5006         Moved ...
5007         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5008         ... here.
5009         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5010         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5011         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5012         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5014         Moved ...
5015         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5016         ... here.
5017         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5018         Moved ...
5019         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5020         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5021         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5022         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5023         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5024         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5025         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5026         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5027         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5028         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5029         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5031         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5032         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5034         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5035         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5037         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5038         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5039         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5040         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5041         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5042         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5043         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5044         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5045         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5046         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5047         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5048         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5049         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5050         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5051         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5052         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5053         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5054         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5055         Moved ...
5056         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5058         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5059         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5060         Moved ...
5061         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5063         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5065         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5066         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5069         Moved ...
5070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5072         Moved ...
5073         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5075         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5077         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5079         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5080         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5081         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5082         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5083         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5084         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5085         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5086         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5087         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5088         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5089         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5091         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5092         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5093         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5094         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5095         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5097         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5098         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5099         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5100         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5101         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5102         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5103         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5104         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5105         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5106         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5108         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5111         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5112         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5113         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5114         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5115         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5116         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5117         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5118         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5119         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5120         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5121         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5122         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5123         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5124         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5126         Update #include.
5127         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5128         Likewise.
5129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5130         Likewise.
5131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5132         Likewise.
5133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5134         Likewise.
5135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5136         Likewise.
5137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5138         Likewise.
5139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5140         Likewise.
5141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5142         Likewise.
5143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5144         Likewise.
5145         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5150         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5151         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5152         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5155         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5156         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5161         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5162         that was previously under [RESET_PID].
5163         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5164         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5165         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5167         * sysdeps/i386/nptl/Implies: New file.
5168         * sysdeps/x86_64/nptl/Implies: New file.
5169         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5170         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5171         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5172         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5174         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5175         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5176         (__libc_vfork): New strong alias.
5177         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5178         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5180         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5181         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5182         (__libc_vfork): New strong alias.
5183         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5184         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5186         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5187         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5188         (__libc_vfork): New strong alias.
5189         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5190         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5191         * nptl/pt-vfork.c: New file.
5192         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5193         (libpthread: GLIBC_2.20): New version set (empty).
5195 2014-05-14  Will Newton  <will.newton@linaro.org>
5197         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5198         rather than #if.
5200 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5202         [BZ #16564]
5203         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5204         arguments with exponent 65 or above.
5205         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5206         arguments 0x1p113L or above.
5207         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5208         to arguments 0x1p107L or above.
5209         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5210         positive arguments with exponent 65 or above.
5211         * math/auto-libm-test-in: Add more tests of log1p.
5212         * math/auto-libm-test-out: Regenerated.
5214         [BZ #16928]
5215         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5216         non-finite arguments is +0.
5217         * math/s_cacosf.c (__cacosf): Likewise.
5218         * math/s_cacosl.c (__cacosl): Likewise.
5219         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5220         * sysdeps/i386/fpu/libm-test-ulps: Update.
5221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5223         [BZ #16927]
5224         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5225         value.
5226         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5227         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5228         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5229         for explicit high bit of mantissa when testing for argument equal
5230         to 1.
5231         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5232         * sysdeps/i386/fpu/libm-test-ulps: Update.
5233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5235         [BZ #16516]
5236         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5237         (__erf): Scale by 16 instead of 8 in potentially underflowing
5238         case.  Ensure exception if result actually underflows.
5239         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5240         (__erff): Scale by 16 instead of 8 in potentially underflowing
5241         case.  Ensure exception if result actually underflows.
5242         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5243         (efx8): Remove variable.
5244         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5245         case.  Ensure exception if result actually underflows.
5246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5247         (efx8): Remove variable.
5248         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5249         case.  Ensure exception if result actually underflows.
5250         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5251         (efx8): Remove variable.
5252         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5253         case.  Ensure exception if result actually underflows.
5254         * math/auto-libm-test-in: Add more tests of erf.
5255         * math/auto-libm-test-out: Regenerated.
5257 2014-05-14  Andreas Schwab  <schwab@suse.de>
5259         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5260         Remove code conditionalized on USE___THREAD.
5262         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5263         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5264         not definedness.
5266 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5268         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5269         Define unconditionally.
5270         (__ASSUME_O_CLOEXEC): Likewise.
5271         (__ASSUME_SOCK_CLOEXEC): Likewise.
5272         (__ASSUME_IN_NONBLOCK): Likewise.
5273         (__ASSUME_PIPE2): Likewise.
5274         (__ASSUME_EVENTFD2): Likewise.
5275         (__ASSUME_SIGNALFD4): Likewise.
5276         (__ASSUME_DUP3): Likewise.
5277         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5278         (__ASSUME_DUP3): Do not define.
5279         (__ASSUME_EVENTFD2): Likewise.
5280         (__ASSUME_IN_NONBLOCK): Likewise.
5281         (__ASSUME_O_CLOEXEC): Likewise.
5282         (__ASSUME_PIPE2): Likewise.
5283         (__ASSUME_SIGNALFD4): Likewise.
5284         (__ASSUME_SOCK_CLOEXEC): Likewise.
5285         (__ASSUME_UTIMES): Undefine.
5286         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5287         (__ASSUME_UTIMES): Do not define.
5288         (__ASSUME_O_CLOEXEC): Likewise.
5289         (__ASSUME_SOCK_CLOEXEC): Likewise.
5290         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5291         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5292         0x020621].
5293         (__ASSUME_PIPE2): Likewise.
5294         (__ASSUME_EVENTFD2): Likewise.
5295         (__ASSUME_SIGNALFD4): Likewise.
5296         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5297         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5298         Do not define.
5299         (__ASSUME_EVENTFD2): Likewise.
5300         (__ASSUME_SIGNALFD4): Likewise.
5301         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5302         (__ASSUME_32BITUIDS): Likewise.
5303         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5304         (__ASSUME_IPC64): Likewise.
5305         (__ASSUME_ST_INO_64_BIT): Likewise.
5306         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5307         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5308         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5309         (__ASSUME_UTIMES): Do not define.
5310         (__ASSUME_PSELECT): Likewise.
5311         (__ASSUME_PPOLL): Likewise.
5312         (__ASSUME_O_CLOEXEC): Likewise.
5313         (__ASSUME_SOCK_CLOEXEC): Likewise.
5314         (__ASSUME_IN_NONBLOCK): Likewise.
5315         (__ASSUME_PIPE2): Likewise.
5316         (__ASSUME_EVENTFD2): Likewise.
5317         (__ASSUME_SIGNALFD4): Likewise.
5318         (__ASSUME_DUP3): Likewise.
5319         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5320         (__ASSUME_UTIMES): Likewise.
5321         (__ASSUME_O_CLOEXEC): Likewise.
5322         (__ASSUME_SOCK_CLOEXEC): Likewise.
5323         (__ASSUME_IN_NONBLOCK): Likewise.
5324         (__ASSUME_PIPE2): Likewise.
5325         (__ASSUME_EVENTFD2): Likewise.
5326         (__ASSUME_SIGNALFD4): Likewise.
5327         (__ASSUME_DUP3): Likewise.
5328         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5329         (__ASSUME_UTIMES): Likewise.
5330         (__ASSUME_O_CLOEXEC): Likewise.
5331         (__ASSUME_SOCK_CLOEXEC): Likewise.
5332         (__ASSUME_IN_NONBLOCK): Likewise.
5333         (__ASSUME_PIPE2): Likewise.
5334         (__ASSUME_EVENTFD2): Likewise.
5335         (__ASSUME_SIGNALFD4): Likewise.
5336         (__ASSUME_DUP3): Likewise.
5337         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5338         Likewise.
5339         (__ASSUME_UTIMES): Likewise.
5340         (__ASSUME_EVENTFD2): Likewise.
5341         (__ASSUME_SIGNALFD4): Likewise.
5342         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5343         (__ASSUME_O_CLOEXEC): Likewise.
5344         (__ASSUME_SOCK_CLOEXEC): Likewise.
5345         (__ASSUME_IN_NONBLOCK): Likewise.
5346         (__ASSUME_PIPE2): Likewise.
5347         (__ASSUME_EVENTFD2): Likewise.
5348         (__ASSUME_SIGNALFD4): Likewise.
5349         (__ASSUME_DUP3): Likewise.
5350         (__ASSUME_UTIMES): Undefine.
5352         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5353         feclearexcept.  Remove symbol versioning code.
5354         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5355         symbol versioning code.
5356         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5357         symbol versioning code.
5358         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5359         feupdateenv.  Remove symbol versioning code.
5360         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5361         fegetexceptflag.  Remove symbol versioning code.
5362         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5363         fesetexceptflag.  Remove symbol versioning code.
5364         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5365         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5366         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5367         (__posix_fadvise64_l32): Remove prototype.
5368         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5369         code.
5371 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5373         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5374         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5375         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5376         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5378 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5380         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5381         current working directory
5383 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5385         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5386         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5387         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5388         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5389         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5390         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5391         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5392         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5393         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5394         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5395         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5396         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5397         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5398         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5399         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5400         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5401         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5402         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5403         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5404         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5405         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5406         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5407         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5408         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5409         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5410         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5411         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5412         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5413         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5414         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5415         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5416         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5417         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5418         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5419         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5420         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5421         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5422         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5423         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5424         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5425         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5426         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5428         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5429         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5431         * sysdeps/unix/sysv/linux/arm/Makefile
5432         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5433         Add rt-aeabi_unwind_cpp_pr1.
5434         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5435         Add nptl-aeabi_unwind_cpp_pr1.
5436         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5437         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5438         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5439         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5440         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5441         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5443         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5444         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5445         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5446         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5448         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5449         Deconditionalize the code that was previously under [RESET_PID].
5450         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5452         * sysdeps/generic/exit-thread.h: New file.
5453         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5454         * include/unistd.h (__exit_thread): Remove declaration.
5455         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5456         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5457         * csu/libc-start.c: Include <exit-thread.h>.
5458         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5459         * nptl/pthread_create.c: Include <exit-thread.h>.
5460         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5461         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5462         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5463         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5464         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5465         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5466         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5467         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5468         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5469         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5470         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5471         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5472         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5473         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5474         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5475         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5476         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5478 2014-05-13  Andreas Schwab  <schwab@suse.de>
5480         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5482 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5484         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5485         (__ASSUME_UTIMES): Do not condition on kernel version.
5486         (__ASSUME_PSELECT): Define unconditionally.
5487         (__ASSUME_PPOLL): Likewise.
5488         (__ASSUME_ATFCTS): Likewise.
5489         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5490         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5491         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5492         (__ASSUME_UTIMENSAT): Define unconditionally.
5493         (__ASSUME_PRIVATE_FUTEX): Likewise.
5494         (__ASSUME_FALLOCATE): Likewise.
5495         (__ASSUME_O_CLOEXEC): Likewise.
5496         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5497         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5498         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5499         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5500         (__ASSUME_IN_NONBLOCK): Likewise.
5501         (__ASSUME_PIPE2): Likewise.
5502         (__ASSUME_EVENTFD2): Likewise.
5503         (__ASSUME_SIGNALFD4): Likewise.
5504         (__ASSUME_DUP3): Likewise.
5505         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5506         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5507         (__ASSUME_AT_RANDOM): Likewise.
5508         (__ASSUME_PREADV): Likewise.
5509         (__ASSUME_PWRITEV): Likewise.
5510         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5511         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5512         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5513         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5514         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5515         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5516         (__ASSUME_O_CLOEXEC): Define unconditionally.
5517         (__ASSUME_PSELECT): Do not undefine conditionally.
5518         (__ASSUME_PPOLL): Likewise.
5519         (__ASSUME_ATFCTS): Likewise.
5520         (__ASSUME_SET_ROBUST_LIST): Likewise.
5521         (__ASSUME_UTIMENSAT): Likewise.
5522         (__ASSUME_FDATASYNC): Define unconditionally.
5523         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5524         (__ASSUME_SIGFRAME_V2): Likewise.
5525         )__ASSUME_EVENTFD2): Likewise.
5526         (__ASSUME_SIGNALFD4): Likewise.
5527         (__ASSUME_PSELECT): Do not undefine conditionally.
5528         (__ASSUME_PPOLL): Likewise.
5529         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5530         (__ASSUME_PSELECT): Define unconditionally.
5531         (__ASSUME_PPOLL): Likewise.
5532         (__ASSUME_O_CLOEXEC): Likewise.
5533         (__ASSUME_SOCK_CLOEXEC): Likewise.
5534         (__ASSUME_IN_NONBLOCK): Likewise.
5535         (__ASSUME_PIPE2): Likewise.
5536         (__ASSUME_EVENTFD2): Likewise.
5537         (__ASSUME_SIGNALFD4): Likewise.
5538         (__ASSUME_DUP3): Likewise.
5539         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5540         (__ASSUME_O_CLOEXEC): Likewise.
5541         (__ASSUME_SOCK_CLOEXEC): Likewise.
5542         (__ASSUME_IN_NONBLOCK): Likewise.
5543         (__ASSUME_PIPE2): Likewise.
5544         (__ASSUME_EVENTFD2): Likewise.
5545         (__ASSUME_SIGNALFD4): Likewise.
5546         (__ASSUME_DUP3): Likewise.
5547         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5548         (__ASSUME_EVENTFD2): Likewise.
5549         (__ASSUME_SIGNALFD4): Likewise.
5550         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5552 2014-05-12  Andreas Schwab  <schwab@suse.de>
5554         [BZ #16932]
5555         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5556         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5557         than maximum RPC packet size.
5558         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5559         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5560         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5561         (_nss_nis_getservbyport_r): Likewise.
5563 2014-05-12  Will Newton  <will.newton@linaro.org>
5565         * malloc/Makefile (tests): Add tst-mallopt.
5566         * malloc/tst-mallopt.c: New file.
5568 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5570         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5571         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5573 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5575         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5576         (tst-tlsmod6.so): Likewise.
5578 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5580         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5582 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5584         [BZ #16064]
5585         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5586         and <dl-procinfo.h>.
5587         (__fegetenv): Save SSE state in envp->__eip if supported.
5588         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5589         envp->__eip if supported.
5590         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5591         and <dl-procinfo.h>.
5592         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5593         __data_offset and __data_selector in environment to 0.  Set SSE
5594         state if supported.
5595         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5596         test-fenv-sse.
5597         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5598         -mfpmath=sse.
5599         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5601 2014-05-09  Will Newton  <will.newton@linaro.org>
5603         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5604         and libc_relro_required for ARM.
5605         * sysdeps/arm/preconfigure: Regenerate.
5607 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5608             Stefan Liebler  <stli@linux.vnet.ibm.com>
5610         * config.make.in (enable-lock-elision): New Makefile variable.
5611         * configure.ac: Likewise.
5612         * configure: Regenerate.
5613         * sysdeps/s390/configure.ac:
5614         Add check for gcc transactions support.
5615         * sysdeps/s390/configure: Regenerate.
5616         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5617         Build elision files if enabled.
5618         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5619         Add lock elision support for s390.
5620         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5621         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5622         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5623         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5624         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5625         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5626         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5627         Likewise.
5628         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5629         Likewise.
5630         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5631         Likewise.
5632         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5633         Likewise.
5634         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5635         (__lll_timedlock_elision, __lll_lock_elision)
5636         (__lll_unlock_elision, __lll_trylock_elision)
5637         (lll_timedlock_elision, lll_lock_elision)
5638         (lll_unlock_elision, lll_trylock_elision): Add.
5639         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5640         (pthread_mutex_t): Add lock elision support for s390.
5642 2014-05-14  Wilco  <wdijkstr@arm.com>
5644         * sysdeps/arm/fclrexcpt.c: Cleanup.
5645         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5646         * sysdeps/arm/feenablxcpt.c: Cleanup.
5647         * sysdeps/arm/fegetenv.c: Cleanup.
5648         * sysdeps/arm/fegetexcept.c: Cleanup.
5649         * sysdeps/arm/fegetround.c: Cleanup.
5650         * sysdeps/arm/feholdexcpt.c: Cleanup.
5651         * sysdeps/arm/fesetenv.c: Cleanup.
5652         * sysdeps/arm/fesetround.c: Cleanup.
5653         * sysdeps/arm/feupdateenv.c: Cleanup.
5654         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5655         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5656         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5657         * sysdeps/arm/ftestexcept.c: Cleanup.
5658         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5659         * sysdeps/arm/setfpucw.c: Cleanup.
5661 2014-05-09  Will Newton  <will.newton@linaro.org>
5663         * sysdeps/arm/armv7/strcmp.S: New file.
5664         * NEWS: Mention addition of ARMv7 optimized strcmp.
5666 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5668         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5669         look for %.ac rather than %.in.
5671         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5672         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5673         * sysdeps/mach/hurd/configure: Regenerated.
5674         * sysdeps/unix/sysv/linux/configure: Regenerated.
5676         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5678 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5680         [BZ# 16922]
5681         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5682         (LONG_SUB): Ditto.
5683         (PTR_SUB): Ditto.
5685 2014-05-07  Andreas Schwab  <schwab@suse.de>
5687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5688         when skipping over non-matching result from nscd.
5690 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5692         [BZ #16876]
5693         * nptl/sockperf.c (client): Check socket return value.
5695         [BZ #16877]
5696         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5697         nscd security class.
5699 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5701         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5702         * sysdeps/arm/unwind.h: ... here.
5704 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5706         [BZ# 16916]
5707         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5708         Define.
5710 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5712         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5713         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5714         multiarch strncpy for PPC64.
5715         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5716         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5717         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5718         multiarch optimizations.
5719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5720         (__libc_ifunc_impl_list): Likewise.
5721         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5722         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5723         multiarch stpncpy for PPC64.
5724         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5725         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5727 2014-05-06  Andreas Schwab  <schwab@suse.de>
5729         [BZ #16912]
5730         * gmon/mcount.c (_MCOUNT_DECL): Use
5731         atomic_compare_and_exchange_bool_acq instead of
5732         catomic_compare_and_exchange_bool_acq.
5734 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5736         * elf/Makefile (others, install-bin): Remove pldd.
5737         (pldd-modules): Variable removed.
5738         ($(objpfx)pldd): Target removed.
5739         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5740         (others, install-bin): Append pldd here.
5741         ($(objpfx)pldd): New target.
5743         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5744         to 0, so the first #if test emitted later doesn't see it undefined.
5745         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5746         * sysdeps/gnu/errlist.c: Regenerated.
5748 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5750         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5751         [libc_hidden_builtin_def]: Define to empty value.
5752         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5753         [libc_hidden_builtin_def]: Likewise.
5754         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5755         [libc_hidden_builtin_def]: Likewise.
5756         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5757         [libc_hidden_builtin_def]: Likewise.
5758         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5759         __redirect_memcpy and define ifunc as default hidden symbol.
5760         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5761         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5763 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5765         * locale/iso-4217.def: Reintroduce XDR currency.
5767 2014-05-04  Allan McRae  <allan@archlinux.org>
5769         * po/eo.po: Update Esperanto translation from translation project.
5771 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5773         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5774         and FEATURE_INDEX_MAX to 1.
5775         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5777 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5779         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5780         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5781         * iconvdata/big5.c (ONE_DIRECTION): Define.
5782         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5783         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5784         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5785         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5786         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5787         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5788         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5789         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5790         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5791         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5792         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5793         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5794         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5795         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5796         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5797         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5798         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5799         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5800         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5801         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5802         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5803         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5804         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5805         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5806         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5807         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5808         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5809         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5810         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5811         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5812         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5813         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5814         * iconvdata/johab.c (ONE_DIRECTION): Define.
5815         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5816         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5817         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5818         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5819         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5820         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5821         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5822         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5823         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5824         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5826 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5828         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5829         (_IO_JUMPS_OFFSET): Define to 0.
5831         * nptl/sysdeps/pthread/bits/libc-lock.h
5832         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5833         (__libc_lock_define_initialized_recursive): Always define using
5834         initializer.  Modern compilers treat uninitialized (implicit zero) and
5835         explicit zero initializers the same (i.e. put the datum in bss).
5837 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5839         * nscd/nscd-client.h: Include <string.h>.
5841 2014-05-01  David S. Miller  <davem@davemloft.net>
5843         [BZ #16885]
5844         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5845         multiple zero bytes exist at the end of a string.
5846         Reported by Aurelien Jarno <aurelien@aurel32.net>
5848         * string/test-strcmp.c (check): Add explicit test for situations where
5849         there are multiple zero bytes after the first.
5851 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5853         [BZ #16890]
5854         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5855         when compiling wprintf.
5856         * stdio-common/tstdiomisc.c (t3): New function.
5857         (main): Call it.
5859 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5861         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5862         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5863         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5864         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5866 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5868         * stdlib/longlong.h: Updated from GCC.
5870 2014-05-01  Will Newton  <will.newton@linaro.org>
5871             Bernard Ogden  <bernie.ogden@linaro.org>
5873         * NEWS: Update fixed bug list.
5875         [BZ #15119]
5876         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5878 2014-04-30  David S. Miller  <davem@davemloft.net>
5880         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5881         (libc_feholdexcept_setround_sparc_ctx): New function.
5882         (libc_fesetenv_sparc_ctx): Likewise.
5883         (libc_feupdateenv_sparc_ctx): Likewise.
5884         (libc_feholdsetround_sparc_ctx): Likewise.
5885         (libc_feholdexcept_setround_ctx): Define.
5886         (libc_feholdexcept_setroundf_ctx): Likewise.
5887         (libc_feholdexcept_setroundl_ctx): Likewise.
5888         (libc_fesetenv_ctx): Likewise.
5889         (libc_fesetenvf_ctx): Likewise.
5890         (libc_fesetenvl_ctx): Likewise.
5891         (libc_feupdateenv_ctx): Likewise.
5892         (libc_feupdateenvf_ctx): Likewise.
5893         (libc_feupdateenvl_ctx): Likewise.
5894         (libc_feresetround_ctx): Likewise.
5895         (libc_feresetroundf_ctx): Likewise.
5896         (libc_feresetroundl_ctx): Likewise.
5897         (libc_feholdsetround_ctx): Likewise.
5898         (libc_feholdsetroundf_ctx): Likewise.
5899         (libc_feholdsetroundl_ctx): Likewise.
5901         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5902         with __USE_GNU instead of XOPEN cpp guards.
5904         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5905         0.
5907         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5908         with XOPEN cpp guards.
5910 2014-04-30  Julian Brown  <julian@codesourcery.com>
5912         [BZ #16888]
5913         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5914         handling.
5916 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5918         [BZ #9894]
5919         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5920         Change to 2.6.32.
5921         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5922         * sysdeps/unix/sysv/linux/configure: Regenerated.
5923         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5924         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5925         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5926         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5927         * README: Update reference to required Linux kernel version.
5928         * manual/install.texi (Linux): Update reference to required Linux
5929         kernel headers version.
5930         * INSTALL: Regenerated.
5932         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5933         header inclusion.
5934         [POSIX] (limits.h): Likewise.
5935         [POSIX] (math.h): Likewise.
5936         [POSIX] (sys/wait.h): Likewise.
5937         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5938         function.
5939         [POSIX] (stddef.h): Do not allow header inclusion.
5941 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5943         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5945 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5947         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5948         Return immediately after lll_futex_wake.
5950 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5952         [BZ #16791]
5953         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5954         structure.
5955         (datahead_init_pos): Call datahead_init_common early.
5956         (datahead_init_neg): Likewise.
5958         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5959         datahead_init_neg): New functions.
5960         * nscd/aicache.c (addhstaiX): Use them.
5961         * nscd/grpcache.c (cache_addgr): Likewise.
5962         * nscd/hstcache.c (cache_addhst): Likewise.
5963         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5964         * nscd/netgroupcache.c (do_notfound): Likewise.
5965         (addgetnetgrentX): Likewise.
5966         (addinnetgrX): Likewise.
5967         * nscd/pwdcache.c (cache_addpw): Likewise.
5968         * nscd/servicescache.c (cache_addserv): Likewise.
5970 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5971             Atsushi Onoe  <atsushi@onoe.org>
5973         [BZ #14308]
5974         [BZ #12994]
5975         [BZ #13651]
5976         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5977         one response is valid.
5978         * resolv/res_send.c (send_dg): Check for validity of other
5979         response if the current response is a referral.
5981 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5983         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5985 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5987         [BZ #16823]
5988         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5989         Always divide by positive zero when computing -Inf result.
5990         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5991         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5993 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5995         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5996         FPSCR if value do not change.
5997         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5998         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5999         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6000         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6001         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6002         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6003         function.
6005 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6007         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6008         * sysdeps/unix/sysv/linux/hppa: Move directory from
6009         ports/systeps/unix/sysv/linux/hppa.
6010         * README: Update listing for hppa-*-linux-gnu.
6012 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6014         [BZ #16754]
6015         * manual/stdio.texi (Hook functions): Fix types of stream hook
6016         functions.
6017         [BZ #16854]
6018         * socket/sys/socket.h: Fix typo in comment.
6020 2014-04-28  Wilco  <wdijkstr@arm.com>
6022         * sysdeps/arm/fenv_private.h: New file.
6023         * sysdeps/arm/math_private.h: New file.
6024         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6026 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6028         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6029         with __int128_t.
6030         (La_x86_64_retval): Likewise.
6032 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6034         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6035         fpsr if value didn't change.
6036         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6037         to fpcr if value didn't change.
6038         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6039         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6040         fpsr or fpcr if value didn't change.
6041         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6042         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6043         fpcr if value didn't change.
6044         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6045         to fpsr if value didn't change.
6047 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6049         * nptl/tst-sem3.c: Use test-skeleton.c
6050         (main): Rename to do_test.  Use return instead of
6051         exit.
6052         * nptl/tst-sem4.c: Use test-skeleton.c
6053         (main): Rename to do_test.
6055 2014-04-22  David S. Miller  <davem@davemloft.net>
6057         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6058         (struct sigaction): New struct member __glibc_reserved0, change
6059         type of sa_flags to int.
6061 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6063         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6064         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6066 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6068         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6069         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6071 2014-04-22  Will Newton  <will.newton@linaro.org>
6072             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6074         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6075         (__longjmp): Add longjmp and longjmp_target SystemTap
6076         probes.
6077         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6078         (__sigsetjmp): Add setjmp SystemTap probe.
6080 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6082         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6083         match manual order.
6085 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6087         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6089         * sysdeps/powerpc/fpu/fenv_private.h
6090         (libc_feholdexcept_setroundl_ctx): Define to
6091         libc_feholdexcept_setround_ppc_ctx.
6092         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6093         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6094         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6095         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6097 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6099         * sysdeps/aarch64/math-tests.h: New file.
6101 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6103         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6104         New.
6105         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6106         Check and set bit_AVX2_Usable.
6107         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6108         macro.
6109         (bit_AVX2): Likewise.
6110         (index_AVX2_Usable): Likewise.
6111         (CPUID_AVX2): Likewise.
6112         (HAS_AVX2): Likewise.
6114 2014-04-17  Will Newton  <will.newton@linaro.org>
6116         * manual/setjmp.texi (System V contexts): Add note that
6117         calling setcontext on a context created by a call to a
6118         signal handler is undefined.  Update text to note that
6119         setcontext from a signal handler is possible but not
6120         recommended.
6122         [BZ #16629]
6123         * stdlib/tst-setcontext.c: Include signal.h.
6124         (main): Check that the signal stack before and
6125         after swapcontext is the same.
6127         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6128         Re-implement to restore registers in user code and avoid
6129         rt_sigreturn system call.
6131 2014-04-17  Wilco  <wdijkstr@arm.com>
6133         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6134         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6135         * math/test-fenv.c: Skip exception trap tests on targets which only
6136         support non-stop mode.
6138 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6139             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6141         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6142         (libc_feholdsetround_aarch64_ctx)
6143         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6144         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6145         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6146         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6147         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6148         (libc_feresetround_noexl_ctx): Define.
6150 2014-04-16  Richard Henderson  <rth@redhat.com>
6152         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6154         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6155         unwind tables.
6157         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6158         const from the non-libc, non-ldso copy.
6160         * sysdeps/alpha/libm-test-ulps: Regenerate.
6162 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6163             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6165         * sysdeps/aarch64/fpu/math_private.h: New file.
6167 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6169         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6171 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6173         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6174         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6176         Intel MPX bound registers before _dl_profile_fixup.
6177         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6178         registers after _dl_profile_fixup.  Save and restore bound
6179         registers bnd0/bnd1 when calling _dl_call_pltexit.
6180         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6181         (LR_BND_OFFSET): Likewise.
6182         (LRV_BND0_OFFSET): Likewise.
6183         (LRV_BND1_OFFSET): Likewise.
6185 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6187         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6188         to...
6189         * sysdeps/mach/hurd/i386/tls.h: ... here.
6190         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6191         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6192         fields.
6194 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6196         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6198 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6200         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6202 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6204         [BZ #14770]
6205         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6206         * sysdeps/s390/configure: Regenerate.
6208         [BZ #16824]
6209         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6210         Set round-to-nearest internally to reduce error accumulation.
6212 2014-04-16  Alan Modra  <amodra@gmail.com>
6214         [BZ #16740]
6215         [BZ #16619]
6216         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6217         * math/libm-test.inc (frexp_test_data): Add tests.
6218         * NEWS: Update fixed bug list.
6220 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6222         * benchtests/Makefile: Depend on libraries in build directory.
6223         (bench-math): Separate out math tests.
6224         (bench-pthread): Separate out pthread tests.
6225         (bench): Include math and pthread tests.
6227 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6229         [BZ #16831]
6230         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6231         _dl_debug_initialize.
6233         * configure.ac: Remove SELinux header check.
6234         * configure: Regenerate.
6235         * nscd/selinux.c (perms): Array of const char* to permission names.
6236         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6237         default policy. Call string_to_security_class and string_to_av_perm to
6238         translate strings. Enforce default policy and call avs_has_perm with
6239         results of translated strings.
6241 2014-04-13  David S. Miller  <davem@davemloft.net>
6243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6245 2014-04-12  Allan McRae  <allan@archlinux.org>
6247         [BZ #16838]
6248         * manual/string.texi (Collation Functions): Fix qsort argument
6249         order in example.
6250         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6252 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6254         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6255         Make the test a no-op if there are no exceptions defined.
6257 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6259         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6260         enable-hardcoded-path-in-tests
6262 2014-04-11  Will Newton  <will.newton@linaro.org>
6264         * benchtests/Makefile (extra-objs): Add json-lib.o.
6265         (bench-func): Tidy up JSON output.
6266         * benchtests/bench-skeleton.c: Include json-lib.h.
6267         (main): Use JSON library functions to do output of
6268         benchmark results.
6269         * benchtests/bench-timing-type.c (main): Output the
6270         timing type simply, leaving formatting to the user.
6271         * benchtests/json-lib.c: New file.
6272         * benchtests/json-lib.h: Likewise.
6274 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6276         [BZ #15215]
6277         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6278         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6279         memory barriers.  Add comments.
6280         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6281         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6282         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6283         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6284         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6285         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6287 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6289         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6290         * sysdeps/s390/s390-64/configure.ac: ... this ...
6291         * sysdeps/s390/configure.ac: ... to here.
6292         * sysdeps/s390/s390-32/configure: Delete file.
6293         * sysdeps/s390/s390-64/configure: Delete file.
6294         * sysdeps/s390/configure: Regenerate.
6296 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6298         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6300 2014-04-11  Will Newton  <will.newton@linaro.org>
6302         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6303         to zero if it is not defined elsewhere.  (mtrim): Test
6304         the value of MALLOC_DEBUG with #if rather than #ifdef.
6306 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6308         * benchtests/pthread_once-inputs: New file.
6309         * benchtests/pthread_once-source.c: New file.
6310         * benchtests/README: Update documentation.
6312 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6313             H.J. Lu  <hongjiu.lu@intel.com>
6315         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6316         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6317         * sysdeps/x86_64/configure: Regenerated.
6318         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6319         macro.
6320         (REGISTER_SAVE_RAX): Likewise.
6321         (REGISTER_SAVE_RCX): Likewise.
6322         (REGISTER_SAVE_RDX): Likewise.
6323         (REGISTER_SAVE_RSI): Likewise.
6324         (REGISTER_SAVE_RDI): Likewise.
6325         (REGISTER_SAVE_R8): Likewise.
6326         (REGISTER_SAVE_R9): Likewise.
6327         (REGISTER_SAVE_BND0): Likewise.
6328         (REGISTER_SAVE_BND1): Likewise.
6329         (REGISTER_SAVE_BND2): Likewise.
6330         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6331         bound registers when calling _dl_fixup.
6333 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6335         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6336         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6337         of its definition.
6338         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6339         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6340         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6341         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6342         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6343         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6344         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6346 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6348         [BZ #15514]
6349         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6350         pathconf(_PC_NAME_MAX).
6352 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6354         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6355         Remove macro usage.
6356         (__PTHREAD_SPINS): Move definition to ...
6357         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6358         (__PTHREAD_SPINS): ... here.
6359         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6360         (__PTHREAD_SPIN): Likewise.
6361         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6362         (__PTHREAD_SPIN): Likewise.
6363         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6364         (__PTHREAD_SPIN): Likewise.
6365         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6366         (__PTHREAD_SPIN): Likewise.
6367         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6368         (__PTHREAD_SPIN): Likewise.
6369         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6370         (__PTHREAD_SPIN): Likewise.
6371         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6372         (__PTHREAD_SPIN): Likewise.
6373         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6374         (__PTHREAD_SPIN): Likewise.
6375         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6376         (__PTHREAD_SPIN): Likewise.
6377         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6378         (__PTHREAD_SPIN): Likewise.
6379         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6380         (__PTHREAD_SPIN): Likewise.
6381         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6382         (__PTHREAD_SPIN): Likewise.
6384         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6385         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6386         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6387         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6388         imply folder.
6389         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6390         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6391         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6392         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6393         correct imply path.
6394         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6395         strlen symbol for non multi-arch builds.
6396         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6397         missing hidden_def and weak_alias.
6399 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6401         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6403 2014-04-07  Will Newton  <will.newton@linaro.org>
6405         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6406         and contents.  [!_LIBC] Remove #ifndef and contents.
6407         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6408         * string/memccpy.c (__memccpy): Use ANSI prototype.
6409         * string/memfrob.c (memfrob): Likewise.
6410         * string/strcoll.c (STRCOLL): Likewise.
6411         * string/strlen.c (strlen): Likewise.
6412         * string/strtok.c (STRTOK): Likewise.
6413         * string/strcat.c: Remove unused #include of memcopy.h.
6414         (strcat): Use ANSI prototype.
6415         * string/strchr.c: Remove unused #include of memcopy.h.
6416         (strchr): Use ANSI prototype.
6417         * string/strcmp.c: Remove unused #include of memcopy.h.
6418         (strcmp): Use ANSI prototype.
6419         * string/strcpy.c: Remove unused #include of memcopy.h.
6420         (strcpy): Use ANSI prototype.
6422 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6424         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6425         * config.make.in (config-extra-cppflags): Set it from
6426         libc_extra_cppflags.
6427         * configure.ac (libc_extra_cflags): Make it accumulate over
6428         configure fragments.
6429         (libc_extra_cppflags): New flag.
6430         * configure. Regenerate.
6431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6432         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6433         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6436         [BZ #16815]
6437         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6438         result for FE_DOWNWARD rounding mode.
6439         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6440         Likewise.
6441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6443 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6445         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6446         in function argument name.
6448 2014-04-03  David Svoboda  <svoboda@cert.org>
6450         [BZ #5666]
6451         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6452         explicitly.
6454 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6456         * elf/dl-unmap-segments.h: New file.
6457         * sysdeps/generic/ldsodefs.h
6458         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6459         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6460         * elf/dl-fptr.c: Likewise.
6461         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6462         * sysdeps/aarch64/tlsdesc.c: Likewise.
6463         * sysdeps/arm/tlsdesc.c: Likewise.
6464         * sysdeps/i386/tlsdesc.c: Likewise.
6465         * sysdeps/tile/dl-runtime.c: Likewise.
6466         * sysdeps/x86_64/tlsdesc.c: Likewise.
6467         * elf/dl-load.h: New file.
6468         * elf/dl-load.c: Include it.
6469         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6470         Macros moved to dl-load.h.
6471         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6472         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6473         Use _dl_unmap_segments in place of __munmap.
6474         Break out segment-mapping loop into ...
6475         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6477 2014-04-03  Will Newton  <will.newton@linaro.org>
6479         * elf/dl-lookup.c (do_lookup_x): Remove comment
6480         referring to nested function and move variable
6481         declarations down to before first use.
6483 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6485         [BZ #16799]
6486         [BZ #16800]
6487         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6488         with 0 numerator.
6489         * math/s_catanf.c (__catanf): Likewise.
6490         * math/s_catanh.c (__catanh): Likewise.
6491         * math/s_catanhf.c (__catanhf): Likewise.
6492         * math/s_catanhl.c (__catanhl): Likewise.
6493         * math/s_catanl.c (__catanl): Likewise.
6494         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6495         by positive zero when computing -Inf result.
6496         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6497         (catanh_test): Likewise.
6498         * sysdeps/i386/fpu/libm-test-ulps: Update.
6499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6501         [BZ #16789]
6502         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6503         instead of using underflowing value in computing result.
6504         * math/s_clog10.c (__clog10): Likewise.
6505         * math/s_clog10f.c (__clog10f): Likewise.
6506         * math/s_clog10l.c (__clog10l): Likewise.
6507         * math/s_clogf.c (__clogf): Likewise.
6508         * math/s_clogl.c (__clogl): Likewise.
6509         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6510         (clog10_test): Likewise.
6511         * sysdeps/i386/fpu/libm-test-ulps: Update.
6512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6514 2014-04-02  Alan Modra  <amodra@gmail.com>
6516         [BZ #16739]
6517         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6518         output when value is near a power of two.  Use int64_t for lx and
6519         remove casts.  Use decimal rather than hex exponent constants.
6520         Don't use long double multiplication when double will suffice.
6521         * math/libm-test.inc (nextafter_test_data): Add tests.
6522         * NEWS: Add 16739 and 16786 to bug list.
6524         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6526         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6528 2014-04-01  Will Newton  <will.newton@linaro.org>
6530         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6531         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6533 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6535         [BZ #13347]
6536         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6537         * nptl/tst-setuid2.c: New file.
6538         * nptl/Makefile (xtests): Add tst-setuid2.
6540 2014-04-01  Alan Modra  <amodra@gmail.com>
6542         [BZ #16786]
6543         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6545 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6547         [BZ #6803]
6548         [BZ #6804]
6549         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6550         set errno as appropriate.
6551         * math/w_scalbf.c (__scalbf): Likewise.
6552         * math/w_scalbl.c (__scalbl): Likewise.
6553         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6554         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6555         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6556         Add more NaN tests.
6558         [BZ #16349]
6559         * math/w_atan2.c: Include <errno.h>.
6560         (__atan2): Set errno for result underflowing to zero.
6561         * math/w_atan2f.c: Include <errno.h>.
6562         (__atan2f): Set errno for result underflowing to zero.
6563         * math/w_atan2l.c: Include <errno.h>.
6564         (__atan2l): Set errno for result underflowing to zero.
6565         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6566         tests.
6567         * math/auto-libm-test-out: Regenerated.
6569 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6571         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6572         Encode instruction correctly in little endian.
6573         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6574         Likewise.
6575         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6576         Likewise.
6577         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6578         Likewise.
6579         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6580         Likewise.
6582 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6584         [BZ #9894]
6585         * sysdeps/unix/sysv/linux/kernel-features.h
6586         [__sparc__ && !__arch64__ && !__sparc_v9__]
6587         (__ASSUME_SET_ROBUST_LIST): Do not define.
6588         [__sparc__ && !__arch64__ && !__sparc_v9__]
6589         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6590         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6591         Likewise.
6592         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6593         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6594         (__ASSUME_REQUEUE_PI): Likewise.
6595         (__ASSUME_SET_ROBUST_LIST): Likewise.
6596         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6597         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6598         Undefine.
6599         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6600         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6601         Likewise.
6602         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6603         Likewise.
6604         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6605         Likewise.
6606         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6607         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6608         Undefine.
6609         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6610         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6611         Likewise.
6613         [BZ #16648]
6614         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6615         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6616         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6618 2014-03-31  Will Newton  <will.newton@linaro.org>
6620         * benchtests/Makefile (bench): Add ffs and ffsll to list
6621         of tests.
6622         * benchtests/ffs-inputs: New file.
6623         * benchtests/ffsll-inputs: Likewise.
6625 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6627         [BZ #16770]
6628         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6629         too large before casting to int.
6630         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6631         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6632         * math/libm-test.inc (scalb_test_data): Add more tests.
6634 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6636         * benchtests/Makefile (DETAILED_OPT): New make option.
6637         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6638         set.
6639         * benchtests/bench-skeleton.c: Include stdbool.h.
6640         (main): Store and print timings per input.
6641         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6642         member to each argument value.
6643         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6644         (_print_arg_data): Initialize per-input timing to 0.
6646         * benchtests/Makefile (timing-type): New binary.
6647         (bench-clean): Also remove bench-timing-type.
6648         (bench): New target for timing-type.
6649         (bench-func): Print output in JSON format.
6650         * benchtests/bench-skeleton.c (main): Print output in JSON
6651         format.
6652         * benchtests/bench-timing-type.c: New file.
6653         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6654         (TIMING_PRINT_STATS): Remove.
6655         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6656         name separately.
6658         * benchtests/bench-modf.c: Remove.
6659         * benchtests/modf-inputs: New inputs file.
6661 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6663         [BZ #16362]
6664         * math/s_clog10.c (M_PI_LOG10E): New macro.
6665         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6666         imaginary parts are 0.
6667         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6668         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6669         imaginary parts are 0.
6670         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6671         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6672         imaginary parts are 0.
6673         * math/libm-test.inc (clog10_test_data): Update expected results
6674         for when real and imaginary parts are 0.
6676 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6678         * elf/dl-load.c: Finish conversion of __builtin_expect into
6679         __glibc_{un}likely.
6681 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6683         [BZ #16348]
6684         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6685         1+x for argument with exponent below -67.
6686         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6687         Likewise.
6688         * math/auto-libm-test-in: Add more tests of exp.
6689         * math/auto-libm-test-out: Regenerated.
6691 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6693         [BZ #16759]
6694         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6695         (nscd_getnetgrent): Use it.
6697         [BZ #16760]
6698         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6699         of stpcpy.
6701 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6703         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6704         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6705         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6706         (lll_robust_unlock): Remove out of line section. Use cfi
6707         intrinsics.
6708         (LLL_STUB_UNWIND_INFO*): Remove.
6709         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6710         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6711         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6712         (lll_robust_unlock): Remove out of line section. Use cfi
6713         intrinsics.
6714         (LLL_STUB_UNWIND_INFO*): Remove.
6716 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6718         [BZ #16758]
6719         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6720         blank values.
6722 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6724         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6726 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6728         [BZ #16198]
6729         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6730         fnstenv.
6731         * math/test-fenv-preserve.c: New file.
6732         * math/Makefile (tests): Add test-fenv-preserve.
6734 2014-03-26  Will Newton <will.newton@linaro.org>
6736         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6738 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6740         * scripts/versionlist.awk: Partition the version sets and emit all
6741         GLIBC_* (sorted) before all others (sorted).
6743 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6745         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6746         GLIBC_2.2.5 version.
6748 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6750         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6751         calls.
6753         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6754         previous change.
6756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6758 2014-03-25  Andreas Schwab  <schwab@suse.de>
6760         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6761         label to be used after in6ailist is initialized.
6763 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6765         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6766         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6768 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6770         [BZ #16357]
6771         [BZ #16599]
6772         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6773         min_plus_half.
6774         (fp_formats): Update initializers.
6775         (init_fp_formats): Initialize new field.
6776         (output_for_one_input_case): Allow underflow for results up to
6777         min_plus_half.
6778         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6779         * math/auto-libm-test-in: Don't mark some underflows from asin and
6780         atanh as spurious.
6781         * math/auto-libm-test-out: Regenerated.
6782         * sysdeps/i386/fpu/libm-test-ulps: Update.
6783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6785 2014-03-25  Andreas Schwab  <schwab@suse.de>
6787         * libio/Makefile (tst-ftell-partial-wide-ENV)
6788         (tst-ftell-active-handler-ENV): Define.
6790 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6792         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6794 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6796         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6798 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6800         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6801         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6802         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6804 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6806         [BZ #16634]
6807         * elf/dl-load.c (open_verify): Add mode parameter.
6808         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6809         (open_path): Change from boolean 'secure' to complete flag 'mode'
6810         (_dl_map_object): Adjust.
6811         * elf/Makefile (tests): Add tst-dlopen-aout.
6812         * elf/tst-dlopen-aout.c: New test.
6814 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6816         [BZ #16714]
6817         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6818         (struct stat): Rename member pad0 to __glibc_reserved0.
6820         [BZ #16712]
6821         * sysdeps/s390/s390-32/bits/wordsize.h
6822         (__WORDSIZE32_SIZE_ULONG): New define.
6823         * sysdeps/s390/s390-64/bits/wordsize.h
6824         (__WORDSIZE32_SIZE_ULONG): Likewise.
6825         * sysdeps/generic/stdint.h (SIZE_MAX):
6826         Define as UL if __WORDSIZE32_SIZE_ULONG.
6828         [BZ #16713]
6829         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6830         (__glibc_reserved0): New variable.
6831         (sa_flags): Change type to int.
6833         * posix/Makefile (before-compile): Use += before-compile instead
6834         of a :=.
6836         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6837         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6839 2014-03-20  Andreas Schwab  <schwab@suse.de>
6841         [BZ #16743]
6842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6843         non-matching result from nscd.
6845 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6847         * scripts/bench.py: Moved to ...
6848         * benchtests/scripts/bench.py: ... here.
6849         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6851 2014-03-24  Andreas Schwab  <schwab@suse.de>
6853         [BZ #16002]
6854         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6855         alloca_account and account alloca use for struct in6ailist.
6857 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6859         [BZ #16284]
6860         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6861         rounding mode to recompute results that overflow to infinity or
6862         underflow to zero.
6863         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6864         bug 16284.
6865         * math/auto-libm-test-out: Regenerated.
6866         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6867         (ccosh_test): Likewise.
6868         (csin_test_data): Use plus_oflow.
6869         (csin_test): Use ALL_RM_TEST.
6870         (csinh_test_data): Use plus_oflow.
6871         (csinh_test): Use ALL_RM_TEST.
6872         * sysdeps/i386/fpu/libm-test-ulps: Update.
6873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6875 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6877         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6878         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6879         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6881         [BZ #16731]
6882         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6883         when x - 1 is zero.
6884         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6885         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6886         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6887         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6888         argument is 1.
6889         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6890         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6891         zero.
6892         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6893         * sysdeps/i386/fpu/libm-test-ulps: Update.
6894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6896 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6898         * scripts/bench.pl: Remove file.
6899         * scripts/bench.py: New benchmark script.
6900         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6901         * benchtests/README: Mention python dependency.
6902         * scripts/pylintrc: New file.
6903         * scripts/pylint: New file.
6905         * bits/mathdef.h: Use #ifdef instead of #if.
6906         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6907         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6908         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6909         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6910         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6911         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6913 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6914             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6916         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6918         and strpbrk-ppc64 objects.
6919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6920         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6921         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6922         multiarch strpbrk for POWER7.
6923         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6924         multiarch strpbrk for PPC64.
6925         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6926         ifunc selector.
6927         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6928         strpbrk for POWER7.
6930 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6932         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6933         (atan_test): Likewise.
6934         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6935         (atanh_test): Use ALL_RM_TEST.
6936         (atan2_test_data): Likewise.
6937         (cabs_test): Likewise.
6938         (cacosh_test): Likewise.
6939         (carg_test): Likewise.
6940         (casin_test): Likewise.
6941         (casinh_test): Likewise.
6942         (cbrt_test): Likewise.
6943         (csqrt_test): Likewise.
6944         (erf_test): Likewise.
6945         (erfc_test): Likewise.
6946         (pow10_test): Likewise.
6947         (exp2_test): Likewise.
6948         (hypot_test): Likewise.
6949         (j0_test): Likewise.
6950         (j1_test): Likewise.
6951         (lgamma_test): Likewise.
6952         (gamma_test): Likewise.
6953         (sincos_test): Likewise.
6954         (tanh_test): Likewise.
6955         (y0_test): Likewise.
6956         (y1_test): Likewise.
6957         * sysdeps/i386/fpu/libm-test-ulps: Update.
6958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6960 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6962         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6964         and strcspn-ppc64 objects.
6965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6966         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6967         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6968         multiarch strcspn for POWER7.
6969         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6970         multiarch strcspn for PPC64.
6971         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6972         ifunc selector.
6973         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6974         strcspn for POWER7.
6976 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6978         * math/gen-libm-test.pl (generate_testfile): Expect only function
6979         name as argument to AUTO_TESTS_* and pass results for all rounding
6980         modes to parse_args.
6981         (parse_auto_input): Separate inputs of automatic tests from
6982         outputs before storing in %auto_tests.
6983         * math/libm-test.inc (acos_test_data): Update call to
6984         AUTO_TESTS_f_f.
6985         (acos_test): Use ALL_RM_TEST.
6986         (acos_tonearest_test_data): Remove.
6987         (acos_test_tonearest): Likewise.
6988         (acos_towardzero_test_data): Likewise.
6989         (acos_test_towardzero): Likewise.
6990         (acos_downward_test_data): Likewise.
6991         (acos_test_downward): Likewise.
6992         (acos_upward_test_data): Likewise.
6993         (acos_test_upward): Likewise.
6994         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6995         (asin_test_data): Likewise.
6996         (asin_test): Use ALL_RM_TEST.
6997         (asin_tonearest_test_data): Remove.
6998         (asin_test_tonearest): Likewise.
6999         (asin_towardzero_test_data): Likewise.
7000         (asin_test_towardzero): Likewise.
7001         (asin_downward_test_data): Likewise.
7002         (asin_test_downward): Likewise.
7003         (asin_upward_test_data): Likewise.
7004         (asin_test_upward): Likewise.
7005         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7006         (atan_test_data): Likewise.
7007         (atanh_test_data): Likewise.
7008         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7009         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7010         (carg_test_data): Likewise.
7011         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7012         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7013         (ccosh_test_data): Likewise.
7014         (cexp_test_data): Likewise.
7015         (clog_test_data): Likewise.
7016         (clog10_test_data): Likewise.
7017         (cos_test_data): Update call to AUTO_TESTS_f_f.
7018         (cos_test): Use ALL_RM_TEST.
7019         (cos_tonearest_test_data): Remove.
7020         (cos_test_tonearest): Likewise.
7021         (cos_towardzero_test_data): Likewise.
7022         (cos_test_towardzero): Likewise.
7023         (cos_downward_test_data): Likewise.
7024         (cos_test_downward): Likewise.
7025         (cos_upward_test_data): Likewise.
7026         (cos_test_upward): Likewise.
7027         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7028         (cosh_test): Use ALL_RM_TEST.
7029         (cosh_tonearest_test_data): Remove.
7030         (cosh_test_tonearest): Likewise.
7031         (cosh_towardzero_test_data): Likewise.
7032         (cosh_test_towardzero): Likewise.
7033         (cosh_downward_test_data): Likewise.
7034         (cosh_test_downward): Likewise.
7035         (cosh_upward_test_data): Likewise.
7036         (cosh_test_upward): Likewise.
7037         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7038         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7039         (ctan_test_data): Likewise.
7040         (ctan_test): Use ALL_RM_TEST.
7041         (ctan_tonearest_test_data): Remove.
7042         (ctan_test_tonearest): Likewise.
7043         (ctan_towardzero_test_data): Likewise.
7044         (ctan_test_towardzero): Likewise.
7045         (ctan_downward_test_data): Likewise.
7046         (ctan_test_downward): Likewise.
7047         (ctan_upward_test_data): Likewise.
7048         (ctan_test_upward): Likewise.
7049         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7050         (ctanh_test): Use ALL_RM_TEST.
7051         (ctanh_tonearest_test_data): Remove.
7052         (ctanh_test_tonearest): Likewise.
7053         (ctanh_towardzero_test_data): Likewise.
7054         (ctanh_test_towardzero): Likewise.
7055         (ctanh_downward_test_data): Likewise.
7056         (ctanh_test_downward): Likewise.
7057         (ctanh_upward_test_data): Likewise.
7058         (ctanh_test_upward): Likewise.
7059         (erf_test_data): Update call to AUTO_TESTS_f_f.
7060         (erfc_test_data): Likewise.
7061         (exp_test_data): Likewise.
7062         (exp_test): Use ALL_RM_TEST.
7063         (exp_tonearest_test_data): Remove.
7064         (exp_test_tonearest): Likewise.
7065         (exp_towardzero_test_data): Likewise.
7066         (exp_test_towardzero): Likewise.
7067         (exp_downward_test_data): Likewise.
7068         (exp_test_downward): Likewise.
7069         (exp_upward_test_data): Likewise.
7070         (exp_test_upward): Likewise.
7071         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7072         (exp10_test): Use ALL_RM_TEST.
7073         (exp10_tonearest_test_data): Remove.
7074         (exp10_test_tonearest): Likewise.
7075         (exp10_towardzero_test_data): Likewise.
7076         (exp10_test_towardzero): Likewise.
7077         (exp10_downward_test_data): Likewise.
7078         (exp10_test_downward): Likewise.
7079         (exp10_upward_test_data): Likewise.
7080         (exp10_test_upward): Likewise.
7081         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7082         (expm1_test_data): Likewise.
7083         (expm1_test): Use ALL_RM_TEST.
7084         (expm1_tonearest_test_data): Remove.
7085         (expm1_test_tonearest): Likewise.
7086         (expm1_towardzero_test_data): Likewise.
7087         (expm1_test_towardzero): Likewise.
7088         (expm1_downward_test_data): Likewise.
7089         (expm1_test_downward): Likewise.
7090         (expm1_upward_test_data): Likewise.
7091         (expm1_test_upward): Likewise.
7092         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7093         (fma_test): Use ALL_RM_TEST.
7094         (fma_towardzero_test_data): Remove.
7095         (fma_test_towardzero): Likewise.
7096         (fma_downward_test_data): Likewise.
7097         (fma_test_downward): Likewise.
7098         (fma_upward_test_data): Likewise.
7099         (fma_test_upward): Likewise.
7100         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7101         (j0_test_data): Update call to AUTO_TESTS_f_f.
7102         (j1_test_data): Likewise.
7103         (jn_test_data): Update call to AUTO_TESTS_if_f.
7104         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7105         (log_test_data): Update call to AUTO_TESTS_f_f.
7106         (log10_test_data): Likewise.
7107         (log1p_test_data): Likewise.
7108         (log2_test_data): Likewise.
7109         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7110         (pow_tonearest_test_data): Likewise.
7111         (sin_test_data): Update call to AUTO_TESTS_f_f.
7112         (sin_test): Use ALL_RM_TEST.
7113         (sin_tonearest_test_data): Remove.
7114         (sin_test_tonearest): Likewise.
7115         (sin_towardzero_test_data): Likewise.
7116         (sin_test_towardzero): Likewise.
7117         (sin_downward_test_data): Likewise.
7118         (sin_test_downward): Likewise.
7119         (sin_upward_test_data): Likewise.
7120         (sin_test_upward): Likewise.
7121         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7122         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7123         (sinh_test): Use ALL_RM_TEST.
7124         (sinh_tonearest_test_data): Remove.
7125         (sinh_test_tonearest): Likewise.
7126         (sinh_towardzero_test_data): Likewise.
7127         (sinh_test_towardzero): Likewise.
7128         (sinh_downward_test_data): Likewise.
7129         (sinh_test_downward): Likewise.
7130         (sinh_upward_test_data): Likewise.
7131         (sinh_test_upward): Likewise.
7132         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7133         (sqrt_test): Use ALL_RM_TEST.
7134         (sqrt_tonearest_test_data): Remove.
7135         (sqrt_test_tonearest): Likewise.
7136         (sqrt_towardzero_test_data): Likewise.
7137         (sqrt_test_towardzero): Likewise.
7138         (sqrt_downward_test_data): Likewise.
7139         (sqrt_test_downward): Likewise.
7140         (sqrt_upward_test_data): Likewise.
7141         (sqrt_test_upward): Likewise.
7142         (tan_test_data): Update call to AUTO_TESTS_f_f.
7143         (tan_test): Use ALL_RM_TEST.
7144         (tan_tonearest_test_data): Remove.
7145         (tan_test_tonearest): Likewise.
7146         (tan_towardzero_test_data): Likewise.
7147         (tan_test_towardzero): Likewise.
7148         (tan_downward_test_data): Likewise.
7149         (tan_test_downward): Likewise.
7150         (tan_upward_test_data): Likewise.
7151         (tan_test_upward): Likewise.
7152         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7153         (tgamma_test_data): Likewise.
7154         (y0_test_data): Likewise.
7155         (y1_test_data): Likewise.
7156         (yn_test_data): Update call to AUTO_TESTS_if_f.
7157         (main): Do not call removed functions.
7159 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7161         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7162         (ldexp_test_data): Remove.
7163         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7164         scalbn_test_data.
7165         (scalb_test): Use ALL_RM_TEST.
7167 2014-03-19  Andreas Schwab  <schwab@suse.de>
7169         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7171 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7173         [BZ #16649]
7174         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7175         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7176         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7177         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7178         (__ASSUME_PREADV): Undefine.
7179         (__ASSUME_PWRITEV): Likewise.
7181 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7183         * bits/mman-linux.h: Add comment about non-Linux use.
7184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7185         bits/mman-linux.h resting place.
7187         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7188         * bits/mman-linux.h: ... here.
7190 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7192         * conform/conformtest.pl: Add standard definition when calling C
7193         preprocessor on data files.
7194         (checknamespace): Remove unused variable.
7196 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7198         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7199         minus_oflow, plus_uflow and minus_uflow in expected results.
7200         * math/libm-test.inc (scalbn_test_data): Add more tests of
7201         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7202         minus_uflow.
7203         (scalbn_test): Use ALL_RM_TEST.
7204         (scalbln_test_data): Add more tests of negative arguments.  Use
7205         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7206         (scalbln_test): Use ALL_RM_TEST.
7208 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7210         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7212 2014-03-18  Will Newton  <will.newton@linaro.org>
7214         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7215         inaccurate comment.
7217 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7219         * Makerules [!subdir] (check-abi): Exit with error status if a
7220         test failed.
7222 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7224         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7225         for rint.  Include results for all rounding modes.
7226         (nearbyint_test): Use ALL_RM_TEST.
7227         (rint_test_data): Include all tests used for nearbyint.
7229 2014-03-17  Will Newton  <will.newton@linaro.org>
7231         * nptl/sysdeps/pthread/pthread.h: Revert previous
7232         change.
7234         * sysdeps/generic/ldsodefs.h: Revert previous
7235         change.
7237         * libio/genops.c: Revert previous change.
7238         * libio/libioP.h: Likewise.
7239         * stdio-common/vfprintf.c: Likewise.
7241         * sysdeps/generic/math_private.h: Revert previous
7242         change.
7244         * sysdeps/generic/math_private.h: Check whether
7245         HAVE_RM_CTX is defined with #ifdef rather
7246         than #if.
7248         * argp/argp-fmtstream.h: Check whether
7249         __STRICT_ANSI__ is defined with #ifdef rather
7250         than #if.
7251         * argp/argp.h: Likewise.
7253         * libio/genops.c: Check whether
7254         _IO_JUMPS_OFFSET is defined with #ifdef rather
7255         than #if.
7256         * libio/libioP.h: Likewise.
7257         * stdio-common/vfprintf.c: Likewise.
7259         * sysdeps/generic/ldsodefs.h: Check whether
7260         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7261         than #if.
7263         * nptl/sysdeps/pthread/pthread.h: Check
7264         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7265         its value.
7267 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7269         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7270         setting O_APPEND.
7271         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7272         test case.
7274         [BZ #16680]
7275         * libio/fileops.c (_IO_file_open): Seek to end of file but
7276         don't cache the offset.
7277         (get_file_offset): Remove function.
7278         (do_ftell): Use cached offset when available.
7279         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7280         don't cache the offset.
7281         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7282         case.
7283         (do_one_test): Call it.
7284         (do_ftell_test): Fix up expected old offset for a+ mode.
7285         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7286         available.
7288         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7289         up test status with function return status.
7290         (do_write_test): Likewise.
7291         (do_append_test): Likewise.
7293         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7294         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7295         Remove.
7297 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7299         * math/gen-libm-test.pl (parse_args): Handle results specified for
7300         each rounding mode separately.
7301         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7302         tests and results from lrint_tonearest_test_data,
7303         lrint_towardzero_test_data, lrint_downward_test_data and
7304         lrint_upward_test_data.
7305         (lrint_test): Use ALL_RM_TEST.
7306         (lrint_tonearest_test_data): Remove.
7307         (lrint_test_tonearest): Likewise.
7308         (lrint_towardzero_test_data): Likewise.
7309         (lrint_test_towardzero): Likewise.
7310         (lrint_downward_test_data): Likewise.
7311         (lrint_test_downward): Likewise.
7312         (lrint_upward_test_data): Likewise.
7313         (lrint_test_upward): Likewise.
7314         (llrint_test_data): Merge in per-rounding-mode tests and results
7315         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7316         llrint_downward_test_data and llrint_upward_test_data.
7317         (llrint_test): Use ALL_RM_TEST.
7318         (llrint_tonearest_test_data): Remove.
7319         (llrint_test_tonearest): Likewise.
7320         (llrint_towardzero_test_data): Likewise.
7321         (llrint_test_towardzero): Likewise.
7322         (llrint_downward_test_data): Likewise.
7323         (llrint_test_downward): Likewise.
7324         (llrint_upward_test_data): Likewise.
7325         (llrint_test_upward): Likewise.
7326         (rint_test_data): Merge in per-rounding-mode tests and results
7327         from rint_tonearest_test_data, rint_towardzero_test_data,
7328         rint_downward_test_data and rint_upward_test_data.  Add
7329         per-rounding-mode results for tests not in those arrays.
7330         (rint_test): Use ALL_RM_TEST.
7331         (rint_tonearest_test_data): Remove.
7332         (rint_test_tonearest): Likewise.
7333         (rint_towardzero_test_data): Likewise.
7334         (rint_test_towardzero): Likewise.
7335         (rint_downward_test_data): Likewise.
7336         (rint_test_downward): Likewise.
7337         (rint_upward_test_data): Likewise.
7338         (rint_test_upward): Likewise.
7339         (main): Don't call removed functions.
7341 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7343         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7344         "Compiled on ..." crapola.  It is anti-useful.
7346 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7348         * scripts/evaluate-test.sh: Handle fourth argument to determine
7349         whether test run should stop on failure.
7350         * Makeconfig (stop-on-test-failure): New variable.
7351         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7352         $(stop-on-test-failure).
7353         * Makefile (tests): Give a summary of results from testing and
7354         exit with failure status if they include an ERROR or FAIL.
7355         (xtests): Likewise.
7356         * manual/install.texi (Configuring and compiling): Mention
7357         stop-on-test-failure=y.
7358         * INSTALL: Regenerated.
7360 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7362         * scripts/versionlist.awk: New file.
7363         * Makerules [$(build-shared) = yes]
7364         (postclean-generated): Add Versions.def, not Versions.def.v and
7365         Versions.def.v.i.
7366         ($(common-objpfx)Versions.def.v.i): Target removed.
7367         ($(common-objpfx)Versions.def): New target.
7368         ($(common-objpfx)Versions.all): Depend on that rather that
7369         $(common-objpfx)Versions.def.v.
7370         * Versions.def: File removed.
7372         * Makeconfig (+gccwarn): Add -Wundef.
7373         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7374         a dl-sysdep.h breaking its contract.
7375         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7376         * include/stackinfo.h: New file.
7377         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7378         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7379         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7380         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7381         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7382         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7383         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7384         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7385         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7386         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7387         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7388         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7389         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7390         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7391         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7393 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7395         [BZ #16707]
7396         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7397         implementation.
7398         * math/libm-test.inc (round_test_data): Add more tests.
7400         [BZ #16706]
7401         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7402         implementation.
7403         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7405         [BZ #16701]
7406         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7407         implementation.
7408         * math/libm-test.inc (ceil_test_data): Add more tests.
7410         * math/libm-test.inc (trunc_test_data): Add more tests related to
7411         BZ#16414.
7413 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7415         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7416         with #if rather than #ifdef.
7417         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7419 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7421         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7422         first.  Disable AVX-512 GCC support if assembler doesn't support
7423         it.
7424         * sysdeps/x86_64/configure: Regenerated.
7426 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7428         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7429         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7430         (__old_pthread_attr_setstack): Likewise.
7431         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7432         [!_STACK_GROWS_DOWN]: Likewise.
7434 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7436         * config.make.in (have-bash2): Delete.
7437         * configure.ac (libc_cv_have_bash2): Delete.
7438         * configure: Regenerate.
7439         * elf/Makefile (common-ldd-rewrite): Rename to ...
7440         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7441         (sh-ldd-rewrite): Delete.
7442         (bash-ldd-rewrite): Delete.
7443         (have-bash2): Delete checks.
7444         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7445         ldd-rewrite.
7447         * config.make.in (have-ksh): Delete.
7448         (KSH): Delete.
7449         * configure.ac (libc_cv_have_ksh): Delete.
7450         * configure: Regenerate.
7452         * elf/Makefile: Delete $(have-ksh) check.
7453         ($(objpfx)sotruss): Change KSH to BASH.
7454         * elf/sotruss.ksh: Rename to ...
7455         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7456         function style to match POSIX.  Drop ksh vim mode setting.
7458         * manual/time.texi (Specifying the Time Zone with TZ): Change
7459         Tuesday to Thursday.
7461         * debug/tst-longjmp_chk2.c: Update header comment.
7462         (stackoverflow_handler): Add comment.  Call assert on pass value.
7464 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7466         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7467         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7468         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7469         (La_x86_64_vector): Add zmm.
7470         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7471         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7472         ($(objpfx)tst-audit10): New target.
7473         ($(objpfx)tst-audit10.out): Likewise.
7474         (tst-audit10-ENV): New.
7475         (AVX512-CFLAGS): Likewise.
7476         (CFLAGS-tst-audit10.c): Likewise.
7477         (CFLAGS-tst-auditmod10a.c): Likewise.
7478         (CFLAGS-tst-auditmod10b.c): Likewise.
7479         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7480         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7481         * sysdeps/x86_64/configure: Regenerated.
7482         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7483         AVX-512 zmm register support.
7484         (_dl_x86_64_save_sse): Likewise.
7485         (_dl_x86_64_restore_sse): Likewise.
7486         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7487         size vector registers.
7488         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7489         (ZMM_SIZE): Likewise.
7490         * sysdeps/x86_64/tst-audit10.c: New file.
7491         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7492         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7494 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7496         * configure.ac (HAVE_EHDR_START): New check.
7497         * configure: Regenerated.
7498         * config.h.in (HAVE_EHDR_START): New #undef.
7499         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7500         assuming the lowest-addressed segment maps the start of the file.
7502 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7504         * INSTALL: Regenerated.
7506 2014-03-13  Will Newton  <will.newton@linaro.org>
7508         * manual/setjmp.texi (System V contexts): Improve
7509         clarity and grammar of documentation.
7511 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7513         [BZ #16381]
7514         * elf/Makefile (tests): Add tst-pie2.
7515         (tests-pie): Add tst-pie2.
7516         * elf/tst-pie2.c: New file.
7517         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7518         for ET_EXEC.
7519         * elf/rtld.c (map_doit): Load executable as lt_executable.
7520         (dl_main): Likewise.
7522 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7524         [BZ #16642]
7525         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7526         (__ASSUME_PSELECT): Undefine.
7528 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7530         [BZ #16689]
7531         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7532         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7533         static build.
7534         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7535         selector for static builds.
7537 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7539         [BZ #16695]
7540         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7541         key in the buffer.
7543 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7545         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7546         IFUNC selector for static builds.
7548 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7550         * sysdeps/mips/math_private.h [__mips_hard_float]
7551         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7552         libc_feresetround_mips_ctx.
7553         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7554         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7555         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7557         [BZ #16677]
7558         * math/s_nextafter.c (__nextafter): Do not return value from
7559         overflowing computation.
7560         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7561         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7562         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7563         Likewise.
7564         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7565         Likewise.
7566         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7567         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7569 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7571         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7572         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7573         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7574         the new mov targetting sp.
7576 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7578         [BZ #16683]
7579         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7580         Define it for static builds as well.
7581         (NO_BZERO_IMPL): Likewise.
7583 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7585         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7586         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7587         multiarch strspn for PPC64.
7588         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7589         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7591         (__libc_ifunc_impl_list): Likewise.
7592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7593         multiarch optimizations
7594         * string/strspn.c (strspn): Using macro to redefine symbol name.
7596 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7597             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7599         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7600         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7601         multiarch strncat for PPC64.
7602         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7603         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7605         (__libc_ifunc_impl_list): Likewise.
7606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7607         multiarch optimizations
7609 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7611         [BZ #16639]
7612         * nscd/nscd.service: Make service type forking.
7614 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7616         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7617         sign in non default rounding modes.
7618         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7620 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7622         * math/libm-test.inc (ALL_RM_TEST): New macro.
7623         (ceil_test): Use ALL_RM_TEST.
7624         (cimag_test): Likewise.
7625         (conj_test): Likewise.
7626         (copysign_test): Likewise.
7627         (cproj_test): Likewise.
7628         (creal_test): Likewise.
7629         (fabs_test): Likewise.
7630         (floor_test): Likewise.
7631         (fmax_test): Likewise.
7632         (fmin_test): Likewise.
7633         (fmod_test): Likewise.
7634         (fpclassify_test): Likewise.
7635         (frexp_test): Likewise.
7636         (ilogb_test): Likewise.
7637         (isfinite_test): Likewise.
7638         (finite_test): Likewise.
7639         (isgreater_test): Likewise.
7640         (isgreaterequal_test): Likewise.
7641         (isinf_test): Likewise.
7642         (isless_test): Likewise.
7643         (islessequal_test): Likewise.
7644         (islessgreater_test): Likewise.
7645         (isnan_test): Likewise.
7646         (isnormal_test): Likewise.
7647         (issignaling_test): Likewise.
7648         (isunordered_test): Likewise.
7649         (logb_test): Likewise.
7650         (logb_downward_test_data): Remove.
7651         (logb_test_downward): Likewise.
7652         (lround_test): Use ALL_RM_TEST.
7653         (llround_test): Likewise.
7654         (modf_test): Likewise.
7655         (nexttoward_test): Likewise.
7656         (remainder_test): Likewise.
7657         (drem_test): Likewise.
7658         (remainder_tonearest_test_data): Likewise.
7659         (remainder_test_tonearest): Likewise.
7660         (drem_test_tonearest): Likewise.
7661         (remainder_towardzero_test_data): Likewise.
7662         (remainder_test_towardzero): Likewise.
7663         (drem_test_towardzero): Likewise.
7664         (remainder_downward_test_data): Likewise.
7665         (remainder_test_downward): Likewise.
7666         (drem_test_downward): Likewise.
7667         (remainder_upward_test_data): Likewise.
7668         (remainder_test_upward): Likewise.
7669         (drem_test_upward): Likewise.
7670         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7671         (round_test): Use ALL_RM_TEST.
7672         (signbit_test): Likewise.
7673         (trunc_test): Likewise.
7674         (significand_test): Likewise.
7675         (main): Don't call removed functions.
7677 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7679         [BZ #16674]
7680         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7681         || __USE_XOPEN2K8].
7682         (ILL_ILLOPN): Likewise.
7683         (ILL_ILLADR): Likewise.
7684         (ILL_ILLTRP): Likewise.
7685         (ILL_PRVOPC): Likewise.
7686         (ILL_PRVREG): Likewise.
7687         (ILL_COPROC): Likewise.
7688         (ILL_BADSTK): Likewise.
7689         (FPE_INTDIV): Likewise.
7690         (FPE_INTOVF): Likewise.
7691         (FPE_FLTDIV): Likewise.
7692         (FPE_FLTOVF): Likewise.
7693         (FPE_FLTUND): Likewise.
7694         (FPE_FLTRES): Likewise.
7695         (FPE_FLTINV): Likewise.
7696         (FPE_FLTSUB): Likewise.
7697         (SEGV_MAPERR): Likewise.
7698         (SEGV_ACCERR): Likewise.
7699         (BUS_ADRALN): Likewise.
7700         (BUS_ADRERR): Likewise.
7701         (BUS_OBJERR): Likewise.
7702         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7703         (TRAP_TRACE): Likewise.
7704         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7705         __USE_XOPEN2K8].
7706         (CLD_KILLED): Likewise.
7707         (CLD_DUMPED): Likewise.
7708         (CLD_TRAPPED): Likewise.
7709         (CLD_STOPPED): Likewise.
7710         (CLD_CONTINUED): Likewise.
7711         (POLL_IN): Likewise.
7712         (POLL_OUT): Likewise.
7713         (POLL_MSG): Likewise.
7714         (POLL_ERR): Likewise.
7715         (POLL_PRI): Likewise.
7716         (POLL_HUP): Likewise.
7717         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7718         Likewise.
7719         (ILL_ILLOPN): Likewise.
7720         (ILL_ILLADR): Likewise.
7721         (ILL_ILLTRP): Likewise.
7722         (ILL_PRVOPC): Likewise.
7723         (ILL_PRVREG): Likewise.
7724         (ILL_COPROC): Likewise.
7725         (ILL_BADSTK): Likewise.
7726         (FPE_INTDIV): Likewise.
7727         (FPE_INTOVF): Likewise.
7728         (FPE_FLTDIV): Likewise.
7729         (FPE_FLTOVF): Likewise.
7730         (FPE_FLTUND): Likewise.
7731         (FPE_FLTRES): Likewise.
7732         (FPE_FLTINV): Likewise.
7733         (FPE_FLTSUB): Likewise.
7734         (SEGV_MAPERR): Likewise.
7735         (SEGV_ACCERR): Likewise.
7736         (BUS_ADRALN): Likewise.
7737         (BUS_ADRERR): Likewise.
7738         (BUS_OBJERR): Likewise.
7739         (BUS_MCEERR_AR): Likewise.
7740         (BUS_MCEERR_AO): Likewise.
7741         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7742         (TRAP_TRACE): Likewise.
7743         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7744         __USE_XOPEN2K8].
7745         (CLD_KILLED): Likewise.
7746         (CLD_DUMPED): Likewise.
7747         (CLD_TRAPPED): Likewise.
7748         (CLD_STOPPED): Likewise.
7749         (CLD_CONTINUED): Likewise.
7750         (POLL_IN): Likewise.
7751         (POLL_OUT): Likewise.
7752         (POLL_MSG): Likewise.
7753         (POLL_ERR): Likewise.
7754         (POLL_PRI): Likewise.
7755         (POLL_HUP): Likewise.
7756         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7757         (ILL_ILLOPN): Likewise.
7758         (ILL_ILLADR): Likewise.
7759         (ILL_ILLTRP): Likewise.
7760         (ILL_PRVOPC): Likewise.
7761         (ILL_PRVREG): Likewise.
7762         (ILL_COPROC): Likewise.
7763         (ILL_BADSTK): Likewise.
7764         (FPE_INTDIV): Likewise.
7765         (FPE_INTOVF): Likewise.
7766         (FPE_FLTDIV): Likewise.
7767         (FPE_FLTOVF): Likewise.
7768         (FPE_FLTUND): Likewise.
7769         (FPE_FLTRES): Likewise.
7770         (FPE_FLTINV): Likewise.
7771         (FPE_FLTSUB): Likewise.
7772         (SEGV_MAPERR): Likewise.
7773         (SEGV_ACCERR): Likewise.
7774         (BUS_ADRALN): Likewise.
7775         (BUS_ADRERR): Likewise.
7776         (BUS_OBJERR): Likewise.
7777         (BUS_MCEERR_AR): Likewise.
7778         (BUS_MCEERR_AO): Likewise.
7779         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7780         (TRAP_TRACE): Likewise.
7781         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7782         __USE_XOPEN2K8].
7783         (CLD_KILLED): Likewise.
7784         (CLD_DUMPED): Likewise.
7785         (CLD_TRAPPED): Likewise.
7786         (CLD_STOPPED): Likewise.
7787         (CLD_CONTINUED): Likewise.
7788         (POLL_IN): Likewise.
7789         (POLL_OUT): Likewise.
7790         (POLL_MSG): Likewise.
7791         (POLL_ERR): Likewise.
7792         (POLL_PRI): Likewise.
7793         (POLL_HUP): Likewise.
7794         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7795         Likewise.
7796         (ILL_ILLOPN): Likewise.
7797         (ILL_ILLADR): Likewise.
7798         (ILL_ILLTRP): Likewise.
7799         (ILL_PRVOPC): Likewise.
7800         (ILL_PRVREG): Likewise.
7801         (ILL_COPROC): Likewise.
7802         (ILL_BADSTK): Likewise.
7803         (ILL_BADIADDR): Likewise.
7804         (ILL_BREAK): Likewise.
7805         (FPE_INTDIV): Likewise.
7806         (FPE_INTOVF): Likewise.
7807         (FPE_FLTDIV): Likewise.
7808         (FPE_FLTOVF): Likewise.
7809         (FPE_FLTUND): Likewise.
7810         (FPE_FLTRES): Likewise.
7811         (FPE_FLTINV): Likewise.
7812         (FPE_FLTSUB): Likewise.
7813         (FPE_DECOVF): Likewise.
7814         (FPE_DECDIV): Likewise.
7815         (FPE_DECERR): Likewise.
7816         (FPE_INVASC): Likewise.
7817         (FPE_INVDEC): Likewise.
7818         (SEGV_MAPERR): Likewise.
7819         (SEGV_ACCERR): Likewise.
7820         (SEGV_PSTKOVF): Likewise.
7821         (BUS_ADRALN): Likewise.
7822         (BUS_ADRERR): Likewise.
7823         (BUS_OBJERR): Likewise.
7824         (BUS_MCEERR_AR): Likewise.
7825         (BUS_MCEERR_AO): Likewise.
7826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7827         (TRAP_TRACE): Likewise.
7828         (TRAP_BRANCH): Likewise.
7829         (TRAP_HWBKPT): Likewise.
7830         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7831         __USE_XOPEN2K8].
7832         (CLD_KILLED): Likewise.
7833         (CLD_DUMPED): Likewise.
7834         (CLD_TRAPPED): Likewise.
7835         (CLD_STOPPED): Likewise.
7836         (CLD_CONTINUED): Likewise.
7837         (POLL_IN): Likewise.
7838         (POLL_OUT): Likewise.
7839         (POLL_MSG): Likewise.
7840         (POLL_ERR): Likewise.
7841         (POLL_PRI): Likewise.
7842         (POLL_HUP): Likewise.
7843         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7844         (ILL_ILLOPN): Likewise.
7845         (ILL_ILLADR): Likewise.
7846         (ILL_ILLTRP): Likewise.
7847         (ILL_PRVOPC): Likewise.
7848         (ILL_PRVREG): Likewise.
7849         (ILL_COPROC): Likewise.
7850         (ILL_BADSTK): Likewise.
7851         (FPE_INTDIV): Likewise.
7852         (FPE_INTOVF): Likewise.
7853         (FPE_FLTDIV): Likewise.
7854         (FPE_FLTOVF): Likewise.
7855         (FPE_FLTUND): Likewise.
7856         (FPE_FLTRES): Likewise.
7857         (FPE_FLTINV): Likewise.
7858         (FPE_FLTSUB): Likewise.
7859         (SEGV_MAPERR): Likewise.
7860         (SEGV_ACCERR): Likewise.
7861         (BUS_ADRALN): Likewise.
7862         (BUS_ADRERR): Likewise.
7863         (BUS_OBJERR): Likewise.
7864         (BUS_MCEERR_AR): Likewise.
7865         (BUS_MCEERR_AO): Likewise.
7866         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7867         (TRAP_TRACE): Likewise.
7868         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7869         __USE_XOPEN2K8].
7870         (CLD_KILLED): Likewise.
7871         (CLD_DUMPED): Likewise.
7872         (CLD_TRAPPED): Likewise.
7873         (CLD_STOPPED): Likewise.
7874         (CLD_CONTINUED): Likewise.
7875         (POLL_IN): Likewise.
7876         (POLL_OUT): Likewise.
7877         (POLL_MSG): Likewise.
7878         (POLL_ERR): Likewise.
7879         (POLL_PRI): Likewise.
7880         (POLL_HUP): Likewise.
7881         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7882         (ILL_ILLOPN): Likewise.
7883         (ILL_ILLADR): Likewise.
7884         (ILL_ILLTRP): Likewise.
7885         (ILL_PRVOPC): Likewise.
7886         (ILL_PRVREG): Likewise.
7887         (ILL_COPROC): Likewise.
7888         (ILL_BADSTK): Likewise.
7889         (FPE_INTDIV): Likewise.
7890         (FPE_INTOVF): Likewise.
7891         (FPE_FLTDIV): Likewise.
7892         (FPE_FLTOVF): Likewise.
7893         (FPE_FLTUND): Likewise.
7894         (FPE_FLTRES): Likewise.
7895         (FPE_FLTINV): Likewise.
7896         (FPE_FLTSUB): Likewise.
7897         (SEGV_MAPERR): Likewise.
7898         (SEGV_ACCERR): Likewise.
7899         (BUS_ADRALN): Likewise.
7900         (BUS_ADRERR): Likewise.
7901         (BUS_OBJERR): Likewise.
7902         (BUS_MCEERR_AR): Likewise.
7903         (BUS_MCEERR_AO): Likewise.
7904         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7905         (TRAP_TRACE): Likewise.
7906         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7907         __USE_XOPEN2K8].
7908         (CLD_KILLED): Likewise.
7909         (CLD_DUMPED): Likewise.
7910         (CLD_TRAPPED): Likewise.
7911         (CLD_STOPPED): Likewise.
7912         (CLD_CONTINUED): Likewise.
7913         (POLL_IN): Likewise.
7914         (POLL_OUT): Likewise.
7915         (POLL_MSG): Likewise.
7916         (POLL_ERR): Likewise.
7917         (POLL_PRI): Likewise.
7918         (POLL_HUP): Likewise.
7919         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7920         (ILL_ILLOPN): Likewise.
7921         (ILL_ILLADR): Likewise.
7922         (ILL_ILLTRP): Likewise.
7923         (ILL_PRVOPC): Likewise.
7924         (ILL_PRVREG): Likewise.
7925         (ILL_COPROC): Likewise.
7926         (ILL_BADSTK): Likewise.
7927         (FPE_INTDIV): Likewise.
7928         (FPE_INTOVF): Likewise.
7929         (FPE_FLTDIV): Likewise.
7930         (FPE_FLTOVF): Likewise.
7931         (FPE_FLTUND): Likewise.
7932         (FPE_FLTRES): Likewise.
7933         (FPE_FLTINV): Likewise.
7934         (FPE_FLTSUB): Likewise.
7935         (SEGV_MAPERR): Likewise.
7936         (SEGV_ACCERR): Likewise.
7937         (BUS_ADRALN): Likewise.
7938         (BUS_ADRERR): Likewise.
7939         (BUS_OBJERR): Likewise.
7940         (BUS_MCEERR_AR): Likewise.
7941         (BUS_MCEERR_AO): Likewise.
7942         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7943         (TRAP_TRACE): Likewise.
7944         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7945         __USE_XOPEN2K8].
7946         (CLD_KILLED): Likewise.
7947         (CLD_DUMPED): Likewise.
7948         (CLD_TRAPPED): Likewise.
7949         (CLD_STOPPED): Likewise.
7950         (CLD_CONTINUED): Likewise.
7951         (POLL_IN): Likewise.
7952         (POLL_OUT): Likewise.
7953         (POLL_MSG): Likewise.
7954         (POLL_ERR): Likewise.
7955         (POLL_PRI): Likewise.
7956         (POLL_HUP): Likewise.
7957         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7958         (ILL_ILLOPN): Likewise.
7959         (ILL_ILLADR): Likewise.
7960         (ILL_ILLTRP): Likewise.
7961         (ILL_PRVOPC): Likewise.
7962         (ILL_PRVREG): Likewise.
7963         (ILL_COPROC): Likewise.
7964         (ILL_BADSTK): Likewise.
7965         (ILL_DBLFLT): Likewise.
7966         (ILL_HARDWALL): Likewise.
7967         (FPE_INTDIV): Likewise.
7968         (FPE_INTOVF): Likewise.
7969         (FPE_FLTDIV): Likewise.
7970         (FPE_FLTOVF): Likewise.
7971         (FPE_FLTUND): Likewise.
7972         (FPE_FLTRES): Likewise.
7973         (FPE_FLTINV): Likewise.
7974         (FPE_FLTSUB): Likewise.
7975         (SEGV_MAPERR): Likewise.
7976         (SEGV_ACCERR): Likewise.
7977         (BUS_ADRALN): Likewise.
7978         (BUS_ADRERR): Likewise.
7979         (BUS_OBJERR): Likewise.
7980         (BUS_MCEERR_AR): Likewise.
7981         (BUS_MCEERR_AO): Likewise.
7982         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7983         (TRAP_TRACE): Likewise.
7984         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7985         __USE_XOPEN2K8].
7986         (CLD_KILLED): Likewise.
7987         (CLD_DUMPED): Likewise.
7988         (CLD_TRAPPED): Likewise.
7989         (CLD_STOPPED): Likewise.
7990         (CLD_CONTINUED): Likewise.
7991         (POLL_IN): Likewise.
7992         (POLL_OUT): Likewise.
7993         (POLL_MSG): Likewise.
7994         (POLL_ERR): Likewise.
7995         (POLL_PRI): Likewise.
7996         (POLL_HUP): Likewise.
7997         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7998         (ILL_ILLOPN): Likewise.
7999         (ILL_ILLADR): Likewise.
8000         (ILL_ILLTRP): Likewise.
8001         (ILL_PRVOPC): Likewise.
8002         (ILL_PRVREG): Likewise.
8003         (ILL_COPROC): Likewise.
8004         (ILL_BADSTK): Likewise.
8005         (FPE_INTDIV): Likewise.
8006         (FPE_INTOVF): Likewise.
8007         (FPE_FLTDIV): Likewise.
8008         (FPE_FLTOVF): Likewise.
8009         (FPE_FLTUND): Likewise.
8010         (FPE_FLTRES): Likewise.
8011         (FPE_FLTINV): Likewise.
8012         (FPE_FLTSUB): Likewise.
8013         (SEGV_MAPERR): Likewise.
8014         (SEGV_ACCERR): Likewise.
8015         (BUS_ADRALN): Likewise.
8016         (BUS_ADRERR): Likewise.
8017         (BUS_OBJERR): Likewise.
8018         (BUS_MCEERR_AR): Likewise.
8019         (BUS_MCEERR_AO): Likewise.
8020         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8021         (TRAP_TRACE): Likewise.
8022         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8023         __USE_XOPEN2K8].
8024         (CLD_KILLED): Likewise.
8025         (CLD_DUMPED): Likewise.
8026         (CLD_TRAPPED): Likewise.
8027         (CLD_STOPPED): Likewise.
8028         (CLD_CONTINUED): Likewise.
8029         (POLL_IN): Likewise.
8030         (POLL_OUT): Likewise.
8031         (POLL_MSG): Likewise.
8032         (POLL_ERR): Likewise.
8033         (POLL_PRI): Likewise.
8034         (POLL_HUP): Likewise.
8035         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8036         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8038         [BZ #16670]
8039         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8040         before #include of <time.h>.
8041         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8042         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8043         (test-xfail-UNIX98/sched.h/conform): Likewise.
8045 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8047         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8048         error absence of trapping exception support.
8049         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8051 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8053         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8054         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8055         * timezone/Makefile (testdata): Move definition above include of
8056         Rules.
8057         (test-zones): New variable.
8058         (tests-special): Add zone files.
8059         (build-testdata): Use $(evaluate-test).
8061         * elf/Makefile (tests-special): Rename tests to end with .out.
8062         ($(objpfx)noload-mem): Likewise.
8063         ($(objpfx)tst-leaks1-mem): Likewise.
8064         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8065         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8066         $(objpfx)test-iconvconfig.out.
8067         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8068         set -e inside subshell and redirect output to file.
8069         * iconvdata/Makefile (generated): Rename tests to end with .out.
8070         Correct type.
8071         (tests-special): Rename tests to end with .out.
8072         ($(objpfx)mtrace-tst-loading): Likewise.
8073         * intl/Makefile (generated): Likewise.
8074         (tests-special): Likewise.
8075         ($(objpfx)mtrace-tst-gettext): Likewise.
8076         * misc/Makefile (generated): Likewise.
8077         (tests-special): Likewise.
8078         ($(objpfx)tst-error1-mem): Likewise.
8079         * nptl/Makefile (tests-special): Likewise.
8080         ($(objpfx)tst-stack3-mem): Likewise.
8081         (generated): Likewise.
8082         * posix/Makefile (generated): Likewise.
8083         (tests-special): Likewise.
8084         (xtests-special): Likewise.
8085         ($(objpfx)tst-fnmatch-mem): Likewise.
8086         ($(objpfx)bug-regex2-mem): Likewise.
8087         ($(objpfx)bug-regex14-mem): Likewise.
8088         ($(objpfx)bug-regex21-mem): Likewise.
8089         ($(objpfx)bug-regex31-mem): Likewise.
8090         ($(objpfx)tst-vfork3-mem): Likewise.
8091         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8092         ($(objpfx)tst-pcre-mem): Likewise.
8093         ($(objpfx)tst-boost-mem): Likewise.
8094         ($(objpfx)bug-ga2-mem): Likewise.
8095         ($(objpfx)bug-glob2-mem): Likewise.
8096         * resolv/Makefile (generate): Likewise.
8097         (tests-special): Likewise.
8098         (xtests-special): Likewise.
8099         (generated): Likewise.
8100         ($(objpfx)mtrace-tst-leaks): Likewise.
8101         ($(objpfx)mtrace-tst-leaks2): Likewise.
8103         * scripts/merge-test-results.sh: New file.
8104         * Makefile (tests-special-notdir): New variable.
8105         (tests): Run merge-test-results.sh.
8106         (xtests): Likewise.
8107         * Rules (tests-special-notdir): New variable.
8108         (xtests-special-notdir): Likewise.
8109         (tests): Run merge-test-results.sh
8110         (xtests): Likewise.
8112         * Makeconfig (test-xfail-name): New variable.
8113         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8114         compute variable name for expected failures.
8115         * conform/Makefile (conformtest-headers-data): New variable.
8116         (conformtest-standards): Likewise.
8117         (conformtest-headers-ISO): Likewise.
8118         (conformtest-headers-ISO99): Likewise.
8119         (conformtest-headers-ISO11): Likewise.
8120         (conformtest-headers-POSIX): Likewise.
8121         (conformtest-headers-XPG3): Likewise.
8122         (conformtest-headers-XPG4): Likewise.
8123         (conformtest-headers-UNIX98): Likewise.
8124         (conformtest-headers-XOPEN2K): Likewise.
8125         (conformtest-headers-POSIX2008): Likewise.
8126         (conformtest-headers-XOPEN2K8): Likewise.
8127         (conformtest-header-list-base): Likewise.
8128         (conformtest-header-list-tests): Likewise.
8129         (conformtest-header-base): Likewise.
8130         (conformtest-header-tests): Likewise.
8131         (tests-special): Add $(conformtest-header-list-tests).  If
8132         [$(fast-check) && !$(cross-compiling)], add
8133         $(conformtest-header-tests) instead of
8134         $(objpfx)run-conformtest.out.
8135         (generated): Add $(conformtest-header-list-base).  If
8136         [$(fast-check) && !$(cross-compiling)], add
8137         $(conformtest-header-base).  Remove previous setting.
8138         ($(conformtest-header-list-tests)): New target.
8139         (test-xfail-run-conformtest): Remove variable.
8140         ($(objpfx)run-conformtest.out): Remove target.
8141         (test-xfail-ISO11/complex.h/conform): New variable.
8142         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8143         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8144         (test-xfail-XPG3/varargs.h/conform): Likewise.
8145         (test-xfail-XPG4/varargs.h/conform): Likewise.
8146         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8147         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8148         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8149         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8150         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8151         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8152         (test-xfail-XPG3/ftw.h/conform): Likewise.
8153         (test-xfail-XPG3/grp.h/conform): Likewise.
8154         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8155         (test-xfail-XPG3/limits.h/conform): Likewise.
8156         (test-xfail-XPG3/pwd.h/conform): Likewise.
8157         (test-xfail-XPG3/search.h/conform): Likewise.
8158         (test-xfail-XPG3/signal.h/conform): Likewise.
8159         (test-xfail-XPG3/stdio.h/conform): Likewise.
8160         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8161         (test-xfail-XPG3/string.h/conform): Likewise.
8162         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8163         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8164         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8165         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8166         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8167         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8168         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8169         (test-xfail-XPG3/termios.h/conform): Likewise.
8170         (test-xfail-XPG3/time.h/conform): Likewise.
8171         (test-xfail-XPG3/unistd.h/conform): Likewise.
8172         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8173         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8174         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8175         (test-xfail-XPG4/netdb.h/conform): Likewise.
8176         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8177         (test-xfail-XPG4/signal.h/conform): Likewise.
8178         (test-xfail-XPG4/stdio.h/conform): Likewise.
8179         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8180         (test-xfail-XPG4/stropts.h/conform): Likewise.
8181         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8182         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8183         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8184         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8185         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8186         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8187         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8188         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8189         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8190         (test-xfail-XPG4/termios.h/conform): Likewise.
8191         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8192         (test-xfail-XPG4/unistd.h/conform): Likewise.
8193         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8194         (test-xfail-POSIX/sched.h/conform): Likewise.
8195         (test-xfail-POSIX/signal.h/conform): Likewise.
8196         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8197         (test-xfail-POSIX/tar.h/conform): Likewise.
8198         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8199         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8200         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8201         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8202         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8203         (test-xfail-UNIX98/sched.h/conform): Likewise.
8204         (test-xfail-UNIX98/signal.h/conform): Likewise.
8205         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8206         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8207         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8208         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8209         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8210         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8211         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8212         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8213         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8214         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8215         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8216         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8217         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8218         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8219         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8220         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8221         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8222         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8223         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8224         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8225         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8226         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8227         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8228         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8229         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8230         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8231         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8232         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8233         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8234         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8235         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8236         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8237         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8238         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8239         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8240         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8241         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8242         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8243         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8244         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8245         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8246         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8247         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8248         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8249         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8250         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8251         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8252         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8253         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8254         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8255         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8256         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8257         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8258         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8259         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8260         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8261         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8262         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8263         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8264         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8265         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8266         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8267         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8268         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8269         (conformtest-cc-flags): Likewise.
8270         ($(conformtest-header-tests): New target.
8271         * conform/check-header-lists.sh: New file.
8272         * conform/run-conformtest.sh: Remove.
8274         * conform/conformtest.pl: Allow ' and \ in values given for
8275         constants.
8276         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8277         inclusion.
8278         [POSIX] (sys/types.h): Likewise.
8279         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8280         inclusion.
8281         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8282         inclusion.
8283         * conform/data/signal.h-data (SIGIO): Remove expectation.
8284         [XPG3] (SIGBUS): Do not expect.
8285         [POSIX || XPG3] (SIGPOLL): Likewise.
8286         [POSIX || XPG3] (SIGPROF): Likewise.
8287         [POSIX || XPG3] (SIGSYS): Likewise.
8288         [XPG3] (SIGTRAP): Likewise.
8289         [POSIX || XPG3] (SIGURG): Likewise.
8290         [POSIX || XPG3] (SIGVTALRM): Likewise.
8291         [POSIX || XPG3] (SIGXCPU): Likewise.
8292         [POSIX || XPG3] (SIGXFSZ): Likewise.
8293         [POSIX] (SA_SIGINFO): Expect.
8294         [XPG3] (siginfo_t): Do not expect type or contents.
8295         [POSIX] (si_pid): Do not expect element.
8296         [POSIX] (si_uid): Likewise.
8297         [POSIX] (si_addr): Likewise.
8298         [POSIX] (si_status): Likewise.
8299         [POSIX] (si_band): Likewise.
8300         [XPG4] (si_value): Likewise.
8301         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8302         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8303         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8304         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8305         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8306         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8307         [POSIX || XPG3] (ILL_COPROC): Likewise.
8308         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8309         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8310         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8311         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8312         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8313         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8314         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8315         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8316         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8317         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8318         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8319         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8320         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8321         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8322         [POSIX || XPG3] (CLD_EXITED): Likewise.
8323         [POSIX || XPG3] (CLD_KILLED): Likewise.
8324         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8325         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8326         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8327         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8328         [POSIX || XPG3] (POLL_IN): Likewise.
8329         [POSIX || XPG3] (POLL_OUT): Likewise.
8330         [POSIX || XPG3] (POLL_MSG): Likewise.
8331         [POSIX || XPG3] (POLL_ERR): Likewise.
8332         [POSIX || XPG3] (POLL_PRI): Likewise.
8333         [POSIX || XPG3] (POLL_HUP): Likewise.
8334         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8335         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8336         (SIG*): Do not allow.
8337         [XPG3] (si_*): Likewise.
8338         [XPG3] (SI_*): Likewise.
8339         [XPG3 || XPG4] (sigev_*): Likewise.
8340         [XPG3 || XPG4] (SIGEV_*): Likewise.
8341         [XPG3 || XPG4] (sival_*): Likewise.
8342         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8343         [POSIX || XPG3] (BUS_*): Likewise.
8344         [POSIX || XPG3] (CLD_*): Likewise.
8345         [POSIX || XPG3] (FPE_*): Likewise.
8346         [POSIX || XPG3] (ILL_*): Likewise.
8347         [POSIX || XPG3] (POLL_*): Likewise.
8348         [POSIX || XPG3] (SEGV_*): Likewise.
8349         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8350         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8351         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8352         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8353         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8354         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8355         Specify type and value.
8356         (TVERSLEN): Likewise.
8357         (REGTYPE): Likewise.
8358         (AREGTYPE): Likewise.
8359         (LNKTYPE): Likewise.
8360         (SYMTYPE): Likewise.
8361         (CHRTYPE): Likewise.
8362         (BLKTYPE): Likewise.
8363         (DIRTYPE): Likewise.
8364         (FIFOTYPE): Likewise.
8365         (CONTTYPE): Likewise.
8366         (TSUID): Likewise.
8367         (TSGID): Likewise.
8368         (TSVTX): Likewise.
8369         (TUREAD): Likewise.
8370         (TUWRITE): Likewise.
8371         (TUEXEC): Likewise.
8372         (TGREAD): Likewise.
8373         (TGWRITE): Likewise.
8374         (TGEXEC): Likewise.
8375         (TOREAD): Likewise.
8376         (TOWRITE): Likewise.
8377         (TOEXEC): Likewise.
8378         [POSIX] (TSVTX): Expect constant.
8380 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8382         * Makefile (tests): Change dependencies to ....
8383         (tests-special): ... additions to this variable.
8384         (tests): Depend on $(tests-special).
8385         * Makerules (check-abi-list): New variable.
8386         (check-abi): Depend on $(check-abi-list).
8387         [$(subdir) = elf] (tests-special): Add
8388         $(objpfx)check-abi-libc.out.
8389         [$(build-shared) = yes && subdir] (tests-special): Add
8390         $(check-abi-list).
8391         [$(build-shared) = yes && subdir] (tests): Do not depend on
8392         check-abi.
8393         * Rules (tests): Depend on $(tests-special).
8394         (xtests): Depend on $(xtests-special).
8395         * catgets/Makefile (tests): Change dependencies to ....
8396         (tests-special): ... additions to this variable.
8397         * conform/Makefile (tests): Change dependencies to ....
8398         (tests-special): ... additions to this variable.
8399         * elf/Makefile (tests): Change dependencies to ....
8400         (tests-special): ... additions to this variable.
8401         * grp/Makefile (tests): Change dependencies to ....
8402         (tests-special): ... additions to this variable.
8403         * iconv/Makefile (xtests): Change dependencies to ....
8404         (xtests-special): ... additions to this variable.
8405         * iconvdata/Makefile (tests): Change dependencies to ....
8406         (tests-special): ... additions to this variable.
8407         * intl/Makefile (tests): Change dependencies to ....
8408         (tests-special): ... additions to this variable.  Also add
8409         $(objpfx)tst-gettext.out.
8410         * io/Makefile (tests): Change dependencies to ....
8411         (tests-special): ... additions to this variable.
8412         * libio/Makefile (tests): Change dependencies to ....
8413         (tests-special): ... additions to this variable.
8414         * malloc/Makefile (tests): Change dependencies to ....
8415         (tests-special): ... additions to this variable.
8416         * misc/Makefile (tests): Change dependencies to ....
8417         (tests-special): ... additions to this variable.
8418         * nptl/Makefile (tests): Change dependencies to ....
8419         (tests-special): ... additions to this variable.
8420         * nptl_db/Makefile (tests): Change dependencies to ....
8421         (tests-special): ... additions to this variable.
8422         * posix/Makefile (tests): Change dependencies to ....
8423         (tests-special): ... additions to this variable.
8424         (xtests): Change dependencies to ....
8425         (xtests-special): ... additions to this variable.
8426         * resolv/Makefile (tests): Change dependencies to ....
8427         (tests-special): ... additions to this variable.
8428         (xtests): Change dependencies to ....
8429         (xtests-special): ... additions to this variable.
8430         * stdio-common/Makefile (tests): Change dependencies to ....
8431         (tests-special): ... additions to this variable.
8432         (do-tst-unbputc): Remove target.
8433         (do-tst-printf): Likewise.
8434         * stdlib/Makefile (tests): Change dependencies to ....
8435         (tests-special): ... additions to this variable.
8436         * string/Makefile (tests): Change dependencies to ....
8437         (tests-special): ... additions to this variable.
8438         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8439         (tests-special): ... additions to this variable.
8441         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8442         whole file.
8443         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8444         whole file.
8445         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8446         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8448         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8449         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8450         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8451         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8452         * conform/data/libgen.h-data [XPG3]: Likewise.
8453         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8454         * conform/data/ndbm.h-data [XPG3]: Likewise.
8455         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8456         * conform/data/netdb.h-data [XPG3]: Likewise.
8457         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8458         * conform/data/poll.h-data [XPG3]: Likewise.
8459         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8460         * conform/data/strings.h-data [XPG3]: Likewise.
8461         * conform/data/stropts.h-data [XPG3]: Likewise.
8462         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8463         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8464         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8465         Likewise.
8466         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8467         * conform/data/sys/time.h-data [XPG3]: Likewise.
8468         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8469         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8470         * conform/data/sys/un.h-data [XPG3]: Likewise.
8471         * conform/data/syslog.h-data [XPG3]: Likewise.
8472         * conform/data/ucontext.h-data [XPG3]: Likewise.
8473         * conform/data/utmpx.h-data [XPG3]: Likewise.
8474         * conform/data/varargs.h-data [UNIX98]: Enable file.
8476         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8478         * math/libm-test.inc (struct test_f_f_data): Move expected results
8479         into structure for each rounding mode.
8480         (struct test_ff_f_data): Likewise.
8481         (struct test_ff_f_data_nexttoward): Likewise.
8482         (struct test_fi_f_data): Likewise.
8483         (struct test_fl_f_data): Likewise.
8484         (struct test_if_f_data): Likewise.
8485         (struct test_fff_f_data): Likewise.
8486         (struct test_c_f_data): Likewise.
8487         (struct test_f_f1_data): Likewise.
8488         (struct test_fF_f1_data): Likewise.
8489         (struct test_ffI_f1_data): Likewise.
8490         (struct test_c_c_data): Likewise.
8491         (struct test_cc_c_data): Likewise.
8492         (struct test_f_i_data): Likewise.
8493         (struct test_ff_i_data): Likewise.
8494         (struct test_f_l_data): Likewise.
8495         (struct test_f_L_data): Likewise.
8496         (struct test_fFF_11_data): Likewise.
8497         (RM_): New macro.
8498         (RM_FE_DOWNWARD): Likewise.
8499         (RM_FE_TONEAREST): Likewise.
8500         (RM_FE_TOWARDZERO): Likewise.
8501         (RM_FE_UPWARD): Likewise.
8502         (RUN_TEST_LOOP_f_f): Update references to expected results.
8503         (RUN_TEST_LOOP_2_f): Likewise.
8504         (RUN_TEST_LOOP_fff_f): Likewise.
8505         (RUN_TEST_LOOP_c_f): Likewise.
8506         (RUN_TEST_LOOP_f_f1): Likewise.
8507         (RUN_TEST_LOOP_fF_f1): Likewise.
8508         (RUN_TEST_LOOP_fI_f1): Likewise.
8509         (RUN_TEST_LOOP_ffI_f1): Likewise.
8510         (RUN_TEST_LOOP_c_c): Likewise.
8511         (RUN_TEST_LOOP_cc_c): Likewise.
8512         (RUN_TEST_LOOP_f_i): Likewise.
8513         (RUN_TEST_LOOP_f_i_tg): Likewise.
8514         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8515         (RUN_TEST_LOOP_f_b): Likewise.
8516         (RUN_TEST_LOOP_f_b_tg): Likewise.
8517         (RUN_TEST_LOOP_f_l): Likewise.
8518         (RUN_TEST_LOOP_f_L): Likewise.
8519         (RUN_TEST_LOOP_fFF_11): Likewise.
8520         * math/gen-libm-test.pl (parse_args): Output four copies of
8521         expected results for each test.
8523         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8524         (__ASSUME_UTIMES): Remove.
8525         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8526         (__ASSUME_UTIMES): Likewise.
8528         * math/gen-auto-libm-tests.c: Update comment on output format.
8529         (output_for_one_input_case): Generate before-rounding and
8530         after-rounding information as conditions on output flags not
8531         floating-point format.
8532         * math/auto-libm-test-out: Regenerated.
8533         * math/gen-libm-test.pl (cond_value): New function.
8534         (or_cond_value): Use cond_value.
8535         (generate_testfile): Handle conditional exceptions.
8537 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8539         * math/libm-test.inc (max_valid_error): New variable.
8540         (init_max_error): Take new argument specifying whether function
8541         results are exactly determined.  Set max_valid_error and bound
8542         other variables for errors based on this argument.
8543         (set_max_error): Do not record results above max_valid_error.
8544         (check_float_internal): Only accept errors of up to 0.5ulps if
8545         also at most max_valid_error.
8546         (START): Take new argument EXACT and pass it to init_max_error.
8547         (acos_test): Update call to START.
8548         (acos_test_tonearest): Likewise.
8549         (acos_test_towardzero): Likewise.
8550         (acos_test_downward): Likewise.
8551         (acos_test_upward): Likewise.
8552         (acosh_test): Likewise.
8553         (asin_test): Likewise.
8554         (asin_test_tonearest): Likewise.
8555         (asin_test_towardzero): Likewise.
8556         (asin_test_downward): Likewise.
8557         (asin_test_upward): Likewise.
8558         (asinh_test): Likewise.
8559         (atan_test): Likewise.
8560         (atanh_test): Likewise.
8561         (atan2_test): Likewise.
8562         (cabs_test): Likewise.
8563         (cacos_test): Likewise.
8564         (cacosh_test): Likewise.
8565         (carg_test): Likewise.
8566         (casin_test): Likewise.
8567         (casinh_test): Likewise.
8568         (catan_test): Likewise.
8569         (catanh_test): Likewise.
8570         (cbrt_test): Likewise.
8571         (ccos_test): Likewise.
8572         (ccosh_test): Likewise.
8573         (ceil_test): Likewise.
8574         (cexp_test): Likewise.
8575         (cimag_test): Likewise.
8576         (clog_test): Likewise.
8577         (clog10_test): Likewise.
8578         (conj_test): Likewise.
8579         (copysign_test): Likewise.
8580         (cos_test): Likewise.
8581         (cos_test_tonearest): Likewise.
8582         (cos_test_towardzero): Likewise.
8583         (cos_test_downward): Likewise.
8584         (cos_test_upward): Likewise.
8585         (cosh_test): Likewise.
8586         (cosh_test_tonearest): Likewise.
8587         (cosh_test_towardzero): Likewise.
8588         (cosh_test_downward): Likewise.
8589         (cosh_test_upward): Likewise.
8590         (cpow_test): Likewise.
8591         (cproj_test): Likewise.
8592         (creal_test): Likewise.
8593         (csin_test): Likewise.
8594         (csinh_test): Likewise.
8595         (csqrt_test): Likewise.
8596         (ctan_test): Likewise.
8597         (ctan_test_tonearest): Likewise.
8598         (ctan_test_towardzero): Likewise.
8599         (ctan_test_downward): Likewise.
8600         (ctan_test_upward): Likewise.
8601         (ctanh_test): Likewise.
8602         (ctanh_test_tonearest): Likewise.
8603         (ctanh_test_towardzero): Likewise.
8604         (ctanh_test_downward): Likewise.
8605         (ctanh_test_upward): Likewise.
8606         (erf_test): Likewise.
8607         (erfc_test): Likewise.
8608         (exp_test): Likewise.
8609         (exp_test_tonearest): Likewise.
8610         (exp_test_towardzero): Likewise.
8611         (exp_test_downward): Likewise.
8612         (exp_test_upward): Likewise.
8613         (exp10_test): Likewise.
8614         (exp10_test_tonearest): Likewise.
8615         (exp10_test_towardzero): Likewise.
8616         (exp10_test_downward): Likewise.
8617         (exp10_test_upward): Likewise.
8618         (pow10_test): Likewise.
8619         (exp2_test): Likewise.
8620         (expm1_test): Likewise.
8621         (expm1_test_tonearest): Likewise.
8622         (expm1_test_towardzero): Likewise.
8623         (expm1_test_downward): Likewise.
8624         (expm1_test_upward): Likewise.
8625         (fabs_test): Likewise.
8626         (fdim_test): Likewise.
8627         (floor_test): Likewise.
8628         (fma_test): Likewise.
8629         (fma_test_towardzero): Likewise.
8630         (fma_test_downward): Likewise.
8631         (fma_test_upward): Likewise.
8632         (fmax_test): Likewise.
8633         (fmin_test): Likewise.
8634         (fmod_test): Likewise.
8635         (fpclassify_test): Likewise.
8636         (frexp_test): Likewise.
8637         (hypot_test): Likewise.
8638         (ilogb_test): Likewise.
8639         (isfinite_test): Likewise.
8640         (finite_test): Likewise.
8641         (isgreater_test): Likewise.
8642         (isgreaterequal_test): Likewise.
8643         (isinf_test): Likewise.
8644         (isless_test): Likewise.
8645         (islessequal_test): Likewise.
8646         (islessgreater_test): Likewise.
8647         (isnan_test): Likewise.
8648         (isnormal_test): Likewise.
8649         (issignaling_test): Likewise.
8650         (isunordered_test): Likewise.
8651         (j0_test): Likewise.
8652         (j1_test): Likewise.
8653         (jn_test): Likewise.
8654         (ldexp_test): Likewise.
8655         (lgamma_test): Likewise.
8656         (gamma_test): Likewise.
8657         (lrint_test): Likewise.
8658         (lrint_test_tonearest): Likewise.
8659         (lrint_test_towardzero): Likewise.
8660         (lrint_test_downward): Likewise.
8661         (lrint_test_upward): Likewise.
8662         (llrint_test): Likewise.
8663         (llrint_test_tonearest): Likewise.
8664         (llrint_test_towardzero): Likewise.
8665         (llrint_test_downward): Likewise.
8666         (llrint_test_upward): Likewise.
8667         (log_test): Likewise.
8668         (log10_test): Likewise.
8669         (log1p_test): Likewise.
8670         (log2_test): Likewise.
8671         (logb_test): Likewise.
8672         (logb_test_downward): Likewise.
8673         (lround_test): Likewise.
8674         (llround_test): Likewise.
8675         (modf_test): Likewise.
8676         (nearbyint_test): Likewise.
8677         (nextafter_test): Likewise.
8678         (nexttoward_test): Likewise.
8679         (pow_test): Likewise.
8680         (pow_test_tonearest): Likewise.
8681         (pow_test_towardzero): Likewise.
8682         (pow_test_downward): Likewise.
8683         (pow_test_upward): Likewise.
8684         (remainder_test): Likewise.
8685         (drem_test): Likewise.
8686         (remainder_test_tonearest): Likewise.
8687         (drem_test_tonearest): Likewise.
8688         (remainder_test_towardzero): Likewise.
8689         (drem_test_towardzero): Likewise.
8690         (remainder_test_downward): Likewise.
8691         (drem_test_downward): Likewise.
8692         (remainder_test_upward): Likewise.
8693         (drem_test_upward): Likewise.
8694         (remquo_test): Likewise.
8695         (rint_test): Likewise.
8696         (rint_test_tonearest): Likewise.
8697         (rint_test_towardzero): Likewise.
8698         (rint_test_downward): Likewise.
8699         (rint_test_upward): Likewise.
8700         (round_test): Likewise.
8701         (scalb_test): Likewise.
8702         (scalbn_test): Likewise.
8703         (scalbln_test): Likewise.
8704         (signbit_test): Likewise.
8705         (sin_test): Likewise.
8706         (sin_test_tonearest): Likewise.
8707         (sin_test_towardzero): Likewise.
8708         (sin_test_downward): Likewise.
8709         (sin_test_upward): Likewise.
8710         (sincos_test): Likewise.
8711         (sinh_test): Likewise.
8712         (sinh_test_tonearest): Likewise.
8713         (sinh_test_towardzero): Likewise.
8714         (sinh_test_downward): Likewise.
8715         (sinh_test_upward): Likewise.
8716         (sqrt_test): Likewise.
8717         (sqrt_test_tonearest): Likewise.
8718         (sqrt_test_towardzero): Likewise.
8719         (sqrt_test_downward): Likewise.
8720         (sqrt_test_upward): Likewise.
8721         (tan_test): Likewise.
8722         (tan_test_tonearest): Likewise.
8723         (tan_test_towardzero): Likewise.
8724         (tan_test_downward): Likewise.
8725         (tan_test_upward): Likewise.
8726         (tanh_test): Likewise.
8727         (tgamma_test): Likewise.
8728         (trunc_test): Likewise.
8729         (y0_test): Likewise.
8730         (y1_test): Likewise.
8731         (yn_test): Likewise.
8732         (significand_test): Likewise.
8734         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8735         individual tests in comment.
8736         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8737         (prev_max_error): New variable.
8738         (prev_real_max_error): Likewise.
8739         (prev_imag_max_error): Likewise.
8740         (compare_ulp_data): Don't refer to test names in comment.
8741         (find_test_ulps): Remove function.
8742         (find_function_ulps): Likewise.
8743         (find_complex_function_ulps): Likewise.
8744         (init_max_error): Take function name as argument.  Look up ulps
8745         for that function.
8746         (print_ulps): Remove function.
8747         (print_max_error): Use prev_max_error instead of calling
8748         find_function_ulps.
8749         (print_complex_max_error): Use prev_real_max_error and
8750         prev_imag_max_error instead of calling find_complex_function_ulps.
8751         (check_float_internal): Take max_ulp parameter instead of calling
8752         find_test_ulps.  Don't call print_ulps.
8753         (check_float): Update call to check_float_internal.
8754         (check_complex): Update calls to check_float_internal.
8755         (START): Pass argument to init_max_error.
8756         * math/gen-libm-test.pl (%results): Don't include "kind"
8757         information.
8758         (parse_ulps): Don't handle ulps of individual tests.
8759         (print_ulps_file): Likewise.
8760         (output_ulps): Likewise.
8761         * math/README.libm-test: Update.
8762         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8763         individual tests.
8764         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8765         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8766         * sysdeps/arm/libm-test-ulps: Likewise.
8767         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8768         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8769         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8770         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8771         * sysdeps/microblaze/libm-test-ulps: Likewise.
8772         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8773         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8774         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8775         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8776         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8777         * sysdeps/sh/libm-test-ulps: Likewise.
8778         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8779         * sysdeps/tile/libm-test-ulps: Likewise.
8780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8782 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8784         * math/libm-test.inc (print_complex_max_error): Check separately
8785         whether real and imaginary errors are within allowed range and
8786         pass 0 to print_complex_function_ulps instead of value within
8787         allowed range.
8789 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8791         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8792         formatting.
8793         (get_handles_fopen): Likewise.
8794         (do_write_test): Likewise.
8796         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8798         * libio/fileops.c (do_ftell): Use cached offset when
8799         available.
8800         * libio/iofwide.c (do_ftell_wide): Likewise.
8801         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8802         _IO_file_attach.
8803         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8805         [BZ #16532]
8806         * libio/libioP.h (get_file_offset): New function.
8807         * libio/fileops.c (get_file_offset): Likewise.
8808         (do_ftell): Likewise.
8809         (_IO_new_file_seekoff): Split out ftell logic.
8810         * libio/wfileops.c (do_ftell_wide): Likewise.
8811         (_IO_wfile_seekoff): Split out ftell logic.
8812         * libio/tst-ftell-active-handler.c: New test case.
8813         * libio/Makefile (tests): Add it.
8815 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8817         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8818         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8820 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8822         [BZ #16639]
8823         * nscd/connections.c (nscd_init): Call do_exit.
8824         (start_threads): Call do_exit and notify_parent.
8825         (begin_drop_privileges): Call do_exit.
8826         (finish_drop_privileges): Likewise.
8827         * nscd/selinux.c (preserve_capabilities): Likewise.
8828         (install_real_capabilities): Likewise.
8829         (nscd_selinux_enabled): Likewise.
8830         (avc_create_thread): Likewise.
8831         (avc_alloc_lock): Likewise.
8832         (nscd_avc_init): Likewise.
8833         * nscd/nscd.c (parent_fd): New static variable.
8834         (main): Create a pipe between parent and child processes.
8835         Skip closing parent_fd.
8836         (monitor_child): New function.
8837         (do_exit): Likewise.
8838         (notify_parent): Likewise.
8839         * nscd/nscd.h (notify_parent): Likewise.
8840         (do_exit): Likewise.
8842 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8844         * malloc/malloc.c (__libc_calloc): Revert last change.
8846 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8850 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8852         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8854         implementation.
8855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8856         (__libc_ifunc_impl_list): Likewise.
8857         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8858         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8859         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8860         * string/strrchr.c: Define STRRCHR.
8862 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8864         * benchtest/bench-strtok.c (simple_strtok): Delete.
8865         (strtok_string): Use as benchmark.
8866         * string/strtok (STRTOK): New macro.
8868 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8870         * manual/threads.texi: Add header and standard comments to all
8871         functions.
8873         * elf/dl-lookup.c (check_match): New function.
8874         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8875         (do_lookup_x): Remove nested function check_match. Use non-nested
8876         function check_match.
8878 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8880         * csu/Makefile (generated, before-compile): Use += rather than =.
8881         * catgets/Makefile (generated, generated-dirs): Likewise.
8882         * debug/Makefile (generated): Likewise.
8883         * dlfcn/Makefile (generated): Likewise.
8884         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8885         * iconvdata/Makefile (before-compile, generated): Likewise.
8886         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8887         * libio/Makefile (generated): Likewise.
8888         * malloc/Makefile (generated): Likewise.
8889         * manual/Makefile (generated, generated-dirs): Likewise.
8890         * misc/Makefile (generated): Likewise.
8891         * posix/Makefile (generated): Likewise.
8892         * resolv/Makefile (generated): Likewise.
8893         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8894         * timezone/Makefile (generated, generated-dirs): Likewise.
8896         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8898 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8901         power8 implementation.
8902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8903         file: POWER8 llround ifunc implementation.
8904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8905         (__lllround): Add POWER8 implementation.
8906         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8907         POWER8 llround implementation.
8909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8910         power8 implementation.
8911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8912         file: POWER8 llrint ifunc implementation.
8913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8914         Add POWER8 implementation.
8915         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8916         POWER8 llrint implementation.
8918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8919         power8 implementation.
8920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8921         file: POWER8 finite ifunc implementation.
8922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8923         Add POWER8 implementation.
8924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8925         Likewise.
8926         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8927         POWER8 finite implementation.
8928         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8931         power8 implementation.
8932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8933         file: POWER8 isinf ifunc implementation.
8934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8935         POWER8 implementation.
8936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8937         Likewise.
8938         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8939         isinf implementation.
8940         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8942         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8943         (INIT_ARCH): Add hwcap2 initialization.
8944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8945         power8 implementation.
8946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8947         file: POWER8 isnan ifunc implementation.
8948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8949         POWER8 implementation.
8950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8951         Likewise.
8952         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8953         isnan implementation.
8954         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8956 2014-02-27  Joey Ye  <joey.ye@arm.com>
8958         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8959         (_FP_NANFRAC_Q): Set to zero.
8961 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8963         [BZ #16623]
8964         * math/auto-libm-test-in: New test inputs.
8965         * math/auto-libm-test-out: Regenerate.
8966         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8967         and DA.
8968         (__cos): Likewise.
8969         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8971 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8973         * scripts/evaluate-test.sh: Take new argument indicating whether
8974         failure is expected.
8975         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8976         indicating whether failure is expected.
8977         * conform/Makefile (test-xfail-run-conformtest): New variable.
8978         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8979         level.
8980         * posix/Makefile (test-xfail-annexc): New variable.
8981         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8983 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8985         * argp/Makefile: Include Makeconfig immediately after defining
8986         subdir.
8987         * assert/Makefile: Likewise.
8988         * benchtests/Makefile: Likewise.
8989         * catgets/Makefile: Likewise.
8990         * conform/Makefile: Likewise.
8991         * crypt/Makefile: Likewise.
8992         * csu/Makefile: Likewise.
8993         (all): Remove target.
8994         * ctype/Makefile: Include Makeconfig immediately after defining
8995         subdir.
8996         * debug/Makefile: Likewise.
8997         * dirent/Makefile: Likewise.
8998         * dlfcn/Makefile: Likewise.
8999         * gmon/Makefile: Likewise.
9000         * gnulib/Makefile: Likewise.
9001         * grp/Makefile: Likewise.
9002         * gshadow/Makefile: Likewise.
9003         * hesiod/Makefile: Likewise.
9004         * hurd/Makefile: Likewise.
9005         (all): Remove target.
9006         * iconvdata/Makefile: Include Makeconfig immediately after
9007         defining subdir.
9008         * inet/Makefile: Likewise.
9009         * intl/Makefile: Likewise.
9010         * io/Makefile: Likewise.
9011         * libio/Makefile: Likewise.
9012         (all): Remove target.
9013         * locale/Makefile: Include Makeconfig immediately after defining
9014         subdir.
9015         * login/Makefile: Likewise.
9016         * mach/Makefile: Likewise.
9017         (all): Remove target.
9018         * malloc/Makefile: Include Makeconfig immediately after defining
9019         subdir.
9020         (all): Remove target.
9021         * manual/Makefile: Include Makeconfig immediately after defining
9022         subdir.
9023         * math/Makefile: Likewise.
9024         * misc/Makefile: Likewise.
9025         * nis/Makefile: Likewise.
9026         * nss/Makefile: Likewise.
9027         * po/Makefile: Likewise.
9028         (all): Remove target.
9029         * posix/Makefile: Include Makeconfig immediately after defining
9030         subdir.
9031         * pwd/Makefile: Likewise.
9032         * resolv/Makefile: Likewise.
9033         * resource/Makefile: Likewise.
9034         * rt/Makefile: Likewise.
9035         * setjmp/Makefile: Likewise.
9036         * shadow/Makefile: Likewise.
9037         * signal/Makefile: Likewise.
9038         * socket/Makefile: Likewise.
9039         * soft-fp/Makefile: Likewise.
9040         * stdio-common/Makefile: Likewise.
9041         * stdlib/Makefile: Likewise.
9042         * streams/Makefile: Likewise.
9043         * string/Makefile: Likewise.
9044         * sunrpc/Makefile: Likewise.
9045         (all): Remove target.
9046         * sysvipc/Makefile: Include Makeconfig immediately after defining
9047         subdir.
9048         * termios/Makefile: Likewise.
9049         * time/Makefile: Likewise.
9050         * timezone/Makefile: Likewise.
9051         (all): Remove target.
9052         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9053         subdir.
9054         * wctype/Makefile: Likewise.
9056 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9058         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9059         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9060         (libc_feholdexcept_setround_mips): Ditto.
9061         (libc_feholdsetround): New.
9062         (libc_feholdsetroundf): New.
9063         (libc_feholdsetroundl): New.
9064         (libc_feupdateenv_test_mips): New.
9065         (libc_feupdateenv_test): New.
9066         (libc_feupdateenv_testf): New.
9067         (libc_feupdateenv_testl): New.
9068         (libc_feresetround): New.
9069         (libc_feresetroundf): New.
9070         (libc_feresetroundl): New.
9071         (libc_fetestexcept_mips): New.
9072         (libc_fetestexcept): New.
9073         (libc_fetestexceptf): New.
9074         (libc_fetestexceptl): New.
9075         (HAVE_RM_CTX): New.
9076         (libc_feholdexcept_setround_mips_ctx): New.
9077         (libc_feholdexcept_setround_ctx): New.
9078         (libc_feholdexcept_setroundf_ctx): New.
9079         (libc_feholdexcept_setroundl_ctx): New.
9080         (libc_fesetenv_mips_ctx): New.
9081         (libc_fesetenv_ctx): New.
9082         (libc_fesetenv_ctxf): New.
9083         (libc_fesetenv_ctxl): New.
9084         (libc_feupdateenv_mips_ctx): New.
9085         (libc_feupdateenv_ctx): New.
9086         (libc_feupdateenvf_ctx): New.
9087         (libc_feupdateenvl_ctx): New.
9088         (libc_feholdsetround_mips_ctx): New.
9089         (libc_feholdsetround_ctx): New.
9090         (libc_feholdsetroundf_ctx): New.
9091         (libc_feholdsetroundl_ctx): New.
9092         (libc_feresetround_mips_ctx): New.
9093         (libc_feresetround_ctx): New.
9094         (libc_feresetroundf_ctx): New.
9095         (libc_feresetroundl_ctx): New.
9097 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9099         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9101         * manual/ipc.texi: New file.
9102         * manual/Makefile (chapters): Add ipc.
9103         * manual/job.texi: Add "Inter-Process Communication" to next.
9104         * manual/process.texi: Add "Inter-Process Communication" to prev.
9106 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9110 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9112         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9114         * manual/arith.texi: Fix spaces after sentences.
9115         * manual/charset.texi: Likewise.
9116         * manual/errno.texi: Likewise.
9117         * manual/install.texi: Likewise.
9118         * manual/llio.texi: Likewise.
9119         * manual/locale.texi: Likewise.
9120         * manual/maint.texi: Likewise.
9121         * manual/math.texi: Likewise.
9122         * manual/memory.texi: Likewise.
9123         * manual/message.texi: Likewise.
9124         * manual/probes.texi: Likewise.
9125         * manual/resource.texi: Likewise.
9126         * manual/signal.texi: Likewise.
9127         * manual/socket.texi: Likewise.
9128         * manual/stdio.texi: Likewise.
9129         * manual/string.texi: Likewise.
9130         * manual/time.texi: Likewise.
9131         * manual/users.texi: Likewise.
9133 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9135         [BZ #16632]
9136         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9137         _DEFAULT_SOURCE is defined.
9139 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9140             Carlos O'Donell  <carlos@redhat.com>
9142         [BZ #16613]
9143         * elf/dl-tls.c (_dl_count_modids): New function.
9144         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9145         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9146         audit library and increment generation counter.
9147         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9148         * elf/tst-audit9.c: New file.
9149         * elf/tst-auditmod9a.c: New file.
9150         * elf/tst-auditmod9b.c: New file.
9151         * elf/Makefile: Add rules to build and run tst-audit9.
9153 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9155         [BZ #15347]
9156         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9158 2014-02-25  Will Newton  <will.newton@linaro.org>
9160         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9161         (__longjmp): Restore sp and lr before restoring callee
9162         saved registers.  Add longjmp and longjmp_target
9163         SystemTap probe point.
9164         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9165         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9166         Define to zero to match jmpbuf layout.
9167         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9168         (__sigsetjmp): Save sp and lr before saving callee
9169         saved registers.  Add setjmp SystemTap probe point.
9171 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9173         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9175 2014-02-24  Andreas Schwab  <schwab@suse.de>
9177         [BZ #15804]
9178         * elf/pldd.c (wait_for_ptrace_stop): New function.
9179         (main): Call it after attaching.
9181 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9183         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9184         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9185         Versions files is now verboten.
9186         * hurd/Versions (libc: GLIBC_2.0):
9187         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9188         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9189         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9190         * mach/Versions: Likewise.
9192         * csu/Versions: Remove unused %include.
9193         * resolv/Versions: Likewise.
9195 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9197         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9198         ($(objpfx)check-local-headers.out): Likewise.
9199         ($(objpfx)begin-end-check.out): Likewise.
9200         * Makerules (check-abi-%.out): Likewise.
9201         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9202         ($(objpfx)test2.cat): Likewise.
9203         ($(objpfx)de/libc.cat): Likewise.
9204         ($(objpfx)test-gencat.out): Likewise.
9205         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9206         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9207         ($(objpfx)noload-mem): Likewise.
9208         ($(objpfx)tst-pathopt.out): Likewise.
9209         ($(objpfx)tst-rtld-load-self.out): Likewise.
9210         ($(objpfx)tst-array1-cmp.out): Likewise.
9211         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9212         ($(objpfx)tst-array2-cmp.out): Likewise.
9213         ($(objpfx)tst-array3-cmp.out): Likewise.
9214         ($(objpfx)tst-array4-cmp.out): Likewise.
9215         ($(objpfx)tst-array5-cmp.out): Likewise.
9216         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9217         ($(objpfx)check-textrel.out): Likewise.
9218         ($(objpfx)check-execstack.out): Likewise.
9219         ($(objpfx)check-localplt.out): Likewise.
9220         ($(objpfx)order2-cmp.out): Likewise.
9221         ($(objpfx)tst-leaks1-mem): Likewise.
9222         ($(objpfx)tst-leaks1-static-mem): Likewise.
9223         ($(objpfx)tst-initorder-cmp.out): Likewise.
9224         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9225         ($(objpfx)tst-unused-dep.out): Likewise.
9226         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9227         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9228         * iconv/Makefile (test-iconvconfig): Likewise.
9229         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9230         ($(objpfx)iconv-test.out): Likewise.
9231         ($(objpfx)tst-tables.out): Likewise.
9232         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9233         ($(objpfx)tst-gettext.out): Likewise.
9234         ($(objpfx)tst-translit.out): Likewise.
9235         ($(objpfx)tst-gettext2.out): Likewise.
9236         ($(objpfx)tst-gettext4.out): Likewise.
9237         ($(objpfx)tst-gettext6.out): Likewise.
9238         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9239         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9240         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9241         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9242         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9243         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9244         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9245         ($(objpfx)wordexp-tst.out): Likewise.
9246         ($(objpfx)annexc.out): Likewise.
9247         ($(objpfx)tst-fnmatch-mem): Likewise.
9248         ($(objpfx)bug-regex2-mem): Likewise.
9249         ($(objpfx)bug-regex14-mem): Likewise.
9250         ($(objpfx)bug-regex21-mem): Likewise.
9251         ($(objpfx)bug-regex31-mem): Likewise.
9252         ($(objpfx)tst-vfork3-mem): Likewise.
9253         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9254         ($(objpfx)tst-pcre-mem): Likewise.
9255         ($(objpfx)tst-boost-mem): Likewise.
9256         ($(objpfx)tst-getconf.out): Likewise.
9257         ($(objpfx)bug-ga2-mem): Likewise.
9258         ($(objpfx)bug-glob2-mem): Likewise.
9259         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9260         ($(objpfx)mtrace-tst-leaks2): Likewise.
9261         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9262         ($(objpfx)tst-printf.out): Likewise.
9263         ($(objpfx)tst-setvbuf1.out): Likewise.
9264         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9265         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9266         ($(objpfx)tst-fmtmsg.out): Likewise.
9267         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9268         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9270         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9271         * bits/sigaction.h [__USE_MISC]: Likewise.
9272         * bits/waitstatus.h: Update #endif comments.
9273         * ctype/ctype.h: Likewise.
9274         * dirent/dirent.h: Likewise.
9275         [__USE_MISC]: Remove redundant conditionals.
9276         * grp/grp.h: Update #endif comments.
9277         [__USE_GNU]: Remove redundant conditionals.
9278         [__USE_MISC]: Likewise.
9279         * inet/netinet/in.h [__USE_GNU]: Likewise.
9280         * io/sys/stat.h [__USE_MISC]: Likewise.
9281         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9282         * libio/bits/stdio.h: Update #endif comments.
9283         [__USE_MISC]: Remove redundant conditionals.
9284         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9285         * libio/stdio.h: Update #endif comments.
9286         [__USE_MISC]: Remove redundant conditionals.
9287         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9288         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9289         * math/math.h: Update #else and #endif comments.
9290         [__USE_MISC]: Remove redundant conditionals.
9291         * misc/sys/uio.h: Update #endif comments.
9292         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9293         * posix/glob.h [__USE_MISC]: Likewise.
9294         * posix/sys/types.h: Update #endif comments.
9295         [__USE_MISC]: Remove redundant conditionals.
9296         * posix/sys/wait.h: Update #endif comments.
9297         [__USE_MISC]: Remove redundant conditionals.
9298         * posix/unistd.h: Update #endif comments.
9299         [__USE_MISC]: Remove redundant conditionals.
9300         * pwd/pwd.h [__USE_GNU]: Likewise.
9301         [__USE_MISC]: Likewise.
9302         * resolv/netdb.h [__USE_GNU]: Likewise.
9303         * signal/signal.h: Update #endif comments.
9304         [__USE_MISC]: Remove redundant conditionals.
9305         * stdlib/stdlib.h: Update #else and #endif comments.
9306         [__USE_MISC]: Remove redundant conditionals.
9307         [__USE_GNU]: Likewise.
9308         * string/bits/string2.h [__USE_MISC]: Likewise.
9309         * string/string.h: Update #endif comments.
9310         [__USE_MISC]: Remove redundant conditionals.
9311         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9312         Likewise.
9313         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9314         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9315         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9316         Likewise.
9317         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9318         Likewise.
9319         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9320         comments.
9321         [__USE_MISC]: Remove redundant conditionals.
9322         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9323         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9324         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9325         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9326         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9327         Likewise.
9328         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9329         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9330         Likewise.
9331         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9332         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9333         Likewise.
9334         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9335         Likewise.
9336         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9337         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9338         Likewise.
9339         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9340         Likewise.
9341         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9342         * sysdeps/x86/bits/string.h: Update #endif comments.
9343         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9344         conditionals.
9345         * time/sys/time.h: Update #endif comments.
9346         * time/time.h: Likewise.
9347         [__USE_MISC]: Remove redundant conditionals.
9349 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9351         [BZ #16600]
9352         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9354 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9356         * Versions.def (librt): Add GLIBC_2.17.
9358 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9360         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9361         synonym for _SYS_AUXV_H to allow direct inclusion.
9362         * sysdeps/sparc/bits/hwcap.h: Likewise.
9363         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9364         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9365         * sysdeps/sparc/sysdep.h: Likewise.
9367 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9369         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9371 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9373         * benchtests/bench-strrchr.c: Print length instead of position.
9375 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #16611]
9378         * sysdeps/unix/sysv/linux/kernel-features.h
9379         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9380         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9381         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9382         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9383         Likewise.
9384         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9385         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9386         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9387         (__ASSUME_SENDMMSG): Define instead of using previous
9388         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9389         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9390         (__ASSUME_SENDMMSG_SYSCALL): Define.
9391         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9392         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9393         Likewise.
9394         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9395         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9396         Likewise.
9397         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9398         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9399         Likewise.
9400         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9401         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9402         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9403         [__ASSUME_SENDMMSG]: Change conditionals to
9404         [__ASSUME_SENDMMSG_SOCKETCALL].
9405         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9406         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9407         Define.
9408         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9409         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9410         Likewise.
9411         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9412         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9413         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9414         [!__ASSUME_SENDMMSG]: Change conditional to
9415         [!__ASSUME_SENDMMSG_SOCKETCALL].
9416         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9417         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9418         Define.
9420         [BZ #16610]
9421         * sysdeps/unix/sysv/linux/kernel-features.h
9422         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9423         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9424         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9425         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9426         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9427         [__i386__ || __sparc__]
9428         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9429         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9430         (__ASSUME_RECVMMSG): Define instead of using previous
9431         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9432         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9433         (__ASSUME_RECVMMSG_SYSCALL): Define.
9434         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9435         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9436         Likewise.
9437         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9438         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9439         Likewise.
9440         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9441         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9442         Likewise.
9443         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9444         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9445         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9446         [__ASSUME_RECVMMSG]: Change condition to
9447         [__ASSUME_RECVMMSG_SOCKETCALL].
9448         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9449         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9450         Define.
9451         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9452         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9454         Likewise.
9455         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9456         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9457         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9458         [!__ASSUME_RECVMMSG]: Change condition to
9459         [!__ASSUME_RECVMMSG_SOCKETCALL].
9460         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9461         (__ASSUME_RECVMMSG_SYSCALL): Define.
9463         [BZ #16609]
9464         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9465         __powerpc__ || __s390__ || __sh__ || __sparc__]
9466         (__ASSUME_SOCKETCALL): Define.
9467         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9468         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9469         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9470         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9471         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9472         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9473         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9474         (__ASSUME_ACCEPT4): Define instead of using previous
9475         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9476         __powerpc__ || __sparc__ || __s390__)] condition.
9477         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9478         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9479         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9480         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9481         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9482         [!__ASSUME_ACCEPT4]: Change condition to
9483         [!__ASSUME_ACCEPT4_SOCKETCALL].
9484         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9485         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9486         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9487         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9488         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9489         __ASSUME_ACCEPT4_SYSCALL.
9490         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9491         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9492         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9493         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9494         __ASSUME_ACCEPT4_SYSCALL.
9495         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9496         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9497         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9498         [__ASSUME_ACCEPT4]: Change condition to
9499         [__ASSUME_ACCEPT4_SOCKETCALL].
9500         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9501         (__ASSUME_SOCKETCALL): Define.
9502         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9503         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9504         (__ASSUME_SOCKETCALL): Define.
9505         (__ASSUME_ACCEPT4): Remove.
9506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9507         Define.
9508         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9509         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9510         Likewise.
9511         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9512         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9514         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9515         macro.
9516         (HWCAP_ARM_LPAE): Likewise.
9517         (HWCAP_ARM_EVTSTRM): Likewise.
9518         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9519         Add vpfd32, lpae and evtstrm.
9520         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9521         Increase to 22.
9523 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9525         * math/auto-libm-test-in: Add tests of clog10.
9526         * math/auto-libm-test-out: Regenerated.
9527         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9528         * sysdeps/i386/fpu/libm-test-ulps: Update.
9529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9531 2014-02-18  Andreas Schwab  <schwab@suse.de>
9533         [BZ #16574]
9534         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9535         Store non-zero if the second buffer was newly allocated.
9536         (send_dg): Likewise.
9537         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9538         to send_vc and send_dg.
9539         (res_nsend): Pass NULL for ansp2_malloced.
9540         * resolv/res_query.c (__libc_res_nquery): Add parameter
9541         answerp2_malloced and pass it down to __libc_res_nsend.
9542         (res_nquery): Pass additional NULL to __libc_res_nquery.
9543         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9544         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9545         second answer buffer if answerp2_malloced was set.
9546         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9547         (__libc_res_nquerydomain): Add parameter
9548         answerp2_malloced and pass it down to __libc_res_nquery.
9549         (res_nquerydomain): Pass additional NULL to
9550         __libc_res_nquerydomain.
9551         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9552         additional NULL to __libc_res_nsend and __libc_res_nquery.
9553         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9554         additional NULL to __libc_res_nsearch.
9555         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9556         parameter of __libc_res_nsearch to check for separately allocated
9557         second buffer.
9558         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9559         __libc_res_nquery.
9560         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9561         additional NULL to __libc_res_nquery.
9562         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9563         __libc_res_nsearch.
9564         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9565         * include/resolv.h: Update prototypes of __libc_res_nquery,
9566         __libc_res_nsearch, __libc_res_nsend.
9568 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9570         * math/auto-libm-test-in: Add tests of fma.
9571         * math/auto-libm-test-out: Regenerated.
9572         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9573         (fma_towardzero_test_data): Likewise.
9574         (fma_downward_test_data): Likewise.
9575         (fma_upward_test_data): Likewise.
9576         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9577         mpc_mode.
9578         (rounding_modes): Add values for new field.
9579         (func_calc_method): Add value mpfr_fff_f.
9580         (func_calc_desc): Add mpfr_fff_f union field.
9581         (test_function): Add field exact_args.
9582         (FUNC): Add macro argument EXACT_ARGS.
9583         (FUNC_mpfr_f_f): Update call to FUNC.
9584         (FUNC_mpfr_f_f): Likewise.
9585         (FUNC_mpfr_ff_f): Likewise.
9586         (FUNC_mpfr_if_f): Likewise.
9587         (FUNC_mpc_c_f): Likewise.
9588         (FUNC_mpc_c_c): Likewise.
9589         (test_functions): Add fma.  Update calls to FUNC.
9590         (handle_input_arg): Add argument exact_args.
9591         (add_test): Update call to handle_input_arg.
9592         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9593         (output_for_one_input_case): Update call to calc_generic_results.
9594         Recalculate exact zero results in each rounding mode.
9596         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9597         non-negative before setting low bit.
9598         * math/auto-libm-test-in: Mark one asin test possibly having
9599         spurious underflow.
9600         * math/auto-libm-test-out: Regenerated.
9601         * sysdeps/i386/fpu/libm-test-ulps: Update.
9602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9604 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9606         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9607         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9608         ports/sysdeps/unix/sysv/linux/microblaze.
9609         * README: Add missing listing for microblaze*-*-linux-gnu.
9611 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9613         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9614         * sysdeps/unix/sysv/linux/ia64: Move directory from
9615         ports/sysdeps/unix/sysv/linux/ia64.
9616         * README: Update listing for ia64-*-linux-gnu.
9618 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9619             Joseph Myers  <joseph@codesourcery.com>
9621         * Makeconfig (test-name): New variable.
9622         (evaluate-test): Likewise.
9623         * Makerules (do-test-clean): Remove .test-result files.
9624         (common-mostlyclean): Likewise.
9625         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9626         * scripts/evaluate-test.sh: New file.
9628 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9630         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9631         separate $(objpfx)tst-fopenloc-cmp.out and
9632         $(objpfx)tst-fopenloc-mem.out targets.
9633         (tests): Update dependencies.
9634         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9635         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9636         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9637         (tst-rxspencer-no-utf8-ARGS): New variable.
9638         (tst-rxspencer-no-utf8-ENV): Likewise.
9639         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9640         instead of $(objpfx)tst-rxspencer-mem.
9641         ($(objpfx)tst-rxspencer-mem): Change target to
9642         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9643         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9644         * posix/tst-rxspencer-no-utf8.c: New file.
9646         * elf/Makefile ($(objpfx)order.out): Remove rule.
9647         [$(run-built-tests) = yes] (tests): Depend on
9648         $(objpfx)order-cmp.out.
9649         ($(objpfx)order-cmp.out): New rule.
9650         [$(run-built-tests) = yes] (tests): Depend on
9651         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9652         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9653         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9654         $(objpfx)tst-array5-static-cmp.out.
9655         ($(objpfx)tst-array1.out): Remove rule.
9656         ($(objpfx)tst-array1-cmp.out): New rule.
9657         ($(objpfx)tst-array1-static.out): Remove rule.
9658         ($(objpfx)tst-array1-static-cmp.out): New rule.
9659         ($(objpfx)tst-array2.out): Remove rule.
9660         ($(objpfx)tst-array2-cmp.out): New rule.
9661         ($(objpfx)tst-array3.out): Remove rule.
9662         ($(objpfx)tst-array3-cmp.out): New rule.
9663         ($(objpfx)tst-array4.out): Remove rule.
9664         ($(objpfx)tst-array4-cmp.out): New rule.
9665         ($(objpfx)tst-array5.out): Remove rule.
9666         ($(objpfx)tst-array5-cmp.out): New rule.
9667         ($(objpfx)tst-array5-static.out): Remove rule.
9668         ($(objpfx)tst-array5-static-cmp.out): New rule.
9669         [$(run-built-tests) = yes] (tests): Depend on
9670         $(objpfx)order2-cmp.out.
9671         ($(objpfx)order2.out): Remove rule.
9672         ($(objpfx)order2-cmp.out): New rule.
9673         ($(objpfx)tst-initorder.out): Remove rule.
9674         [$(run-built-tests) = yes] (tests): Depend on
9675         $(objpfx)tst-initorder-cmp.out.
9676         ($(objpfx)tst-initorder-cmp.out): New rule.
9677         ($(objpfx)tst-initorder2.out): Remove rule.
9678         [$(run-built-tests) = yes] (tests): Depend on
9679         $(objpfx)tst-initorder2-cmp.out.
9680         ($(objpfx)tst-initorder2-cmp.out): New rule.
9681         [$(run-built-tests) = yes] (tests): Depend on
9682         $(objpfx)tst-unused-dep-cmp.out.
9683         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9684         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9685         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9686         on $(objpfx)tst-setvbuf1-cmp.out.
9687         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9688         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9689         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9690         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9691         ($(objpfx)tst-svc.out): Remove rule.
9692         ($(objpfx)tst-svc-cmp.out): New rule.
9694 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9696         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9697         * ctype/ctype.h [__USE_MISC]: Likewise.
9698         * dirent/dirent.h [__USE_MISC]: Likewise.
9699         * grp/grp.h [__USE_MISC]: Likewise.
9700         * io/fcntl.h [__USE_MISC]: Likewise.
9701         * io/sys/stat.h [__USE_MISC]: Likewise.
9702         * libio/stdio.h [__USE_MISC]: Likewise.
9703         * posix/unistd.h [__USE_MISC]: Likewise.
9704         * pwd/pwd.h [__USE_MISC]: Likewise.
9705         * stdlib.h [__USE_MISC]: Likewise.
9706         * string/bits/string2.h [__USE_MISC]: Likewise.
9707         * string/string.h [__USE_MISC]: Likewise.
9708         * time/time.h [__USE_MISC]: Likewise.
9710 2014-02-13  Andreas Schwab  <schwab@suse.de>
9712         [BZ #16574]
9713         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9714         second answer buffer if it was separately allocated.
9716 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9718         * sysdeps/mips/math-tests.h: Include <features.h>.
9719         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9720         (ROUNDING_TESTS_long_double): Do not define.
9721         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9722         (EXCEPTION_TESTS_long_double): Likewise.
9723         * sysdeps/mips/mips64/libm-test-ulps: Update.
9725         * include/features.h (__USE_BSD): Remove macro definitions.
9726         (__USE_SVID): Likewise.
9727         (_BSD_SOURCE): Likewise.
9728         (_SVID_SOURCE): Likewise.
9729         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9730         from definition of _DEFAULT_SOURCE.
9731         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9732         [_DEFAULT_SOURCE].
9733         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9734         * bits/mman.h [__USE_BSD]: Likewise.
9735         * bits/termios.h [__USE_BSD]: Likewise.
9736         * bits/waitstatus.h [__USE_BSD]: Likewise.
9737         * ctype/ctype.h [__USE_SVID]: Likewise.
9738         * dirent/dirent.h [__USE_BSD]: Likewise.
9739         * grp/grp.h [__USE_SVID]: Likewise.
9740         [__USE_BSD]: Likewise.
9741         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9742         * io/fcntl.h [__USE_BSD]: Likewise.
9743         * io/ftw.h [__USE_BSD]: Likewise.
9744         * io/sys/stat.h [__USE_BSD]: Likewise.
9745         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9746         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9747         * libio/stdio.h [__USE_SVID]: Likewise.
9748         [__USE_BSD]: Likewise.
9749         * math/math.h [__USE_SVID]: Likewise.
9750         [__USE_BSD]: Likewise.
9751         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9752         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9753         * misc/search.h [__USE_SVID]: Likewise.
9754         * misc/sys/mman.h [__USE_BSD]: Likewise.
9755         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9756         * misc/sys/uio.h [__USE_BSD]: Likewise.
9757         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9758         * posix/glob.h [__USE_BSD]: Likewise.
9759         * posix/regex.h [__USE_BSD]: Likewise.
9760         * posix/sys/types.h [__USE_BSD]: Likewise.
9761         [__USE_SVID]: Likewise.
9762         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9763         * posix/sys/wait.h [__USE_BSD]: Likewise.
9764         [__USE_SVID]: Likewise.
9765         * posix/unistd.h [__USE_BSD]: Likewise.
9766         [__USE_SVID]: Likewise.
9767         * pwd/pwd.h [__USE_SVID]: Likewise.
9768         * resolv/netdb.h [__USE_BSD]: Likewise.
9769         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9770         * signal/signal.h [__USE_BSD]: Likewise.
9771         [__USE_SVID]: Likewise.
9772         * socket/sys/socket.h [__USE_BSD]: Likewise.
9773         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9774         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9775         [__USE_SVID]: Likewise.
9776         * string/bits/string2.h [__USE_BSD]: Likewise.
9777         [__USE_SVID]: Likewise.
9778         * string/bits/string3.h [__USE_BSD]: Likewise.
9779         * string/endian.h [__USE_BSD]: Likewise.
9780         * string/string.h [__USE_SVID]: Likewise.
9781         [__USE_BSD]: Likewise.
9782         * string/strings.h [__USE_BSD]: Likewise.
9783         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9784         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9785         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9786         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9787         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9788         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9789         Likewise.
9790         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9791         Likewise.
9792         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9793         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9794         Likewise.
9795         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9796         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9797         Likewise.
9798         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9799         Likewise.
9800         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9801         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9802         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9803         Likewise.
9804         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9805         Likewise.
9806         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9807         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9808         * termios/termios.h [__USE_BSD]: Likewise.
9809         * time/sys/time.h [__USE_BSD]: Likewise.
9810         * time/time.h [__USE_BSD]: Likewise.
9811         [__USE_SVID]: Likewise.
9813         * Makefile (subdir_targets): Remove subdir_lint.out.
9815         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9816         (do-tst-printf): Likewise.
9817         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9818         $(objpfx)tst-printf.out.
9820         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9822         * Makerules (check-abi-%): Change target to
9823         $(objpfx)check-abi-%.out.
9824         (check-abi target): Update dependencies.
9825         (check-abi-pattern variable): Redirect output of diff to $@.
9826         (check-abi variable): Likewise.
9827         * elf/Makefile (check-abi): Update dependencies.
9829         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9830         unused.
9831         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9832         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9833         subnormal range.
9834         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9835         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9836         value has largest subnormal exponent.
9837         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9838         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9839         * sysdeps/aarch64/soft-fp/sfp-machine.h
9840         (_FP_TININESS_AFTER_ROUNDING): New macro.
9841         * sysdeps/alpha/soft-fp/sfp-machine.h
9842         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9843         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9844         Likewise.
9845         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9846         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9847         * sysdeps/mips/soft-fp/sfp-machine.h
9848         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9849         * sysdeps/powerpc/soft-fp/sfp-machine.h
9850         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9851         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9852         Likewise.
9853         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9854         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9855         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9856         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9857         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9858         Likewise.
9860 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9862         [BZ #16545]
9863         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9864         model 1.
9866 2014-02-12  Richard Henderson  <rth@redhat.com>
9868         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9869         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9870         * sysdeps/unix/sysv/linux/alpha: Move directory from
9871         ports/sysdeps/unix/sysv/linux/alpha.
9872         * README: Update listing for alpha-*-linux-gnu.
9874 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9876         * include/features.h: Update comment documenting feature test
9877         macros.
9878         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9879         _DEFAULT_SOURCE.
9880         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9881         (_SVID_SOURCE): Likewise.
9882         (_DEFAULT_SOURCE): Update description of default features.
9883         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9884         with _GNU_SOURCE.
9885         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9886         (S_ISVTX): Likewise.
9887         * manual/math.texi (Mathematical Constants): Likewise.
9888         * manual/signal.texi (Interrupted Primitives): Likewise.
9889         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9890         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9891         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9892         Don't refer to _SVID_SOURCE in warning text.
9894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9896         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9897         already defined.
9898         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9899         * sysdeps/mips/dl-lookup.c: Remove.
9900         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9902 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9904         [BZ #16447]
9905         * math/auto-libm-test-in: Add testcase for expl.
9906         * math/auto-libm-test-out: Regenerate.
9907         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9908         calculation of unsafe.
9909         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9911 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9913         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9914         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9915         ports/sysdeps/unix/sysv/linux/aarch64.
9916         * README: Update listing for aarch64*-*-linux-gnu.
9918 2014-02-11  Will Newton  <will.newton@linaro.org>
9920         * manual/probes.texi (Mathematical Function Probes): Use
9921         "triggered" instead of "hit".
9923         * manual/probes.texi (Internal Probes): Add documentation
9924         of setjmp, longjmp and longjmp_target probes.
9926         * include/stap-probe.h: Add comment about probe argument
9927         format.
9929         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9930         definition.  (tr_where, tr_freehook, tr_mallochook,
9931         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9933 2014-02-11  David S. Miller  <davem@davemloft.net>
9935         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9936         processing int_tests.
9938 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9940         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9941         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9942         * sysdeps/unix/sysv/linux/mips: Move directory from
9943         ports/sysdeps/unix/sysv/linux/mips.
9944         * README: Update listing for mips-*-linux-gnu and
9945         mips64-*-linux-gnu.
9947 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9949         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9950         * sysdeps/unix/sysv/linux/m68k: Move directory from
9951         ports/sysdeps/unix/sysv/linux/m68k.
9952         * README: Update listing for m68k-*-linux-gnu.
9954 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9956         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9957         * sysdeps/unix/sysv/linux/generic: Move directory from
9958         ports/sysdeps/unix/sysv/linux/generic.
9959         * sysdeps/unix/sysv/linux/tile: Move directory from
9960         ports/sysdeps/unix/sysv/linux/tile.
9961         * README: Update listing for tile*-*-linux-gnu.
9963 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9965         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9966         __builtin_expect.
9967         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9968         * catgets/open_catalog.c (__open_catalog): Likewise.
9969         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9970         * debug/confstr_chk.c: Likewise.
9971         * debug/fread_chk.c (__fread_chk): Likewise.
9972         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9973         * debug/getgroups_chk.c: Likewise.
9974         * debug/mbsnrtowcs_chk.c: Likewise.
9975         * debug/mbsrtowcs_chk.c: Likewise.
9976         * debug/mbstowcs_chk.c: Likewise.
9977         * debug/memcpy_chk.c: Likewise.
9978         * debug/memmove_chk.c: Likewise.
9979         * debug/mempcpy_chk.c: Likewise.
9980         * debug/memset_chk.c: Likewise.
9981         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9982         * debug/strcat_chk.c (__strcat_chk): Likewise.
9983         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9984         * debug/strncat_chk.c (__strncat_chk): Likewise.
9985         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9986         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9987         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9988         * debug/wcpncpy_chk.c: Likewise.
9989         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9990         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9991         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9992         * debug/wcsncpy_chk.c: Likewise.
9993         * debug/wcsnrtombs_chk.c: Likewise.
9994         * debug/wcsrtombs_chk.c: Likewise.
9995         * debug/wcstombs_chk.c: Likewise.
9996         * debug/wmemcpy_chk.c: Likewise.
9997         * debug/wmemmove_chk.c: Likewise.
9998         * debug/wmempcpy_chk.c: Likewise.
9999         * debug/wmemset_chk.c: Likewise.
10000         * dirent/scandirat.c (SCANDIRAT): Likewise.
10001         * dlfcn/dladdr1.c (dladdr1): Likewise.
10002         * dlfcn/dladdr.c (dladdr): Likewise.
10003         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10004         * dlfcn/dlerror.c (__dlerror): Likewise.
10005         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10006         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10007         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10008         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10009         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10010         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10011         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10012         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10013         Likewise.
10014         * elf/dl-conflict.c: Likewise.
10015         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10016         * elf/dl-dst.h: Likewise.
10017         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10018         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10019         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10020         * elf/dl-init.c (call_init, _dl_init): Likewise.
10021         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10022         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10023         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10024         Likewise.
10025         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10026         Likewise.
10027         * elf/dl-minimal.c (__libc_memalign): Likewise.
10028         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10029         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10030         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10031         * elf/dl-sym.c (do_sym): Likewise.
10032         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10033         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10034         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10035         * elf/dl-writev.h (_dl_writev): Likewise.
10036         * elf/ldconfig.c (search_dir): Likewise.
10037         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10038         (dl_main): Likewise.
10039         * elf/setup-vdso.h (setup_vdso): Likewise.
10040         * grp/compat-initgroups.c (compat_call): Likewise.
10041         * grp/fgetgrent.c (fgetgrent): Likewise.
10042         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10043         * grp/putgrent.c (putgrent): Likewise.
10044         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10045         Likewise.
10046         * hurd/hurdinit.c: Likewise.
10047         * iconvdata/8bit-gap.c (struct): Likewise.
10048         * iconvdata/ansi_x3.110.c : Likewise.
10049         * iconvdata/big5.c : Likewise.
10050         * iconvdata/big5hkscs.c : Likewise.
10051         * iconvdata/cp1255.c: Likewise.
10052         * iconvdata/cp1258.c : Likewise.
10053         * iconvdata/cp932.c : Likewise.
10054         * iconvdata/euc-cn.c: Likewise.
10055         * iconvdata/euc-jisx0213.c : Likewise.
10056         * iconvdata/euc-jp.c: Likewise.
10057         * iconvdata/euc-jp-ms.c : Likewise.
10058         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10059         * iconvdata/gb18030.c : Likewise.
10060         * iconvdata/gbbig5.c (const): Likewise.
10061         * iconvdata/gbgbk.c: Likewise.
10062         * iconvdata/gbk.c : Likewise.
10063         * iconvdata/ibm1364.c : Likewise.
10064         * iconvdata/ibm930.c : Likewise.
10065         * iconvdata/ibm932.c: Likewise.
10066         * iconvdata/ibm933.c : Likewise.
10067         * iconvdata/ibm935.c : Likewise.
10068         * iconvdata/ibm937.c : Likewise.
10069         * iconvdata/ibm939.c : Likewise.
10070         * iconvdata/ibm943.c: Likewise.
10071         * iconvdata/iso_11548-1.c: Likewise.
10072         * iconvdata/iso-2022-cn.c : Likewise.
10073         * iconvdata/iso-2022-cn-ext.c : Likewise.
10074         * iconvdata/iso-2022-jp-3.c: Likewise.
10075         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10076         * iconvdata/iso-2022-kr.c : Likewise.
10077         * iconvdata/iso646.c (gconv_end): Likewise.
10078         * iconvdata/iso_6937-2.c : Likewise.
10079         * iconvdata/iso_6937.c : Likewise.
10080         * iconvdata/iso8859-1.c: Likewise.
10081         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10082         * iconvdata/shift_jisx0213.c : Likewise.
10083         * iconvdata/sjis.c : Likewise.
10084         * iconvdata/t.61.c : Likewise.
10085         * iconvdata/tcvn5712-1.c : Likewise.
10086         * iconvdata/tscii.c: Likewise.
10087         * iconvdata/uhc.c : Likewise.
10088         * iconvdata/unicode.c (gconv_end): Likewise.
10089         * iconvdata/utf-16.c (gconv_end): Likewise.
10090         * iconvdata/utf-32.c (gconv_end): Likewise.
10091         * iconvdata/utf-7.c (base64): Likewise.
10092         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10093         * iconv/gconv_close.c (__gconv_close): Likewise.
10094         * iconv/gconv_open.c (__gconv_open): Likewise.
10095         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10096         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10097         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10098         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10099         (ucs4le_internal_loop_single): Likewise.
10100         * iconv/iconv.c (iconv): Likewise.
10101         * iconv/iconv_close.c: Likewise.
10102         * iconv/loop.c (SINGLE): Likewise.
10103         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10104         * include/atomic.h: Likewise.
10105         * inet/inet6_option.c (option_alloc): Likewise.
10106         * intl/bindtextdom.c (set_binding_values): Likewise.
10107         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10108         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10109         * intl/localealias.c (read_alias_file): Likewise.
10110         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10111         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10112         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10113         * libio/fmemopen.c (fmemopen): Likewise.
10114         * libio/iofgets.c (_IO_fgets): Likewise.
10115         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10116         * libio/iofgetws.c (fgetws): Likewise.
10117         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10118         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10119         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10120         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10121         * locale/findlocale.c (_nl_find_locale): Likewise.
10122         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10123         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10124         Likewise.
10125         * locale/setlocale.c (setlocale): Likewise.
10126         * login/programs/pt_chown.c (main): Likewise.
10127         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10128         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10129         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10130         (mmap, mmap64, mremap, munmap): Likewise.
10131         * math/e_exp2l.c: Likewise.
10132         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10133         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10134         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10135         * math/s_catan.c (__catan): Likewise.
10136         * math/s_catanf.c (__catanf): Likewise.
10137         * math/s_catanh.c (__catanh): Likewise.
10138         * math/s_catanhf.c (__catanhf): Likewise.
10139         * math/s_catanhl.c (__catanhl): Likewise.
10140         * math/s_catanl.c (__catanl): Likewise.
10141         * math/s_ccosh.c (__ccosh): Likewise.
10142         * math/s_ccoshf.c (__ccoshf): Likewise.
10143         * math/s_ccoshl.c (__ccoshl): Likewise.
10144         * math/s_cexp.c (__cexp): Likewise.
10145         * math/s_cexpf.c (__cexpf): Likewise.
10146         * math/s_cexpl.c (__cexpl): Likewise.
10147         * math/s_clog10.c (__clog10): Likewise.
10148         * math/s_clog10f.c (__clog10f): Likewise.
10149         * math/s_clog10l.c (__clog10l): Likewise.
10150         * math/s_clog.c (__clog): Likewise.
10151         * math/s_clogf.c (__clogf): Likewise.
10152         * math/s_clogl.c (__clogl): Likewise.
10153         * math/s_csin.c (__csin): Likewise.
10154         * math/s_csinf.c (__csinf): Likewise.
10155         * math/s_csinh.c (__csinh): Likewise.
10156         * math/s_csinhf.c (__csinhf): Likewise.
10157         * math/s_csinhl.c (__csinhl): Likewise.
10158         * math/s_csinl.c (__csinl): Likewise.
10159         * math/s_csqrt.c (__csqrt): Likewise.
10160         * math/s_csqrtf.c (__csqrtf): Likewise.
10161         * math/s_csqrtl.c (__csqrtl): Likewise.
10162         * math/s_ctan.c (__ctan): Likewise.
10163         * math/s_ctanf.c (__ctanf): Likewise.
10164         * math/s_ctanh.c (__ctanh): Likewise.
10165         * math/s_ctanhf.c (__ctanhf): Likewise.
10166         * math/s_ctanhl.c (__ctanhl): Likewise.
10167         * math/s_ctanl.c (__ctanl): Likewise.
10168         * math/w_pow.c: Likewise.
10169         * math/w_powf.c: Likewise.
10170         * math/w_powl.c: Likewise.
10171         * math/w_scalb.c (sysv_scalb): Likewise.
10172         * math/w_scalbf.c (sysv_scalbf): Likewise.
10173         * math/w_scalbl.c (sysv_scalbl): Likewise.
10174         * misc/error.c (error_tail): Likewise.
10175         * misc/pselect.c (__pselect): Likewise.
10176         * nis/nis_callback.c (__nis_create_callback): Likewise.
10177         * nis/nis_call.c (__nisfind_server): Likewise.
10178         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10179         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10180         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10181         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10182         * nis/nis_lookup.c (nis_lookup): Likewise.
10183         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10184         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10185         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10186         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10187         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10188         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10189         * nis/nss_compat/compat-initgroups.c (add_group)
10190         (internal_getgrent_r): Likewise.
10191         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10192         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10193         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10194         (internal_getspnam_r): Likewise.
10195         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10196         (_nss_nis_getaliasbyname_r): Likewise.
10197         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10198         (_nss_nis_getntohost_r): Likewise.
10199         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10200         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10201         (_nss_nis_getgrgid_r): Likewise.
10202         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10203         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10204         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10205         (_nss_nis_gethostbyname4_r): Likewise.
10206         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10207         (initgroups_netid): Likewise.
10208         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10209         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10210         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10211         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10212         (_nss_nis_getprotobynumber_r): Likewise.
10213         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10214         (_nss_nis_getsecretkey): Likewise.
10215         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10216         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10217         (_nss_nis_getpwuid_r): Likewise.
10218         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10219         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10220         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10221         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10222         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10223         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10224         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10225         Likewise.
10226         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10227         (_nss_nisplus_getntohost_r): Likewise.
10228         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10229         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10230         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10231         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10232         Likewise.
10233         * nis/nss_nisplus/nisplus-initgroups.c
10234         (_nss_nisplus_initgroups_dyn): Likewise.
10235         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10236         (_nss_nisplus_getnetbyaddr_r): Likewise.
10237         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10238         (_nss_nisplus_getprotobynumber_r): Likewise.
10239         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10240         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10241         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10242         Likewise.
10243         * nis/nss_nisplus/nisplus-service.c
10244         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10245         (_nss_nisplus_getservbyport_r): Likewise.
10246         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10247         (_nss_nisplus_getspnam_r): Likewise.
10248         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10249         Likewise.
10250         * nscd/aicache.c (addhstaiX): Likewise.
10251         * nscd/cache.c (cache_search, prune_cache): Likewise.
10252         * nscd/connections.c (register_traced_file, send_ro_fd)
10253         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10254         (main_loop_epoll): Likewise.
10255         * nscd/grpcache.c (addgrbyX): Likewise.
10256         * nscd/hstcache.c (addhstbyX): Likewise.
10257         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10258         * nscd/mem.c (gc, mempool_alloc): Likewise.
10259         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10260         (addinnetgrX): Likewise.
10261         * nscd/nscd-client.h (__nscd_acquire_maplock)
10262         (__nscd_drop_map_ref): Likewise.
10263         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10264         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10265         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10266         Likewise.
10267         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10268         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10269         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10270         (__nscd_get_map_ref): Likewise.
10271         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10272         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10273         Likewise.
10274         * nscd/pwdcache.c (addpwbyX): Likewise.
10275         * nscd/selinux.c (preserve_capabilities): Likewise.
10276         * nscd/servicescache.c (addservbyX): Likewise.
10277         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10278         * posix/fnmatch.c (fnmatch): Likewise.
10279         * posix/getopt.c (_getopt_internal_r): Likewise.
10280         * posix/glob.c (glob, glob_in_dir): Likewise.
10281         * posix/wordexp.c (exec_comm_child): Likewise.
10282         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10283         (getanswer_r, gaih_getanswer_slice): Likewise.
10284         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10285         * resolv/res_init.c: Likewise.
10286         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10287         * resolv/res_query.c (__libc_res_nquery): Likewise.
10288         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10289         Likewise.
10290         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10291         * stdio-common/perror.c (perror): Likewise.
10292         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10293         * stdio-common/tmpnam.c (tmpnam): Likewise.
10294         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10295         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10296         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10297         Likewise.
10298         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10299         * stdlib/putenv.c (putenv): Likewise.
10300         * stdlib/setenv.c (__add_to_environ): Likewise.
10301         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10302         * stdlib/strtol_l.c (INTERNAL): Likewise.
10303         * string/memmem.c (memmem): Likewise.
10304         * string/strerror.c (strerror): Likewise.
10305         * string/strnlen.c (__strnlen): Likewise.
10306         * string/test-memmem.c (simple_memmem): Likewise.
10307         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10308         * sunrpc/pm_getport.c (__get_socket): Likewise.
10309         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10310         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10311         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10312         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10313         Likewise.
10314         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10315         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10316         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10317         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10318         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10319         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10320         Likewise.
10321         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10322         Likewise.
10323         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10324         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10325         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10326         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10327         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10329         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10330         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10331         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10332         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10333         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10334         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10335         Likewise.
10336         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10337         Likewise.
10338         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10339         Likewise.
10340         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10341         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10342         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10343         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10344         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10345         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10346         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10347         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10348         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10349         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10350         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10351         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10352         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10353         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10355         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10356         Likewise.
10357         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10358         Likewise.
10359         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10360         Likewise.
10361         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10362         Likewise.
10363         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10365         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10366         Likewise.
10367         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10368         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10369         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10370         * sysdeps/posix/sleep.c: Likewise.
10371         * sysdeps/posix/tempname.c: Likewise.
10372         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10373         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10374         Likewise.
10375         * sysdeps/powerpc/powerpc32/dl-machine.h
10376         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10377         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10379         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10380         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10381         Likewise.
10382         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10383         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10384         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10385         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10386         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10387         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10388         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10389         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10390         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10391         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10392         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10393         (elf_machine_lazy_rel): Likewise.
10394         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10395         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10396         (elf_machine_lazy_rel): Likewise.
10397         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10398         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10399         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10400         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10401         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10402         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10403         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10404         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10405         Likewise.
10406         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10407         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10408         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10409         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10410         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10411         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10412         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10413         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10414         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10415         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10416         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10417         Likewise.
10418         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10419         (__posix_fallocate64_l64): Likewise.
10420         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10421         (posix_fallocate): Likewise.
10422         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10423         Likewise.
10424         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10425         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10426         (getifaddrs_internal): Likewise.
10427         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10428         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10429         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10430         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10431         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10432         (__posix_fallocate64_l64): Likewise.
10433         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10434         Likewise.
10435         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10436         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10437         (__get_clockfreq): Likewise.
10438         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10439         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10440         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10441         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10442         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10443         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10444         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10445         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10446         Likewise.
10447         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10448         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10449         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10450         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10451         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10452         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10453         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10454         Likewise.
10455         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10456         (posix_fallocate): Likewise.
10457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10458         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10459         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10460         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10461         (elf_machine_rela, elf_machine_rela_relative)
10462         (elf_machine_lazy_rel): Likewise.
10463         * time/asctime.c (asctime_internal): Likewise.
10464         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10465         * time/tzset.c (__tzset_parse_tz): Likewise.
10466         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10467         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10468         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10469         * wcsmbs/wcsmbsload.h: Likewise.
10471         [BZ #15894]
10472         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10474         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10475         (arena_get2): Remove THREAD_STATS conditionals.
10476         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10477         (__malloc_stats, int): Likewise.
10479 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10481         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10482         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10484         * manual/setjmp.texi: Fix typos/grammar errors.
10486         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10487         Only return early when n is <= 0.  Delete unused return statement.
10489         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10490         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10491         * debug/tst-longjmp_chk3.c: New file.
10493         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10494         (test_main): Replace code with set_fortify_handler call.
10495         * debug/test-strcpy_chk.c: Likewise.
10496         * debug/tst-chk1.c: Likewise.
10497         * debug/tst-longjmp_chk.c: Likewise.
10498         * test-skeleton.c: Include fcntl.h & paths.h
10499         (set_fortify_handler): Define.
10501         * debug/tst-longjmp_chk.c: Add header comment and include
10502         ../test-skeleton.c.
10503         (do_test): Mark static.
10504         (TEST_FUNCTION): Define.
10506         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10507         (IP_PMTUDISC_INTERFACE): Likewise.
10508         (IP_MULTICAST_IF): Likewise.
10509         (IP_MULTICAST_TTL): Likewise.
10510         (IP_MULTICAST_LOOP): Likewise.
10511         (IP_ADD_MEMBERSHIP): Likewise.
10512         (IP_DROP_MEMBERSHIP): Likewise.
10513         (IP_UNBLOCK_SOURCE): Likewise.
10514         (IP_BLOCK_SOURCE): Likewise.
10515         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10516         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10517         (IP_MSFILTER): Likewise.
10518         (MCAST_JOIN_GROUP): Likewise.
10519         (MCAST_BLOCK_SOURCE): Likewise.
10520         (MCAST_UNBLOCK_SOURCE): Likewise.
10521         (MCAST_LEAVE_GROUP): Likewise.
10522         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10523         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10524         (MCAST_MSFILTER): Likewise.
10525         (IP_MULTICAST_ALL): Likewise.
10526         (IP_UNICAST_IF): Likewise.
10528         * timezone/Makefile: Delete $(have-ksh) check.
10529         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10530         * timezone/tzselect.ksh: Add +x mode bits.
10532         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10533         (ANON_INODE_FS_MAGIC): Likewise.
10534         (BDEVFS_MAGIC): Likewise.
10535         (BINFMTFS_MAGIC): Likewise.
10536         (BTRFS_TEST_MAGIC): Likewise.
10537         (CRAMFS_MAGIC_WEND): Likewise.
10538         (DEBUGFS_MAGIC): Likewise.
10539         (ECRYPTFS_SUPER_MAGIC): Likewise.
10540         (EXT3_SUPER_MAGIC): Likewise.
10541         (EXT4_SUPER_MAGIC): Likewise.
10542         (FUTEXFS_SUPER_MAGIC): Likewise.
10543         (HOSTFS_SUPER_MAGIC): Likewise.
10544         (HUGETLBFS_MAGIC): Likewise.
10545         (MINIX3_SUPER_MAGIC): Likewise.
10546         (MTD_INODE_FS_MAGIC): Likewise.
10547         (NILFS_SUPER_MAGIC): Likewise.
10548         (OPENPROM_SUPER_MAGIC): Likewise.
10549         (PIPEFS_MAGIC): Likewise.
10550         (PSTOREFS_MAGIC): Likewise.
10551         (QNX6_SUPER_MAGIC): Likewise.
10552         (RAMFS_MAGIC): Likewise.
10553         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10554         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10555         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10556         (SECURITYFS_MAGIC): Likewise.
10557         (SELINUX_MAGIC): Likewise.
10558         (SMACK_MAGIC): Likewise.
10559         (SOCKFS_MAGIC): Likewise.
10560         (SQUASHFS_MAGIC): Likewise.
10561         (STACK_END_MAGIC): Likewise.
10562         (TMPFS_MAGIC): Likewise.
10563         (USBDEVICE_SUPER_MAGIC): Likewise.
10564         (V9FS_MAGIC): Likewise.
10565         (XENFS_SUPER_MAGIC): Likewise.
10566         (CRAMFS_MAGIC): Fix typo in comment.
10567         (EXT2_SUPER_MAGIC): Update comment.
10568         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10570 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10572         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10573         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10574         * sysdeps/unix/sysv/linux/arm: Move directory from
10575         ports/sysdeps/unix/sysv/linux/arm.
10576         * README: Update listing for arm-*-linux-gnueabi.
10578         * README: Remove mention of am33.
10580 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10582         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10583         than the comma operator, to avoid "rhs of comma has no effect"
10584         compiler warnings.
10585         (__sigfillset, __sigandset, __sigorset): Likewise.
10586         * include/signal.h (__sigemptyset): Likewise.
10587         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10589 2014-02-07  Allan McRae  <allan@archlinux.org>
10591         * version.h (RELEASE): Set to "development".
10592         (VERSION): Set to "2.19.90"
10593         * NEWS: Add 2.20 section.
10595 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10597         [BZ #16529]
10598         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10600 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10602         * manual/contrib.texi: Update entry for Carlos O'Donell,
10603         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10605 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10607         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10609         * sysdeps/unix/sysv/linux/kernel-features.h
10610         [__LINUX_KERNEL_VERSION >= 0x020621]
10611         (__ASSUME_PROC_PID_TASK_COMM): Define.
10613 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10615         [BZ #16398]
10616         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10617         conversion when destination buffer does not have enough space.
10618         * libio/tst-ftell-partial-wide.c: New test case.
10619         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10621         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10622         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10623         Leonard and Allan McRae.
10625 2014-02-04  David S. Miller  <davem@davemloft.net>
10627         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10628         32-bit.
10630 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10633         New file
10634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10635         New file
10636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10637         New file.
10638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10639         New file.
10640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10641         New file.
10642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10643         New file.
10644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10645         New file.
10646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10647         New file.
10648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10649         New file.
10650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10651         New file.
10652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10653         New file.
10654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10655         New file.
10656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10657         New file.
10659 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10661         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10662         * shlib-versions: Likewise.
10664 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10665             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10667         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10668         (abilist-pattern): New variable, set to %-le.abilist.
10670         * Makerules (abilist-pattern): New variable.
10671         (vpath): Use $(abilist-pattern) in place of %.abilist.
10672         (check-abi-% pattern rule): Likewise.
10673         (check-abi, update-abi): Likewise.
10675 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10679 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10681         * manual/startup.texi: Add next, previous, and top entries for
10682         the `Program Arguments' and `Environment Variables' nodes.
10684 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10686         * manual/macros.texi: Add comments before MTASC-safety macros.
10688         * manual/users.texi: Document MTASC-safety properties.
10690         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10691         (pthread_getspecific, pthread_setspecific): Format with
10692         @deftypefun, and add @safety note.
10693         * manual/signal.texi: Move comments that analyze the above
10694         functions to their home place.
10696 2014-02-03  Allan McRae  <allan@archlinux.org>
10698         * po/sl.po: Update Slovenian translation from translation project.
10700 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10702         * manual/time.texi (timegm): Add missing blank after @c.
10703         Reported by Joseph Myers <joseph@codesourcery.com>.
10705 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10707         * manual/check-safety.sh: New.
10708         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10710         * manual/terminal.texi: Document MTASC-safety properties.
10712         * manual/filesys.texi: Document MTASC-safety properties.
10714         * manual/errno.texi: Document MTASC-safety properties.
10716         * manual/intro.texi: Document safety identifiers and
10717         conditionals.
10719         * manual/string.texi (wcstok): Fix prototype.
10720         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10722         * manual/time.texi: Document MTASC-safety properties.
10724         * manual/string.texi: Document MTASC-safety properties.
10726         * manual/threads.texi: Document MTASC-safety properties.
10728         * manual/stdio.texi: Document MTASC-safety properties.
10730         * manual/syslog.texi: Document MTASC-safety properties.
10732         * manual/sysinfo.texi: Document MTASC-safety properties.
10734         * manual/startup.texi: Document MTASC-safety properties.
10736         * manual/socket.texi: Document MTASC-safety properties.
10738         * manual/signal.texi: Document MTASC-safety properties.
10740 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10742         * manual/setjmp.texi: Document MTASC-safety properties.
10744         * manual/search.texi: Document MTASC-safety properties.
10746         * manual/resource.texi: Document MTASC-safety properties.
10748         * manual/process.texi: Document MTASC-safety properties.
10750         * manual/platform.texi: Document MTASC-safety properties.
10752         * manual/pipe.texi: Document MTASC-safety properties.
10754         * manual/pattern.texi: Document MTASC-safety properties.
10756         * manual/message.texi: Document MTASC-safety properties.
10758         [BZ #12751]
10759         * manual/memory.texi: Document MTASC-safety properties.
10761         * manual/math.texi: Document MTASC-safety properties.
10763         * manual/locale.texi: Document MTASC-safety properties.
10765         * manual/llio.texi: Document MTASC-safety properties.
10767         * manual/libdl.texi: New.
10769         * manual/lang.texi: Document MTASC-safety properties.
10771         * manual/job.texi: Document MTASC-safety properties.
10773         * manual/getopt.texi: Document MTASC-safety properties.
10775         * manual/ctype.texi: Document MTASC-safety properties.
10777 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10779         [BZ #16046]
10780         * csu/libc-tls.c (static_map): Remove variable.
10781         (__libc_setup_tls): Use main executable's link map for TLS data.
10782         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10783         casing for LM_ID_BASE and GL(dl_nns).
10784         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10785         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10786         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10787         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10788         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10789         member.
10790         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10791         l_phnum members.
10793 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10795         * manual/debug.texi: Document MTASC-safety properties.
10797 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10799         [BZ #16510]
10800         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10801         of __x86_64__ when disabling x87 inline functions.
10803 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10805         * manual/charset.texi: Document MTASC-safety properties.
10807         * manual/crypt.texi: Document MTASC-safety properties.
10809         * manual/conf.texi: Document MTASC-safety properties.
10811         * manual/arith.texi: Document MTASC-safety properties.
10813         * manual/argp.texi: Document MTASC-safety properties.
10815         * manual/macros.texi: Introduce macros to document multi
10816         thread, asynchronous signal and asynchronous cancellation
10817         safety properties.
10818         * manual/intro.texi: Introduce the properties themselves.
10820 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10822         * sysdeps/sh/sh4/Makefile: New file.
10824 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10826         * math/gen-libm-test.pl ($srcdir): New variable.
10827         ($auto_input): Use it.
10829 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10831         [BZ #16506]
10832         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10833         access beyond array bounds when parsing netgroups file.
10835         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10836         the old buffer before realloc.
10838 2014-01-27  Allan McRae  <allan@archlinux.org>
10840         * po/fr.po: Update French translation from translation project.
10842 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10844         * sysdeps/sh/libm-test-ulps: Regenerate.
10846 2014-01-24  David S. Miller  <davem@davemloft.net>
10848         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10850 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10852         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10853         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10855 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10857         [BZ #16474]
10858         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10859         string pointers after reallocation.
10861 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10863         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10864         __SH4A__ instead of __SH_FPU_ANY__.
10866 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10868         * sysdeps/sh/fpu_control.h: New file.
10869         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10870         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10871         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10872         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10873         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10874         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10875         * sysdeps/sh/sys/ucontext.h: Remove.
10876         * sysdeps/sh/sys: Remove directory.
10878 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10880         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10881         s390/sys/ucontext.h.
10882         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10883         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10885 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10887         [BZ #15605]
10888         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10890 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10892         [BZ#16431]
10893         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10894         Adjust the vDSO correctly for internal calls.
10895         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10897 2014-01-20  Allan McRae  <allan@archlinux.org>
10899         * po/ca.po: Update Catalan translation from translation project.
10901 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10903         * sysdeps/s390/sotruss-lib.c: New file.
10905 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10907         [BZ#16430]
10908         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10909         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10910         local calls issues by not having a PLT stub required for IFUNC calls.
10911         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10913 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10915         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10916         * math/test-fpucw-static.c: Likewise.
10918 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10920         [BZ #16453]
10921         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10923 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10925         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10926         implementation for powerpc.
10928 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10930         [BZ #14782]
10931         * sysdeps/posix/system.c (__libc_system): Do not enable
10932         asynchronous cancellation.
10934 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10936         [BZ #16427]
10937         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10938         handling only for numbers special also in the IEEE case.
10940 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10942         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10944 2014-01-11  Allan McRae  <allan@archlinux.org>
10946         * po/bg.po: Update Bulgarian translation from translation project.
10948         * po/de.po: Update German translation from translation project.
10950 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10952         * sysdeps/generic/gcc-compat.h: New file.
10954 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10956         * benchtests/asin-inputs: Correct slow inputs.
10957         * benchtests/acos-inputs: Likewise.
10959 2014-01-10  Allan McRae  <allan@archlinux.org>
10961         * po:sv.po: Update Swedish translation from translation project.
10963         * po/vi.po: Update Vietnamese translation from translation project.
10965         * po/eo.po: Update Esperanto translation from translation project.
10967         * po/cs.po: Update Czech translation from translation project.
10969         * po/nl.po: Update Dutch translation from translation project.
10971         * po/pl.po: Update Polish translation from translation project.
10973         * po/ru.po: Update Russian translation from translation project.
10975         * po/uk.po: Update Ukrainian translation from translation project.
10977 2014-01-08  Brooks Moses  <bmoses@google.com>
10979         * elf/dl-load.c: Fix comment typo.
10981 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10983         * po/header.pot: Rename to...
10984         * po/pot.header: ... this.
10985         * po/Makefile: Use pot.header.
10987 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10988             Maxim Kuvyrkov  <maxim@kugelworks.com>
10990         [BZ #16394]
10991         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10992         SRC and DEST against LEN.
10994 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10996         [BZ #16414]
10997         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10998         implementation.
10999         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11001 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11005 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11007         [BZ #16408]
11008         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11009         for large positive arguments.
11011 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11013         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11015         * math/auto-libm-test-in: Mark various tests with
11016         xfail-rounding:ldbl-128ibm.
11017         * math/auto-libm-test-out: Regenerated.
11019         [BZ #16407]
11020         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11021         Increase overflow threshold.
11023 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11025         [BZ #14286]
11026         * stdio-common/vfprintf.c: Check for integer overflow.
11028 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11030         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11031         the first argument and return value of __tls_get_addr_internal.
11033 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11035         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11036         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11038 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11040         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11041         * sysdeps/s390/rtld-global-offsets.sym: New file.
11042         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11043         GLIBC_2.19 symbol.
11044         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11045         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11046         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11047         ... this.
11048         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11049         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11050         ... this.
11051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11052         Regenerate.
11053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11054         Regenerate.
11055         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11056         halfs of GPRs for high_gprs contexts.
11057         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11058         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11059         field.
11060         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11061         uc_flags field.
11062         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11063         64 bit versions:
11064         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11065         for high GPRs (uc_high_gprs) and for future extensions
11066         (__reserved).
11067         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11068         for future extensions (__reserved).
11069         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11070         64 bit versions:
11071         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11072         SC_HIGHGPRS offset definition.
11073         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11074         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11076         * Versions.def: Add GLIBC_2.19 for libpthread.
11077         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11078         siglongjmp for libpthread with GLIBC_2.19 symver.
11079         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11080         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11081         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11082         * sysdeps/s390/__longjmp.c: New file.
11083         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11084         * sysdeps/s390/longjmp.c: New file.
11085         * sysdeps/s390/setjmp.S: New file.
11086         * sysdeps/s390/sigjmp.S: New file.
11087         * sysdeps/s390/v1-longjmp.c: New file.
11088         * sysdeps/s390/v1-setjmp.h: New file.
11089         * sysdeps/s390/v1-sigjmp.c: New file.
11090         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11091         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11092         GLIBC_2.19 version.
11093         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11094         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11095         versioned symbols for ____longjmp_chk.
11096         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11097         Likewise.
11098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11099         Regenerate.
11100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11101         Regenerate.
11102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11103         Regenerate.
11104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11105         Regenerate.
11106         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11107         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11108         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11109         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11110         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11111         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11112         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11113         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11114         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11115         * sysdeps/s390/rtld-__longjmp.c: New file.
11116         * sysdeps/s390/rtld-setjmp.S: New file.
11118 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11120         [BZ #16400]
11121         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11122         Return -__logl (x) for small positive arguments without evaluating
11123         a polynomial.
11125 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11127         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11128         Rename to ...
11129         (__ptrace_peeksiginfo_args): ... this.
11130         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11131         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11132         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11134 2014-01-06  Allan McRae  <allan@archlinux.org>
11136         * inet/netinet/in.h: Fix typo in comment.
11138 2014-01-05  Andreas Jaeger  <aj@suse.de>
11140         * sysdeps/i386/fpu/libm-test-ulps: Update.
11142 2014-01-05  Allan McRae  <allan@archlinux.org>
11144         * po/libc.pot: Regenerated.
11146         * malloc/memusagestat.c: Fix gettext call formatting.
11148 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11150         * nscd/nscd.c: Improve usage() output.
11152 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11154         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11155         * sysdeps/unix/sysv/linux/configure: Regenerated.
11156         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11157         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11159 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11161         [BZ #16390]
11162         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11163         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11165 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11167         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11168         extra tokens at end of #undef directive.
11169         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11170         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11171         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11173 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11175         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11177         * math/auto-libm-test-in: Mark various tests with
11178         xfail-rounding:ldbl-128ibm.
11179         * math/auto-libm-test-out: Regenerated.
11181 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11183         [BZ #16386]
11184         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11185         numbers with subnormal high part when calculating exponent.
11187         [BZ #16385]
11188         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11189         fabs.
11191         [BZ #16384]
11192         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11193         M_LN2l.
11194         (__ieee754_acoshl): Use __log1pl not __log1p.
11196 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11198         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11199         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11200         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11201         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11202         (reused_arena, arena_get2): Convert to GNU style.
11203         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11204         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11205         (memalign_check, __malloc_set_state): Likewise.
11206         * malloc/mallocbug.c (main): Likewise.
11207         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11208         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11209         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11210         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11211         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11212         (__posix_memalign, malloc_info): Likewise.
11213         * malloc/malloc.h: Likewise.
11214         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11215         (mallochook, memalignhook, reallochook, mabort): Likewise.
11216         * malloc/mcheck.h: Likewise.
11217         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11218         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11219         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11220         * malloc/morecore.c (__default_morecore): Likewise.
11221         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11222         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11223         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11224         (print_and_abort): Likewise.
11225         * malloc/obstack.h: Likewise.
11226         * malloc/set-freeres.c (__libc_freeres): Likewise.
11227         * malloc/tst-mallocstate.c (main): Likewise.
11228         * malloc/tst-mtrace.c (main): Likewise.
11229         * malloc/tst-realloc.c (do_test): Likewise.
11231 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11233         [BZ #16366]
11234         * nscd/netgroupcache.c (do_notfound): New function.
11235         (addgetnetgrentX): Use it.
11237         [BZ # 16365]
11238         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11239         NSS_STATUS_NOTFOUND.
11241 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11243         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11246 2014-01-01  Allan McRae  <allan@archlinux.org>
11248         * scripts/update-copyrights: Update configure input file suffix.
11250         * NEWS: Update copyright year.
11251         * catgets/gencat.c: Likewise.
11252         * csu/version.c: Likewise.
11253         * debug/catchsegv.sh: Likewise.
11254         * debug/pcprofiledump.c: Likewise.
11255         * debug/xtrace.sh: Likewise.
11256         * elf/ldconfig.c: Likewise.
11257         * elf/ldd.bash.in: Likewise.
11258         * elf/pldd.c: Likewise.
11259         * elf/sotruss.ksh: Likewise.
11260         * elf/sprof.c: Likewise.
11261         * iconv/iconv_prog.c: Likewise.
11262         * iconv/iconvconfig.c: Likewise.
11263         * locale/programs/locale.c: Likewise.
11264         * locale/programs/localedef.c: Likewise.
11265         * login/programs/pt_chown.c: Likewise.
11266         * malloc/memusage.sh: Likewise.
11267         * malloc/memusagestat.c: Likewise.
11268         * malloc/mtrace.pl: Likewise.
11269         * manual/libc.texinfo: Likewise.
11270         * nscd/nscd.c: Likewise.
11271         * nss/getent.c: Likewise.
11272         * nss/makedb.c: Likewise.
11273         * posix/getconf.c: Likewise.
11274         * scripts/test-installation.pl: Likewise.
11276         * All files with FSF copyright notices: Update copyright dates
11277         using scripts/update-copyrights.
11278         * intl/plural.c: Regenerated.
11279         * locale/programs/charmap-kw.h: Likewise.
11280         * locale/programs/locfile-kw.h: Likewise.
11282 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11284         * sysdeps/unix/sysv/linux/configure: Regenerated.
11285         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11286         the linux/fanotify.h header.
11287         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11288         HAVE_LINUX_FANOTIFY_H is defined.
11290 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11292         * benchtests/cos-inputs: New inputs.
11293         * benchtests/sin-inputs: Likewise.
11295         * benchtests/atan-inputs: New inputs. Fix name of multiple
11296         precision fallback inputs.
11298         * benchtests/atanh-inputs: New inputs.
11299         * benchtests/tanh-inputs: Likewise.
11301         * benchtests/acosh-inputs: New inputs.
11302         * benchtests/asinh-inputs: Likewise.
11304         * benchtests/cosh-inputs: New inputs.
11305         * benchtests/sinh-inputs: Likewise.
11307         * benchtests/acos-inputs: Add more inputs.
11308         * benchtests/asin-inputs: Likewise.
11310 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11312         [BZ #16375]
11313         * manual/arith.texi: Fix spelling.
11314         * manual/charset.texi: Likewise.
11315         * manual/errno.texi: Likewise.
11316         * manual/filesys.texi: Likewise.
11317         * manual/lang.texi: Likewise.
11318         * manual/llio.texi: Likewise.
11319         * manual/locale.texi: Likewise.
11320         * manual/message.texi: Likewise.
11321         * manual/resource.texi: Likewise.
11322         * manual/search.texi: Likewise.
11323         * manual/setjmp.texi: Likewise.
11324         * manual/stdio.texi: Likewise.
11325         * manual/string.texi: Likewise.
11326         * manual/sysinfo.texi: Likewise.
11327         * manual/time.texi: Likewise.
11329 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11331         * po/sl.po: New file.
11333 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11335         * .gitignore: Add core/.gdbinit/.gdb_history.
11337 2013-12-27  Allan McRae  <allan@archlinux.org>
11339         [BZ #16369]
11340         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11341         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11343 2013-12-24  Brooks Moses  <bmoses@google.com>
11345         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11346         all compilers that claim C++98 compliance, not just GCC.
11347         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11348         Likewise.
11350 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11352         * NEWS: Restore accidentally deleted bug-fix entries.
11354 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11355             Ondřej Bílka  <neleai@seznam.cz>
11357         [BZ #15073]
11358         * malloc/malloc.c (_int_free): Perform sanity check only if we
11359         have_lock.
11361 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11363         [BZ #12986]
11364         * manual/stdio.texi (String Input Conversions): Clarify that character
11365         classes are not supported.
11367 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11371 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11373         [BZ #16337]
11374         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11375         Calculate results for small negative arguments directly rather
11376         than using reflection formula with special underflow handling.
11378         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11379         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11380         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11381         (fchflags): Likewise.
11382         (revoke): Likewise.
11383         (setlogin): Likewise.
11384         (sigaltstack): Likewise.
11385         (wait4): Likewise.
11386         (sigblock): Remove.
11387         (sigsetmask): Likewise.
11388         (wait3): Likewise.
11389         (waitpid): Likewise.
11390         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11391         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11392         file.
11393         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11394         * sysdeps/unix/bsd/Makefile: ... here.
11395         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11396         * sysdeps/unix/bsd/Versions: ... here.
11397         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11398         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11399         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11400         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11401         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11402         * sysdeps/unix/bsd/sigblock.c: ... here.
11403         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11404         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11405         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11406         * sysdeps/unix/bsd/sigvec.c: ... here.
11407         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11408         * sysdeps/unix/bsd/tcdrain.c: ... here.
11409         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11410         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11411         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11412         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11413         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11414         * sysdeps/unix/bsd/wait.c: ... here.
11415         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11416         * sysdeps/unix/bsd/wait3.c: ... here.
11417         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11418         * sysdeps/unix/bsd/waitpid.c: ... here.
11420 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11422         [BZ #16356]
11423         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11424         round-to-nearest for [!USE_AS_EXPM1L].
11425         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11426         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11427         more tests of exp and exp10.  Expect some exp10 tests to miss
11428         exceptions or fail in directed rounding modes.
11429         * math/auto-libm-test-out: Regenerated.
11430         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11431         (exp10_test_tonearest): New function.
11432         (exp10_towardzero_test_data): New array.
11433         (exp10_test_towardzero): New function.
11434         (exp10_downward_test_data): New array.
11435         (exp10_test_downward): New function.
11436         (exp10_upward_test_data): New array.
11437         (exp10_test_upward): New function.
11438         (main): Call the new functions.
11439         * sysdeps/i386/fpu/libm-test-ulps: Update.
11440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11442 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11444         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11445         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11446         * math/auto-libm-test-out: Regenerated.
11447         * math/libm-test.inc (acosh_test_data): Add more tests.
11448         (atanh_test_data): Likewise.
11449         (ceil_test_data): Likewise.
11450         (copysign_test_data): Likewise.
11451         * sysdeps/i386/fpu/libm-test-ulps: Update.
11452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11454         * timezone/checktab.awk: Update from tzcode 2013i.
11455         * timezone/private.h: Likewise.
11456         * timezone/scheck.c: Likewise.
11457         * timezone/tzfile.h: Likewise.
11458         * timezone/tzselect.ksh: Likewise.
11459         * timezone/zdump.c: Likewise.
11460         * timezone/zic.c: Likewise.
11462         * math/auto-libm-test-in: Add tests of cpow.
11463         * math/auto-libm-test-out: Regenerated.
11464         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11465         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11466         mpc_cc_c.
11467         (func_calc_desc): Add mpc_cc_c union field.
11468         (test_functions): Add cpow.
11469         (special_fill_2pi): New function.
11470         (special_real_inputs): Add 2pi.
11471         (calc_generic_results): Handle mpc_cc_c.
11472         * sysdeps/i386/fpu/libm-test-ulps: Update.
11473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11475         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11476         csqrt, ctan and ctanh.
11477         * math/auto-libm-test-out: Regenerated.
11478         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11479         (TEST_COND_x86): Likewise.
11480         (ccos_test_data): Use AUTO_TESTS_c_c.
11481         (ccosh_test_data): Likewise.
11482         (cexp_test_data): Likewise.
11483         (clog_test_data): Likewise.
11484         (csqrt_test_data): Likewise.
11485         (ctan_test_data): Likewise.
11486         (ctan_tonearest_test_data): Likewise.
11487         (ctan_towardzero_test_data): Likewise.
11488         (ctan_downward_test_data): Likewise.
11489         (ctan_upward_test_data): Likewise.
11490         (ctanh_test_data): Likewise.
11491         (ctanh_tonearest_test_data): Likewise.
11492         (ctanh_towardzero_test_data): Likewise.
11493         (ctanh_downward_test_data): Likewise.
11494         (ctanh_upward_test_data): Likewise.
11495         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11496         mpc_c_c.
11497         (func_calc_desc): Add mpc_c_c union field.
11498         (FUNC_mpc_c_c): New macro.
11499         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11500         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11501         ctanh.
11502         (special_fill_min_subnorm_p120): New function.
11503         (special_real_inputs): Add min_subnorm_p120.
11504         (calc_generic_results): Handle mpc_c_c.
11505         * sysdeps/i386/fpu/libm-test-ulps: Update.
11506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11508 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11510         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11511         (do_sin_slow): New functions.
11512         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11513         (cslow2, csloww1, csloww2): Use the new functions.
11515         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11516         Use M to change sign of result instead of X.  Assume X is
11517         positive.
11518         (csloww1): Likewise.
11519         (__sin): Adjust.
11520         (__cos): Adjust.
11522         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11523         arguments A and DA.
11524         (__sin): Adjust.
11525         (__cos): Likewise.
11527         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11528         (__cos): Likewise.
11529         (sloww1): Don't adjust sign of DX.
11530         (csloww1): Likewise.
11531         (sloww2): Use X directly and don't adjust sign of DX.
11532         (csloww2): Likewise.
11534 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11536         * math/auto-libm-test-in: Add tests of cabs and carg.
11537         * math/auto-libm-test-out: Regenerated.
11538         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11539         (carg_test_data): Likewise.
11540         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11541         mpc_c_f.
11542         (func_calc_desc): Add mpc_c_f union field.
11543         (test_functions): Add cabs and carg.
11544         (calc_generic_results): Handle mpc_c_f.
11546         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11547         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11548         as a macro and a compat symbol.
11549         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11550         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11551         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11552         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11553         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11554         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11555         not use .hidden.
11556         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11557         Likewise.
11558         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11559         Likewise.
11560         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11561         Likewise.
11562         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11563         Likewise.
11564         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11565         Likewise.
11566         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11567         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11568         from GLIBC_2.3.2.
11570 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11574 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11576         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11577         trailing whitespace removed.
11578         * scripts/config.guess: Update to version 2013-11-29.
11579         * scripts/config.sub: Update to version 2013-10-01.
11581         * math/auto-libm-test-in: Add tests of sincos.
11582         * math/auto-libm-test-out: Regenerated.
11583         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11584         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11585         mpfr_f_11.
11586         (func_calc_desc): Add mpfr_f_11 union field.
11587         (test_functions): Add sincos.
11588         (calc_generic_results): Handle mpfr_f_11.
11589         * sysdeps/i386/fpu/libm-test-ulps: Update.
11590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11592 2013-12-19  Andreas Schwab  <schwab@suse.de>
11594         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11595         CALL_MCOUNT.
11596         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11597         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11598         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11600 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11602         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11603         * sysdeps/i386/fpu/libm-test-ulps: Update.
11604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11606         [BZ #16293]
11607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11608         round-to-nearest mode when using frndint.
11609         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11610         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11611         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11612         Likewise.
11613         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11614         sinh test to fail.
11615         * math/auto-libm-test-out: Regenerated.
11616         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11617         (TEST_COND_x86): Likewise.
11618         (expm1_tonearest_test_data): New array.
11619         (expm1_test_tonearest): New function.
11620         (expm1_towardzero_test_data): New array.
11621         (expm1_test_towardzero): New function.
11622         (expm1_downward_test_data): New array.
11623         (expm1_test_downward): New function.
11624         (expm1_upward_test_data): New array.
11625         (expm1_test_upward): New function.
11626         (main): Run the new test functions.
11627         * sysdeps/i386/fpu/libm-test-ulps: Update.
11628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11630         * include/features.h: Update comment documenting feature test
11631         macros.  Mention _DEFAULT_SOURCE in comment.
11632         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11633         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11634         _BSD_SOURCE and _SVID_SOURCE.
11635         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11636         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11637         !_SVID_SOURCE]: Likewise.
11638         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11639         (__USE_POSIX_IMPLICITLY): Define.
11640         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11641         (_POSIX_SOURCE): Undefine and redefine.
11642         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11643         (_POSIX_C_SOURCE): Likewise.
11644         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11645         (Feature Test Macros): Update documentation of default features.
11647 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11649         * benchtests/Makefile: Add bench-strtok.
11650         * benchtests/bench-strtok.c: New file: strtok benchtest.
11652 2013-12-19  Allan McRae  <allan@archlinux.org>
11654         * manual/install.texi: Suppress menu for plain text output.
11655         * INSTALL: Regenerated.
11657 2013-12-18  Brooks Moses  <bmoses@google.com>
11659         [BZ #15846]
11660         * misc/getauxval.c: Include errno.h.
11661         (__getauxval): Set errno to ENOENT if the requested type is not
11662         found.
11663         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11664         don't declare with __attribute_const__.
11665         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11666         * manual/startup.texi: Document that getauxval sets errno.
11668 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11670         * math/auto-libm-test-in: Add tests of jn and yn.
11671         * math/auto-libm-test-out: Regenerated.
11672         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11673         (yn_test_data): Likewise.
11674         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11675         mpfr_if_f.
11676         (func_calc_desc): Add mpfr_if_f union field.
11677         (FUNC_mpfr_if_f): New macro.
11678         (test_functions): Add jn and yn.
11679         (calc_generic_results): Assert type of second input for
11680         mpfr_ff_f.  Handle mpfr_if_f.
11681         (output_for_one_input_case): Disable all checking for arguments
11682         fitting floating-point types in case of an integer argument.
11683         * sysdeps/i386/fpu/libm-test-ulps: Update.
11684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11687         Don't expect fegetround reference in libm.so.
11689 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11691         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11692         $(config-cflags-nofma).
11694 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11696         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11697         * math/auto-libm-test-out: Regenerated.
11699         [BZ #16338]
11700         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11701         to determine exponent and adjust argument to have exponent of -1.
11702         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11703         log2.
11704         * math/auto-libm-test-out: Regenerated.
11705         * sysdeps/i386/fpu/libm-test-ulps: Update.
11706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11708 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11710         * manual/probes.texi: Remove cases when per-thread arenas are
11711         disabled.
11713 2013-12-18  Andreas Schwab  <schwab@suse.de>
11715         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11716         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11717         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11718         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11719         * sysdeps/i386/i686/multiarch/Makefile: Update.
11720         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11722 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11724         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11725         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11727 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11729         [BZ #15968]
11730         Support TZ transition times < 00:00:00.
11731         This is needed for version-3 tz-format files; it supports time
11732         stamps past 2037 for America/Godthab (the only entry in the tz
11733         database for which this change is relevant).
11734         * manual/time.texi (TZ Variable): Document transition times
11735         from -167:59:59 through -00:00:01.
11736         * time/tzset.c (tz_rule): Time of day is now signed.
11737         (__tzset_parse_tz): Parse negative time of day.
11739         Document TZ transition times >= 25:00:00.
11740         * manual/time.texi (TZ Variable): Document transition times from
11741         25:00:00 through 167:59:59.  These are already supported, and this
11742         support will help with version-3 tz-format files.
11744         * manual/time.texi (TZ Variable): Modernize North America example
11745         to reflect current (i.e., 2007-and-later) daylight saving rules.
11747         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11749 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11751         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11752         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11753         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11755         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11756         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11757         * sysdeps/unix/bsd/clock.c: Likewise.
11758         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11759         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11760         * sysdeps/unix/bsd/init-posix.c: Likewise.
11761         * sysdeps/unix/bsd/poll.c: Likewise.
11762         * sysdeps/unix/bsd/ptsname.c: Likewise.
11763         * sysdeps/unix/bsd/seekdir.c: Likewise.
11764         * sysdeps/unix/bsd/setegid.c: Likewise.
11765         * sysdeps/unix/bsd/seteuid.c: Likewise.
11766         * sysdeps/unix/bsd/setgid.c: Likewise.
11767         * sysdeps/unix/bsd/setrgid.c: Likewise.
11768         * sysdeps/unix/bsd/setruid.c: Likewise.
11769         * sysdeps/unix/bsd/setsid.c: Likewise.
11770         * sysdeps/unix/bsd/setuid.c: Likewise.
11771         * sysdeps/unix/bsd/sigaction.c: Likewise.
11772         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11773         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11774         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11775         * sysdeps/unix/bsd/telldir.c: Likewise.
11776         * sysdeps/unix/bsd/times.c: Likewise.
11777         * sysdeps/unix/bsd/usleep.c: Likewise.
11779         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11780         ($(objpfx)libbsd-compat.a): Remove rule.
11782         * include/features.h (__FAVOR_BSD): Do not define.
11783         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11784         features conflicting with POSIX.
11785         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11786         (_BSD_SOURCE): Remove description of not being a subset of other
11787         feature test macros.
11788         * manual/job.texi (getpgrp): Do not document BSD version.
11789         (getpgid): Do not document by reference to BSD getpgrp.
11790         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11791         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11792         * signal/signal.h [__FAVOR_BSD]: Likewise.
11793         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11794         instead of making contents conditional on [__FAVOR_BSD].
11795         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11797 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11801 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11803         [BZ #16314]
11804         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11805         values below 2**-450, not 2**-500.
11806         * math/auto-libm-test-in: Don't allow spurious underflow from
11807         hypot.
11808         * math/auto-libm-test-out: Regenerated.
11810         [BZ #16316]
11811         [BZ #16330]
11812         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11813         values of ha and hb and sort them after adjusting subnormal
11814         arguments.
11815         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11816         Likewise.
11817         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11818         values of ea and eb and sort them after adjusting subnormal
11819         arguments.
11820         * math/auto-libm-test-in: Do not expect some hypot tests of
11821         subnormals to fail.  Add more hypot tests.
11822         * math/auto-libm-test-out: Regenerated.
11824 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11826         [BZ #13304]
11827         * sysdeps/sh/s_fma.c: New file.
11828         * sysdeps/sh/s_fmaf.c: New file.
11829         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11830         version.
11831         * sysdeps/sh/Implies: Add sh/soft-fp.
11833 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11835         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11836         level of indirection to members `objname', `errstring', `malloced'.
11837         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11838         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11839         it as the __longjmp argument (just pass 1 instead).
11840         (_dl_catch_error): Initialize C with argument pointers and address of
11841         volatile local ERRCODE rather than copying values out of C at return.
11843 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11845         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11846         * math/auto-libm-test-out: Regenerated.
11847         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11848         (hypot_test_data): Likewise.
11849         (pow_test_data): Likewise.
11850         (pow_tonearest_test_data): Likewise.
11851         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11852         mpfr_ff_f.
11853         (func_calc_desc): Add mpfr_ff_f union field.
11854         (FUNC_mpfr_ff_f): New macro.
11855         (test_functions): Add atan2, hypot and pow.
11856         (special_fill_min): New function.
11857         (special_fill_minus_min): Likewise.
11858         (special_fill_min_subnorm): Likewise.
11859         (special_fill_minus_min_subnorm): Likewise.
11860         (special_real_inputs): Add min, -min, min_subnorm and
11861         -min_subnorm.
11862         (calc_generic_results): Handle mpfr_ff_f.
11863         * sysdeps/i386/fpu/libm-test-ulps: Update.
11864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11866 2013-12-16  Will Newton  <will.newton@linaro.org>
11868         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11869         (Aligned Memory Blocks): Add documentation for aligned_alloc
11870         and suggest it as an alternative to posix_memalign.
11871         (Hooks for Malloc): Document __memalign_hook is also called
11872         for aligned_alloc.  (Summary of Malloc): Add summary for
11873         aligned alloc.  Document __memalign_hook is also called
11874         for aligned_alloc.
11876 2013-12-16  Will Newton  <will.newton@linaro.org>
11878         * manual/memory.texi (Malloc Examples): Clarify default
11879         alignment documentation.  Suggest posix_memalign rather
11880         than memalign or valloc.
11881         (Aligned Memory Blocks): Remove suggestion to use memalign
11882         or valloc.  Remove obsolete comment about BSD.
11883         Document memalign errno values and mark the function obsolete.
11884         Document posix_memalign returned error codes.  Mark valloc
11885         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11886         called for posix_memalign and valloc.
11887         (Summary of Malloc): Add posix_memalign to function summary.
11888         __memalign_hook is also called for posix_memalign and valloc.
11890 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11892         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11893         TAYLOR_SIN.
11894         (__sin): Adjust.
11895         (__cos): Likewise.
11896         (sloww): Use mynumber union.  Expand ternary operator into
11897         if-else statements.
11898         (cslow): use mynumber union.
11900 2013-12-16  Allan McRae  <allan@archlinux.org>
11902         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11903         * configure: Regenerated.
11905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11907         [BZ #14120]
11908         * configure.ac: Added --enable-maintainer-mode. Check for
11909         autoconf when enabled.
11910         * configure: Regenerated.
11912         * nscd/nscd.service: New file.
11913         * nscd/nscd.tmpfiles: New file.
11915 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11917         [BZ #12100]
11918         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11919         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11920         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11921         (strstr): Add __strstr_sse2_unaligned ifunc.
11922         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11923         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11924         (strcasestr): Remove __strcasestr_sse42 ifunc.
11925         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11926         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11929 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11931         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11932         * sysdeps/sh/bits/fenv.h: ... here.
11933         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11935 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11937         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11939         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11940         hypotf multiarch implementations.
11941         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11942         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11943         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11944         multiarch hypot for PPC64.
11945         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11946         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11947         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11948         multiarch hypotf for PPC64.
11950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11951         modff multiarch implementations.
11952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11955         multiarch modf for PPC64.
11956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11959         multiarch modff for PPC64.
11961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11962         and logl multiarch implementations.
11963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11966         multiarch logb for PPC64.
11967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11970         multiarch logb for PPC64.
11971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11974         multiarch logb for PPC64.
11976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11977         isinff multiarch implementation.
11978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11979         file.
11980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11982         multiarch isinf for PPC64.
11983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11984         file.
11985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11986         multiarch isinff for PPC64.
11988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11989         finitef multiarch implementation.
11990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11991         file.
11992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11994         multiarch finite for PPC64.
11995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11996         file.
11997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11998         multiarch finitef for PPC64.
12000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12001         lrint multiarch implementation.
12002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12003         file.
12004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12006         multiarch llrint for PPC64.
12007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12008         multiarch lrint for PPC64.
12010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12011         copysignf multiarch implementation.
12012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12013         file.
12014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12015         file.
12016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12017         multiarch copysign for PPC64.
12018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12019         multiarch copysignf for PPC64.
12021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12022         multiarch implementation.
12023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12024         file.
12025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12026         file.
12027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12028         file.
12029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12030         file.
12031         multiarch llround for PPC64.
12032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12033         multiarch trunc for PPC64.
12034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12035         multiarch truncf for PPC64.
12037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12038         multiarch implementation.
12039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12040         file.
12041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12042         file.
12043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12044         file.
12045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12046         file.
12047         multiarch llround for PPC64.
12048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12049         multiarch round for PPC64.
12050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12051         multiarch roundf for PPC64.
12053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12054         multiarch implementation.
12055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12056         file.
12057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12058         file.
12059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12060         file.
12061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12062         file.
12063         multiarch llround for PPC64.
12064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12065         multiarch floor for PPC64.
12066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12067         multiarch floorf for PPC64.
12069         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12070         multiarch implementation.
12071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12072         file.
12073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12074         file.
12075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12076         file.
12077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12078         file.
12079         multiarch llround for PPC64.
12080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12081         multiarch ceil for PPC64.
12082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12083         multiarch ceilf for PPC64.
12085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12086         multiarch implementation.
12087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12088         file.
12089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12090         file.
12091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12092         file.
12093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12094         multiarch llround for PPC64.
12095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12096         multiarch lround for PPC64.
12098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12099         multiarch implementation.
12100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12103         file.
12104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12107         multiarch isnan for PPC64.
12108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12109         multiarch isnanf for PPC64.
12111         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12112         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12113         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12114         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12115         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12118         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12119         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12120         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12121         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12124         multiarch implementations.
12125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12126         (__libc_ifunc_impl_list): Likewise.
12127         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12128         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12129         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12130         multiarch stpcpy for PPC64.
12132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12133         multiarch implementations.
12134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12135         (__libc_ifunc_impl_list): Likewise.
12136         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12137         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12138         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12139         multiarch strcpy for PPC64.
12141         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12142         redefine function name.
12143         (_wordcopy_fwd_dest_aligned): Likewise.
12144         (_wordcopy_bwd_aligned): Likewise.
12145         (_wordcopy_bwd_dest_aligned): Likewise.
12146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12147         multiarch implementations.
12148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12149         (__libc_ifunc_impl_list): Likewise.
12150         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12151         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12154         multiarch wcscpy for PPC64.
12156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12157         multiarch implementations.
12158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12159         (__libc_ifunc_impl_list): Likewise.
12160         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12161         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12162         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12163         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12164         multiarch wcscpy for PPC64.
12166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12167         multiarch implementations.
12168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12169         (__libc_ifunc_impl_list): Likewise.
12170         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12171         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12172         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12173         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12174         multiarch wcsrchr for PPC64.
12176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12177         multiarch implementations.
12178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12179         (__libc_ifunc_impl_list): Likewise.
12180         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12181         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12182         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12183         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12184         multiarch wcschr for PPC64.
12186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12187         multiarch implementations.
12188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12189         (__libc_ifunc_impl_list): Likewise.
12190         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12191         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12192         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12193         multiarch strchrnul for PPC64.
12195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12196         implementations.
12197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12198         (__libc_ifunc_impl_list): Likewise.
12199         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12200         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12201         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12202         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12203         strchr for PPC64.
12205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12206         implementations.
12207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12208         (__libc_ifunc_impl_list): Likewise.
12209         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12210         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12211         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12212         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12213         strncmp for PPC64.
12215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12216         multiarch implementations.
12217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12218         (__libc_ifunc_impl_list): Likewise.
12219         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12220         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12221         strncasecmp for PPC64.
12222         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12223         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12224         multiarch strncasecmp_l for PPC64.
12226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12227         multiarch implementations.
12228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12229         (__libc_ifunc_impl_list): Likewise.
12230         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12231         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12232         multiarch strcasecmp for PPC64.
12233         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12234         file.
12235         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12236         multiarch strcasecmp_l for PPC64.
12238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12239         implementations.
12240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12241         (__libc_ifunc_impl_list): Likewise.
12242         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12243         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12244         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12245         strnlen for PPC64.
12247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12248         implementations.
12249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12250         (__libc_ifunc_impl_list): Likewise.
12251         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12252         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12253         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12254         strlen for PPC64.
12256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12257         implementations.
12258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12259         (__libc_ifunc_impl_list): Likewise.
12260         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12261         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12262         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12263         rawmemrchr for PPC64.
12265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12266         implementation.
12267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12268         (__libc_ifunc_impl_list): Likewise.
12269         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12270         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12271         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12272         memrchr for PPC64.
12274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12275         implementation.
12276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12277         (__libc_ifunc_impl_list): Likewise.
12278         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12279         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12280         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12281         memchr for PPC64.
12283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12284         implementation.
12285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12286         (__libc_ifunc_impl_list): Likewise.
12287         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12288         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12289         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12290         mempcpy for PPC64.
12292         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12293         avoid cretion of __bzero symbol.
12294         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12295         Likewise.
12296         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12297         Likewise.
12298         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12299         Likewise.
12300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12301         multiarch implementations.
12302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12303         (__libc_ifunc_impl_list): Likewise.
12304         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12305         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12306         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12307         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12308         bzero for PPC32.
12309         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12310         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12311         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12312         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12313         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12314         memset for PPC64.
12315         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12317         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12319         implementations.
12320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12321         (__libc_ifunc_impl_list): Likewise.
12322         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12323         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12324         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12325         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12326         memcmp for PPC64.
12328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12329         multiarch for POWER/PPC64.
12330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12331         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12332         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12333         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12334         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12335         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12336         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12337         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12338         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12339         memcpy for PPC64.
12341         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12342         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12343         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12344         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12345         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12346         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12347         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12348         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12349         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12350         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12351         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12352         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12353         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12354         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12355         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12364 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12366         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12368 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12370         * benchtests/Makefile (bench): Add exp2 and log2.
12371         (LDLIBS-bench-exp2): Add -lm.
12372         (LDLIBS-bench-log2): Likewise.
12373         * benchtests/exp2-inputs: New inputs file.
12374         * benchtests/log2-inputs: New inputs file.
12375         * benchtests/log-inputs: Add new inputs.
12376         * benchtests/tan-inputs: Likewise.
12378 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12380         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12381         definition...
12382         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12383         (csloww2): ... from here.
12385         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12386         instead of structures.
12387         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12388         (POLYNOMIAL): Likewise.
12389         (TAYLOR_SLOW): Likewise.
12390         (__sin): Likewise.
12391         (__cos): Likewise.
12392         (slow1): Likewise.
12393         (slow2): Likewise.
12394         (sloww): Likewise.
12395         (sloww1); Likewise.
12396         (sloww2): Likewise.
12397         (bsloww1): Likewise.
12398         (bsloww2): Likewise.
12399         (cslow2): Likewise.
12400         (csloww): Likewise.
12401         (csloww1): Likewise.
12402         (csloww2): Likewise.
12404 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12406         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12407         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12408         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12409         * malloc/hooks.c (realloc_check): Likewise.
12411         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12412         * malloc/arena.c: Remove PER_THREAD conditional.
12413         [!PER_THREAD]: Remove code.
12414         (ptmalloc_unlock_all2): Likewise.
12415         (ptmalloc_init): Likewise.
12416         (_int_new_arena): Likewise.
12417         (arena_get2): Likewise.
12418         * malloc/hooks.c (__malloc_get_state): Likewise.
12419         (__malloc_set_state): Likewise.
12420         * malloc/malloc.c: Likewise.
12421         (struct malloc_state): Likewise.
12422         (struct malloc_par): Likewise.
12423         (__libc_realloc): Likewise.
12424         (__libc_mallopt): Likewise.
12426 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12428         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12430 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12432         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12433         macro to a function.  Check for zero perturb_byte.
12434         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12436         * malloc/malloc.c: (force_reg): Remove.
12437         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12438         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12439         force_reg by atomic_forced_read.
12440         * malloc/arena.c (ptmalloc_init): Likewise.
12441         * malloc/hooks.c (top_check): Likewise.
12443 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12447 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12451 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12453         * math/auto-libm-test-in: Add tests of lgamma.
12454         * math/auto-libm-test-out: Regenerated.
12455         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12456         (M_LOG_2_SQRT_PIl): Likewise.
12457         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12458         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12459         mpfr_f_f1.
12460         (func_calc_desc): Add mpfr_f_f1 union field.
12461         (ARGS1): New macro.
12462         (ARGS2): Likewise.
12463         (ARGS3): Likewise.
12464         (ARGS4): Likewise.
12465         (RET1): Likewise.
12466         (RET2): Likewise.
12467         (CALC): Likewise.
12468         (FUNC): Likewise.
12469         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12470         (test_functions): Add lgamma.
12471         (calc_generic_results): Handle mpfr_f_f1.
12472         * sysdeps/i386/fpu/libm-test-ulps: Update.
12473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12475 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12477         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12478         __mpn_add_n for PowerPC64/POWER7.
12479         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12480         __mpn_sub_n for PowerPC64/POWER7.
12482         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12483         __mpn_addmul_1 for PowerPC64.
12484         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12485         __mpn_submul_1 for PowerPC64.
12486         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12487         for PowerPC64.
12488         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12489         for PowerPC64.
12491 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12493         [BZ #15089]
12494         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12496 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12498         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12500         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12501         add multiarch folders.
12502         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12503         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12504         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12505         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12506         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12507         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12508         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12509         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12510         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12511         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12512         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12521         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12523         New file.
12524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12525         New file.
12526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12527         multiarch __ieee754_hypot for PowerPC32.
12528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12529         New file.
12530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12531         New file.
12532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12533         multiarch __ieee754_hypotf for PowerPC32.
12535         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12536         long_double_symbol only if __logbl is defined.
12537         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12538         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12539         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12540         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12541         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12542         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12543         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12544         path for implementation.
12545         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12546         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12548         logb, and logbl multiarch implementations for PowerPC32.
12549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12550         file.
12551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12552         file.
12553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12554         multiarch logb for PowerPC32.
12555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12556         file.
12557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12558         file.
12559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12560         multiarch logbf for PowerPC32.
12561         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12563         file.
12564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12565         multiarch logbl implementation for PowerPC32.
12567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12568         and modff multiarch implementations.
12569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12570         New file.
12571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12572         New file.
12573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12574         multiarch modf for PowerPC32.
12575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12576         New file.
12577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12578         New file.
12579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12580         multiarch modff for PowerPC32.
12582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12583         and lrintf multiarch implementations.
12584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12585         New file.
12586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12587         New file.
12588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12589         multiarch lrint for PowerPC32.
12590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12591         file: multiarch lrintf for PowerPC32.
12593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12594         and lroundf multiarch implementations.
12595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12596         New file.
12597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12598         New file.
12599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12600         New file.
12601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12602         multiarch lround for PowerPC32.
12603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12604         file: multiarch lroundf for PowerPC32.
12606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12607         copysign and copysignf multiarch implementations.
12608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12609         New file.
12610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12611         New file.
12612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12613         file: multiarch copysign for PowerPC32.
12614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12615         file: multiarch copysignf for PowerPC32.
12617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12618         and truncf multiarch implementations.
12619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12620         New file.
12621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12622         file.
12623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12624         multiarch trunc for PowerPC32.
12625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12626         New file.
12627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12628         New file.
12629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12630         multiarch truncf for PowerPC32.
12632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12633         and roundf multiarch implementations.
12634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12635         New file.
12636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12637         file.
12638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12639         multiarch round for PowerPC32.
12640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12641         New file.
12642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12643         New file.
12644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12645         multiarch roundf for PowerPC32.
12647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12648         and floorf multiarch implementations.
12649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12650         New file.
12651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12652         file.
12653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12654         multiarch floor for PowerPC32.
12655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12656         New file.
12657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12658         New file.
12659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12660         multiarch floorf for PowerPC32.
12662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12663         and ceilf multiarch implementations.
12664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12665         New file.
12666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12667         file.
12668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12669         multiarch ceil for PowerPC32.
12670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12671         New file.
12672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12673         file.
12674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12675         multiarch ceilf for PowerPC32.
12677         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12678         is defined.
12679         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12680         FINITEF is defined.
12681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12682         and finitef multiarch implementations.
12683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12684         New file.
12685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12686         file.
12687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12688         multiarch finite for PowerPC32.
12689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12690         New file.
12691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12692         file: multiarch finitef for PowerPC32.
12694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12695         and isinff multiarch implementations.
12696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12697         file.
12698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12699         file.
12700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12701         multiarch isinf for PowerPC32.
12702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12703         New file.
12704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12705         multiarch isinff for PowerPC32.
12707         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12708         alias when __isnan is defined.
12709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12710         and isnanf multiarch implementations.
12711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12712         file.
12713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12714         file.
12715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12716         file.
12717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12718         file.
12719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12720         multiarch isnan for PowerPC32.
12721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12722         New file.
12723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12724         New file.
12725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12726         multiarch isnanf for PowerPC32.
12728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12729         and sqrtf multiarch implementations.
12730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12731         file.
12732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12733         file.
12734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12735         multiarch sqrt for PowerPC32.
12736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12737         file.
12738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12739         file.
12740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12741         multiarch sqrtf for PowerPC32.
12743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12744         and llroundf multiarch implementations.
12745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12746         New file.
12747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12748         New file.
12749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12750         New file.
12751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12752         file: multiarch llround for PowerPC32.
12753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12754         file: multiarch llroundf for PowerPC32.
12756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12757         multiarch PowerPC32 fpu implementations.
12758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12759         New file.
12760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12761         New file.
12762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12763         multiarch llrint for PowerPC32.
12764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12765         New file.
12766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12767         New file.
12768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12769         file.
12771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12773         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12774         file.
12775         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12776         file.
12777         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12778         file.
12779         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12780         multiarch wordcopy for PPC32.
12781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12782         wordcopy objects.
12783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12784         (__libc_ifunc_impl_list): Likewise.
12785         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12786         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12787         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12788         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12789         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12790         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12792         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12794         file.
12795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12796         file.
12797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12798         file.
12799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12800         multiarch wcscpy for PPC32.
12801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12802         multiarch objects.
12803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12804         (__libc_ifunc_impl_list): Likewise.
12805         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12806         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12807         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12808         sysdeps/powerpc/power6/wcscpy.c.
12810         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12812         file.
12813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12814         file.
12815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12816         file.
12817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12818         multiarch wcsrchr for PPC32.
12819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12820         multiarch objects.
12821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12822         (__libc_ifunc_impl_list): Likewise.
12823         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12824         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12825         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12826         sysdeps/powerpc/power6/wcsrchr.c.
12828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12829         file.
12830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12831         file.
12832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12834         multiarch wcschr for PPc32.
12835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12836         multiarch objects.
12837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12838         (__libc_ifunc_impl_list): Likewise.
12839         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12840         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12841         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12842         sysdeps/powerpc/power6/wcschr.c.
12844         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12845         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12846         file.
12847         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12848         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12849         file: multiarch strchr for PPC32.
12850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12851         multiarch objects.
12852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12853         (__libc_ifunc_impl_list): Likewise.
12855         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12856         name.
12857         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12858         file.
12859         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12860         file.
12861         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12862         multiarch strchrnul for PPC32.
12863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12864         multiarch objects.
12865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12866         (__libc_ifunc_impl_list): Likewise.
12868         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12869         file.
12870         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12871         multiarch strncasecmp for PPC32.
12872         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12873         file.
12874         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12875         multiarch strncasecmp_l for PPC32.
12876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12877         strncasecmp multiarch objects.
12878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12879         (__libc_ifunc_impl_list): Likewise.
12881         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12882         file.
12883         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12884         multiarch strncasecmp for PPC32.
12885         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12886         New file.
12887         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12888         multiarch strcasecmp_l for PPC32.
12889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12890         multiarch objects.
12891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12892         (__libc_ifunc_impl_list): Likewise.
12894         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12895         file.
12896         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12897         file.
12898         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12899         multiarch strncmp for PPC32.
12900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12901         multiarch objects.
12902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12903         (__libc_ifunc_impl_list): Likewise.
12905         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12906         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12907         file.
12908         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12909         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12911         multiarch objects.
12912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12913         (__libc_ifunc_impl_list): Likewise.
12915         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12916         file.
12917         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12918         file.
12919         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12921         multiarch objects.
12922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12923         (__libc_ifunc_impl_list): Likewise.
12925         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12926         file.
12927         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12928         file.
12929         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12930         multiarch rawmemchr for PPC32.
12931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12932         multiarch objects.
12933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12934         (__libc_ifunc_impl_list): Likewise.
12936         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12937         file.
12938         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12939         file.
12940         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12941         file: memrchr multiarch for PPC32.
12942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12943         multiarch objects.
12944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12945         (__libc_ifunc_impl_list): Likewise.
12947         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12948         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12949         file.
12950         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12951         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12952         multiarch memchr for PPC32.
12953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12954         multiarch objects.
12955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12956         (__libc_ifunc_impl_list): Likewise.
12958         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12959         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12960         file.
12961         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12962         file.
12963         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12964         file: multiarch mempcpy for PPC32.
12965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12966         multiarch objects.
12967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12968         (__libc_ifunc_impl_list): Likewise.
12970         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12971         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12972         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12973         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12974         multiarch bzero for PPC32.
12975         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12976         file.
12977         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12978         file.
12979         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12980         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12981         file: multiarch memset for PPC32.
12982         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12984         memset multiarch objects.
12985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12986         (__libc_ifunc_impl_list): Likewise.
12988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12989         file.
12990         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12991         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12992         memcmp for PPC32.
12993         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12995         multiarch objects.
12996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12997         (__libc_ifunc_impl_list): Likewise.
12999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13002         file.
13003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13004         file.
13005         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13006         file.
13007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13008         multiarch memcpy for PPC32.
13009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13010         multiarch objects.
13011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13012         (__libc_ifunc_impl_list): Likewise.
13014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13015         support multiarch for POWER/PPC32.
13016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13017         Likewise.
13018         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13020         Implies file to make multiarch folder appers before the fpu and
13021         default folder for power4 configuration.
13023 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13025         * scripts/bench.pl: Append volatile keyword to type.
13027 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13029         * sysdeps/sh/sotruss-lib.c: New file.
13030         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13032 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13036 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13038         [BZ #6810]
13039         * math/w_tgamma.c: Include <errno.h>.
13040         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13041         * math/w_tgammaf.c: Include <errno.h>.
13042         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13043         * math/w_tgammal.c: Include <errno.h>.
13044         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13045         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13046         underflow.  Add more tgamma tests.
13047         * math/auto-libm-test-out: Regenerated.
13048         * sysdeps/i386/fpu/libm-test-ulps: Update.
13049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13051         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13052         sin, sinh, tan, tanh, tgamma, y0 and y1.
13053         * math/auto-libm-test-out: Regenerated.
13054         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13055         (TEST_COND_x86): Likewise.
13056         (M_E2l): Remove macro.
13057         (M_E3l): Likewise.
13058         (M_2_SQRT_PIl): Likewise.
13059         (M_SQRT_PIl): Likewise.
13060         (M_1_DIV_El): Likewise.
13061         (log_test_data): Use AUTO_TESTS_f_f.
13062         (log10_test_data): Likewise.
13063         (log1p_test_data): Likewise.
13064         (log2_test_data): Likewise.
13065         (sin_test_data): Likewise.
13066         (sin_tonearest_test_data): Likewise.
13067         (sin_towardzero_test_data): Likewise.
13068         (sin_downward_test_data): Likewise.
13069         (sin_upward_test_data): Likewise.
13070         (sinh_test_data): Likewise.
13071         (sinh_tonearest_test_data): Likewise.
13072         (sinh_towardzero_test_data): Likewise.
13073         (sinh_downward_test_data): Likewise.
13074         (sinh_upward_test_data): Likewise.
13075         (tan_test_data): Likewise.
13076         (tan_tonearest_test_data): Likewise.
13077         (tan_towardzero_test_data): Likewise.
13078         (tan_downward_test_data): Likewise.
13079         (tan_upward_test_data): Likewise.
13080         (tanh_test_data): Likewise.
13081         (tgamma_test_data): Likewise.
13082         (y0_test_data): Likewise.
13083         (y1_test_data): Likewise.
13084         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13085         (special_real_inputs): Add pi/4.
13086         * sysdeps/i386/fpu/libm-test-ulps: Update.
13087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13089 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13091         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13092         "longjmp_target" static probes.
13093         (__longjmp): Rename to __longjmp_symbol.
13094         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13095         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13096         on which longjmp to generate.
13097         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13098         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13099         probe.
13100         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13101         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13102         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13103         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13104         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13105         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13107         __longjmp_symbol based on which __longjmp to generate.
13108         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13109         probe.
13110         (setjmp): Rename to setjmp_symbol.
13111         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13112         (_setjmp): Rename to _setjmp_symbol.
13113         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13114         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13115         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13116         which setjmp to generate.
13117         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13118         "longjmp_target" static probes.
13120 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13122         * benchtests/README: Add note about output arguments.
13123         * benchtests/bench-sincos.c: Remove file.
13124         * benchtests/sincos-inputs: New file.
13125         * scripts/bench.pl: Identify output arguments and define
13126         static variables for them.
13128         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13130         [BZ #15941]
13131         * Makefile (INSTALL): Add install-plain.texi as the primary
13132         dependency.
13133         * manual/install-plain.texi: New file.
13134         * manual/install.texi: Include node directive only for
13135         non-plaintext output.
13137 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13139         * stdlib/longlong.h: Update from GCC.
13141         [BZ #6807]
13142         [BZ #15901]
13143         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13144         * math/w_j0f.c (y0f): Likewise.
13145         * math/w_j0l.c (__y0l): Likewise.
13146         * math/w_j1.c (y1): Likewise.
13147         * math/w_j1f.c (y1f): Likewise.
13148         * math/w_j1l.c (__y1l): Likewise
13149         * math/w_jn.c (yn): Likewise.
13150         * math/w_jnf.c (ynf): Likewise.
13151         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13152         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13153         value for Bessel function domain errors outside _SVID_ mode.
13154         Adjust sign of return value for yn (negative integer, 0).
13155         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13156         by zero in return for negative x and set sign appropriately for
13157         negative n.
13158         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13159         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13160         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13161         expectations in error cases.
13162         (y1_test_data): Likewise.
13163         (yn_test_data): Likewise.
13164         * sysdeps/i386/fpu/libm-test-ulps: Update.
13165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13167 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13169         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13170         "64" to "64-v1".  Add "64-v2".
13171         (abi-64-options): Rename to ...
13172         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13173         (abi-64-condition): Rename to ...
13174         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13175         (abi-64-ld-soname): Rename to ...
13176         (abi-64-v1-ld-soname): ... this.
13177         (abi-64-v2-options): Define.
13178         (abi-64-v2-condition): Likewise.
13179         (abi-64-v2-ld-soname): Likewise.
13180         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13181         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13186 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13187             Alan Modra  <amodra@gmail.com>
13189         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13190         New versions for use with the ELFv2 ABI.
13191         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13192         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13193         declaration.
13194         (struct La_ppc64v2_retval): Likewise.
13195         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13196         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13197         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13198         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13199         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13200         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13201         Do not save or restore CR.
13202         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13203         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13204         return values for ELFv2 ABI.  Fix location of FPR return registers.
13205         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13206         updated values for _CALL_ELF == 2.
13207         (La_regs, La_retval, int_retval): Likewise.
13209 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13211         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13212         (FRAME_MIN_SIZE_PARM): Likewise.
13213         (FRAME_BACKCHAIN): Likewise.
13214         (FRAME_CR_SAVE): Likewise.
13215         (FRAME_LR_SAVE): Likewise.
13216         (FRAME_TOC_SAVE): Likewise.
13217         (FRAME_PARM_SAVE): Likewise.
13218         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13219         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13220         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13221         (call_mcount_parm_offset): New macro.
13222         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13223         (PROF): Use symbolic stack frame offsets.
13224         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13225         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13226         Redefine in terms of FRAME_MIN_SIZE.
13227         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13228         (_dl_profile_resolve): Likewise.  Update comment.
13229         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13230         symbols stack frame offsets.
13231         (__sigsetjmp): Likewise.
13232         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13233         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13234         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13235         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13238         (FRAME_BACKCHAIN): Remove.
13239         (FRAME_CR_SAVE): Likewise.
13240         (FRAME_LR_SAVE): Likewise.
13241         (FRAME_COMPILER_DW): Likewise.
13242         (FRAME_LINKER_DW): Likewise.
13243         (FRAME_TOC_SAVE): Likewise.
13244         (FRAME_PARM_SAVE): Likewise.
13245         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13246         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13247         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13249         (CHECK_SP): Use symbolic stack frame offsets.
13250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13251         zone" instead of caller's parameter save area for temp storage.
13252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13253         Likewise.  Also, use symbolic stack frame offsets.
13254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13255         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13256         our own stack frame instead of the caller's.
13257         (__socket): Use symbolic stack frame offsets.
13259 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13260             Alan Modra  <amodra@gmail.com>
13262         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13263         Define.
13264         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13265         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13266         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13267         New function.
13268         (elf_machine_fixup_plt): Call it.
13269         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13270         reloc arguments.
13271         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13272         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13273         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13274         r2 before calling target.
13276 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13277             Alan Modra  <amodra@gmail.com>
13279         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13280         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13281         versions of macros to support ELFv2 ABI.
13282         (LOCALENTRY): New macro.
13283         (ENTRY, EALIGN): Use it.
13284         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13285         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13286         fall through into ENTRY entry point.
13287         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13288         Only define if _CALL_ELF != 2.
13290         (elf_machine_matches_host): Verify ABI version matches.
13291         (RTLD_START): Use LOCALENTRY.
13292         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13293         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13294         (PLT_ENTRY_WORDS): New macro.
13295         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13296         (elf_machine_runtime_setup): Support ELFv2 ABI.
13297         (elf_machine_fixup_plt): Likewise.
13298         (elf_machine_plt_conflict): Likewise.
13299         (resolve_ifunc): Likewise.
13300         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13302         Likewise.
13303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13304         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13306         (makecontext): Support ELFv2 ABI.
13307         * elf/elf.h (EF_PPC64_ABI): Define.
13309 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13311         * sysdeps/powerpc/powerpc64/sysdep.h
13312         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13313         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13314         (ENTRY) [ASSEMBLER]: ... but instead here ...
13315         (EALIGN) [ASSEMBLER]: ... and here.
13316         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13317         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13318         (ENTRY_2) [!ASSEMBLER]: Use it.
13319         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13320         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13321         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13322         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13323         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13325         Use PPC64_LOAD_FUNCPTR.
13327         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13329 2013-12-04  Alan Modra  <amodra@gmail.com>
13331         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13332         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13333         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13334         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13336         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13337         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13338         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13339         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13340         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13341         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13343 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13346         (__makecontext): Fix incorrect CFI when backtracing out of
13347         context created via makecontext.
13348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13349         (__setcontext): Fix incorrect CFI during switch to new context.
13350         (__novec_setcontext): Likewise.
13352 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13354         [BZ #4772]
13355         * time/strptime_l.c (__strptime_internal): Allow modifiers
13356         in strptime.
13357         * time/tst-strptime.c (day_tests): Add testcase.
13359 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13361         * scripts/bench.pl: Skip over blank lines.
13363 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13365         [BZ #926]
13366         * manual/time.texi (Calendar Time): Clarify what timezone functions
13367         use.
13369 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13373 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13375         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13376         implementation.
13377         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13378         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13379         * debug/memset_chk.c (__memset_chk): Likewise.
13380         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13381         * debug/strncpy_chk.c: Likewise.
13383 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13385         [BZ #15268]
13386         [BZ #15425]
13387         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13388         (__ieee754_exp): For possibly underflowing results, check size of
13389         result and force underflow exception if required.
13390         * math/auto-libm-test-in: Add more tests of exp.
13391         * math/auto-libm-test-out: Regenerated.
13392         * sysdeps/i386/fpu/libm-test-ulps: Update.
13393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13395         [BZ #16283]
13396         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13397         * math/w_exp2f.c (__exp2f): Likewise.
13398         * math/w_exp2l.c (__exp2l): Likewise.
13399         * math/auto-libm-test-in: Do not allow missing errno on exp2
13400         underflow.
13401         * math/auto-libm-test-out: Regenerated.
13403 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13405         [BZ #16274]
13406         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13407         handle filename validation.
13408         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13409         (do_open): Delete.
13411 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13413         [BZ #6786]
13414         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13415         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13416         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13417         <float.h>.
13418         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13420         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13421         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13422         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13423         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13424         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13425         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13426         Add more erfc tests.
13427         * math/auto-libm-test-out: Regenerated.
13428         * sysdeps/i386/fpu/libm-test-ulps: Update.
13429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13431         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13432         exp2, expm1, j0 and j1.
13433         * math/auto-libm-test-out: Regenerated.
13434         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13435         (erfc_test_data): Likewise.
13436         (exp_test_data): Likewise.
13437         (exp_tonearest_test_data): Likewise.
13438         (exp_towardzero_test_data): Likewise.
13439         (exp_downward_test_data): Likewise.
13440         (exp_upward_test_data): Likewise.
13441         (exp10_test_data): Likewise.
13442         (exp2_test_data): Likewise.
13443         (expm1_test_data): Likewise.
13444         (j0_test_data): Likewise.
13445         (j1_test_data): Likewise.
13446         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13447         (input_flag_type): Add flag_xfail_rounding.
13448         (input_flags): Add xfail-rounding.
13449         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13450         (output_for_one_input_case): Handle flag_xfail_rounding.
13451         * sysdeps/i386/fpu/libm-test-ulps: Update.
13452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13454 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13456         [BZ #16289]
13457         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13458         division by 0.
13460 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13462         [BZ #16195]
13463         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13464         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13465         (STAP_PROBE0): New macro.
13466         (STAP_PROBE1): Likewise.
13467         (STAP_PROBE2): Likewise.
13468         (STAP_PROBE3): Likewise.
13469         (STAP_PROBE4): Likewise.
13471 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13473         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13475 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13477         * benchtests/Makefile (bench): Add sqrt.
13478         (LDLIBS-bench-sqrt): New.
13479         * benchtests/sqrt-input: New.
13481 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13483         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13484         (GAIH_EAI): Likewise.
13485         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13486         (gaih_inet): Likewise.
13487         (getaddrinfo): Don't use GAIH_EAI.
13489         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13490         (struct gaih): Remove definition.
13492 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13494         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13495         Use HERRNOP directly.
13497 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13501 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13503         * math/gen-auto-libm-tests.c (test_functions): Add more
13504         single-argument functions.
13505         (special_fill_pi_2): New function.
13506         (special_fill_minus_pi_2): Likewise.
13507         (special_fill_pi_6): Likewise.
13508         (special_fill_minus_pi_6): Likewise.
13509         (special_fill_pi_3): Likewise.
13510         (special_fill_2pi_3): Likewise.
13511         (special_fill_e): Likewise.
13512         (special_fill_1_e): Likewise.
13513         (special_fill_e_minus_1): Likewise.
13514         (special_real_inputs): Add more special inputs.
13515         (output_for_one_input_case): Do not require ERANGE on underflow to
13516         zero if round-to-nearest result does not underflow to zero, unless
13517         exact results required.
13518         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13519         atan, atanh, cbrt, cos and cosh.
13520         * math/auto-libm-test-out: Regenerated.
13521         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13522         (acos_tonearest_test_data): Likewise.
13523         (acos_towardzero_test_data): Likewise.
13524         (acos_downward_test_data): Likewise.
13525         (acos_upward_test_data): Likewise.
13526         (acosh_test_data): Likewise.
13527         (asin_test_data): Likewise.
13528         (asin_tonearest_test_data): Likewise.
13529         (asin_towardzero_test_data): Likewise.
13530         (asin_upward_test_data): Likewise.
13531         (asinh_test_data): Likewise.
13532         (atan_test_data): Likewise.
13533         (atanh_test_data): Likewise.
13534         (cbrt_test_data): Likewise.
13535         (cos_test_data): Likewise.
13536         (cos_tonearest_test_data): Likewise.
13537         (cos_towardzero_test_data): Likewise.
13538         (cos_downward_test_data): Likewise.
13539         (cos_upward_test_data): Likewise.
13540         (cosh_test_data): Likewise.
13541         (cosh_tonearest_test_data): Likewise.
13542         (cosh_towardzero_test_data): Likewise.
13543         (cosh_downward_test_data): Likewise.
13544         (cosh_upward_test_data): Likewise.
13545         * sysdeps/i386/fpu/libm-test-ulps: Update.
13546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13548 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13550         [BZ #6787]
13551         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13552         * math/w_exp10f.c (__exp10f): Likewise.
13553         * math/w_exp10l.c (__exp10l): Likewise.
13554         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13555         errno settings in existing tests.
13557         [BZ #14032]
13558         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13559         precision control set to double precision.
13560         * sysdeps/i386/fpu/w_sqrt.c: New file.
13561         * math/auto-libm-test-in: Add more tests.
13562         * math/auto-libm-test-out: Update.
13564         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13565         (sqrt_test_tonearest): New function.
13566         (sqrt_towardzero_test_data): New variable.
13567         (sqrt_test_towardzero): New function.
13568         (sqrt_downward_test_data): New variable.
13569         (sqrt_test_downward): New function.
13570         (sqrt_upward_test_data): New variable.
13571         (sqrt_test_upward): New function.
13572         (main): Call the new functions.
13574         * math/gen-auto-libm-tests.c: New file.
13575         * math/auto-libm-test-in: Likewise.
13576         * math/auto-libm-test-out: New generated file.
13577         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13578         variables.
13579         (%beautify): Add generated representations of zero.
13580         (top level): Set $auto_input and call parse_auto_input.
13581         (beautify): Remove trailing "f" from hex float constants.
13582         (parse_args): Handle XFAIL_TEST.
13583         (convert_condition): New function.
13584         (or_value): Likewise.
13585         (or_cond_value): Likewise.
13586         (generate_testfile): Handle AUTO_TESTS_* lines.
13587         (parse_auto_input): New function.
13588         * math/libm-test.inc (XFAIL_TEST): New macro.
13589         (ERRNO_UNCHANGED): Update value.
13590         (ERRNO_EDOM): Likewise.
13591         (ERRNO_ERANGE): Likewise.
13592         (IGNORE_RESULT): Likewise.
13593         (TEST_COND_flt_32): New macro.
13594         (TEST_COND_dbl_64): Likewise.
13595         (TEST_COND_ldbl_96_intel): Likewise.
13596         (TEST_COND_ldbl_96_m68k): Likewise.
13597         (TEST_COND_ldbl_128): Likewise.
13598         (TEST_COND_ldbl_128ibm): Likewise.
13599         (TEST_COND_long32): Likewise.
13600         (TEST_COND_long64): Likewise.
13601         (TEST_COND_before_rounding): Likewise.
13602         (TEST_COND_after_rounding): Likewise.
13603         (enable_test): Handle XFAIL_TEST flag.
13604         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13605         with finite results.
13606         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13607         auto-libm-test-out.
13609 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13610             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13612         [BZ #16214]
13613         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13614         __tls_get_addr_internal instead of __tls_get_offset in order to
13615         avoid GOT pointer dependency.  Make rtld export
13616         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13617         __tls_get_addr since we are a __tls_get_offset platform.
13618         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13619         GOT pointer being set up before.
13620         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13622 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13624         * manual/math.texi (Errors in Math Functions): Document accuracy
13625         goals.
13627         [BZ #15004]
13628         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13629         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13630         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13631         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13632         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13633         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13634         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13635         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13636         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13637         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13638         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13639         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13640         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13641         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13642         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13643         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13645         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13646         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13647         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13648         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13649         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13650         Likewise.
13651         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13652         Likewise.
13653         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13654         Likewise.
13655         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13656         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13657         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13658         atomic-feupdateenv and flt-rounds.
13659         * sysdeps/powerpc/nofpu/Versions (libc): Add
13660         __atomic_feholdexcept, __atomic_feclearexcept,
13661         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13662         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13663         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13664         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13665         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13666         here.
13667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13668         Update.
13670         * manual/arith.texi (FP Exceptions): Document that exceptions may
13671         not be raised when matherr is used.
13672         (Math Error Reporting): Document overflow in directed rounding
13673         modes.  Document that errno may not be set when finite values are
13674         returned on overflow.  Document intent to set errno on underflow
13675         only for underflow to zero.
13677         [BZ #16271]
13678         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13679         round-to-nearest then adjust result for other rounding modes.
13680         * include/fenv.h (fegetround): Use libm_hidden_proto.
13681         * math/fegetround.c (fegetround): Use libm_hidden_def.
13682         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13683         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13684         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13685         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13686         Likewise.
13687         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13688         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13689         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13690         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13692 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13694         [BZ #16077]
13695         * nss/Versions (libnss_files): Add
13696         _nss_files_gethostbyname3_r.
13697         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13698         New function.
13699         (HOST_DB_LOOKUP): Remove macro.
13700         (_nss_files_gethostbyname_r): Implement function without the
13701         HOST_DB_LOOKUP macro.
13702         (_nss_files_gethostbyname2_r): Likewise.
13704 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13706         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13708 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13710         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13711         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13712         warning.
13714 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13716         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13717         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13718         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13719         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13720         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13721         __fe_nomask_env_priv and attribute_hidden.
13722         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13723         (libc_feupdateenv_test_ppc): Likewise.
13724         (libc_feresetround_ppc): Likewise.
13725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13726         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13727         compat_symbol macro.
13728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13729         (__fe_nomask_env): Likewise.
13730         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13732 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13734         * string/Makefile: Remove ifunc tests.
13735         * string/test-string.h: Define TEST_IFUNC.
13736         * string/test-bcopy-ifunc.c: Remove.
13737         * string/test-bzero-ifunc.c: Likewise.
13738         * string/test-memccpy-ifunc.c: Likewise.
13739         * string/test-memchr-ifunc.c: Likewise.
13740         * string/test-memcmp-ifunc.c: Likewise.
13741         * string/test-memcpy-ifunc.c: Likewise.
13742         * string/test-memmem-ifunc.c: Likewise.
13743         * string/test-memmove-ifunc.c: Likewise.
13744         * string/test-mempcpy-ifunc.c: Likewise.
13745         * string/test-memrchr-ifunc.c: Likewise.
13746         * string/test-memset-ifunc.c: Likewise.
13747         * string/test-rawmemchr-ifunc.c: Likewise.
13748         * string/test-stpcpy-ifunc.c: Likewise.
13749         * string/test-stpncpy-ifunc.c: Likewise.
13750         * string/test-strcasecmp-ifunc.c: Likewise.
13751         * string/test-strcasestr-ifunc.c: Likewise.
13752         * string/test-strcat-ifunc.c: Likewise.
13753         * string/test-strchr-ifunc.c: Likewise.
13754         * string/test-strchrnul-ifunc.c: Likewise.
13755         * string/test-strcmp-ifunc.c: Likewise.
13756         * string/test-strcpy-ifunc.c: Likewise.
13757         * string/test-strcspn-ifunc.c: Likewise.
13758         * string/test-strlen-ifunc.c: Likewise.
13759         * string/test-strncasecmp-ifunc.c: Likewise.
13760         * string/test-strncat-ifunc.c: Likewise.
13761         * string/test-strncmp-ifunc.c: Likewise.
13762         * string/test-strncpy-ifunc.c: Likewise.
13763         * string/test-strnlen-ifunc.c: Likewise.
13764         * string/test-strpbrk-ifunc.c: Likewise.
13765         * string/test-strrchr-ifunc.c: Likewise.
13766         * string/test-strspn-ifunc.c: Likewise.
13767         * string/test-strstr-ifunc.c: Likewise.
13769 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13771         * benchtests/Makefile: Remove ifunc tests.
13772         * benchtests/bench-string.h: Define TEST_IFUNC.
13773         * benchtests/bench-bcopy-ifunc.c: Remove.
13774         * benchtests/bench-bzero-ifunc.c: Likewise.
13775         * benchtests/bench-memccpy-ifunc.c: Likewise.
13776         * benchtests/bench-memchr-ifunc.c: Likewise.
13777         * benchtests/bench-memcmp-ifunc.c: Likewise.
13778         * benchtests/bench-memcpy-ifunc.c: Likewise.
13779         * benchtests/bench-memmem-ifunc.c: Likewise.
13780         * benchtests/bench-memmove-ifunc.c: Likewise.
13781         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13782         * benchtests/bench-memrchr-ifunc.c: Likewise.
13783         * benchtests/bench-memset-ifunc.c: Likewise.
13784         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13785         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13786         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13787         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13788         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13789         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13790         * benchtests/bench-strcat-ifunc.c: Likewise.
13791         * benchtests/bench-strchr-ifunc.c: Likewise.
13792         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13793         * benchtests/bench-strcmp-ifunc.c: Likewise.
13794         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13795         * benchtests/bench-strcpy-ifunc.c: Likewise.
13796         * benchtests/bench-strcspn-ifunc.c: Likewise.
13797         * benchtests/bench-strlen-ifunc.c: Likewise.
13798         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13799         * benchtests/bench-strncat-ifunc.c: Likewise.
13800         * benchtests/bench-strncmp-ifunc.c: Likewise.
13801         * benchtests/bench-strncpy-ifunc.c: Likewise.
13802         * benchtests/bench-strnlen-ifunc.c: Likewise.
13803         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13804         * benchtests/bench-strrchr-ifunc.c: Likewise.
13805         * benchtests/bench-strsep-ifunc.c: Likewise.
13806         * benchtests/bench-strspn-ifunc.c: Likewise.
13807         * benchtests/bench-strstr-ifunc.c: Likewise.
13809 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13811         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13813 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13815         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13816         * rt/aio.h: Likewise.
13817         * sysdeps/gnu/bits/utmp.h: Likewise.
13818         * sysdeps/gnu/bits/utmpx.h: Likewise.
13819         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13820         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13821         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13822         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13823         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13824         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13825         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13826         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13827         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13828         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13829         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13830         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13831         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13833         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13834         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13835         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13836         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13837         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13838         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13839         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13840         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13841         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13842         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13843         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13845         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13846         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13847         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13848         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13849         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13850         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13851         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13852         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13853         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13854         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13855         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13856         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13857         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13858         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13859         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13860         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13862 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13864         [BZ #16245]
13865         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13866         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13868 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13870         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13871         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13872         Likewise.
13874 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13876         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13877         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13878         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13879         (__fesetround): Remove define.
13880         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13881         rounding and exceptions handling.
13882         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13883         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13884         (__fe_nomask_env): Likewise.
13885         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13886         __fegetround instead of fegetround.
13887         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13888         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13890 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13892         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13893         it's there.
13895         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13897 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13899         [BZ #11157]
13900         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13901         (encrypt_r): Likewise.
13902         * malloc/obstack.h (obstack_free): Likewise.
13903         * posix/unistd.h (encrypt): Likewise.
13905 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13907         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13908         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13909         DL_CALL_DT_FINI() that call the functions directly.
13910         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13911         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13912         * elf/dl-fini.c: Likewise.
13914 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13916         * malloc/hooks.c (memalign_check): Add alignment rounding.
13917         * malloc/malloc.c (_mid_memalign): New function.
13918         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13919         Implement by calling _mid_memalign.
13920         * manual/probes.texi (Memory Allocation Probes): Remove
13921         memory_valloc_retry and memory_pvalloc_retry.
13923 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13925         * locale/programs/locarchive.c (open_archive): Add const
13926         qualifier to ARCHIVEFNAME and copy default fname to
13927         DEFAULT_FNAME.
13929         [BZ #15601]
13930         * libio/tst-widetext.input: Rename Oriya to Odia.
13931         * locale/iso-639.def: Likewise.
13933         * manual/probes.texi (Mathematical Function Probes): Add
13934         documentation for sin, cos, asin and acos probes.
13935         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13936         (__sin32): Add slowasin probe.
13937         (__cos32): Add slowacos probe.
13938         (__mpsin): Add slowsin probe.
13939         (__mpcos): Add slowcos probe.
13941 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13943         [BZ #15483]
13944         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13945         thread-local __sim_exceptions_thread and global
13946         __sim_exceptions_global.
13947         (__sim_disabled_exceptions): Change to thread-local
13948         __sim_disabled_exceptions_thread and global
13949         __sim_disabled_exceptions_global.
13950         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13951         and global __sim_round_mode_global.
13952         (__simulate_exceptions): Use thread-local floating-point state and
13953         set global state from it as needed.
13954         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13955         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13956         __sim_round_mode_thread.
13957         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13958         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13959         and global __sim_exceptions_global.
13960         (__sim_disabled_exceptions): Change to thread-local
13961         __sim_disabled_exceptions_thread and global
13962         __sim_disabled_exceptions_global.
13963         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13964         and global __sim_round_mode_global.
13965         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13966         (SIM_SET_GLOBAL): Likewise.
13967         * sysdeps/powerpc/soft-fp/sfp-machine.h
13968         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13969         __sim_round_mode_thread.
13970         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13971         __sim_disabled_exceptions_thread.
13972         (__sim_exceptions): Change to __sim_exceptions_thread.
13973         (__sim_disabled_exceptions): Change to
13974         __sim_disabled_exceptions_thread.
13975         (__sim_round_mode): Change to __sim_round_mode_thread.
13976         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13977         thread-local floating-point state and set global state from it as
13978         needed.
13979         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13980         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13981         (__sim_disabled_exceptions): Remove extern declaration.
13982         (feenableexcept): Use thread-local floating-point state and set
13983         global state from it as needed.
13984         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13985         extern declaration.
13986         (__sim_disabled_exceptions): Likewise.
13987         (__sim_round_mode): Likewise.
13988         (__fegetenv): Use thread-local floating-point state.
13989         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13990         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13991         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13992         floating-point state and set global state from it as needed.
13993         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13994         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13995         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13996         Likewise.
13997         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13998         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13999         Likewise.
14000         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14001         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14002         Use __sim_round_mode_thread.
14003         * math/test-fenv-tls.c: New file.
14004         * math/Makefile (tests): Add test-fenv-tls.
14005         ($(objpfx)test-fenv-tls): Depend on
14006         $(common-objpfx)nptl/libpthread.so.
14008 2013-11-19  Andreas Schwab  <schwab@suse.de>
14010         * locale/programs/locale.c (show_info): Decode wordarray elements.
14011         * locale/categories.def (LC_MONETARY): Add element for
14012         _NL_MONETARY_CRNCYSTR.
14013         * locale/C-monetary.c (conversion_rate): New variable.
14014         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14015         element.
14017 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14019         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14020         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14022 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14024         * elf/Makefile (tst-auxv): New test.
14025         * elf/tst-auxv.c: New
14026         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14028 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14030         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14031         (hidden_proto): Caller changed.
14032         (hidden_tls_proto): New macro.
14033         (libc_hidden_tls_proto): Likewise.
14034         (rtld_hidden_tls_proto): Likewise.
14035         (libm_hidden_tls_proto): Likewise.
14036         (libresolv_hidden_tls_proto): Likewise.
14037         (librt_hidden_tls_proto): Likewise.
14038         (libdl_hidden_tls_proto): Likewise.
14039         (libnss_files_hidden_tls_proto): Likewise.
14040         (libnsl_hidden_tls_proto): Likewise.
14041         (libnss_nisplus_hidden_tls_proto): Likewise.
14042         (libutil_hidden_tls_proto): Likewise.
14044 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14046         [BZ #10253]
14047         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14048         (decompose_rpath): Defer expansion to fillin_rpath.
14049         (_dl_init_paths): Pass linkmap to fillin_rpath.
14051 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14053         * benchtests/Makefile: Add strsep.
14054         * benchtests/bench-strsep.c: New file: strsep benchtest.
14055         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14057 2013-11-18  Andreas Schwab  <schwab@suse.de>
14059         * locale/programs/locale.c (show_info) [case byte]: Check for
14060         '\377' instead of '\177'.
14061         * locale/C-monetary.c (not_available): Always use "\377".
14062         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14063         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14064         detect unavailable sign_posn locale elements.
14065         * locale/localeconv.c (__localeconv): For grouping and
14066         mon_grouping handle "\177" and "\377" like no grouping.
14067         (INT_ELEM): New macro.  Use it to set all numeric members.
14068         * locale/programs/ld-monetary.c (monetary_read)
14069         <tok_mon_grouping>: Normalize single -1 to the empty string.
14070         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14071         Likewise.
14073 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14075         [BZ #16055]
14076         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14077         when we match (nil).
14078         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14080 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14082         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14083         (NO_TEST_INLINE): Update value.
14084         (ERRNO_UNCHANGED): Likewise.
14085         (ERRNO_EDOM): Likewise.
14086         (ERRNO_ERANGE): Likewise.
14087         (IGNORE_RESULT): Likewise.
14088         (check_float_internal): Check signs of NaN results if
14089         TEST_NAN_SIGN used.
14090         (check_complex): Pass TEST_NAN_SIGN flag through to second
14091         check_float_internal call.
14092         (copysign_test_data): Add tests with quiet NaNs as second
14093         argument.  Use TEST_NAN_SIGN.
14094         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14095         TEST_NAN_SIGN.
14096         (signbit_test_data): Add tests of quiet NaN argument.
14097         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14099         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14100         $ignore_result.
14101         (parse_args): Handle function results specified as IGNORE.
14102         * math/libm-test.inc (IGNORE_RESULT): New macro.
14103         (check_float_internal): Do not check numerical result if flag
14104         IGNORE_RESULT set.
14105         (check_complex): Pass through IGNORE_RESULT to second
14106         check_float_internal call.
14107         (check_int): Do not check numerical result if flag IGNORE_RESULT
14108         set.
14109         (check_long): Likewise.
14110         (check_bool): Likewise.
14111         (check_longlong): Likewise.
14112         (lrint_test_data): Add tests of infinite and NaN arguments.
14113         (lrint_tonearest_test_data): Likewise.
14114         (lrint_towardzero_test_data): Likewise.
14115         (lrint_downward_test_data): Likewise.
14116         (lrint_upward_test_data): Likewise.
14117         (llrint_test_data): Likewise.
14118         (llrint_tonearest_test_data): Likewise.
14119         (llrint_towardzero_test_data): Likewise.
14120         (llrint_downward_test_data): Likewise.
14121         (llrint_upward_test_data): Likewise.
14122         (lround_test_data): Likewise.
14123         (llround_test_data): Likewise.
14125         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14126         (ERRNO_UNCHANGED): Update value.
14127         (ERRNO_EDOM): Likewise.
14128         (ERRNO_ERANGE): Likewise.
14129         (NO_TEST_INLINE_FLOAT): New macro.
14130         (NO_TEST_INLINE_DOUBLE): Likewise.
14131         (enable_test): New function.
14132         (RUN_TEST_f_f): Check enable_test before running test.
14133         (RUN_TEST_2_f): Likewise.
14134         (RUN_TEST_fff_f): Likewise.
14135         (RUN_TEST_c_f): Likewise.
14136         (RUN_TEST_f_f1): Likewise.
14137         (RUN_TEST_fF_f1): Likewise.
14138         (RUN_TEST_fI_f1): Likewise.
14139         (RUN_TEST_ffI_f1): Likewise.
14140         (RUN_TEST_c_c): Likewise.
14141         (RUN_TEST_cc_c): Likewise.
14142         (RUN_TEST_f_i): Likewise.
14143         (RUN_TEST_f_i_tg): Likewise.
14144         (RUN_TEST_ff_i_tg): Likewise.
14145         (RUN_TEST_f_b): Likewise.
14146         (RUN_TEST_f_b_tg): Likewise.
14147         (RUN_TEST_f_l): Likewise.
14148         (RUN_TEST_f_L): Likewise.
14149         (RUN_TEST_fFF_11): Likewise.
14150         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14151         conditionals.
14152         (cosh_test_data): Likewise.
14153         (exp_test_data): Likewise.
14154         (expm1_test_data): Likewise.
14155         (hypot_test_data): Likewise.
14156         (pow_test_data): Likewise.
14157         (sinh_test_data): Likewise.
14158         (tanh_test_data): Likewise.
14159         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14160         flags argument.
14162         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14163         tests with quiet NaN input and output.
14164         (acosh_test_data): Likewise.
14165         (asin_test_data): Likewise.
14166         (asinh_test_data): Likewise.
14167         (atan_test_data): Likewise.
14168         (atanh_test_data): Likewise.
14169         (atan2_test_data): Likewise.
14170         (cbrt_test_data): Likewise.
14171         (cos_test_data): Likewise.
14172         (cosh_test_data): Likewise.
14173         (erf_test_data): Likewise.
14174         (erfc_test_data): Likewise.
14175         (exp_test_data): Likewise.
14176         (exp10_test_data): Likewise.
14177         (exp2_test_data): Likewise.
14178         (expm1_test_data): Likewise.
14179         (hypot_test_data): Likewise.
14180         (j0_test_data): Likewise.
14181         (j1_test_data): Likewise.
14182         (jn_test_data): Likewise.
14183         (lgamma_test_data): Likewise.
14184         (log_test_data): Likewise.
14185         (log10_test_data): Likewise.
14186         (log1p_test_data): Likewise.
14187         (log2_test_data): Likewise.
14188         (pow_test_data): Likewise.
14189         (scalb_test_data): Likewise.
14190         (sin_test_data): Likewise.
14191         (sincos_test_data): Likewise.
14192         (sinh_test_data): Likewise.
14193         (tan_test_data): Likewise.
14194         (tanh_test_data): Likewise.
14195         (tgamma_test_data): Likewise.
14196         (y0_test_data): Likewise.
14197         (y1_test_data): Likewise.
14198         (yn_test_data): Likewise.
14200         [BZ #16167]
14201         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14202         argument being NaN and avoid computations with second argument in
14203         that case.
14204         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14205         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14206         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14208 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14210         * locale/iso-639.def: Add Chitwani Tharu (the).
14212 2013-11-14  Andreas Schwab  <schwab@suse.de>
14214         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14215         word instead of empty string.
14217 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14220         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14222         (__fe_nomask_env): Likewise.
14224 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14226         * benchtests/bench-timing.h: Include time.h.
14228 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14230         [BZ #15997]
14231         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14232         to 3.4.0 for x32.
14233         * sysdeps/unix/sysv/linux/configure: Regenerated.
14235 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14237         [BZ #16151]
14238         * stdlib/strtod_l.c (round_and_return): Do not consider
14239         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14240         exponent one less than half the least subnormal exponent.
14241         * stdlib/test-strtod-round-data: Add more tests.
14242         * stdlib/tst-strtod-round.c (tests): Regenerated.
14244 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14246         [BZ #14143]
14247         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14248         (__fe_mask_env): Likewise.
14249         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14250         libm_hidden_proto and add function prototype.
14251         (__fe_mask_env): Add function prototype.
14252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14253         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14255         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14257         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14259 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14261         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14262         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14264 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14266         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14267         of htab_find_slot().
14269 2013-11-11  David S. Miller  <davem@davemloft.net>
14271         [BZ #16150]
14272         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14273         symbol in the non-vis3 case in static builds.
14274         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14275         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14276         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14277         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14279 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14281         [BZ #387]
14282         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14283         it is empty.
14285 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14287         * benchtests/Makefile: Add bench-strtod.
14288         * benchtests/bench-strtod.c: New file: strtod benchtest
14290 2013-11-11  Andreas Schwab  <schwab@suse.de>
14292         [BZ #16153]
14293         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14294         terminating NUL in key length.
14296 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14298         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14299         Add artificial ODP entry for vDSO symbol for PPC64.
14300         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14301         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14303 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14305         [BZ #15374]
14306         * nss/getent.c (services_keys): Recognize services starting with digit.
14308 2013-11-06  David S. Miller  <davem@davemloft.net>
14310         [BZ #15985]
14311         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14312         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14314 2013-11-06  Will Newton  <will.newton@linaro.org>
14316         * manual/memory.texi (Malloc Examples): Remove register
14317         keyword from examples.
14319 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14321         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14323 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14325         [BZ #6981]
14326         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14327         depending on [__GCC_IEC_559 > 0].
14328         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14329         depending on [__GCC_IEC_559_COMPLEX > 0].
14331 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14333         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14334         to iso-639.def.
14336 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14338         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14340 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14342         [BZ #16112]
14343         * malloc/malloc (malloc_info): Do not handle first bin as
14344         special case.
14346 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14348         * locale/iso-639.def: Add Central Nahuatl (nhn).
14350 2013-11-01  Bruno Haible  <bruno@clisp.org>
14352         [BZ #7003]
14353         * manual/math.texi (BSD Random): Specify range upper bound as
14354         in POSIX.
14356 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14358         * locale/iso-639.def: Add Meadow Mari (mhr).
14360 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14362         [BZ #14752], [BZ #15763]
14363         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14364         Validate name.
14365         * rt/tst_shm.c: Add test for escaping directory.
14367 2013-10-31  Andreas Schwab  <schwab@suse.de>
14369         [BZ #15917]
14370         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14371         followed by 'x' as part of digit sequence.
14372         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14374 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14376         [BZ #16037]
14377         * configure.ac: allow GNU Make 4.0 and greater.
14378         * configure: Regenerated.
14380 2013-10-30  Will Newton  <will.newton@linaro.org>
14382         [BZ #16038]
14383         * malloc/hooks.c (memalign_check): Limit alignment to the
14384         maximum representable power of two.
14385         * malloc/malloc.c (__libc_memalign): Likewise.
14386         * malloc/tst-memalign.c (do_test): Add test for very
14387         large alignment values.
14388         * malloc/tst-posix_memalign.c (do_test): Likewise.
14390 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14392         [BZ #11087]
14393         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14394         (munmap_chunk): Likewise.
14395         (mremap_chunk): Likewise.
14397 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14399         [BZ #15799]
14400         * stdlib/div.c (div): Remove obsolete code.
14401         * stdlib/ldiv.c (ldiv): Likewise.
14402         * stdlib/lldiv.c (lldiv): Likewise.
14404 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14406         [BZ #16071]
14407         * nss/nss_files/files-XXX.c (get_contents_ret): New
14408         enumerator.
14409         (get_contents): New function.
14410         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14412 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14414         * configure.in: Moved to ...
14415         * configure.ac: ... here. Change reference to configure.in
14416         to configure.ac.
14417         * sysdeps/arm/preconfigure.ac: ... here.
14418         configure.in to configure.ac.
14419         * sysdeps/gnu/configure.in: Moved to ...
14420         * sysdeps/gnu/configure.ac: ... here.
14421         * sysdeps/i386/configure.in: Moved to ...
14422         * sysdeps/i386/configure.ac: ... here.
14423         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14424         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14425         * sysdeps/mach/configure.in: Moved to ...
14426         * sysdeps/mach/configure.ac: ... here.
14427         * sysdeps/mach/hurd/configure.in: Moved to ...
14428         * sysdeps/mach/hurd/configure.ac: ... here.
14429         * sysdeps/powerpc/configure.in: Moved to ...
14430         * sysdeps/powerpc/configure.ac: ... here.
14431         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14432         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14433         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14434         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14435         * sysdeps/s390/s390-32/configure.in: Moved to ...
14436         * sysdeps/s390/s390-32/configure.ac: ... here.
14437         * sysdeps/s390/s390-64/configure.in: Moved to ...
14438         * sysdeps/s390/s390-64/configure.ac: ... here.
14439         * sysdeps/sh/configure.in: Moved to ...
14440         * sysdeps/sh/configure.ac: ... here.
14441         * sysdeps/sparc/configure.in: Moved to ...
14442         * sysdeps/sparc/configure.ac: ... here.
14443         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14444         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14445         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14446         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14447         * sysdeps/x86_64/configure.in: Moved to ...
14448         * sysdeps/x86_64/configure.ac: ... here.
14449         * sysdeps/x86_64/preconfigure.in: Moved to ...
14450         * sysdeps/x86_64/preconfigure.ac: ... here.
14451         * aclocal.m4: Change reference to configure.in to configure.ac.
14452         * config.h.in: Likewise.
14453         * manual/install.texi: Likewise.
14454         * manual/maint.texi: Likewise.
14455         * Makefile: Likewise.
14456         * malloc/Makefile: Likewise.
14457         * nscd/Makefile: Likewise.
14458         * Makeconfig: Change reference to configure.in and
14459         preconfigure.in to configure.ac and preconfigure.ac
14460         respectively.
14461         * INSTALL: Regenerated.
14462         * configure: Likewise.
14463         * sysdeps/gnu/configure: Likewise.
14464         * sysdeps/i386/configure: Likewise.
14465         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14466         * sysdeps/mach/configure: Likewise.
14467         * sysdeps/mach/hurd/configure: Likewise.
14468         * sysdeps/powerpc/configure: Likewise.
14469         * sysdeps/powerpc/powerpc32/configure: Likewise.
14470         * sysdeps/powerpc/powerpc64/configure: Likewise.
14471         * sysdeps/s390/s390-32/configure: Likewise.
14472         * sysdeps/s390/s390-64/configure: Likewise.
14473         * sysdeps/sh/configure: Likewise.
14474         * sysdeps/sparc/configure: Likewise.
14475         * sysdeps/unix/sysv/linux/configure: Likewise.
14476         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14477         * sysdeps/x86_64/configure: Likewise.
14478         * sysdeps/x86_64/preconfigure: Likewise.
14480 2013-10-29  Andreas Schwab  <schwab@suse.de>
14482         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14484 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14486         * benchtests/pow-inputs: Add new inputs.
14488         * benchtests/exp-inputs: Add new inputs.
14490         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14491         conditional check for return value.
14492         (__cos32): Likewise.
14494 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14496         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14497         to provide a boost for large inputs with word alignment.
14498         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14499         implementation based on optimized PPC64 strcpy.
14500         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14501         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14502         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14503         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14505 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14507         [BZ #2801]
14508         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14510 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14512         [BZ #14876]
14513         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14514         * time/tst-strptime.c (day_tests): Add testcase.
14516 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14518         [BZ #14029]
14519         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14521 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14523         [BZ #16074]
14524         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14525         MAP_FAILED on error.
14527 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14529         [BZ #16072]
14530         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14531         heap for large requests.
14533 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14535         [BZ #9954]
14536         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14537         result if the result has no associated interface.
14538         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14539         interface for all 127.X.Y.Z addresses.
14541 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14543         * locale/iso-639.def: Add Ligurian (lij)
14545 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14547         [BZ #15825]
14548         * sunrpc/rpc_main.c: Document rpcgen -5.
14550 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14552         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14554 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14556         [BZ #10278]
14557         * posix/glob.c: Match only directories when trailing slash is present.
14558         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14559         (main): Add testcase.
14561 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14563         [BZ #15670]
14564         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14566 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14568         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14569         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14570         AUTH_DES and cindex for FIPS 140-2.
14571         (DES Encryption): Add cindex FIPS 46-3.
14573         * locale/locarchive.h (struct locarhandle): Add fname.
14574         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14575         if an optional argument was specified to --list-archive,
14576         otherwise NULL.
14577         * locale/programs/locarchive.c (show_archive_content): Take new
14578         argument fname and pass it via ah.fname to open_archive.
14579         * locale/programs/localedef.h: Update decl.
14580         (open_archive): If AH->fname is non-null, open that file
14581         rather than the default file name, and don't ignore ENOENT.
14582         (create_archive): Set AH.fname to NULL.
14583         (delete_locales_from_archive): Likewise.
14584         (add_locales_to_archive): Likewise.
14585         * locale/programs/locfile.c (write_all_categories): Likewise.
14587 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14588             Aldy Hernandez  <aldyh@redhat.com>
14590         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14591         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14592         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14593         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14594         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14595         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14596         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14597         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14598         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14599         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14600         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14601         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14602         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14603         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14604         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14605         Likewise.
14606         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14607         Likewise.
14608         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14609         Likewise.
14610         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14611         Likewise.
14612         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14613         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14614         Likewise.
14615         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14616         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14617         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14618         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14619         Likewise.
14620         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14621         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14622         * sysdeps/powerpc/preconfigure: Likewise.
14623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14624         Likewise.
14625         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14626         Replace contents of file by #include of <fenv_libc.h>.
14627         * sysdeps/powerpc/soft-fp/sfp-machine.h
14628         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14629         and <sys/prctl.h>.
14630         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14631         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14632         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14633         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14634         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14635         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14637         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14638         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14639         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14640         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14643         Allow copysignl PLT reference to be missing.
14645 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14646             Joseph Myers  <joseph@codesourcery.com
14648         [BZ #15948]
14649         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14650         single character.
14651         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14653 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14655         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14656         * elf/tst-tls1.c: Likewise.
14657         * elf/tst-tls10.h: Likewise.
14658         * elf/tst-tls14.c: Likewise.
14659         * elf/tst-tls2.c: Likewise.
14660         * elf/tst-tls3.c: Likewise.
14661         * elf/tst-tls4.c: Likewise.
14662         * elf/tst-tls5.c: Likewise.
14663         * elf/tst-tls6.c: Likewise.
14664         * elf/tst-tls7.c: Likewise.
14665         * elf/tst-tls8.c: Likewise.
14666         * elf/tst-tls9.c: Likewise.
14667         * elf/tst-tlsmod1.c: Likewise.
14668         * elf/tst-tlsmod13.c: Likewise.
14669         * elf/tst-tlsmod13a.c: Likewise.
14670         * elf/tst-tlsmod14a.c: Likewise.
14671         * elf/tst-tlsmod16a.c: Likewise.
14672         * elf/tst-tlsmod16b.c: Likewise.
14673         * elf/tst-tlsmod2.c: Likewise.
14674         * elf/tst-tlsmod3.c: Likewise.
14675         * elf/tst-tlsmod4.c: Likewise.
14676         * elf/tst-tlsmod5.c: Likewise.
14677         * elf/tst-tlsmod6.c: Likewise.
14679 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14681         [BZ #12486]
14682         * malloc/malloc.c: remove checks for statistics.
14684 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14686         [BZ #15277]
14687         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14688         * inet/tst-network.c: Add testcase.
14690 2013-10-17  Andreas Schwab  <schwab@suse.de>
14692         [BZ #15218]
14693         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14694         to determine canonical name.
14696 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14698         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14699         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14700         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14701         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14702         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14703         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14704         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14705         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14706         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14707         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14708         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14709         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14710         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14711         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14712         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14713         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14714         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14715         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14716         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14717         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14718         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14719         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14720         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14721         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14722         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14723         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14724         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14725         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14726         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14727         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14728         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14729         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14730         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14731         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14732         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14733         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14734         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14735         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14736         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14737         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14738         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14739         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14740         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14741         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14742         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14743         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14744         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14745         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14746         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14747         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14748         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14749         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14750         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14751         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14752         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14753         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14754         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14755         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14757 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14759         [BZ #16041]
14760         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14761         make result into a quiet NaN.
14763 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14765         * soft-fp/adddf3.c: Fix horizontal whitespace.
14766         * soft-fp/addsf3.c: Likewise.
14767         * soft-fp/addtf3.c: Likewise.
14768         * soft-fp/divdf3.c: Likewise.
14769         * soft-fp/divsf3.c: Likewise.
14770         * soft-fp/divtf3.c: Likewise.
14771         * soft-fp/double.h: Likewise.
14772         * soft-fp/eqdf2.c: Likewise.
14773         * soft-fp/eqsf2.c: Likewise.
14774         * soft-fp/eqtf2.c: Likewise.
14775         * soft-fp/extenddftf2.c: Likewise.
14776         * soft-fp/extended.h: Likewise.
14777         * soft-fp/extendsfdf2.c: Likewise.
14778         * soft-fp/extendsftf2.c: Likewise.
14779         * soft-fp/extendxftf2.c: Likewise.
14780         * soft-fp/fixdfdi.c: Likewise.
14781         * soft-fp/fixdfsi.c: Likewise.
14782         * soft-fp/fixdfti.c: Likewise.
14783         * soft-fp/fixsfdi.c: Likewise.
14784         * soft-fp/fixsfsi.c: Likewise.
14785         * soft-fp/fixsfti.c: Likewise.
14786         * soft-fp/fixtfdi.c: Likewise.
14787         * soft-fp/fixtfsi.c: Likewise.
14788         * soft-fp/fixtfti.c: Likewise.
14789         * soft-fp/fixunsdfdi.c: Likewise.
14790         * soft-fp/fixunsdfsi.c: Likewise.
14791         * soft-fp/fixunsdfti.c: Likewise.
14792         * soft-fp/fixunssfdi.c: Likewise.
14793         * soft-fp/fixunssfsi.c: Likewise.
14794         * soft-fp/fixunssfti.c: Likewise.
14795         * soft-fp/fixunstfdi.c: Likewise.
14796         * soft-fp/fixunstfsi.c: Likewise.
14797         * soft-fp/fixunstfti.c: Likewise.
14798         * soft-fp/floatdidf.c: Likewise.
14799         * soft-fp/floatdisf.c: Likewise.
14800         * soft-fp/floatditf.c: Likewise.
14801         * soft-fp/floatsidf.c: Likewise.
14802         * soft-fp/floatsisf.c: Likewise.
14803         * soft-fp/floatsitf.c: Likewise.
14804         * soft-fp/floattidf.c: Likewise.
14805         * soft-fp/floattisf.c: Likewise.
14806         * soft-fp/floattitf.c: Likewise.
14807         * soft-fp/floatundidf.c: Likewise.
14808         * soft-fp/floatundisf.c: Likewise.
14809         * soft-fp/floatunditf.c: Likewise.
14810         * soft-fp/floatunsidf.c: Likewise.
14811         * soft-fp/floatunsisf.c: Likewise.
14812         * soft-fp/floatunsitf.c: Likewise.
14813         * soft-fp/floatuntidf.c: Likewise.
14814         * soft-fp/floatuntisf.c: Likewise.
14815         * soft-fp/floatuntitf.c: Likewise.
14816         * soft-fp/fmadf4.c: Likewise.
14817         * soft-fp/fmasf4.c: Likewise.
14818         * soft-fp/fmatf4.c: Likewise.
14819         * soft-fp/gedf2.c: Likewise.
14820         * soft-fp/gesf2.c: Likewise.
14821         * soft-fp/getf2.c: Likewise.
14822         * soft-fp/ledf2.c: Likewise.
14823         * soft-fp/lesf2.c: Likewise.
14824         * soft-fp/letf2.c: Likewise.
14825         * soft-fp/muldf3.c: Likewise.
14826         * soft-fp/mulsf3.c: Likewise.
14827         * soft-fp/multf3.c: Likewise.
14828         * soft-fp/negdf2.c: Likewise.
14829         * soft-fp/negsf2.c: Likewise.
14830         * soft-fp/negtf2.c: Likewise.
14831         * soft-fp/op-1.h: Likewise.
14832         * soft-fp/op-2.h: Likewise.
14833         * soft-fp/op-4.h: Likewise.
14834         * soft-fp/op-8.h: Likewise.
14835         * soft-fp/op-common.h: Likewise.
14836         * soft-fp/quad.h: Likewise.
14837         * soft-fp/single.h: Likewise.
14838         * soft-fp/soft-fp.h: Likewise.
14839         * soft-fp/sqrtdf2.c: Likewise.
14840         * soft-fp/sqrtsf2.c: Likewise.
14841         * soft-fp/sqrttf2.c: Likewise.
14842         * soft-fp/subdf3.c: Likewise.
14843         * soft-fp/subsf3.c: Likewise.
14844         * soft-fp/subtf3.c: Likewise.
14845         * soft-fp/truncdfsf2.c: Likewise.
14846         * soft-fp/trunctfdf2.c: Likewise.
14847         * soft-fp/trunctfsf2.c: Likewise.
14848         * soft-fp/trunctfxf2.c: Likewise.
14849         * soft-fp/unorddf2.c: Likewise.
14850         * soft-fp/unordsf2.c: Likewise.
14851         * soft-fp/unordtf2.c: Likewise.
14853 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14855         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14856         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14858 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14860         * elf/dl-libc.c: Clear initfini list after freeing.
14862 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14864         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14865         * soft-fp/addsf3.c: Likewise.
14866         * soft-fp/addtf3.c: Likewise.
14867         * soft-fp/divdf3.c: Likewise.
14868         * soft-fp/divsf3.c: Likewise.
14869         * soft-fp/divtf3.c: Likewise.
14870         * soft-fp/double.h: Likewise.
14871         * soft-fp/eqdf2.c: Likewise.
14872         * soft-fp/eqsf2.c: Likewise.
14873         * soft-fp/eqtf2.c: Likewise.
14874         * soft-fp/extenddftf2.c: Likewise.
14875         * soft-fp/extended.h: Likewise.
14876         * soft-fp/extendsfdf2.c: Likewise.
14877         * soft-fp/extendsftf2.c: Likewise.
14878         * soft-fp/extendxftf2.c: Likewise.
14879         * soft-fp/fixdfdi.c: Likewise.
14880         * soft-fp/fixdfsi.c: Likewise.
14881         * soft-fp/fixdfti.c: Likewise.
14882         * soft-fp/fixsfdi.c: Likewise.
14883         * soft-fp/fixsfsi.c: Likewise.
14884         * soft-fp/fixsfti.c: Likewise.
14885         * soft-fp/fixtfdi.c: Likewise.
14886         * soft-fp/fixtfsi.c: Likewise.
14887         * soft-fp/fixtfti.c: Likewise.
14888         * soft-fp/fixunsdfdi.c: Likewise.
14889         * soft-fp/fixunsdfsi.c: Likewise.
14890         * soft-fp/fixunsdfti.c: Likewise.
14891         * soft-fp/fixunssfdi.c: Likewise.
14892         * soft-fp/fixunssfsi.c: Likewise.
14893         * soft-fp/fixunssfti.c: Likewise.
14894         * soft-fp/fixunstfdi.c: Likewise.
14895         * soft-fp/fixunstfsi.c: Likewise.
14896         * soft-fp/fixunstfti.c: Likewise.
14897         * soft-fp/floatdidf.c: Likewise.
14898         * soft-fp/floatdisf.c: Likewise.
14899         * soft-fp/floatditf.c: Likewise.
14900         * soft-fp/floatsidf.c: Likewise.
14901         * soft-fp/floatsisf.c: Likewise.
14902         * soft-fp/floatsitf.c: Likewise.
14903         * soft-fp/floattidf.c: Likewise.
14904         * soft-fp/floattisf.c: Likewise.
14905         * soft-fp/floattitf.c: Likewise.
14906         * soft-fp/floatundidf.c: Likewise.
14907         * soft-fp/floatundisf.c: Likewise.
14908         * soft-fp/floatunsidf.c: Likewise.
14909         * soft-fp/floatunsisf.c: Likewise.
14910         * soft-fp/floatuntidf.c: Likewise.
14911         * soft-fp/floatuntisf.c: Likewise.
14912         * soft-fp/floatuntitf.c: Likewise.
14913         * soft-fp/fmadf4.c: Likewise.
14914         * soft-fp/fmasf4.c: Likewise.
14915         * soft-fp/fmatf4.c: Likewise.
14916         * soft-fp/gedf2.c: Likewise.
14917         * soft-fp/gesf2.c: Likewise.
14918         * soft-fp/getf2.c: Likewise.
14919         * soft-fp/ledf2.c: Likewise.
14920         * soft-fp/lesf2.c: Likewise.
14921         * soft-fp/letf2.c: Likewise.
14922         * soft-fp/muldf3.c: Likewise.
14923         * soft-fp/mulsf3.c: Likewise.
14924         * soft-fp/multf3.c: Likewise.
14925         * soft-fp/negdf2.c: Likewise.
14926         * soft-fp/negsf2.c: Likewise.
14927         * soft-fp/negtf2.c: Likewise.
14928         * soft-fp/op-1.h: Likewise.
14929         * soft-fp/op-2.h: Likewise.
14930         * soft-fp/op-4.h: Likewise.
14931         * soft-fp/op-8.h: Likewise.
14932         * soft-fp/op-common.h: Likewise.
14933         * soft-fp/quad.h: Likewise.
14934         * soft-fp/single.h: Likewise.
14935         * soft-fp/soft-fp.h: Likewise.
14936         * soft-fp/sqrtdf2.c: Likewise.
14937         * soft-fp/sqrtsf2.c: Likewise.
14938         * soft-fp/sqrttf2.c: Likewise.
14939         * soft-fp/subdf3.c: Likewise.
14940         * soft-fp/subsf3.c: Likewise.
14941         * soft-fp/subtf3.c: Likewise.
14942         * soft-fp/truncdfsf2.c: Likewise.
14943         * soft-fp/trunctfdf2.c: Likewise.
14944         * soft-fp/trunctfsf2.c: Likewise.
14945         * soft-fp/trunctfxf2.c: Likewise.
14946         * soft-fp/unorddf2.c: Likewise.
14947         * soft-fp/unordsf2.c: Likewise.
14948         * soft-fp/unordtf2.c: Likewise.
14950 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14952         [BZ #15672]
14953         * misc/error.c (error_tail): Fix possible buffer overflow.
14955 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14957         [BZ #13028]
14958         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14959         address.
14961 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14963         [BZ #832]
14964         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14965         testing pipefail option.
14967 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14969         * soft-fp/double.h: Indent preprocessor directives inside #if.
14970         * soft-fp/extended.h: Likewise.
14971         * soft-fp/op-2.h: Likewise.
14972         * soft-fp/op-4.h: Likewise.
14973         * soft-fp/op-common.h: Likewise.
14974         * soft-fp/quad.h: Likewise.
14975         * soft-fp/single.h: Likewise.
14976         * soft-fp/soft-fp.h: Likewise.
14978 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14980         * iconv/iconv_prog.c: Fix typos.
14981         * stdio-common/psiginfo-data.h: Likewise.
14983 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14985         [BZ #15764]
14986         * locale/setlocale.c: Fix typo.
14988 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14990         [BZ #16036]
14991         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14992         signaling NaN arguments.
14993         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14994         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14996         [BZ #14910]
14997         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14998         unordered operands.
14999         * soft-fp/gesf2.c (__gesf2): Likewise.
15000         * soft-fp/getf2.c (__getf2): Likewise.
15001         * soft-fp/ledf2.c (__ledf2): Likewise.
15002         * soft-fp/lesf2.c (__lesf2): Likewise.
15003         * soft-fp/letf2.c (__letf2): Likewise.
15005         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15006         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15007         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15008         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15009         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15010         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15011         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15012         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15013         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15014         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15015         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15016         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15017         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15018         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15019         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15020         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15021         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15022         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15023         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15024         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15025         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15026         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15027         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15028         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15029         * soft-fp/floattidf.c (__floattidf): Likewise.
15030         * soft-fp/floattisf.c (__floattisf): Likewise.
15031         * soft-fp/floattitf.c (__floattitf): Likewise.
15032         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15033         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15034         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15035         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15036         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15037         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15038         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15039         * soft-fp/gesf2.c (__gesf2): Likewise.
15040         * soft-fp/getf2.c (__getf2): Likewise.
15041         * soft-fp/ledf2.c (__ledf2): Likewise.
15042         * soft-fp/lesf2.c (__lesf2): Likewise.
15043         * soft-fp/letf2.c (__letf2): Likewise.
15045         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15046         Undefine and redefine.
15047         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15048         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15049         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15050         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15051         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15052         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15053         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15054         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15055         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15056         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15057         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15058         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15059         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15060         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15061         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15063         [BZ #16032]
15064         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15065         without decrementing exponent if mantissa >= that for the
15066         denominator, not >.
15067         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15068         denominator, not >.  Decrement exponent in < case instead of
15069         incrementing in >= case.
15070         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15071         without decrementing exponent if mantissa >= that for the
15072         denominator, not >.
15074         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15075         computing saturated result for unsigned overflow.
15077 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15078             Jeff Law  <law@redhat.com>
15080         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15081         (atan2Mp): Add systemtap probe marker.
15082         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15083         (__ieee754_log): Add systemtap probe marker.
15084         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15085         (atanMp): Add systemtap probe marker.
15086         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15087         (tanMp): Add systemtap probe marker.
15088         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15089         (__slowexp): Add systemtap probe marker.
15090         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15091         (__slowpow): Add systemtap probe marker.
15092         * manual/probes.texi: Document probes.
15094 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15096         [BZ #15362]
15097         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15098         written.
15099         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15100         written.
15101         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15102         written to buffer but not flushed.
15103         * libio/iofwrite_u.c:  Likewise.
15104         * libio/iopadn.c:  Return bytes returned even if EOF was
15105         encountered.
15106         * libio/iowpadn.c:  Likewise.
15107         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15108         if _IO_padn does not write the whole buffer.
15109         [!COMPILE_WPRINTF] (PAD): Likewise.
15111 2013-10-10  David S. Miller  <davem@davemloft.net>
15113         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15114         directory block.
15116 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15118         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15119         instead of FSF address.
15120         * soft-fp/fixdfti.c: Likewise.
15121         * soft-fp/fixsfti.c: Likewise.
15122         * soft-fp/fixtfti.c: Likewise.
15123         * soft-fp/fixunsdfti.c: Likewise.
15124         * soft-fp/fixunssfti.c: Likewise.
15125         * soft-fp/fixunstfti.c: Likewise.
15126         * soft-fp/floattidf.c: Likewise.
15127         * soft-fp/floattisf.c: Likewise.
15128         * soft-fp/floattitf.c: Likewise.
15129         * soft-fp/floatuntidf.c: Likewise.
15130         * soft-fp/floatuntisf.c: Likewise.
15131         * soft-fp/floatuntitf.c: Likewise.
15132         * soft-fp/trunctfxf2.c: Likewise.
15134         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15135         * soft-fp/fixdfti.c: Likewise.
15136         * soft-fp/fixsfti.c: Likewise.
15137         * soft-fp/fixtfti.c: Likewise.
15138         * soft-fp/fixunsdfti.c: Likewise.
15139         * soft-fp/fixunssfti.c: Likewise.
15140         * soft-fp/fixunstfti.c: Likewise.
15141         * soft-fp/floattidf.c: Likewise.
15142         * soft-fp/floattisf.c: Likewise.
15143         * soft-fp/floattitf.c: Likewise.
15144         * soft-fp/floatuntidf.c: Likewise.
15145         * soft-fp/floatuntisf.c: Likewise.
15146         * soft-fp/floatuntitf.c: Likewise.
15147         * soft-fp/trunctfxf2.c: Likewise.
15149 2013-10-10  David S. Miller  <davem@davemloft.net>
15151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15153 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15155         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15156         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15157         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15158         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15159         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15160         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15161         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15163         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15164         for NaNs before doing comparisons on argument.
15165         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15166         Likewise.
15168 2013-10-10  Will Newton  <will.newton@linaro.org>
15170         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15171         passed to _int_memalign does not overflow.
15173 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15175         * scripts/bench.pl: Add include-sources directive.
15176         * benchtests/README: Update documentation.
15178 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15180         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15181         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15182         instead of FP_INIT_ROUNDMODE.
15183         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15184         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15186         [BZ #16034]
15187         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15188         copy class of input value.
15189         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15190         not handle exceptions.
15191         * soft-fp/negsf2.c (__negsf2): Likewise.
15192         * soft-fp/negtf2.c (__negtf2): Likewise.
15193         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15195 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15197         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15198         semicolon.  From Linux kernel.
15200 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15202         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15204 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15206         [BZ #156]
15207         * manual/socket.texi: Added statement about buffer
15208         for gethostbyname2_r.
15210 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15212         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15213         Use .p2align directive instead, throughout.
15214         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15215         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15216         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15217         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15218         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15219         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15220         * sysdeps/x86_64/strchr.S: Likewise.
15221         * sysdeps/x86_64/strrchr.S: Likewise.
15223 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15225         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15227         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15229         * sysdeps/generic/math_private.h (__mpsin1): Remove
15230         declaration.
15231         (__mpcos1): Likewise.
15232         (__mpsin): New argument __range_reduce.
15233         (__mpcos): Likewise.
15234         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15235         (slow): Use __mpsin and __mpcos.
15236         (slow1): Likewise.
15237         (slow2): Likewise.
15238         (sloww): Likewise.
15239         (sloww1): Likewise.
15240         (sloww2): Likewise.
15241         (bsloww): Likewise.
15242         (bsloww1): Likewise.
15243         (bsloww2): Likewise.
15244         (cslow2): Likewise.
15245         (csloww): Likewise.
15246         (csloww1): Likewise.
15247         (csloww2): Likewise.
15248         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15249         range_reduce.  Merge in __mpsin1.
15250         (__mpcos): Likewise.
15251         (__mpsin1): Remove.
15252         (__mpcos1): Likewise.
15254 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15256         * locale/loadlocale.c (_nl_intern_locale_data): Use
15257         LOCFILE_ALIGNED_P.
15258         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15259         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15260         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15261         obstack data is appropriately aligned.
15262         (obstack_int32_grow_fast): Likewise.
15263         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15264         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15265         (add_locale_uint32_array): Likewise.
15267 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15269         * benchtests/Makefile: Remove ARGLIST and RET variables.
15270         ($(objpfx)bench-%.c): Pass only function name to the script.
15271         * benchtests/README: Update documentation.
15272         * benchtests/acos-inputs: Add new directives.
15273         * benchtests/acosh-inputs: Likewise.
15274         * benchtests/asin-inputs: Likewise.
15275         * benchtests/asinh-inputs: Likewise.
15276         * benchtests/atan-inputs: Likewise.
15277         * benchtests/atanh-inputs: Likewise.
15278         * benchtests/cos-inputs: Likewise.
15279         * benchtests/cosh-inputs: Likewise.
15280         * benchtests/exp-inputs: Likewise.
15281         * benchtests/log-inputs: Likewise.
15282         * benchtests/pow-inputs: Likewise.
15283         * benchtests/rint-inputs: Likewise.
15284         * benchtests/sin-inputs: Likewise.
15285         * benchtests/sinh-inputs: Likewise.
15286         * benchtests/tan-inputs: Likewise.
15287         * benchtests/tanh-inputs: Likewise.
15288         * scripts/bench.pl: Add support for new directives.
15290 2013-10-07  Alan Modra  <amodra@gmail.com>
15292         * README: Fix careless merge.
15294 2013-10-05  Alan Modra  <amodra@gmail.com>
15296         * NEWS: Mention powerpc64le support and bugs fixed.
15297         * README: Both big-endian and little-endian powerpc64 supported.
15299 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15301         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15302         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15303         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15304         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15306 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15308         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15309         match prototype.
15311 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15313         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15314         Move -mhard-float appending from
15315         ports/sysdeps/powerpc/powerpc32/Makefile.
15316         [$(with-fp) = yes] (ASFLAGS): Likewise.
15317         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15318         * sysdeps/powerpc/nofpu: Move directory from
15319         ports/sysdeps/powerpc/nofpu.
15320         * sysdeps/powerpc/soft-fp: Move directory from
15321         ports/sysdeps/powerpc/soft-fp.
15322         * sysdeps/powerpc/powerpc32/405: Move directory from
15323         ports/sysdeps/powerpc/powerpc32/405.
15324         * sysdeps/powerpc/powerpc32/440: Move directory from
15325         ports/sysdeps/powerpc/powerpc32/440.
15326         * sysdeps/powerpc/powerpc32/464: Move directory from
15327         ports/sysdeps/powerpc/powerpc32/464.
15328         * sysdeps/powerpc/powerpc32/476: Move directory from
15329         ports/sysdeps/powerpc/powerpc32/476.
15330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15331         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15333         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15335         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15337         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15339         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15340         * README: Update for powerpc-*-linux-gnu software floating point
15341         support in libc.
15343         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15344         case to powerpc/powerpc32*.
15345         * sysdeps/unix/sysv/linux/configure: Regenerated.
15347         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15348         (_FPU_MASK_OM): Define as 0x04.
15349         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15351         0x00c10080.
15352         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15353         0x0000003c.
15354         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15357         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15358         getcontext_e500.
15359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15360         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15361         setcontext_e500.
15362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15363         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15364         and setcontext_e500.
15366 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15368         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15370 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15372         * manual/threads.texi (Default Thread Attributes): Fix typo.
15374 2013-10-04  Will Newton  <will.newton@linaro.org>
15376         * malloc/Makefile: Add tst-memalign.
15377         * malloc/tst-memalign.c: New file.
15379         * malloc/tst-posix_memalign.c: Add comments.
15380         (do_test): Add comments and call free on all potentially
15381         allocated pointers. Add space after cast.
15383         * malloc/tst-pvalloc.c: Add comments.
15384         (do_test): Add comments and call free on all potentially
15385         allocated pointers. Remove duplicate check for NULL pointer.
15386         Add space after cast.
15388         * malloc/tst-valloc.c: Add comments.
15389         (do_test): Add comments and call free on all potentially
15390         allocated pointers. Remove duplicate check for NULL pointer.
15391         Add space after cast.
15393 2013-10-04  Alan Modra  <amodra@gmail.com>
15395         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15396         Use stdint types in rather than __attribute__((mode())).
15397         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15399 2013-10-04  Alan Modra  <amodra@gmail.com>
15401         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15402         Correct handling of unaligned relocs for little-endian.
15403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15405 2013-10-04  Alan Modra  <amodra@gmail.com>
15407         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15408         * configure: Regenerate.
15409         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15410         * shlib-versions: Likewise.
15412 2013-10-04  Alan Modra  <amodra@gmail.com>
15414         * string/tester.c (test_memrchr): Increment reported test cycle.
15416 2013-10-04  Alan Modra  <amodra@gmail.com>
15418         * string/test-memcpy.c (do_one_test): When reporting errors, print
15419         string address and don't overrun end of string.
15421 2013-10-04  Alan Modra  <amodra@gmail.com>
15423         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15424         insrdi.  Make better use of reg selection to speed exit slightly.
15425         Schedule entry path a little better.  Remove useless "are we done"
15426         checks on entry to main loop.  Handle wrapping around zero address.
15427         Correct main loop count.  Handle single left-over word from main
15428         loop inline rather than by using loop_small.  Remove extra word
15429         case in loop_small caused by wrong loop count.  Add little-endian
15430         support.
15431         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15432         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15433         cache hint.
15434         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15435         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15436         support.  Avoid rlwimi.
15437         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15439 2013-10-04  Alan Modra  <amodra@gmail.com>
15441         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15442         insrdi.  Formatting.
15443         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15444         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15445         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15446         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15447         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15448         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15450 2013-10-04  Alan Modra  <amodra@gmail.com>
15452         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15453         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15454         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15455         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15456         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15457         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15458         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15459         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15460         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15461         use of regs.  Use power7 mtocrf.  Tidy function tails.
15463 2013-10-04  Alan Modra  <amodra@gmail.com>
15465         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15466         Formatting.  Consistently use rXXX register defines or rN defines.
15467         Use early exit labels that avoid restoring unused non-volatile regs.
15468         Make cr field use more consistent with rWORDn compares.  Rename
15469         regs used as shift registers for unaligned loop, using rN defines
15470         for short lifetime/multiple use regs.
15471         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15473         addi 1,1,64 to pop stack frame.  Simplify return value code.
15474         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15476 2013-10-04  Alan Modra  <amodra@gmail.com>
15478         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15479         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15480         rather than rlwimi.
15481         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15482         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15483         little-endian support.  Correct typos.
15484         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15485         rather than rlwimi.
15486         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15487         in loop and entry code to keep "and." results.
15488         (strchr): Add little-endian support.  Comment.  Move cntlzd
15489         earlier in tail.
15490         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15492 2013-10-04  Alan Modra  <amodra@gmail.com>
15494         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15495         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15496         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15497         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15499 2013-10-04  Alan Modra  <amodra@gmail.com>
15501         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15502         (rTMP): Define as r11.
15503         (strcmp): Add little-endian support.  Optimise tail.
15504         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15505         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15506         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15507         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15508         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15509         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15510         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15512 2013-10-04  Alan Modra  <amodra@gmail.com>
15514         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15515         little-endian support.  Remove unnecessary "are we done" tests.
15516         Handle "s" wrapping around zero and extremely large "size".
15517         Correct main loop count.  Handle single left-over word from main
15518         loop inline rather than by using small_loop.  Correct comments.
15519         Delete "zero" tail, use "end_max" instead.
15520         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15522 2013-10-04  Alan Modra  <amodra@gmail.com>
15524         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15525         support.  Don't branch over align.
15526         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15527         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15528         support.  Rearrange tmp reg use to suit.  Comment.
15529         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15531 2013-10-04  Alan Modra  <amodra@gmail.com>
15533         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15535 2013-10-04  Alan Modra  <amodra@gmail.com>
15537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15538         conditional form of branch and link when obtaining pc.
15539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15541 2013-10-04  Alan Modra  <amodra@gmail.com>
15543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15544         HIWORD/LOWORD.
15545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15548 2013-10-04  Alan Modra  <amodra@gmail.com>
15550         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15551         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15552         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15553         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15554         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15555         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15556         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15557         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15558         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15559         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15561 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15562             Alistair Popple <alistair@ozlabs.au.ibm.com>
15563             Alan Modra <amodra@gmail.com>
15565         [BZ #15723]
15566         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15567         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15568         _dl_hwcap access for little-endian.
15569         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15570         destroy vmx regs when saving unaligned.
15571         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15572         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15573         destroy vmx regs when saving unaligned.
15575 2013-10-04  Alan Modra  <amodra@gmail.com>
15577         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15578         Don't use a union to pack hi/low value.
15580 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15582         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15583         for little-endian.
15584         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15585         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15586         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15587         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15588         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15590 2013-10-04  Alan Modra  <amodra@gmail.com>
15592         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15593         constants to usual value for .cst8 section, and remove redundant
15594         high address load.
15595         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15596         constant for 0x1p52.  Load little-endian words of double from
15597         correct stack offsets.
15599 2013-10-04  Alan Modra  <amodra@gmail.com>
15601         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15602         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15603         words of double from correct stack offsets.
15604         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15605         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15606         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15607         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15608         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15609         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15610         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15611         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15612         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15613         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15614         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15615         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15616         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15617         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15618         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15619         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15620         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15622 2013-10-04  Alan Modra  <amodra@gmail.com>
15624         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15625         64-bit int/double union.
15626         (_FPU_SETCW): Likewise.
15627         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15628         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15630 2013-10-04  Alan Modra  <amodra@gmail.com>
15632         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15633         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15635 2013-10-04  Alan Modra  <amodra@gmail.com>
15637         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15638         use vector int constants.
15639         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15641 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15643         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15644         array with long long.
15645         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15646         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15647         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15648         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15649         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15650         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15651         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15652         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15653         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15654         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15655         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15656         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15657         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15659 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15661         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15662         (__signbit): Likewise.  Correct for little-endian.
15663         (__signbitl): Call __signbit.
15664         (lrint): Correct for little-endian.
15665         (lrintf): Call lrint.
15667 2013-10-04  Alan Modra  <amodra@gmail.com>
15669         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15670         union 32-bit int array member with 64-bit int array.
15671         (t515, tm256): Double rather than long double.
15672         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15674 2013-10-04  Alan Modra  <amodra@gmail.com>
15676         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15677         Delete.
15678         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15679         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15680         version of math_ldbl.h.
15682 2013-10-04  Alan Modra  <amodra@gmail.com>
15684         [BZ #15734], [BZ #15735]
15685         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15686         all uses of ieee875 long double macros and unions.  Simplify test
15687         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15688         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15689         normalize after ldbl_extract_mantissa, and don't add hidden bit
15690         already handled.  Don't treat low word of ieee854 mantissa like
15691         low word of IBM long double and mask off bit when testing for
15692         zero.
15693         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15694         all uses of ieee875 long double macros and unions.  Simplify tests
15695         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15696         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15697         two1022, instead use their values.  Recognise that tests for large
15698         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15699         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15700         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15701         test for 0.0L and nan.  Correct negation.
15702         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15703         ieee875 long double macros and unions.  Correct output for large
15704         magnitude x.  Correct absolute value calculation.
15705         (__erfcl): Likewise.
15706         * math/libm-test.inc: Add tests for errors discovered in IBM long
15707         double versions of fmodl, remainderl, erfl and erfcl.
15709 2013-10-04  Alan Modra  <amodra@gmail.com>
15711         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15712         all uses of ieee854 long double macros and unions.  Simplify tests
15713         for long doubles that are fully specified by the high double.
15714         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15715         Likewise.
15716         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15717         Remove dead code too.
15718         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15719         (__ieee754_ynl): Likewise.
15720         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15721         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15722         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15723         Remove dead code too.
15724         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15725         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15726         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15727         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15728         Simplify.
15729         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15730         Simplify.
15731         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15732         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15733         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15734         Comment on variable precision.
15735         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15736         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15737         Likewise.
15738         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15739         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15740         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15741         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15742         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15744 2013-10-04  Alan Modra  <amodra@gmail.com>
15746         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15747         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15748         all uses of ieee854 long double macros and unions.
15749         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15750         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15751         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15752         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15753         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15755         Likewise.
15756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15757         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15758         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15759         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15760         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15762         Simplify sign and nan test too.
15763         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15764         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15765         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15766         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15767         Likewise.
15768         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15769         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15770         Likewise.
15771         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15772         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15773         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15774         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15775         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15776         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15778 2013-10-04  Alan Modra  <amodra@gmail.com>
15780         * stdio-common/printf_size.c (__printf_size): Don't use
15781         union ieee854_long_double in fpnum union.
15782         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15783         signbit macro to retrieve sign from long double.
15784         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15785         retrieve sign from long double.
15786         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15787         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15788         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15789         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15790         * math/test-misc.c (main): Don't use union ieee854_long_double.
15792 2013-10-04  Alan Modra  <amodra@gmail.com>
15794         [BZ #15680]
15795         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15796         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15797         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15798         calculation.  Remove unnecessary test for denormal exponent.
15799         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15800         Correct handling of denormals.  Avoid undefined shift behaviour.
15801         Correct normalisation of low mantissa when low double is denormal.
15802         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15803         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15804         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15805         Correct normalisation of low mantissa.  Test for overflow of high
15806         mantissa and normalise.
15807         (ldbl_nearbyint): Use more readable constant for two52.
15808         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15809         (__mpn_construct_long_double): Fix test for overflow of high
15810         mantissa and correct normalisation.  Avoid undefined shift.
15812 2013-10-04  Alan Modra  <amodra@gmail.com>
15814         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15815         (union ibm_extended_long_double): Define as an array of ieee754_double.
15816         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15817         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15818         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15819         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15820         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15821         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15822         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15823         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15824         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15825         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15826         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15828 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15830         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15831         page size instead of calling getpagesize.
15833         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15834         (LOCFILE_ALIGN_MASK): Likewise.
15835         (LOCFILE_ALIGN_UP): Likewise.
15836         (LOCFILE_ALIGNED_P): Likewise.
15837         * locale/programs/ld-collate.c (collate_output): Use the new
15838         macros instead of __alignof__ (int32_t).
15839         * locale/weight.h (findidx): Likewise.
15841 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15843         [BZ #431]
15844         * manual/string.texi: Fix strncat and wcsncat.
15846 2013-10-03  Brooks Moses  <bmoses@google.com>
15848         [BZ #15915]
15849         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15850         * Makerules: ...here, and adjust associated comments.
15852 2013-10-02  Will Newton  <will.newton@linaro.org>
15854         * malloc/Makefile: Add tst-pvalloc.
15855         * malloc/tst-pvalloc.c: New file.
15857 2013-10-02  Will Newton  <will.newton@linaro.org>
15859         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15860         improve test coverage.
15862 2013-10-02  Will Newton  <will.newton@linaro.org>
15864         * malloc/Makefile: Add tst-posix_memalign.
15865         * malloc/tst-posix_memalign.c: New file.
15867 2013-10-01  Eric Blake  <eblake@redhat.com>
15869         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15870         Use __THROWNL rather than __THROW on static functions.
15872 2013-09-30  Petr Machata  <pmachata@redhat.com>
15874         * elf/elf.h (R_AARCH64_ABS16): New macro.
15875         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15876         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15877         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15878         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15879         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15880         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15881         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15882         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15883         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15884         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15885         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15886         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15887         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15888         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15889         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15890         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15891         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15892         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15893         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15894         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15895         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15896         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15897         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15898         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15899         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15900         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15901         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15902         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15903         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15904         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15905         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15906         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15907         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15908         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15909         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15910         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15911         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15912         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15913         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15914         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15915         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15916         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15917         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15918         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15919         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15920         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15921         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15922         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15923         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15924         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15925         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15926         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15927         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15928         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15929         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15930         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15931         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15932         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15933         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15934         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15935         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15936         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15937         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15938         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15939         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15940         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15941         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15942         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15943         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15944         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15945         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15946         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15947         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15948         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15949         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15950         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15951         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15952         (R_AARCH64_TLSDESC_LDR): Likewise.
15953         (R_AARCH64_TLSDESC_ADD): Likewise.
15954         (R_AARCH64_TLSDESC_CALL): Likewise.
15956 2013-09-30  Andreas Schwab  <schwab@suse.de>
15958         [BZ #15048]
15959         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15960         the nss database lookup.
15961         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15962         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15964 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15966         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15968 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15970         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15971         ${Bash-specific parameter/pattern/string} parameter expansion.
15972         * sysdeps/unix/make-syscalls.sh: Likewise.
15974 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15976         * sysdeps/sh/stackguard-macros.h: New file.
15978 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15981         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15982         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15983         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15984         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15985         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15987 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15989         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15990         Fix thread ID register.
15992 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15994         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15995         [POSIX || UNIX98]: Require rather than permitting all symbols from
15996         <time.h>.
15997         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15998         element of struct sched_param.
15999         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16000         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16001         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16002         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16003         constant.
16005 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16007         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16008         argument calculation.
16010 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16012         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16013         Expect macro.
16014         [POSIX] (pthread_attr_t): Do not require type.
16015         [POSIX] (pthread_cond_t): Likewise.
16016         [POSIX] (pthread_condattr_t): Likewise.
16017         [POSIX] (pthread_key_t): Likewise.
16018         [POSIX] (pthread_mutex_t): Likewise.
16019         [POSIX] (pthread_mutexattr_t): Likewise.
16020         [POSIX] (pthread_once_t): Likewise.
16021         [POSIX] (pthread_t): Likewise.
16022         [POSIX-based standards] (pthread_atfork): Expect function.
16024 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16025             Richard Sandiford  <richard@codesourcery.com>
16027         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16028         (swap_endianness_p): New extern variable.
16029         (set_big_endian): New inline function.
16030         (maybe_swap_uint32): Likewise.
16031         (maybe_swap_uint32_array): Likewise.
16032         (maybe_swap_uint32_obstack): Likewise.
16033         * locale/programs/locfile.c: Include <stdbool.h>.
16034         (swap_endianness_p): New variable.
16035         (add_locale_uint32): Call maybe_swap_uint32.
16036         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16037         (write_locale_data): Call maybe_swap_uint32_array.
16038         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16039         maybe_swap_uint32.
16040         (obstack_int32_grow_fast): Likewise.
16041         (output_weightwc): Call maybe_swap_uint32_obstack.
16042         (collate_output): Likewise.
16043         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16044         (OPT_LITTLE_ENDIAN): Likewise.
16045         (options): Add --little-endian and --big-endian options.
16046         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16047         * locale/programs/locarchive.c: Include "locfile.h".
16048         (GET): New macro.
16049         (SET): Likewise.
16050         (INC): Likewise.
16051         (create_archive): Use the new macros to access fields of
16052         structures directly mapped from or written to locale archives.
16053         (oldlocrecentcmp): Likewise.
16054         (enlarge_archive): Likewise.
16055         (insert_name): Likewise.
16056         (add_alias): Likewise.
16057         (add_locale): Likewise.
16058         (delete_locales_from_archive): Likewise.
16059         (show_archive_content): Likewise.
16060         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16061         locale data.
16063 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16065         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16066         http://www.gnu.org/doc/freemanuals.texi.
16067         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16069 2013-09-24  Will Newton  <will.newton@linaro.org>
16071         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16072         macro.
16074 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16076         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16077         unsigned char.
16079 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16081         * manual/threads.texi (POSIX Threads): Fix a typo.
16083 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16085         [BZ #14547]
16086         * string/tst-strcoll-overflow.c: New test case.
16087         * string/Makefile (xtests): Add tst-strcoll-overflow.
16088         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16089         cache if string sizes may cause integer overflow.
16091         [BZ #14547]
16092         * string/strcoll_l.c (coll_seq): New members rule, idx,
16093         save_idx and back_us.
16094         (get_next_seq_nocache): New function.
16095         (do_compare_nocache): New function.
16096         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16097         when malloc fails.
16099 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16101         [BZ #15754]
16102         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16103         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16104         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16106         [BZ #15754]
16107         * elf/Makefile (tests): Add tst-ptrguard1.
16108         (tests-static): Add tst-ptrguard1-static.
16109         (tst-ptrguard1-ARGS): Define.
16110         (tst-ptrguard1-static-ARGS): Define.
16111         * elf/tst-ptrguard1.c: New file.
16112         * elf/tst-ptrguard1-static.c: New file.
16113         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16114         * sysdeps/i386/stackguard-macros.h: Likewise.
16115         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16116         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16117         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16118         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16119         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16120         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16122 2013-09-23  Hector Marco  <hecmargi@upv.es>
16123             Ismael Ripoll  <iripoll@disca.upv.es>
16124             Carlos O'Donell  <carlos@redhat.com>
16126         [BZ #15754]
16127         * sysdeps/generic/stackguard-macros.h: Define
16128         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16129         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16130         Define __pointer_chk_guard_local.
16131         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16132         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16134 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16136         [BZ #15859]
16137         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16139 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16141         * include/string.h (__ffs): Declare as hidden.
16142         * string/ffs.c (__ffs): Define as hidden.
16143         * sysdeps/i386/ffs.c (__ffs): Likewise.
16144         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16145         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16146         * sysdeps/s390/ffs.c (__ffs): Likewise.
16147         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16149 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16151         * NEWS: Mention malloc probes.
16153         * malloc/arena.c (new_heap): New memory_heap_new probe.
16154         (grow_heap): New memory_heap_more probe.
16155         (shrink_heap): New memory_heap_less probe.
16156         (heap_trim): New memory_heap_free probe.
16157         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16158         (systrim): New memory_sbrk_less probe.
16159         * manual/probes.texi: Document them.
16161         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16162         * manual/probes.texi: Document it.
16164         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16165         (__libc_realloc): Add memory_realloc_retry probe.
16166         (__libc_memalign): Add memory_memalign_retry probe.
16167         (__libc_valloc): Add memory_valloc_retry probe.
16168         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16169         (__libc_calloc): Add memory_calloc_retry probe.
16170         * manual/probes.texi: Document them.
16172         * malloc/arena.c (get_free_list): Add probe
16173         memory_arena_reuse_free_list.
16174         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16175         and memory_arena_reuse.
16176         (arena_get2) [!PER_THREAD]: Likewise.
16177         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16178         memory_arena_reuse_realloc.
16179         * manual/probes.texi: Document them.
16181         * malloc/malloc.c (__libc_free): Add
16182         memory_mallopt_free_dyn_thresholds probe.
16183         (__libc_mallopt): Add multiple memory_mallopt probes.
16184         * manual/probes.texi: Document them.
16186         * malloc/malloc.c: Include stap-probe.h.
16187         (__libc_mallopt): Add memory_mallopt probe.
16188         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16189         * manual/probes.texi: New.
16190         * manual/Makefile (chapters): Add probes.
16191         * manual/threads.texi: Set next node.
16193 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16195         [BZ #15963, #13985]
16196         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16197         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16198         Add `Chinese' to `nan' entry name.
16200 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16202         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16203         (POLYNOMIAL): Likewise.
16204         (TAYLOR_SINCOS): Likewise.
16205         (TAYLOR_SLOW): Likewise.
16206         (__sin): Use TAYLOR_SINCOS.
16207         (__cos): Likewise.
16208         (slow): Use TAYLOR_SLOW.
16209         (sloww): Likewise.
16210         (bsloww): Likewise.
16211         (csloww): Likewise.
16213 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16215         * stdlib/strtod_l.c: Fix buffer overrun.
16217 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16219         * benchtests/Makefile (bench): Add sincos.
16220         * benchtests/bench-sincos.c: New file.
16222         * math/libm-test.inc (cos_test_data): New test inputs.
16223         (sin_test_data): Likewise.
16225         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16226         macro.
16227         (__sin): Use it.
16228         (__cos): Likewise.
16229         (slow1): Likewise.
16230         (slow2): Likewise.
16231         (sloww1): Likewise.
16232         (sloww2): Likewise.
16233         (bsloww1): Likewise.
16234         (bsloww2): Likewise.
16235         (cslow2): Likewise.
16236         (csloww1): Likewise.
16237         (csloww2): Likewise.
16239         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16240         function.
16241         (__sin): Use it.
16242         (__cos): Likewise.
16244         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16245         gotos.
16246         (__cos): Likewise.
16248 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16250         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16251         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16252         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16253         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16254         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16255         * elf/cache.c (print_entry): Handle the new cache flags.
16257 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16258             Aldy Hernandez  <aldyh@redhat.com>
16260         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16261         Change condition to [_SOFT_FLOAT].
16262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16274         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16277         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16278         declaration.
16280 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16282         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16283         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16284         (__longjmp): Use LOAD_GP to load saved GPRs.
16285         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16286         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16287         (__sigsetjmp): Use SAVE_GP to save GPRs.
16289         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16290         Do not append -msoft-float.
16291         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16293 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16295         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16297 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16299         [BZ #15966]
16300         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16301         (_FPU_GETCW): Use initial "__" on variable and field names but not
16302         on macro parameter name.
16303         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16304         parentheses around reference to macro parameter.
16306 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16308         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16309         prototype.
16310         (ctype_startup): Use uint32_t in cast and sizeof for
16311         ctype->charnames.
16313 2013-09-11  Jia Liu  <proljc@gmail.com>
16315         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16316         __daddr_t_defined.
16317         [__FreeBSD__]: Likewise.
16319 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16322         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16323         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16324         (strchr): Remove __strchr_sse42 ifunc selection.
16325         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16326         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16328 2013-09-11  Will Newton  <will.newton@linaro.org>
16330         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16331         parameter to RES. Remove hardcoded 1000 value.
16332         * benchtests/bench-skeleton.c (main): Pass RES parameter
16333         to TIMING_INIT and multiply result by 1000.
16335 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16339 2013-09-11  Andreas Schwab  <schwab@suse.de>
16341         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16342         if not defined.
16343         (O_TMPFILE) [__USE_GNU]: Define.
16344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16345         Define.
16347 2013-09-11  Will Newton  <will.newton@linaro.org>
16349         [BZ #15857]
16350         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16351         does not overflow.
16353 2013-09-11  Will Newton  <will.newton@linaro.org>
16355         [BZ #15856]
16356         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16357         does not overflow.
16359 2013-09-11  Will Newton  <will.newton@linaro.org>
16361         [BZ #15855]
16362         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16363         does not overflow.
16365 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16367         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16368         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16369         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16370         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16371         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16373 2013-09-10  Allan McRae  <allan@archlinux.org>
16375         [BZ #15748]
16376         * manual/arith.texi (Parsing of Floats): Clarify
16377         cross-reference.
16379         [BZ #15849]
16380         * manual/install.texi (Running make install): Mention
16381         --enable-pt-chown.
16382         * INSTALL: Regenerated.
16384 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16386         * csu/init-first.c (_init): Remove the !SHARED condition around
16387         FPU control word initialization.
16388         * elf/dl-support.c (_dl_fpu_control): New variable.
16389         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16390         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16391         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16392         * math/test-fpucw-static.c: New file.
16393         * math/test-fpucw-ieee.c: New file.
16394         * math/test-fpucw-ieee-static.c: New file.
16395         * math/Makefile (tests): Add `test-fpucw-ieee' and
16396         `$(tests-static)'.
16397         (tests-static): New variable.
16398         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16399         dependency to...
16400         [($(build-shared),yes)]
16401         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16402         ... this.
16403         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16404         New dependency.
16406 2013-09-09  Allan McRae  <allan@archlinux.org>
16408         [BZ #15939]
16409         * manual/string.texi (Collation Functions): Fix typo in
16410         strcoll example.
16411         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16413         [BZ #15893]
16414         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16416         [BZ #15892]
16417         * libio/memstream.c (open_memstream): Fix memory leak.
16418         * libio/wmemstream.c (open_wmemstream): Likewise.
16420         [BZ #15895]
16421         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16423 2013-09-09  Will Newton  <will.newton@linaro.org>
16425         * malloc/Makefile: Add tst-realloc to tests.
16426         * malloc/tst-realloc.c: New file.
16428 2013-09-09  Allan McRae  <allan@archlinux.org>
16430         [BZ #15844]
16431         * COPYING: Update from GNU website to fix FSF address.
16432         * COPYING.LIB: Likewise.
16434 2013-09-06  David S. Miller  <davem@davemloft.net>
16436         * po/zh_TW.po: Update Chinese (traditional) translation from
16437         translation project.
16439 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16440             Joseph Myers  <joseph@codesourcery.com>
16442         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16443         "localeinfo.h".
16444         (obstack_chunk_alloc): New macro.
16445         (obstack_chunk_free): Likewise.
16446         (record_offset): New function.
16447         (init_locale_data): Likewise.
16448         (align_locale_data): Likewise.
16449         (add_locale_empty): Likewise.
16450         (add_locale_raw_data): Likewise.
16451         (add_locale_raw_obstack): Likewise.
16452         (add_locale_string): Likewise.
16453         (add_locale_wstring): Likewise.
16454         (add_locale_uint32): Likewise.
16455         (add_locale_uint32_array): Likewise.
16456         (add_locale_char): Likewise.
16457         (start_locale_structure): Likewise.
16458         (end_locale_structure): Likewise.
16459         (start_locale_prelude): Likewise.
16460         (end_locale_prelude): Likewise.
16461         (write_locale_data): Take locale_file structure rather than an
16462         iovec.
16463         * locale/programs/locfile.h: Include "obstack.h".
16464         (struct locale_file): Change to store locale file contents instead
16465         of header.
16466         (init_locale_data): New prototype.
16467         (align_locale_data): Likewise.
16468         (add_locale_empty): Likewise.
16469         (add_locale_raw_data): Likewise.
16470         (add_locale_raw_obstack): Likewise.
16471         (add_locale_string): Likewise.
16472         (add_locale_wstring): Likewise.
16473         (add_locale_uint32): Likewise.
16474         (add_locale_uint32_array): Likewise.
16475         (add_locale_char): Likewise.
16476         (start_locale_structure): Likewise.
16477         (end_locale_structure): Likewise.
16478         (start_locale_prelude): Likewise.
16479         (end_locale_prelude): Likewise.
16480         (write_locale_data): Update prototype.
16481         * locale/programs/3level.h (struct TABLE): Remove result field.
16482         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16483         Use new locale_file interface.
16484         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16485         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16486         * locale/programs/ld-address.c (address_output): Use new
16487         locale_file interface.
16488         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16489         NO_ADD_LOCALE.
16490         (collate_finish): Don't call collseq_table_finalize.
16491         (collate_output): Use new locale_file interface.
16492         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16493         in file.
16494         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16495         (TABLE): Move defines earlier in file.
16496         (ELEMENT): Likewise.
16497         (DEFAULT): Likewise.
16498         (wctrans_table_add): Move macro and inline function earlier in
16499         file.
16500         (struct wctype_table): Move type earlier in file.
16501         (add_locale_wctype_table): New static prototype.
16502         (struct locale_ctype_t): Use logical types instead of struct iovec
16503         pointers for members.
16504         (ctype_output): Use new locale_file interface.
16505         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16506         new locale_file interface.
16507         (allocate_arrays): Update for use of new locale_file interface.
16508         * locale/programs/ld-identification.c (identification_output): Use
16509         new locale_file interface.
16510         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16511         * locale/programs/ld-messages.c (messages_output): Likewise.
16512         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16513         * locale/programs/ld-name.c (name_output): Likewise.
16514         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16515         * locale/programs/ld-paper.c (paper_output): Likewise.
16516         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16517         * locale/programs/ld-time.c (time_output): Likewise.
16519 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16521         * benchtests/Makefile: Add memrchr benchmark.
16522         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16523         benchmark as memrchr.
16524         * benchtests/bench-memrchr-ifunc.c: New file.
16525         * benchtests/bench-memrchr.c: New file.
16527 2013-09-06   Will Newton  <will.newton@linaro.org>
16529         * benchtests/Makefile (string-bench): Add memcpy.
16531 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16532             Cong Wang  <amwang@redhat.com>
16534         [BZ #15850]
16535         * sysdeps/unix/sysv/linux/bits/in.h
16536         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16537         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16538         before __USE_KERNEL_IPV6_DEFS uses.
16539         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16540         IPPROTO_BEETPH.
16541         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16542         sockaddr_in6, or ipv6_mreq.
16544 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16546         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16547         memory access for final bytes in some large inputs.
16548         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16550 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16552         * string/test-memrchr.c: New file.
16553         * string/test-memrchr-ifunc.c: New file.
16554         * string/Makefile: Add new memrchr testcase.
16556 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16558         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16559         fanotify_init returns EPERM.
16561 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16563         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16564         errors.
16565         (top level): Treat second token from macro or constant entries for
16566         allowed headers as allowed.
16567         * include/complex.h: Condition internal declarations on
16568         [!_ISOMAC].
16569         * include/fenv.h: Condition include of <stdbool.h> and internal
16570         declarations on [!_ISOMAC].
16572 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16574         [BZ #15923]
16575         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16577 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16579         * configure.in (--enable-versioning): Remove configure option.
16580         (libc_cv_asm_symver_directive): Remove configure test.
16581         (libc_cv_ld_version_script_option): Likewise.
16582         (VERSIONING): Remove variable and AC_SUBST.
16583         (DO_VERSIONING): Remove AC_DEFINE.
16584         * configure: Regenerated.
16585         * config.h.in (DO_VERSIONING): Remove macro.
16586         * Makerules [$(versioning) = yes]: Change conditionals to
16587         [$(build-shared) = yes].
16588         * config.make.in (versioning): Remove variable.
16589         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16590         [$(build-shared) = yes].
16591         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16592         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16593         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16594         [$(build-shared) = yes].
16595         * extra-lib.mk [$(versioning) = yes]: Likewise.
16596         * hurd/Makefile [$(versioning) = yes]: Likewise.
16597         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16598         [SHARED].
16599         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16600         [SHARED].
16601         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16602         [SHARED && !NO_HIDDEN].
16603         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16604         [SHARED].
16605         [SHARED && DO_VERSIONING]: Likewise..
16606         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16607         [$(build-shared) = yes].
16608         * manual/install.texi (--disable-versioning): Remove
16609         documentation.
16610         * INSTALL: Regenerated.
16611         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16612         to [SHARED].
16613         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16614         [$(build-shared) = yes].
16615         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16616         * sysdeps/i386/i686/multiarch/strstr-c.c
16617         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16618         [SHARED && !NO_HIDDEN].
16619         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16620         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16621         * sysdeps/powerpc/powerpc32/dl-machine.c
16622         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16623         * sysdeps/powerpc/powerpc32/sysdep.h
16624         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16625         to [SHARED && PIC && !NO_HIDDEN].
16626         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16627         conditional to [SHARED].
16629 2013-09-04   Will Newton  <will.newton@linaro.org>
16631         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16632         * benchtests/bench-string.h: Include bench-timing.h instead
16633         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16634         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16635         call to HP_TIMING_DIFF_INIT.
16636         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16637         instead of hp-timing.h macros.
16638         * benchtests/bench-memchr.c: Likewise.
16639         * benchtests/bench-memcmp.c: Likewise.
16640         * benchtests/bench-memcpy.c: Likewise.
16641         * benchtests/bench-memmem.c: Likewise.
16642         * benchtests/bench-memmove.c: Likewise.
16643         * benchtests/bench-memset.c: Likewise.
16644         * benchtests/bench-rawmemchr.c: Likewise.
16645         * benchtests/bench-strcasecmp.c: Likewise.
16646         * benchtests/bench-strcasestr.c: Likewise.
16647         * benchtests/bench-strcat.c: Likewise.
16648         * benchtests/bench-strchr.c: Likewise.
16649         * benchtests/bench-strcmp.c: Likewise.
16650         * benchtests/bench-strcpy.c: Likewise.
16651         * benchtests/bench-strcpy_chk.c: Likewise.
16652         * benchtests/bench-strlen.c: Likewise.
16653         * benchtests/bench-strncasecmp.c: Likewise.
16654         * benchtests/bench-strncat.c: Likewise.
16655         * benchtests/bench-strncmp.c: Likewise.
16656         * benchtests/bench-strncpy.c: Likewise.
16657         * benchtests/bench-strnlen.c: Likewise.
16658         * benchtests/bench-strpbrk.c: Likewise.
16659         * benchtests/bench-strrchr.c: Likewise.
16660         * benchtests/bench-strspn.c: Likewise.
16661         * benchtests/bench-strstr.c: Likewise.
16663 2013-09-04  Will Newton  <will.newton@linaro.org>
16665         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16667 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16669         [BZ #15427]
16670         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16671         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16672         * math/libm-test.inc (lgamma_test_data): Add more tests.
16673         * sysdeps/i386/fpu/libm-test-ulps: Update.
16674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16676 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16678         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16680         Add ifunc.
16681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16682         Add strcmp-sse2-unaligned
16683         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16685 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16687         * Versions.def (libc): Add GLIBC_2.19.
16689 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16691         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16692         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16694 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16696         [BZ #14155]
16697         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16698         intermediate calculations in recurrence.
16699         (__ieee754_ynf): Likewise.
16700         * math/libm-test.inc (jn_test_data): Do not allow spurious
16701         underflow exception.  Add more tests.
16702         (yn_test_data): Add more tests.
16703         * sysdeps/i386/fpu/libm-test-ulps: Update.
16704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16706 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16708         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16710 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16712         * csu/init-first.c: Fix then/than typos.
16713         * locale/programs/ld-collate.c: Likewise.
16714         * locale/programs/linereader.h: Likewise.
16715         * manual/charset.texi: Likewise.
16716         * manual/filesys.texi: Likewise.
16717         * manual/stdio.texi: Likewise.
16718         * manual/string.texi: Likewise.
16719         * stdlib/fmtmsg.c: Likewise.
16720         * sysdeps/i386/stpncpy.S: Likewise.
16721         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16722         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16723         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16724         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16726 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16728         * elf/dl-open.c: Fix typos.
16729         * iconvdata/gbbig5.c: Likewise.
16730         * iconvdata/iso-2022-jp.c: Likewise.
16731         * iconv/gconv_int.h: Likewise.
16732         * iconv/loop.c: Likewise.
16733         * nis/rpcsvc/nis.h: Likewise.
16734         * resolv/ns_name.c: Likewise.
16735         * stdio-common/vfscanf.c: Likewise.
16736         * streams/stropts.h: Likewise.
16737         * sunrpc/rpc_thread.c: Likewise.
16738         * sysdeps/i386/strpbrk.S: Likewise.
16739         * sysdeps/ieee754/k_standard.c: Likewise.
16740         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16741         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16742         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16743         * sysdeps/mach/hurd/profil.c: Likewise.
16744         * sysdeps/s390/dl-procinfo.h: Likewise.
16745         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16746         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16747         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16748         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16749         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16751 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16753         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16756 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16758         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16759         aix specific files.
16760         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16761         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16762         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16763         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16764         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16765         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16766         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16767         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16769 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16770             Roland McGrath  <roland@hack.frob.com>
16772         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16773         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16775 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16777         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16778         __executable_start symbol instead of _start.
16780 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16782         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16783         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16784         Move macros to...
16785         * sysdeps/gnu/ldsodefs.h: ... this new file.
16787         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16788         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16789         instead of ELFOSABI_LINUX.
16791         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16792         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16793         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16794         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16795         Likewise.
16796         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16797         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16798         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16799         Likewise.
16800         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16801         (ibm_extended_long_double): Add ieee_nan member.
16802         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16803         (do_test): New function.
16805         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16806         TEST_TRUNC.
16807         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16808         functions, renamed from truncdfsf_test, trunctfsf_test,
16809         trunctfdf_test.
16810         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16811         functions.
16812         (do_test): Run all these.
16814 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16816         * argp/argp-help.c: Fix typos.
16817         * argp/argp-parse.c: Likewise.
16818         * debug/backtracesyms.c: Likewise.
16819         * elf/elf.h: Likewise.
16820         * malloc/malloc.c: Likewise.
16821         * nis/nis_print.c: Likewise.
16822         * resolv/res_comp.c: Likewise.
16823         * stdlib/stdlib.h: Likewise.
16824         * sunrpc/clnt_tcp.c: Likewise.
16825         * sunrpc/clnt_udp.c: Likewise.
16826         * sunrpc/clnt_unix.c: Likewise.
16827         * sysdeps/unix/bsd/ptsname.c: Likewise.
16828         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16829         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16831         Likewise.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16833         Likewise.
16834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16835         Likewise.
16836         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16838 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16840         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16843 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16845         [BZ #15897]
16846         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16847         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16848         ($(objpfx)bug-dl-leaf): New rule.
16849         ($(objpfx)bug-dl-leaf.so): Likewise.
16850         ($(objpfx)bug-dl-leaf.out): Likewise.
16851         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16852         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16853         * dlfcn/bug-dl-leaf.c: New test.
16854         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16855         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16856         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16857         (dlclose): Likewise.
16858         (dlmopen): Likewise.
16860 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16862         * include/netdb.h [!_ISOMAC]:
16863         Don't include <tls.h>.
16864         (h_errno, __libc_h_errno): Move declaration and macros out of
16865         [_LIBC_REENTRANT].
16867         * include/resolv.h [_RESOLV_H_]:
16868         Don't include <tls.h>.
16869         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16870         * resolv/res_libc.c: Don't include <tls.h>.
16871         (_res): Use __attribute__ ((nocommon)) in place of
16872         __attribute__ ((section (".bss"))).
16874         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16875         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16877         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16879         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16880         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16882         * resolv/res_mkquery.c: Include <sys/time.h>.
16884         * inet/ifreq.c: Moved to ...
16885         * sysdeps/unix/ifreq.c: ... here.
16886         * inet/ifreq.c: New file, true stub version.
16888         * socket/sa_len.c: New file.
16889         * socket/Makefile (aux): Add it.
16890         * sysdeps/unix/sysv/linux/Makefile
16891         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16892         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16893         and #include <socket/sa_len.c>.
16894         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16895         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16897         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16898         * bits/socket.h: ... here.
16900         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16901         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16902         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16904 2013-08-27  Andreas Schwab  <schwab@suse.de>
16906         [BZ #15736]
16907         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16908         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16909         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16910         * string/test-strcasecmp.c (test_main): Run tests in several
16911         locales.
16912         * string/test-strncasecmp.c (test_main): Likewise.
16914         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16915         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16916         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16917         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16918         (__strncasecmp_ssse3) [PIC]: Likewise.
16920 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16922         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16924         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16925         instead of explicitly declaring xdecrypt.
16926         * nis/nss_nis/nis-publickey.c: Likewise.
16928 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16930         [BZ #15890]
16931         * nscd/aicache.c: Include res_hconf.h.
16932         (addhstaiX): Initialize res_hconf.
16934 2013-08-26  Andreas Schwab  <schwab@suse.de>
16936         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16937         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16939 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16941         * nscd/aicache.c (addhstaiX): Fix indentation.
16943 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16945         * configure.ac: Quote $build_pt_chown test.
16946         * configure: Regenerated.
16948 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16950         [BZ #15532]
16951         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16952         * math/s_cexpf.c (__cexpf): Likewise.
16953         * math/s_cexpl.c (__cexpl): Likewise.
16954         * math/libm-test.inc (cexp_test_data): Correct expected return
16955         value for NaN + i0.  Add another test.
16957 2013-08-22  David S. Miller  <davem@davemloft.net>
16959         * po/ca.po: Update Catalan translation from translation project.
16960         * po/uk.po: Add Ukrainian translations from translation project.
16962 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16964         [BZ #15797]
16965         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16966         is infinite, not alongside NaN test.
16967         * math/s_fdimf.c (__fdimf): Likewise.
16968         * math/s_fdiml.c (__fdiml): Likewise.
16969         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16970         errno is unchanged.
16972 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16974         * argp/argp-help.c: Fix typos.
16975         * crypt/speeds.c: Likewise.
16976         * csu/check_fds.c: Likewise.
16977         * elf/dl-load.c: Likewise.
16978         * elf/dl-open.c: Likewise.
16979         * elf/reldep3.c: Likewise.
16980         * elf/reldep.c: Likewise.
16981         * elf/sprof.c: Likewise.
16982         * iconv/iconv_charmap.c: Likewise.
16983         * iconv/skeleton.c: Likewise.
16984         * iconv/strtab.c: Likewise.
16985         * io/lockf64.c: Likewise.
16986         * libio/libioP.h: Likewise.
16987         * resolv/gai_notify.c: Likewise.
16988         * resolv/ns_name.c: Likewise.
16989         * resolv/ns_samedomain.c: Likewise.
16990         * resolv/res_send.c: Likewise.
16991         * stdlib/random.c: Likewise.
16992         * sunrpc/rpc/xdr.h: Likewise.
16993         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16994         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16995         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16996         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16997         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16998         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16999         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17000         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17001         * sysdeps/mach/hurd/check_fds.c: Likewise.
17002         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17003         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17004         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17005         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17006         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17007         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17008         * sysdeps/pthread/aio_notify.c: Likewise.
17009         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17010         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17011         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17012         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17013         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17015 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17017         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17018         version if bit_Slow_SSE4_2 is set.
17019         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17020         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17022 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17024         [BZ #15867]
17025         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17026         trampoline stack frame information.
17027         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17028         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17029         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17030         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17031         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17032         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17033         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17034         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17035         sa_flags value.
17036         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17037         interrupting a syscall and set with option SA_SIGINFO.
17039 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17041         [BZ #15531]
17042         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17043         argument is infinite.
17044         * math/s_cprojf.c (__cprojf): Likewise.
17045         * math/s_cprojl.c (__cprojl): Likewise.
17046         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17047         * math/libm-test.inc (cproj_test_data): Add more tests.
17049         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17051         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17052         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17053         size.  Use __ffs to determine corresponding shift.
17055 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17056             Roland McGrath  <roland@hack.frob.com>
17058         * Makefile (INSTALL): Remove trailing blank lines from output of
17059         makeinfo.
17061 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17063         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17064         Align 32 bit compat elf_greg to 8 bytes.
17066 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17068         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17070 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17072         * string/strcoll_l.c (coll_seq): New structure.
17073         (get_next_seq_cached): New function.
17074         (get_next_seq): New function.
17075         (do_compare): New function.
17076         (STRCOLL): Use GNU style definition.  Simplify implementation
17077         by using get_next_seq, get_next_seq_cached and do_compare.
17079 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17081         [BZ #14699]
17082         CVE-2013-4237
17083         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17084         member.
17085         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17086         member.
17087         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17088         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17089         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17090         conditional.
17091         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17092         GETDENTS_64BIT_ALIGNED.
17093         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17094         * manual/filesys.texi (Reading/Closing Directory): Document
17095         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17096         strongly.
17097         * manual/conf.texi (Limits for Files): Add portability note to
17098         NAME_MAX, PATH_MAX.
17099         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17101 2013-08-13  Andreas Schwab  <schwab@suse.de>
17103         [BZ #15749]
17104         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17105         of fabs.
17106         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17107         LDBL_MAX_EXP >= 16384]: Add tests for it.
17109 2013-08-12  David S. Miller  <davem@davemloft.net>
17111         * version.h (RELEASE): Set to "development".
17112         (VERSION): Set to "2.18.90".
17113         * NEWS: Add 2.19 section.
17115 2013-08-03  David S. Miller  <davem@davemloft.net>
17117         * po/ko.po: Update Korean translation from translation project.
17119 2013-08-01  David S. Miller  <davem@davemloft.net>
17121         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17122         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17123         Bilka.
17125 2013-07-30  David S. Miller  <davem@davemloft.net>
17127         * po/fr.po: Update French translation from translation project.
17129 2013-07-28  David S. Miller  <davem@davemloft.net>
17131         * po/cs.po: Update Czech translation from translation project.
17133         * po/sv.po: Update Swedish translation from translation project.
17135 2013-07-27  David S. Miller  <davem@davemloft.net>
17137         * po/eo.po: Update Esperanto translation from translation project.
17139         * po/vi.po: Update Vietnamese translation from translation project.
17141         * po/de.po: Update German translation from translation project.
17143 2013-07-26  David S. Miller  <davem@davemloft.net>
17145         * po/bg.po: Update Bulgarian translation from translation project.
17147         * po/nl.po: Update Dutch translation from translation project.
17148         * po/pl.po: Update Polish translation from translation project.
17149         * po/ru.po: Update Russian translation from translation project.
17151 2013-07-24  David S. Miller  <davem@davemloft.net>
17153         * po/libc.pot: Update.
17155 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17157         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17158         variable page size.
17159         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17160         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17161         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17163 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17165         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17167 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17168             Andreas Schwab  <schwab@suse.de>
17169             Roland McGrath  <roland@hack.frob.com>
17170             Joseph Myers  <joseph@codesourcery.com>
17171             Carlos O'Donell  <carlos@redhat.com>
17173         [BZ #15755]
17174         * config.h.in: Define HAVE_PT_CHOWN.
17175         * config.make.in (build-pt-chown): New variable.
17176         * configure.in (--enable-pt_chown): New configure option.
17177         * configure: Regenerate.
17178         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17179         build-pt-chown is enabled.
17180         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17181         pt_chown to fix pty ownership.
17182         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17183         CLOSE_ALL_FDS.
17184         * manual/install.texi (Configuring and compiling): Mention
17185         --enable-pt_chown. Add @findex for grantpt.
17186         * INSTALL: Regenerate.
17188 2013-07-20  David S. Miller  <davem@davemloft.net>
17190         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17191         difference between 32-bit and 64-bit.
17193 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17195         [BZ #15711]
17196         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17197         Avoid system header dependency with -ffreestanding.
17198         ($(objpfx)bits/syscall%d): Likewise.
17200 2013-07-13  David S. Miller  <davem@davemloft.net>
17202         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17203         underflows from atanl/atan2l due to bug 15319.
17204         (casinh_test_data): Likewise.
17206 2013-07-07  David S. Miller  <davem@davemloft.net>
17208         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17210 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17212         * sysdeps/i386/fpu/libm-test-ulps: Update.
17213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17215 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17217         * configure.in (--enable-lock-elision): Fix message text.
17218         * INSTALL: Regenerate.
17219         * configure: Regenerate.
17221 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17225 2013-07-03  Andreas Jaeger  <aj@suse.de>
17227         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17228         define.
17229         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17230         (ptrace_peeksiginfo_args): Add.
17231         (__ptrace_peeksiginfo_flags): Add.
17232         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17233         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17234         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17236 2013-07-03  Allan McRae  <allan@archlinux.org>
17238         * sysdeps/i386/fpu/libm-test-ulps: Update.
17240 2013-07-02  David S. Miller  <davem@davemloft.net>
17242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17244 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17248 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17250         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17253 2013-07-02  Andi Kleen <ak@linux.intel.com>
17255         * config.h.in (ENABLE_LOCK_ELISION): Add.
17256         * configure.in (--enable-lock-elision): Add option.
17257         * manual/install.texi: Document --enable lock elision.
17258         * configure: Regenerate
17259         * INSTALL: Regenerate.
17261 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17263         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17264         SSE4.2 strcasecmp for libc.a.
17265         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17267 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17269         [BZ #13304]
17270         * soft-fp/op-common.h (_FP_FMA): New macro.
17271         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17272         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17273         (_FP_MUL_MEAT_1_imm): ... here.
17274         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17275         (_FP_MUL_MEAT_1_wide): ... here.
17276         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17277         (_FP_MUL_MEAT_1_hard): ... here.
17278         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17279         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17280         (_FP_MUL_MEAT_2_wide): ... here.
17281         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17282         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17283         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17284         (_FP_MUL_MEAT_2_gmp): ... here.
17285         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17286         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17287         (_FP_MUL_MEAT_4_wide): ... here.
17288         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17289         (_FP_MUL_MEAT_4_gmp): ... here.
17290         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17291         (_FP_WFRACBITS_DW_S): Likewise.
17292         (_FP_WFRACXBITS_DW_S): Likewise.
17293         (_FP_HIGHBIT_DW_S): Likewise.
17294         (FP_FMA_S): Likewise.
17295         (_FP_FRAC_HIGH_DW_S): Likewise.
17296         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17297         (_FP_WFRACBITS_DW_D): Likewise.
17298         (_FP_WFRACXBITS_DW_D): Likewise.
17299         (_FP_HIGHBIT_DW_D): Likewise.
17300         (FP_FMA_D): Likewise.
17301         (_FP_FRAC_HIGH_DW_D): Likewise.
17302         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17303         (_FP_WFRACBITS_DW_E): Likewise.
17304         (_FP_WFRACXBITS_DW_E): Likewise.
17305         (_FP_HIGHBIT_DW_E): Likewise.
17306         (FP_FMA_E): Likewise.
17307         (_FP_FRAC_HIGH_DW_E): Likewise.
17308         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17309         (_FP_WFRACBITS_DW_Q): Likewise.
17310         (_FP_WFRACXBITS_DW_Q): Likewise.
17311         (_FP_HIGHBIT_DW_Q): Likewise.
17312         (FP_FMA_Q): Likewise.
17313         (_FP_FRAC_HIGH_DW_Q): Likewise.
17314         * soft-fp/fmasf4.c: New file.
17315         * soft-fp/fmadf4.c: Likewise.
17316         * soft-fp/fmatf4.c: Likewise.
17318 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17321         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17322         Silvermont.
17323         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17324         macro.
17325         (index_Slow_SSE4_2): Likewise.
17326         (index_Prefer_PMINUB_for_stringop): Likewise.
17327         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17328         bit_Slow_SSE4_2 is set.
17329         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17330         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17332 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17334         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17335         rtld_global._dl_hwcap2.
17336         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17337         POWER8.
17338         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17339         POWER8 feature descriptions defined in _dl_hwcap2.
17340         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17341         string handling for POWER8 feature bits.
17342         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17343         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17344         _dl_powerpc_cap_flags.
17345         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17346         * sysdeps/powerpc/rtld-global-offsets.sym
17347         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17348         _dl_hwcap2 in the rtld_global_ro structure.
17350 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17352         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17353         hardware capabilities in support of AT_HWCAP2.
17354         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17355         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17356         GLRO(dl_hwcap2).
17357         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17358         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17359         explicitly the unknown a_type display mechanism is used.
17360         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17361         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17362         struct member.
17363         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17364         to macro prototype for AT_HWCAP2 support.
17365         * sysdeps/i386/dl-procinfo.h: Likewise.
17366         * sysdeps/s390/dl-procinfo.h: Likewise.
17367         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17368         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17369         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17370         return -1 for unknown a_type display fallback.
17371         * sysdeps/sparc/dl-procinfo.h: Likewise.
17372         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17373         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17375 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17377         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17378         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17380 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17382         [BZ #12492]
17383         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17384         mprotect making __stack_prot writable.
17386 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17387             Joseph Myers  <joseph@codesourcery.com>
17389         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17390         as being properly aligned.
17392 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17394         * dlfcn/modstatic5.c: New file.
17395         * dlfcn/tststatic5.c: New file.
17396         * dlfcn/Makefile (tests): Add tststatic5.
17397         (tests-static): Likewise.
17398         (modules-names): Add modstatic5.
17399         (tststatic5-ENV): New variable.
17400         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17402         [BZ #15022]
17403         * elf/dl-support.c (_dl_main_map): New variable.
17404         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17405         (_dl_nns, _dl_load_adds): Set to 1.
17406         (_dl_initial_searchlist): Refer to _dl_main_map.
17407         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17408         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17409         call to _dl_get_origin.
17410         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17411         around call_map.
17412         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17413         * dlfcn/modstatic3.c: New file.
17414         * dlfcn/tststatic3.c: New file.
17415         * dlfcn/tststatic4.c: New file.
17416         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17417         (tests-static): Likewise.
17418         (modules-names): Add modstatic3.
17419         (tststatic3-ENV, tststatic4-ENV): New variables.
17420         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17421         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17423 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17425         * configure.in (CC): Require GCC version 4.4 or later.
17426         * configure: Regenerated.
17427         * manual/install.texi (Tools for Compilation): Update GCC version
17428         requirement.
17429         * INSTALL: Regenerated.
17431 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17433         [BZ #15674]
17434         * string/test-memcmp.c (check2): New.
17435         (main): Call check2.
17437         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17439 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17441         [BZ #15022]
17442         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17443         over to...
17444         (dl_open_worker) [!SHARED]: ... here.
17446 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17448         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17450 2013-06-25  Richard Henderson  <rth@redhat.com>
17452         * locale/programs/locarchive.c: Include <libc-internal.h>
17454 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17456         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17457         trailing whitespace removed.
17459 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17461         [BZ #10283]
17462         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17463         * locale/programs/locarchive.c: Include libc-mmap.h.
17464         (prepare_address_space): Take two new outputs (the mmap base and len).
17465         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17466         values.
17467         (create_archive): Declare new mmap base and len values for
17468         prepare_address_space, and store the result in ah.
17469         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17470         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17471         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17472         Declare new mmap base and len values for
17473         prepare_address_space, and store the result in new_ah.
17474         (open_archive): Declare new mmap base and len values for
17475         prepare_address_space, and store the result in ah.
17476         (close_archive): If ah->mmap_base is not NULL, use that and
17477         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17478         * sysdeps/generic/libc-mmap.h: New file.
17480 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17482         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17483         (ALIGN_UP): Likewise.
17484         (PTR_ALIGN_DOWN): Likewise.
17485         (PTR_ALIGN_UP): Likewise.
17487 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17489         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17490         entry mapped to PPC_PLATFORM_POWER8.
17491         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17492         POWER8.
17493         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17494         (_dl_string_platform): Add case for exporting platform position for
17495         POWER8.
17496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17497         search path to sysdeps/powerpc/powerpc32/power8 directory.
17498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17499         search path to sysdeps/powerpc/powerpc64/power8 directory.
17500         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17501         power7 directories.
17502         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17503         power7 directories.
17505 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17507         * INSTALL: Regenerate.
17509         * nscd/connections.c (nscd_init): Fix comment.
17511 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17513         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17515         [BZ #15667]
17516         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17517         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17519 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17521         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17522         DL_DST_REQ_STATIC.
17523         (DL_DST_REQ_STATIC): Remove macro.
17525 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17527         [BZ #7006]
17528         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17529         with a shift of 0 bits.
17531 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17533         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17534         $(tststatic-ENV).
17536 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17538         [BZ #15655]
17539         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17541 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17543         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17544         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17545         accepts -fno-tree-loop-distribute-patterns.
17546         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17547         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17548         recursive call.
17549         * string/memset.c (memset): Likewise.
17550         * string/test-memmove.c (simple_memmove): Disable loop transformation
17551         to library calls.
17552         * string/test-memset.c (simple_memset): Likewise.
17553         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17554         * benchtests/bench-memset.c (simple_memset): Likewise.
17555         * configure: Regenerated.
17557 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17559         * math/test-misc.c (main): Ignore fesetround failure when failures
17560         of subsequent rounding tests would be ignored.
17562         [BZ #15654]
17563         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17564         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17565         * math/fegetenv.c (__fegetenv): Return 0.
17566         * math/fegetexcept.c (fegetexcept): Return 0.
17567         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17568         FE_TONEAREST.
17569         * math/feholdexcpt.c (feholdexcept): Return 0.
17570         * math/fesetenv.c (__fesetenv): Return 0.
17571         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17572         argument FE_TONEAREST.
17573         * math/feupdateenv.c (__feupdateenv): Return 0.
17574         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17576 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17578         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17579         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17580         ($(objpfx)rtld-%.os rules): Use them.
17582 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17584         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17585         fields.
17587 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17589         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17590         length of target pattern, then descending length of dependency pattern.
17591         * configure.in (AWK): Require gawk 3.1.2 or newer.
17592         * manual/install.texi (Tools for Compilation): Say that we do.
17593         * configure: Regenerated.
17595         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17596         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17597         * scripts/sysd-rules.awk: ... this new script.
17598         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17599         than a glob-style pattern.
17601 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17603         * math/test-misc.c (main): Do not treat incorrectly rounded
17604         conversions as failure unless ROUNDING_TESTS passes.
17606 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17608         [BZ #15631]
17609         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17610         restore exception state around main square root computation, then
17611         check for inexactness explicitly.
17613         * math/libm-test.inc (fma_test_data): Add another test.
17615 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17617         * manual/threads.texi (Non-POSIX Extensions): New document
17618         node.  Document pthread_getattr_default_np and
17619         pthread_setattr_default_np.
17621         * Versions.def (libpthread): Add GLIBC_2.18.
17622         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17624         Likewise.
17625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17626         Likewise.
17627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17628         Likewise.
17629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17630         Likewise.
17631         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17632         Likewise.
17633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17634         Likewise.
17635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17636         Likewise.
17637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17638         Likewise.
17639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17640         Likewise.
17642 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17645         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17647 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17648             H.J. Lu  <hjl.tools@gmail.com>
17650         [BZ #15627]
17651         * sysdeps/x86_64/rtld-memset.c: Remove file.
17652         * sysdeps/x86_64/rtld-memset.S: New file.
17654 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17656         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17657         (test_in_one_mode): Take arguments for whether the rounding mode
17658         is supported for each floating-point type.
17659         (do_test): Pass new arguments to test_in_one_mode using
17660         ROUNDING_TESTS.
17662 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17664         * posix/tst-waitid.c (do_test): Distinguish different instances of
17665         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17666         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17667         before entering the kernel for waitpid.
17669 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17671         * NEWS: Fix note on clock function precision.  Text by Roland
17672         McGrath.
17674 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17676         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17677         it into place only when and if the sanity check passes.
17679 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17681         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17682         output for whether conversion result is exact.  Take argument
17683         indicating whether type is IBM long double.
17684         (round_for_all): Change need_exact field to ibm_ld.
17685         * stdlib/tst-strtod-round.c (struct exactness): New type.
17686         (struct test): Change bool ld_ok field to struct exactness exact.
17687         (TEST): Update all definitions for change to field.
17688         (tests): Regenerate array contents.
17689         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17690         field value.  Check for IBM long double here.
17691         (do_test): Update calls to test_in_one_mode.
17693 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17695         [BZ #12515]
17696         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17697         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17699 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17701         [BZ #15605]
17702         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17703         generated by the compiler on loop optimizations.
17704         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17705         general definitions.
17707 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17709         * math/bug-nextafter.c: Include <math-tests.h>.
17710         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17711         the relevant type.
17712         * math/bug-nexttoward.c: Include <math-tests.h>.
17713         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17714         the relevant type.
17715         * math/test-misc.c: Include <math-tests.h>.
17716         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17717         the relevant type.
17719 2013-06-12  Andreas Jaeger  <aj@suse.de>
17721         * po/ia.po: Update Interlingua translation from translation
17722         project.
17724 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17726         * include/fenv.h: Include stdbool.h.
17727         (struct rm_ctx): New structure.
17728         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17729         Define macro.
17730         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17731         (SET_RESTORE_ROUNDF): Likewise.
17732         (SET_RESTORE_ROUNDL): Likewise.
17733         (SET_RESTORE_ROUND_NOEX): Likewise.
17734         (SET_RESTORE_ROUND_NOEXF): Likewise.
17735         (SET_RESTORE_ROUND_NOEXL): Likewise.
17736         (SET_RESTORE_ROUND_53BIT): Likewise.
17737         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17738         (libc_feresetround_noexf_ctx): Likewise.
17739         (libc_feresetround_noexl_ctx): Likewise.
17740         (libc_feholdsetround_53bit_ctx): Likewise.
17741         (libc_feresetround_53bit_ctx): Likewise.
17742         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17743         (libc_feholdexcept_setround_sse_ctx): New function.
17744         (libc_fesetenv_sse_ctx): Likewise.
17745         (libc_feupdateenv_sse_ctx): Likewise.
17746         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17747         (libc_feholdexcept_setround_387_ctx): Likewise.
17748         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17749         (libc_feholdsetround_387_prec_ctx): Likewise.
17750         (libc_feholdsetround_387_ctx): Likewise.
17751         (libc_feholdsetround_387_53bit_ctx): Likewise.
17752         (libc_feholdsetround_sse_ctx): Likewise.
17753         (libc_feresetround_sse_ctx): Likewise.
17754         (libc_feresetround_387_ctx): Likewise.
17755         (libc_feupdateenv_387_ctx): Likewise.
17756         (libc_feholdexcept_setroundf_ctx): Define macro.
17757         (libc_fesetenvf_ctx): Likewise.
17758         (libc_feupdateenvf_ctx): Likewise.
17759         (libc_feholdsetroundf_ctx): Likewise.
17760         (libc_feresetroundf_ctx): Likewise.
17761         (libc_feholdexcept_setround_ctx): Likewise.
17762         (libc_fesetenv_ctx): Likewise.
17763         (libc_feupdateenv_ctx): Likewise.
17764         (libc_feholdsetround_ctx): Likewise.
17765         (libc_feresetround_ctx): Likewise.
17766         (libc_feholdexcept_setroundl_ctx): Likewise.
17767         (libc_feupdateenvl_ctx): Likewise.
17768         (libc_feholdsetroundl_ctx): Likewise.
17769         (libc_feresetroundl_ctx): Likewise.
17770         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17771         (libc_feresetround_53bit_ctx): Likewise.
17773 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17775         * locale/iso-639.def: Convert to UTF-8.
17777 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17779         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17780         (EXCEPTION_TESTS_double): Likewise.
17781         (EXCEPTION_TESTS_long_double): Likewise.
17782         (EXCEPTION_TESTS): Likewise.
17783         * math/libm-test.inc (test_exceptions): Only test exceptions if
17784         EXCEPTION_TESTS (FLOAT).
17786 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17788         * benchtests/Makefile (string-bench): Add strcpy_chk and
17789         stpcpy_chk.
17790         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17791         * benchtests/bench-stpcpy_chk.c: New file.
17792         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17793         * benchtests/bench-strcpy_chk.c: New file.
17794         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17795         code.
17796         (do_test): Likewise.
17798 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17800         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17801         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17802         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17803         with tabs where appropriate.
17804         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17805         dl-procinfo.h.
17806         [PPC_PLATFORM_PPC440]: Likewise.
17807         [PPC_PLATFORM_PPC464]: Likewise.
17808         [PPC_PLATFORM_PPC476]: Likewise.
17809         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17810         ppc464, and ppc476 platform strings merging from ports/
17811         dl-procinfo.h.
17813 2013-06-11  Andreas Schwab  <schwab@suse.de>
17815         [BZ #14991]
17816         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17817         (from_ucs4_idx): Regenerate.
17818         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17819         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17820         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17821         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17822         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17823         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17824         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17825         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17826         from FROM_LOOP and TO_LOOP specific macros.
17827         (BODY): Handle combining characters.
17828         * iconvdata/BIG5HKSCS.irreversible: Update.
17829         * iconvdata/BIG5HKSCS.precomposed: New file.
17830         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17831         characters.
17832         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17834 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17836         * include/sys/time.h: Fix indentation and add copyright header.
17838         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17839         (do_test): Likewise.
17840         * string/test-memchr.c (do_one_test): Likewise.
17841         (do_test): Likewise.
17842         * string/test-memcmp.c (do_one_test): Likewise.
17843         (do_test): Likewise.
17844         * string/test-memcpy.c (do_one_test): Likewise.
17845         (do_test): Likewise.
17846         * string/test-memmem.c (do_one_test): Likewise.
17847         (do_test): Likewise.
17848         (do_random_tests): Likewise.
17849         * string/test-memmove.c (do_one_test): Likewise.
17850         (do_test): Likewise.
17851         * string/test-memset.c (do_one_test): Likewise.
17852         (do_test): Likewise.
17853         * string/test-rawmemchr.c (do_one_test): Likewise.
17854         (do_test): Likewise.
17855         * string/test-strcasecmp.c (do_one_test): Likewise.
17856         (do_test): Likewise.
17857         * string/test-strcasestr.c (do_one_test): Likewise.
17858         (do_test): Likewise.
17859         * string/test-strcat.c (do_one_test): Likewise.
17860         (do_test): Likewise.
17861         * string/test-strchr.c (do_one_test): Likewise.
17862         (do_test): Likewise.
17863         * string/test-strcmp.c (do_one_test): Likewise.
17864         (do_test): Likewise.
17865         * string/test-strcpy.c (do_one_test): Likewise.
17866         (do_test): Likewise.
17867         * string/test-string.h: Likewise.
17868         (test_init): Likewise.
17869         * string/test-strlen.c (do_one_test): Likewise.
17870         (do_test): Likewise.
17871         * string/test-strncasecmp.c (do_one_test): Likewise.
17872         (do_test): Likewise.
17873         * string/test-strncat.c (do_one_test): Likewise.
17874         (do_test): Likewise.
17875         * string/test-strncmp.c (do_one_test): Likewise.
17876         (do_test_limit): Likewise.
17877         (do_test): Likewise.
17878         * string/test-strncpy.c (do_one_test): Likewise.
17879         (do_test): Likewise.
17880         * string/test-strnlen.c (do_one_test): Likewise.
17881         (do_test): Likewise.
17882         * string/test-strpbrk.c (do_one_test): Likewise.
17883         (do_test): Likewise.
17884         * string/test-strrchr.c (do_one_test): Likewise.
17885         (do_test): Likewise.
17886         * string/test-strspn.c (do_one_test): Likewise.
17887         (do_test): Likewise.
17888         * string/test-strstr.c (do_one_test): Likewise.
17889         (do_test): Likewise.
17891         * benchtests/Makefile (string-bench): Add string benchmarks.
17892         * benchtests/bench-bcopy-ifunc.c: New file.
17893         * benchtests/bench-bcopy.c: New file.
17894         * benchtests/bench-bzero-ifunc.c: New file.
17895         * benchtests/bench-bzero.c: New file.
17896         * benchtests/bench-memccpy-ifunc.c: New file.
17897         * benchtests/bench-memccpy.c: New file.
17898         * benchtests/bench-memchr-ifunc.c: New file.
17899         * benchtests/bench-memchr.c: New file.
17900         * benchtests/bench-memcmp-ifunc.c: New file.
17901         * benchtests/bench-memcmp.c: New file.
17902         * benchtests/bench-memmem-ifunc.c: New file.
17903         * benchtests/bench-memmem.c: New file.
17904         * benchtests/bench-memmove-ifunc.c: New file.
17905         * benchtests/bench-memmove.c: New file.
17906         * benchtests/bench-mempcpy-ifunc.c: New file.
17907         * benchtests/bench-mempcpy.c: New file.
17908         * benchtests/bench-memset-ifunc.c: New file.
17909         * benchtests/bench-memset.c: New file.
17910         * benchtests/bench-rawmemchr-ifunc.c: New file.
17911         * benchtests/bench-rawmemchr.c: New file.
17912         * benchtests/bench-stpcpy-ifunc.c: New file.
17913         * benchtests/bench-stpcpy.c: New file.
17914         * benchtests/bench-stpncpy-ifunc.c: New file.
17915         * benchtests/bench-stpncpy.c: New file.
17916         * benchtests/bench-strcasecmp-ifunc.c: New file.
17917         * benchtests/bench-strcasecmp.c: New file.
17918         * benchtests/bench-strcasestr-ifunc.c: New file.
17919         * benchtests/bench-strcasestr.c: New file.
17920         * benchtests/bench-strcat-ifunc.c: New file.
17921         * benchtests/bench-strcat.c: New file.
17922         * benchtests/bench-strchr-ifunc.c: New file.
17923         * benchtests/bench-strchr.c: New file.
17924         * benchtests/bench-strchrnul-ifunc.c: New file.
17925         * benchtests/bench-strchrnul.c: New file.
17926         * benchtests/bench-strcmp-ifunc.c: New file.
17927         * benchtests/bench-strcmp.c: New file.
17928         * benchtests/bench-strcpy-ifunc.c: New file.
17929         * benchtests/bench-strcpy.c: New file.
17930         * benchtests/bench-strcspn-ifunc.c: New file.
17931         * benchtests/bench-strcspn.c: New file.
17932         * benchtests/bench-strlen-ifunc.c: New file.
17933         * benchtests/bench-strlen.c: New file.
17934         * benchtests/bench-strncasecmp-ifunc.c: New file.
17935         * benchtests/bench-strncasecmp.c: New file.
17936         * benchtests/bench-strncat-ifunc.c: New file.
17937         * benchtests/bench-strncat.c: New file.
17938         * benchtests/bench-strncmp-ifunc.c: New file.
17939         * benchtests/bench-strncmp.c: New file.
17940         * benchtests/bench-strncpy-ifunc.c: New file.
17941         * benchtests/bench-strncpy.c: New file.
17942         * benchtests/bench-strnlen-ifunc.c: New file.
17943         * benchtests/bench-strnlen.c: New file.
17944         * benchtests/bench-strpbrk-ifunc.c: New file.
17945         * benchtests/bench-strpbrk.c: New file.
17946         * benchtests/bench-strrchr-ifunc.c: New file.
17947         * benchtests/bench-strrchr.c: New file.
17948         * benchtests/bench-strspn-ifunc.c: New file.
17949         * benchtests/bench-strspn.c: New file.
17950         * benchtests/bench-strstr-ifunc.c: New file.
17951         * benchtests/bench-strstr.c: New file.
17953         * benchtests/Makefile: Disable parallel execution of targets.
17954         (string-bench): Add memcpy.
17955         (benchset): New variable to store a list of benchmark sets.
17956         (bench-func): Renamed from bench.
17957         (bench-set): New target.
17958         (bench): Depend on bench-func and bench-set.
17959         * benchtests/README: Add section on benchmark sets.
17960         * benchtests/bench-memcpy-ifunc.c: New file.
17961         * benchtests/bench-memcpy.c: New file.
17962         * benchtests/bench-string.h: New file.
17964 2013-06-11  Andreas Schwab  <schwab@suse.de>
17966         [BZ #15577]
17967         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17968         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17969         values in the triple.
17970         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17971         terminator in the group key.
17973 2013-06-11  Andreas Jaeger  <aj@suse.de>
17975         * po/zh_TW.po: Update Chinese (traditional) translation from
17976         translation project.
17978 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17980         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17981         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17982         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17983         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17984         (clock_getcpuclockid): Likewise.
17985         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17986         Add weak_alias and libc_hidden_def.
17987         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17988         * rt/clock_gettime.c (clock_gettime): Rename to
17989         __clock_gettime.  Add weak_alias and libc_hidden_def.
17990         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17991         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17992         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17993         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17994         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17995         Likewise.
17996         * rt/clock_settime.c (clock_settime): Rename to
17997         __clock_settime.  Add weak_alias and libc_hidden_def.
17998         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18000 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18002         * mach/err_boot.sub: Remove trailing whitespace.
18003         * mach/err_ipc.sub: Likewise.
18004         * mach/err_mach.sub: Likewise.
18006         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18007         (ROUNDING_TESTS_double): Likewise.
18008         (ROUNDING_TESTS_long_double): Likewise.
18009         (ROUNDING_TESTS): Likewise.
18010         * math/libm-test.inc: Include <math-tests.h>.
18011         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18012         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18013         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18014         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18016 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18018         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18019         of assigning.
18021 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18023         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18024         otherwise empty TRANS lines.
18025         * sysdeps/gnu/errlist.c: Regenerated.
18027         * catgets/gencat.c (error_print): Use (void) in function
18028         definition.
18029         * crypt/crypt_util.c (__init_des): Likewise.
18030         * crypt/speeds.c (Stop): Likewise.
18031         (main): Likewise.
18032         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18033         * inet/ruserpass.c (token): Likewise.
18034         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18035         * intl/localealias.c (extend_alias_table): Likewise.
18036         * intl/plural-exp.c (init_germanic_plural): Likewise.
18037         * libio/fcloseall.c (__fcloseall): Likewise.
18038         * libio/genops.c (_IO_flush_all): Likewise.
18039         (_IO_flush_all_linebuffered): Likewise.
18040         (_IO_cleanup): Likewise.
18041         (_IO_iter_begin): Likewise.
18042         (_IO_iter_end): Likewise.
18043         (_IO_list_lock): Likewise.
18044         (_IO_list_unlock): Likewise.
18045         (_IO_list_resetlock): Likewise.
18046         * libio/getchar.c (getchar): Likewise.
18047         * libio/getchar_u.c (getchar_unlocked): Likewise.
18048         * libio/getwchar.c (getwchar): Likewise.
18049         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18050         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18051         * login/getpt.c (__getpt): Likewise.
18052         * login/tst-utmp.c (main): Likewise.
18053         * malloc/hooks.c (__malloc_check_init): Likewise.
18054         * malloc/malloc.c (__malloc_stats): Likewise.
18055         * malloc/mtrace.c (tr_break): Likewise.
18056         (mtrace): Likewise.
18057         (muntrace): Likewise.
18058         * misc/fstab.c (endfsent): Likewise.
18059         * misc/getclktck.c (__getclktck): Likewise.
18060         * misc/getdtsz.c (__getdtablesize): Likewise.
18061         * misc/gethostid.c (gethostid): Likewise.
18062         * misc/getpagesize.c (__getpagesize): Likewise.
18063         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18064         (__get_nprocs): Likewise.
18065         (__get_phys_pages): Likewise.
18066         (__get_avphys_pages): Likewise.
18067         * misc/getttyent.c (getttyent): Likewise.
18068         (setttyent): Likewise.
18069         (endttyent): Likewise.
18070         * misc/getusershell.c (getusershell): Likewise.
18071         (endusershell): Likewise.
18072         (setusershell): Likewise.
18073         (initshells): Likewise.
18074         * misc/hsearch.c (__hdestroy): Likewise.
18075         * misc/sync.c (sync): Likewise.
18076         * misc/syslog.c (closelog_internal): Likewise.
18077         (closelog): Likewise.
18078         * misc/ttyslot.c (ttyslot): Likewise.
18079         * misc/vhangup.c (vhangup): Likewise.
18080         * posix/fork.c (__fork): Likewise.
18081         * posix/getegid.c (__getegid): Likewise.
18082         * posix/geteuid.c (__geteuid): Likewise.
18083         * posix/getgid.c (__getgid): Likewise.
18084         * posix/getpid.c (__getpid): Likewise.
18085         * posix/getppid.c (__getppid): Likewise.
18086         * posix/getuid.c (__getuid): Likewise.
18087         * posix/pause.c (pause): Likewise.
18088         * posix/setpgrp.c (setpgrp): Likewise.
18089         * posix/setsid.c (__setsid): Likewise.
18090         * posix/test-vfork.c (noop): Likewise.
18091         * resolv/gethnamaddr.c (_endhtent): Likewise.
18092         (_gethtent): Likewise.
18093         (ht_endhostent): Likewise.
18094         (gethostent): Likewise.
18095         (dns_service): Likewise.
18096         * stdlib/drand48.c (drand48): Likewise.
18097         * stdlib/lrand48.c (lrand48): Likewise.
18098         * stdlib/mrand48.c (mrand48): Likewise.
18099         * stdlib/rand.c (rand): Likewise.
18100         * stdlib/random.c (__random): Likewise.
18101         * stdlib/setenv.c (clearenv): Likewise.
18102         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18103         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18104         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18105         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18106         (__get_nprocs): Likewise.
18107         (__get_phys_pages): Likewise.
18108         (__get_avphys_pages): Likewise.
18109         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18110         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18111         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18112         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18113         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18114         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18115         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18116         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18117         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18118         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18119         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18120         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18121         * sysdeps/posix/clock.c (clock): Likewise.
18122         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18123         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18124         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18125         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18126         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18127         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18128         (__get_nprocs_conf): Likewise.
18129         (__get_phys_pages): Likewise.
18130         (__get_avphys_pages): Likewise.
18131         * time/clock.c (clock): Likewise.
18132         * time/tzset.c (__tzname_max): Likewise.
18134 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18136         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18137         (__bswap_32): Do not use "register".
18138         * crypt/crypt.c (_ufc_doit_r): Likewise.
18139         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18140         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18141         * gmon/gmon.c (__monstartup): Likewise.
18142         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18143         * hurd/hurdmalloc.c (more_memory): Likewise.
18144         (malloc): Likewise.
18145         (free): Likewise.
18146         (realloc): Likewise.
18147         (malloc_fork_prepare): Likewise.
18148         (malloc_fork_parent): Likewise.
18149         (malloc_fork_child): Likewise.
18150         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18151         (_svcauth_des): Likewise.
18152         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18153         * inet/inet_net.c (inet_network): Likewise.
18154         * inet/inet_netof.c (inet_netof): Likewise.
18155         * inet/rcmd.c (__validuser2_sa): Likewise.
18156         * io/fts.c (fts_open): Likewise.
18157         (fts_load): Likewise.
18158         (fts_close): Likewise.
18159         (fts_read): Likewise.
18160         (fts_children): Likewise.
18161         (fts_build): Likewise.
18162         (fts_stat): Likewise.
18163         (fts_sort): Likewise.
18164         (fts_alloc): Likewise.
18165         (fts_lfree): Likewise.
18166         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18167         (_IO_file_xsgetn): Likewise.
18168         (_IO_file_xsgetn_mmap): Likewise.
18169         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18170         (_IO_cookie_write): Likewise.
18171         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18172         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18173         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18174         * malloc/obstack.c (_obstack_begin): Likewise.
18175         (_obstack_begin_1): Likewise.
18176         (_obstack_newchunk): Likewise.
18177         (_obstack_allocated_p): Likewise.
18178         (obstack_free): Likewise.
18179         (_obstack_memory_used): Likewise.
18180         * misc/getttyent.c (getttynam): Likewise.
18181         (getttyent): Likewise.
18182         (skip): Likewise.
18183         (value): Likewise.
18184         * misc/getusershell.c (initshells): Likewise.
18185         * misc/syslog.c (__vsyslog_chk): Likewise.
18186         * misc/ttyslot.c (ttyslot): Likewise.
18187         * nis/nis_hash.c (__nis_hash): Likewise.
18188         * posix/fnmatch_loop.c (FCT): Likewise.
18189         * posix/getconf.c (print_all): Likewise.
18190         (main): Likewise.
18191         * posix/getopt.c (exchange): Likewise.
18192         * posix/glob.c (globfree): Likewise.
18193         (prefix_array): Likewise.
18194         (__glob_pattern_type): Likewise.
18195         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18196         (NS_GET32): Likewise.
18197         (NS_PUT16): Likewise.
18198         (NS_PUT32): Likewise.
18199         * resolv/gethnamaddr.c (getanswer): Likewise.
18200         (gethostbyname2): Likewise.
18201         (gethostbyaddr): Likewise.
18202         (_gethtent): Likewise.
18203         (_gethtbyname2): Likewise.
18204         (_gethtbyaddr): Likewise.
18205         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18206         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18207         * resolv/res_init.c (__res_vinit): Likewise.
18208         (net_mask): Likewise.
18209         * resolv/res_mkquery.c (outchar): Likewise.
18210         (PRINT): Likewise.
18211         * stdio-common/printf_fp.c (outchar): Likewise.
18212         (PRINT): Likewise.
18213         * stdio-common/printf_fphex.c (outchar): Likewise.
18214         (PRINT): Likewise.
18215         * stdio-common/printf_size.c (outchar): Likewise.
18216         (PRINT): Likewise.
18217         * stdio-common/test_rdwr.c (main): Likewise.
18218         * stdio-common/tfformat.c (matches): Likewise.
18219         * stdio-common/vfprintf.c (outchar): Likewise.
18220         (printf_unknown): Likewise.
18221         (buffered_vfprintf): Likewise.
18222         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18223         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18224         (ReadFile): Likewise.
18225         * stdlib/qsort.c (SWAP): Likewise.
18226         (_quicksort): Likewise.
18227         * stdlib/setenv.c (__add_to_environ): Likewise.
18228         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18229         * stdlib/strtol_l.c (__strtol_l): Likewise.
18230         * stdlib/tst-strtod.c (main): Likewise.
18231         * stdlib/tst-strtol.c (main): Likewise.
18232         * stdlib/tst-strtoll.c (main): Likewise.
18233         * string/bits/string2.h (__strcmp_cc): Likewise.
18234         (__strcmp_cg): Likewise.
18235         (__strcspn_c1): Likewise.
18236         (__strcspn_c2): Likewise.
18237         (__strcspn_c3): Likewise.
18238         (__strspn_c1): Likewise.
18239         (__strspn_c2): Likewise.
18240         (__strspn_c3): Likewise.
18241         (__strsep_1c): Likewise.
18242         (__strsep_2c): Likewise.
18243         (__strsep_3c): Likewise.
18244         * string/memccpy.c (__memccpy): Likewise.
18245         * string/stpcpy.c (__stpcpy): Likewise.
18246         * string/strcmp.c (strcmp): Likewise.
18247         * string/strrchr.c (strrchr): Likewise.
18248         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18249         Likewise.
18250         * sysdeps/mach/hurd/getcwd.c
18251         (_hurd_canonicalize_directory_name_internal): Likewise.
18252         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18253         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18254         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18255         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18256         Likewise, in both definitions.
18257         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18258         definitions.
18259         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18260         64] (__bswap_64): Likewise.
18261         * time/test_time.c (main): Likewise.
18262         * time/tzfile.c (__tzfile_read): Likewise.
18263         (__tzfile_compute): Likewise.
18264         * time/tzset.c (__tzset_parse_tz): Likewise.
18265         (tzset_internal): Likewise.
18266         (compute_change): Likewise.
18267         * wcsmbs/wcscat.c (__wcscat): Likewise.
18268         * wcsmbs/wcschr.c (wcschr): Likewise.
18269         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18270         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18271         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18272         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18273         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18274         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18275         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18276         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18277         * wcsmbs/wmemset.c (wmemset): Likewise.
18279 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18281         * scripts/config.guess: Update to version 2013-05-16.
18282         * scripts/config.sub: Update to version 2013-04-24.
18283         * scripts/install-sh: Update to version 2011-11-20.07.
18284         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18285         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18287 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18289         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18290         * elf/sln.c: Likewise.
18291         * hurd/hurd/ioctl.h: Likewise.
18292         * hurd/hurdmalloc.c: Likewise.
18293         * hurd/xattr.c: Likewise.
18294         * include/shlib-compat.h: Likewise.
18295         * inet/ruserpass.c: Likewise.
18296         * libio/iofgets_u.c: Likewise.
18297         * libio/iofgetws_u.c: Likewise.
18298         * locale/programs/ld-identification.c: Likewise.
18299         * locale/programs/ld-time.c: Likewise.
18300         * mach/msg-destroy.c: Likewise.
18301         * nss/nss_files/files-netgrp.c: Likewise.
18302         * resolv/res_data.c: Likewise.
18303         * soft-fp/op-1.h: Likewise.
18304         * soft-fp/op-2.h: Likewise.
18305         * soft-fp/op-4.h: Likewise.
18306         * soft-fp/op-common.h: Likewise.
18307         * stdio-common/printf_fphex.c: Likewise.
18308         * stdlib/strtod_l.c: Likewise.
18309         * sunrpc/rpc/clnt.h: Likewise.
18310         * sysdeps/generic/framestate.c: Likewise.
18311         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18312         * sysdeps/i386/bsd-setjmp.S: Likewise.
18313         * sysdeps/i386/__longjmp.S: Likewise.
18314         * sysdeps/i386/setjmp.S: Likewise.
18315         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18316         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18317         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18318         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18319         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18320         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18321         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18322         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18323         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18324         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18325         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18326         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18327         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18328         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18329         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18330         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18331         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18332         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18333         * sysdeps/ieee754/support.c: Likewise.
18334         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18335         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18336         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18337         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18338         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18339         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18340         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18341         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18342         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18343         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18344         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18345         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18346         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18347         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18348         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18349         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18350         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18353 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18355         * posix/transbug.c: Remove executable mode.
18357 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18359         * crypt/speeds.c: Remove trailing whitespace.
18360         * dlfcn/default.c: Likewise.
18361         * elf/ifuncdep2.c: Likewise.
18362         * elf/ifuncmain1.c: Likewise.
18363         * elf/ifuncmain1vis.c: Likewise.
18364         * elf/testobj.h: Likewise.
18365         * elf/tst-stackguard1.c: Likewise.
18366         * gmon/sys/gmon.h: Likewise.
18367         * hurd/hurdmsg.c: Likewise.
18368         * hurd/new-fd.c: Likewise.
18369         * hurd/ports-get.c: Likewise.
18370         * iconvdata/ibm1008_420.c: Likewise.
18371         * inet/tst-getni1.c: Likewise.
18372         * inet/tst-getni2.c: Likewise.
18373         * libio/ioungetc.c: Likewise.
18374         * libio/wfiledoalloc.c: Likewise.
18375         * manual/libm-err-tab.pl: Likewise.
18376         * math/w_dremf.c: Likewise.
18377         * misc/ftruncate.c: Likewise.
18378         * posix/bug-glob2.c: Likewise.
18379         * posix/tst-pcre.c: Likewise.
18380         * posix/wait4.c: Likewise.
18381         * resolv/README: Likewise.
18382         * resolv/res_debug.h: Likewise.
18383         * resolv/tst-inet_ntop.c: Likewise.
18384         * setjmp/bug269-setjmp.c: Likewise.
18385         * soft-fp/extended.h: Likewise.
18386         * soft-fp/op-1.h: Likewise.
18387         * soft-fp/op-2.h: Likewise.
18388         * soft-fp/op-4.h: Likewise.
18389         * soft-fp/op-8.h: Likewise.
18390         * soft-fp/testit.c: Likewise.
18391         * stdio-common/bug16.c: Likewise.
18392         * stdlib/random.c: Likewise.
18393         * sunrpc/rpcsvc/rquota.x: Likewise.
18394         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18395         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18396         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18397         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18398         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18399         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18400         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18401         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18402         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18403         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18404         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18405         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18406         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18407         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18409         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18410         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18411         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18412         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18413         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18414         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18415         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18416         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18417         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18418         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18419         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18420         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18421         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18422         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18423         * sysdeps/ieee754/s_lib_version.c: Likewise.
18424         * sysdeps/mach/hurd/check_fds.c: Likewise.
18425         * sysdeps/mach/hurd/getsockname.c: Likewise.
18426         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18427         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18428         * sysdeps/powerpc/bits/link.h: Likewise.
18429         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18430         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18431         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18432         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18433         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18434         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18435         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18436         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18437         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18438         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18439         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18440         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18441         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18442         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18443         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18444         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18445         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18446         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18447         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18448         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18449         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18450         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18452         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18453         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18454         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18455         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18456         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18457         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18458         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18459         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18460         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18461         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18462         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18463         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18464         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18465         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18466         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18467         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18468         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18469         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18470         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18471         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18472         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18473         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18474         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18475         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18476         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18477         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18478         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18479         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18480         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18481         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18482         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18483         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18484         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18485         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18486         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18487         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18488         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18489         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18490         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18491         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18492         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18493         * sysdeps/powerpc/sysdep.h: Likewise.
18494         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18495         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18496         * sysdeps/sh/dl-trampoline.S: Likewise.
18497         * sysdeps/sh/memset.S: Likewise.
18498         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18499         * sysdeps/sh/strlen.S: Likewise.
18500         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18501         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18502         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18503         * sysdeps/sparc/sparc32/rem.S: Likewise.
18504         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18505         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18506         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18507         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18508         * sysdeps/sparc/sparc32/urem.S: Likewise.
18509         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18510         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18511         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18512         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18513         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18514         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18515         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18516         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18517         * sysdeps/unix/bsd/times.c: Likewise.
18518         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18519         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18523         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18524         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18525         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18526         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18527         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18528         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18529         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18530         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18531         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18532         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18533         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18534         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18535         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18536         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18537         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18538         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18539         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18540         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18541         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18542         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18543         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18544         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18545         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18546         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18547         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18548         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18549         * sysdeps/x86_64/strcspn.S: Likewise.
18551 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18553         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18554         generated file.  Regenerate properly from gen-translit.pl.
18555         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18556         locale/C-translit.h.
18558 2013-06-05  Andreas Schwab  <schwab@suse.de>
18560         [BZ #15100]
18561         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18562         week as 6 instead of -1.
18563         * time/tst-strptime.c (day_tests): Add test case.
18565 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18567         * sysdeps/generic/math_private.h
18568         (libc_feholdexcept_setround_53bit): Replace with
18569         libc_feholdsetround_53bit.
18570         (libc_feupdateenv_53bit): Replace with
18571         libc_feresetround_53bit.
18572         (SET_RESTORE_ROUND_53BIT): Adjust.
18574 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18576         * string/test-strchrnul.c: Add copyright header.
18578         * posix/tst-getaddrinfo4.c: Increase test timeout.
18580 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18582         [BZ #15536]
18583         * math/libm-test.inc (MAX_EXP): Remove
18584         (MIN_EXP): Define.
18585         (ulp): Use MIN_EXP - MANT_DIG.
18586         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18588 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18590         * po/be.po: Revert last change.
18591         * po/zh_CN.po: Likewise.
18592         * po/header.pot: Likewise.
18594 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18596         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18597         link-libc-deps to empty as target-specific variable.
18598         * Makerules (link-libc-args): New variable.
18599         (libc-for-link): Likewise.
18600         (link-libc-deps): Likewise.
18601         (lib%.so): Depend on $(link-libc-deps).  Link with
18602         $(link-libc-args).
18603         (build-module): Link with $(link-libc-args).
18604         (build-module-asneeded): Likewise.
18605         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18606         list of objects.
18607         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18608         target-specific variable.
18609         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18610         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18611         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18612         libc.
18613         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18614         libc and ld.so.
18615         ($(objpfx)libpcprofile.so): Likewise.
18616         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18617         libc_nonshared.a.
18618         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18619         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18620         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18621         $(link-libc-deps).
18622         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18623         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18624         * login/Makefile ($(objpfx)libutil.so): Likewise.
18625         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18626         * math/Makefile ($(objpfx)libm.so): Likewise.
18627         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18628         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18629         variable instead of depending directly on libc.
18630         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18631         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18632         $(link-libc-deps).
18633         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18634         libc.
18635         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18636         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18637         ($(objpfx)libanl.so): Likewise.
18638         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18639         ld.so.
18640         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18641         $(link-libc-deps).
18642         * sysdeps/i386/fpu/Makefile: Remove file.
18643         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18644         ($(objpfx)libm.so): Remove dependency on ld.so.
18646 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18648         [BZ # 15553]
18649         * nis/yp_xdr.c (XDRMAXNAME): Define.
18650         (XDRMAXRECORD): Define.
18651         (xdr_domainname): Use XDRMAXNAME.
18652         (xdr_mapname): Likewise.
18653         (xdr_peername): Likewise.
18654         (xdr_keydat): Use XDRMAXRECORD.
18655         (xdr_valdat): Likewise.
18657 2013-05-30  Jeff Law  <law@redhat.com>
18659         [BZ #14256]
18660         * manual/errno.texi (ESTALE): Update to account for more than
18661         just NFS file systems.
18662         * sysdeps/gnu/errlist.c: Regenerated.
18664 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18666         [BZ #15465]
18667         * elf/Makefile (tests): Add tst-null-argv.
18668         (modules-names):  Add tst-null-argv-lib.
18669         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18670         (tst-null-argv-ENV): Set environment for tst-null-argv.
18671         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18672         (RTLD_PROGNAME): New macro.
18673         * elf/tst-null-argv.c: New test case.
18674         * elf/tst-null-argv-lib.c: Library for test case.
18675         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18676         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18677         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18678         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18679         * elf/dl-init.c (call_init): Likewise.
18680         (_dl_init): Likewise.
18681         * elf/dl-load.c (print_search_path): Likewise.
18682         (_dl_map_object): Likewise.
18683         * elf/dl-lookup.c (do_lookup_x): Likewise.
18684         (add_dependency): Likewise.
18685         (_dl_lookup_symbol_x): Likewise.
18686         (_dl_debug_bindings): Likewise.
18687         * elf/dl-open.c (_dl_show_scope): Likewise.
18688         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18689         * elf/dl-version.c (match_symbol): Likewise.
18690         (_dl_check_map_versions): Likewise.
18691         * elf/rtld.c (dl_main): Likewise.
18692         (print_unresolved): Use RTLD_PROGNAME.
18693         (print_missing_version): Likewise.
18694         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18695         (elf_machine_rela): Likewise.
18696         * sysdeps/powerpc/powerpc32/dl-machine.c
18697         (__process_machine_rela): Likewise.
18698         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18699         Likewise.
18700         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18701         Likewise.
18702         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18703         Likewise.
18704         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18705         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18706         Likewise.
18707         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18708         Likewise.
18709         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18711 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18713         * po/be.po: Add descriptive title.
18714         * po/zh_CN.po: Likewise.
18715         * po/header.pot: Likewise.
18717 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18719         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18720         error message.
18721         (enlarge_archive): Likewise.
18723 2013-05-28  Ben North  <ben@redfrontdoor.org>
18725         * manual/arith.texi (frexp): It is the magnitude of the return
18726         value which lies in [0.5, 1), not the return value itself.
18728 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18732 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18734         * stdio-common/bug26.c (main): Correct fscanf template.
18736         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18737         declare _dl_skip_args.
18739         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18740         Don't declare.
18742         * manual/platform.texi: Add missing @end deftypefun.
18744 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18746         [BZ #15529]
18747         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18748         bit of mantissa of 2^16382.
18749         * math/libm-test.inc (hypot_test_data): Add more tests.
18751         * math/libm-test.inc: Add drem and pow10 to list of tested
18752         functions.
18753         (pow10_test): New function.
18754         (drem_test): Likewise.
18755         (drem_test_tonearest): Likewise.
18756         (drem_test_towardzero): Likewise.
18757         (drem_test_downward): Likewise.
18758         (drem_test_upward): Likewise.
18759         (main): Call the new functions.
18761         * math/libm-test.inc (finite_test_data): Remove.
18762         (finite_test): Run tests from isfinite_test_data.
18763         (gamma_test_data): Remove.
18764         (gamma_test): Run tests from lgamma_test_data.
18765         * sysdeps/i386/fpu/libm-test-ulps: Update.
18766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18768 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18770         * manual/platform.texi: Add PowerPC PPR function set documentation.
18771         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18772         implementation.
18774 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18776         * math/libm-test.inc (MAX_EXP): Define.
18777         (ULPDIFF): Define.
18778         (ulp): New function.
18779         (check_float_internal): Use ULPDIFF.
18780         (cpow_test): Disable failing test.
18781         (check_ulp): Test ulp() implemetnation.
18782         (main): Call check_ulp before starting tests.
18784 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18786         * math/gen-libm-test.pl (generate_testfile): Do not handle
18787         START_DATA and END_DATA.
18788         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18789         END_DATA.
18790         (acos_tonearest_test_data): Likewise.
18791         (acos_towardzero_test_data): Likewise.
18792         (acos_downward_test_data): Likewise.
18793         (acos_upward_test_data): Likewise.
18794         (acosh_test_data): Likewise.
18795         (asin_test_data): Likewise.
18796         (asin_tonearest_test_data): Likewise.
18797         (asin_towardzero_test_data): Likewise.
18798         (asin_downward_test_data): Likewise.
18799         (asin_upward_test_data): Likewise.
18800         (asinh_test_data): Likewise.
18801         (atan_test_data): Likewise.
18802         (atanh_test_data): Likewise.
18803         (atan2_test_data): Likewise.
18804         (cabs_test_data): Likewise.
18805         (cacos_test_data): Likewise.
18806         (cacosh_test_data): Likewise.
18807         (carg_test_data): Likewise.
18808         (casin_test_data): Likewise.
18809         (casinh_test_data): Likewise.
18810         (catan_test_data): Likewise.
18811         (catanh_test_data): Likewise.
18812         (cbrt_test_data): Likewise.
18813         (ccos_test_data): Likewise.
18814         (ccosh_test_data): Likewise.
18815         (ceil_test_data): Likewise.
18816         (cexp_test_data): Likewise.
18817         (cimag_test_data): Likewise.
18818         (clog_test_data): Likewise.
18819         (clog10_test_data): Likewise.
18820         (conj_test_data): Likewise.
18821         (copysign_test_data): Likewise.
18822         (cos_test_data): Likewise.
18823         (cos_tonearest_test_data): Likewise.
18824         (cos_towardzero_test_data): Likewise.
18825         (cos_downward_test_data): Likewise.
18826         (cos_upward_test_data): Likewise.
18827         (cosh_test_data): Likewise.
18828         (cosh_tonearest_test_data): Likewise.
18829         (cosh_towardzero_test_data): Likewise.
18830         (cosh_downward_test_data): Likewise.
18831         (cosh_upward_test_data): Likewise.
18832         (cpow_test_data): Likewise.
18833         (cproj_test_data): Likewise.
18834         (creal_test_data): Likewise.
18835         (csin_test_data): Likewise.
18836         (csinh_test_data): Likewise.
18837         (csqrt_test_data): Likewise.
18838         (ctan_test_data): Likewise.
18839         (ctan_tonearest_test_data): Likewise.
18840         (ctan_towardzero_test_data): Likewise.
18841         (ctan_downward_test_data): Likewise.
18842         (ctan_upward_test_data): Likewise.
18843         (ctanh_test_data): Likewise.
18844         (ctanh_tonearest_test_data): Likewise.
18845         (ctanh_towardzero_test_data): Likewise.
18846         (ctanh_downward_test_data): Likewise.
18847         (ctanh_upward_test_data): Likewise.
18848         (erf_test_data): Likewise.
18849         (erfc_test_data): Likewise.
18850         (exp_test_data): Likewise.
18851         (exp_tonearest_test_data): Likewise.
18852         (exp_towardzero_test_data): Likewise.
18853         (exp_downward_test_data): Likewise.
18854         (exp_upward_test_data): Likewise.
18855         (exp10_test_data): Likewise.
18856         (exp2_test_data): Likewise.
18857         (expm1_test_data): Likewise.
18858         (fabs_test_data): Likewise.
18859         (fdim_test_data): Likewise.
18860         (finite_test_data): Likewise.
18861         (floor_test_data): Likewise.
18862         (fma_test_data): Likewise.
18863         (fma_towardzero_test_data): Likewise.
18864         (fma_downward_test_data): Likewise.
18865         (fma_upward_test_data): Likewise.
18866         (fmax_test_data): Likewise.
18867         (fmin_test_data): Likewise.
18868         (fmod_test_data): Likewise.
18869         (fpclassify_test_data): Likewise.
18870         (frexp_test_data): Likewise.
18871         (gamma_test_data): Likewise.
18872         (hypot_test_data): Likewise.
18873         (ilogb_test_data): Likewise.
18874         (isfinite_test_data): Likewise.
18875         (isgreater_test_data): Likewise.
18876         (isgreaterequal_test_data): Likewise.
18877         (isinf_test_data): Likewise.
18878         (isless_test_data): Likewise.
18879         (islessequal_test_data): Likewise.
18880         (islessgreater_test_data): Likewise.
18881         (isnan_test_data): Likewise.
18882         (isnormal_test_data): Likewise.
18883         (issignaling_test_data): Likewise.
18884         (isunordered_test_data): Likewise.
18885         (j0_test_data): Likewise.
18886         (j1_test_data): Likewise.
18887         (jn_test_data): Likewise.
18888         (ldexp_test_data): Likewise.
18889         (lgamma_test_data): Likewise.
18890         (lrint_test_data): Likewise.
18891         (lrint_tonearest_test_data): Likewise.
18892         (lrint_towardzero_test_data): Likewise.
18893         (lrint_downward_test_data): Likewise.
18894         (lrint_upward_test_data): Likewise.
18895         (llrint_test_data): Likewise.
18896         (llrint_tonearest_test_data): Likewise.
18897         (llrint_towardzero_test_data): Likewise.
18898         (llrint_downward_test_data): Likewise.
18899         (llrint_upward_test_data): Likewise.
18900         (log_test_data): Likewise.
18901         (log10_test_data): Likewise.
18902         (log1p_test_data): Likewise.
18903         (log2_test_data): Likewise.
18904         (logb_test_data): Likewise.
18905         (logb_downward_test_data): Likewise.
18906         (lround_test_data): Likewise.
18907         (llround_test_data): Likewise.
18908         (modf_test_data): Likewise.
18909         (nearbyint_test_data): Likewise.
18910         (nextafter_test_data): Likewise.
18911         (nexttoward_test_data): Likewise.
18912         (pow_test_data): Likewise.
18913         (pow_tonearest_test_data): Likewise.
18914         (pow_towardzero_test_data): Likewise.
18915         (pow_downward_test_data): Likewise.
18916         (pow_upward_test_data): Likewise.
18917         (remainder_test_data): Likewise.
18918         (remainder_tonearest_test_data): Likewise.
18919         (remainder_towardzero_test_data): Likewise.
18920         (remainder_downward_test_data): Likewise.
18921         (remainder_upward_test_data): Likewise.
18922         (remquo_test_data): Likewise.
18923         (rint_test_data): Likewise.
18924         (rint_tonearest_test_data): Likewise.
18925         (rint_towardzero_test_data): Likewise.
18926         (rint_downward_test_data): Likewise.
18927         (rint_upward_test_data): Likewise.
18928         (round_test_data): Likewise.
18929         (scalb_test_data): Likewise.
18930         (scalbn_test_data): Likewise.
18931         (scalbln_test_data): Likewise.
18932         (signbit_test_data): Likewise.
18933         (sin_test_data): Likewise.
18934         (sin_tonearest_test_data): Likewise.
18935         (sin_towardzero_test_data): Likewise.
18936         (sin_downward_test_data): Likewise.
18937         (sin_upward_test_data): Likewise.
18938         (sincos_test_data): Likewise.
18939         (sinh_test_data): Likewise.
18940         (sinh_tonearest_test_data): Likewise.
18941         (sinh_towardzero_test_data): Likewise.
18942         (sinh_downward_test_data): Likewise.
18943         (sinh_upward_test_data): Likewise.
18944         (sqrt_test_data): Likewise.
18945         (tan_test_data): Likewise.
18946         (tan_tonearest_test_data): Likewise.
18947         (tan_towardzero_test_data): Likewise.
18948         (tan_downward_test_data): Likewise.
18949         (tan_upward_test_data): Likewise.
18950         (tanh_test_data): Likewise.
18951         (tgamma_test_data): Likewise.
18952         (trunc_test_data): Likewise.
18953         (y0_test_data): Likewise.
18954         (y1_test_data): Likewise.
18955         (yn_test_data): Likewise.
18956         (significand_test_data): Likewise.
18958         * math/gen-libm-test.pl (@functions): Remove variable.
18959         (generate_testfile): Don't handle START and END lines.
18960         * math/libm-test.inc (START): New macro.
18961         (END): Likewise.
18962         (END_COMPLEX): Likewise.
18963         (acos_test): Use END macro without arguments.
18964         (acos_test_tonearest): Likewise.
18965         (acos_test_towardzero): Likewise.
18966         (acos_test_downward): Likewise.
18967         (acos_test_upward): Likewise.
18968         (acosh_test): Likewise.
18969         (asin_test): Likewise.
18970         (asin_test_tonearest): Likewise.
18971         (asin_test_towardzero): Likewise.
18972         (asin_test_downward): Likewise.
18973         (asin_test_upward): Likewise.
18974         (asinh_test): Likewise.
18975         (atan_test): Likewise.
18976         (atanh_test): Likewise.
18977         (atan2_test): Likewise.
18978         (cabs_test): Likewise.
18979         (cacos_test): Use END_COMPLEX macro without arguments.
18980         (cacosh_test): Likewise.
18981         (carg_test): Use END macro without arguments.
18982         (casin_test): Use END_COMPLEX macro without arguments.
18983         (casinh_test): Likewise.
18984         (catan_test): Likewise.
18985         (catanh_test): Likewise.
18986         (cbrt_test): Use END macro without arguments.
18987         (ccos_test): Use END_COMPLEX macro without arguments.
18988         (ccosh_test): Likewise.
18989         (ceil_test): Use END macro without arguments.
18990         (cexp_test): Use END_COMPLEX macro without arguments.
18991         (cimag_test): Use END macro without arguments.
18992         (clog_test): Use END_COMPLEX macro without arguments.
18993         (clog10_test): Likewise.
18994         (conj_test): Likewise.
18995         (copysign_test): Use END macro without arguments.
18996         (cos_test): Likewise.
18997         (cos_test_tonearest): Likewise.
18998         (cos_test_towardzero): Likewise.
18999         (cos_test_downward): Likewise.
19000         (cos_test_upward): Likewise.
19001         (cosh_test): Likewise.
19002         (cosh_test_tonearest): Likewise.
19003         (cosh_test_towardzero): Likewise.
19004         (cosh_test_downward): Likewise.
19005         (cosh_test_upward): Likewise.
19006         (cpow_test): Use END_COMPLEX macro without arguments.
19007         (cproj_test): Likewise.
19008         (creal_test): Use END macro without arguments.
19009         (csin_test): Use END_COMPLEX macro without arguments.
19010         (csinh_test): Likewise.
19011         (csqrt_test): Likewise.
19012         (ctan_test): Likewise.
19013         (ctan_test_tonearest): Likewise.
19014         (ctan_test_towardzero): Likewise.
19015         (ctan_test_downward): Likewise.
19016         (ctan_test_upward): Likewise.
19017         (ctanh_test): Likewise.
19018         (ctanh_test_tonearest): Likewise.
19019         (ctanh_test_towardzero): Likewise.
19020         (ctanh_test_downward): Likewise.
19021         (ctanh_test_upward): Likewise.
19022         (erf_test): Use END macro without arguments.
19023         (erfc_test): Likewise.
19024         (exp_test): Likewise.
19025         (exp_test_tonearest): Likewise.
19026         (exp_test_towardzero): Likewise.
19027         (exp_test_downward): Likewise.
19028         (exp_test_upward): Likewise.
19029         (exp10_test): Likewise.
19030         (exp2_test): Likewise.
19031         (expm1_test): Likewise.
19032         (fabs_test): Likewise.
19033         (fdim_test): Likewise.
19034         (finite_test): Likewise.
19035         (floor_test): Likewise.
19036         (fma_test): Likewise.
19037         (fma_test_towardzero): Likewise.
19038         (fma_test_downward): Likewise.
19039         (fma_test_upward): Likewise.
19040         (fmax_test): Likewise.
19041         (fmin_test): Likewise.
19042         (fmod_test): Likewise.
19043         (fpclassify_test): Likewise.
19044         (frexp_test): Likewise.
19045         (gamma_test): Likewise.
19046         (hypot_test): Likewise.
19047         (ilogb_test): Likewise.
19048         (isfinite_test): Likewise.
19049         (isgreater_test): Likewise.
19050         (isgreaterequal_test): Likewise.
19051         (isinf_test): Likewise.
19052         (isless_test): Likewise.
19053         (islessequal_test): Likewise.
19054         (islessgreater_test): Likewise.
19055         (isnan_test): Likewise.
19056         (isnormal_test): Likewise.
19057         (issignaling_test): Likewise.
19058         (isunordered_test): Likewise.
19059         (j0_test): Likewise.
19060         (j1_test): Likewise.
19061         (jn_test): Likewise.
19062         (ldexp_test): Likewise.
19063         (lgamma_test): Likewise.
19064         (lrint_test): Likewise.
19065         (lrint_test_tonearest): Likewise.
19066         (lrint_test_towardzero): Likewise.
19067         (lrint_test_downward): Likewise.
19068         (lrint_test_upward): Likewise.
19069         (llrint_test): Likewise.
19070         (llrint_test_tonearest): Likewise.
19071         (llrint_test_towardzero): Likewise.
19072         (llrint_test_downward): Likewise.
19073         (llrint_test_upward): Likewise.
19074         (log_test): Likewise.
19075         (log10_test): Likewise.
19076         (log1p_test): Likewise.
19077         (log2_test): Likewise.
19078         (logb_test): Likewise.
19079         (logb_test_downward): Likewise.
19080         (lround_test): Likewise.
19081         (llround_test): Likewise.
19082         (modf_test): Likewise.
19083         (nearbyint_test): Likewise.
19084         (nextafter_test): Likewise.
19085         (nexttoward_test): Likewise.
19086         (pow_test): Likewise.
19087         (pow_test_tonearest): Likewise.
19088         (pow_test_towardzero): Likewise.
19089         (pow_test_downward): Likewise.
19090         (pow_test_upward): Likewise.
19091         (remainder_test): Likewise.
19092         (remainder_test_tonearest): Likewise.
19093         (remainder_test_towardzero): Likewise.
19094         (remainder_test_downward): Likewise.
19095         (remainder_test_upward): Likewise.
19096         (remquo_test): Likewise.
19097         (rint_test): Likewise.
19098         (rint_test_tonearest): Likewise.
19099         (rint_test_towardzero): Likewise.
19100         (rint_test_downward): Likewise.
19101         (rint_test_upward): Likewise.
19102         (round_test): Likewise.
19103         (scalb_test): Likewise.
19104         (scalbn_test): Likewise.
19105         (scalbln_test): Likewise.
19106         (signbit_test): Likewise.
19107         (sin_test): Likewise.
19108         (sin_test_tonearest): Likewise.
19109         (sin_test_towardzero): Likewise.
19110         (sin_test_downward): Likewise.
19111         (sin_test_upward): Likewise.
19112         (sincos_test): Likewise.
19113         (sinh_test): Likewise.
19114         (sinh_test_tonearest): Likewise.
19115         (sinh_test_towardzero): Likewise.
19116         (sinh_test_downward): Likewise.
19117         (sinh_test_upward): Likewise.
19118         (sqrt_test): Likewise.
19119         (tan_test): Likewise.
19120         (tan_test_tonearest): Likewise.
19121         (tan_test_towardzero): Likewise.
19122         (tan_test_downward): Likewise.
19123         (tan_test_upward): Likewise.
19124         (tanh_test): Likewise.
19125         (tgamma_test): Likewise.
19126         (trunc_test): Likewise.
19127         (y0_test): Likewise.
19128         (y1_test): Likewise.
19129         (yn_test): Likewise.
19130         (significand_test): Likewise.
19132 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19134         [BZ #15381]
19135         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19137 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19139         [BZ #14894]
19140         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19141         __ppc_mdoio and __ppc_mdoom.
19142         * manual/platform.texi: Document new functions __ppc_yield,
19143         __ppc_mdoio and __ppc_mdoom.
19145 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19147         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19148         (main): Mention "tls" pseudo-hwcap is legacy.
19149         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19151 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19153         * math/gen-libm-test.pl (parse_args): Output only string of
19154         arguments as text for test name, not full call or descriptions of
19155         tests for extra outputs.
19156         (generate_testfile): Do not pass function name to parse_args.
19157         Generate this_func variable from START.
19158         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19159         field to arg_str.
19160         (struct test_ff_f_data): Likewise.
19161         (test_ff_f_data_nexttoward): Likewise.
19162         (struct test_fi_f_data): Likewise.
19163         (struct test_fl_f_data): Likewise.
19164         (struct test_if_f_data): Likewise.
19165         (struct test_fff_f_data): Likewise.
19166         (struct test_c_f_data): Likewise.
19167         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19168         (struct test_fF_f1_data): Likewise.
19169         (struct test_ffI_f1_data): Likewise.
19170         (struct test_c_c_data): Rename test_name field to arg_str.
19171         (struct test_cc_c_data): Likewise.
19172         (struct test_f_i_data): Likewise.
19173         (struct test_ff_i_data): Likewise.
19174         (struct test_f_l_data): Likewise.
19175         (struct test_f_L_data): Likewise.
19176         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19177         and extra2_name.
19178         (COMMON_TEST_SETUP): New macro.
19179         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19180         (COMMON_TEST_CLEANUP): Likewise.
19181         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19182         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19183         macros.
19184         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19185         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19186         macros.
19187         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19188         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19189         cleanup macros.
19190         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19191         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19192         macros.
19193         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19194         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19195         macros.
19196         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19197         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19198         cleanup macros.
19199         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19200         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19201         cleanup macros.
19202         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19203         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19204         cleanup macros.
19205         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19206         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19207         macros.
19208         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19209         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19210         macros.
19211         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19212         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19213         macros.
19214         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19215         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19216         cleanup macros.
19217         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19218         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19219         cleanup macros.
19220         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19221         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19222         macros.
19223         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19224         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19225         cleanup macros.
19226         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19227         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19228         macros.
19229         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19230         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19231         macros.
19232         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19233         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19234         cleanup macros.
19235         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19237 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19239         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19240         to _sifields.sigfault.
19241         (si_addr_lsb): Define new macro.
19242         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19243         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19244         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19246 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19248         [BZ #15441]
19249         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19250         returns -1.
19251         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19252         null return -1.
19253         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19254         loading the domain.
19256 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19258         * math/gen-libm-test.pl (parse_args): Do not include expected
19259         result in test name.
19260         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19261         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19262         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19263         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19264         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19267 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19269         * benchtests/Makefile: Sort function entries.
19271         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19272         tanh, asinh, acosh, atanh.
19273         * benchtests/acos-inputs: New file.
19274         * benchtests/acosh-inputs: New file.
19275         * benchtests/asin-inputs: New file.
19276         * benchtests/asinh-inputs: New file.
19277         * benchtests/atanh-inputs: New file.
19278         * benchtests/cosh-inputs: New file.
19279         * benchtests/log-inputs: New file.
19280         * benchtests/sinh-inputs: New file.
19281         * benchtests/tanh-inputs: New file.
19283 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19285         [BZ #15339]
19286         * posix/tst-getaddrinfo4.c: New test.
19287         * posix/Makefile (tests): Add it.
19289 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19291         [BZ #15339]
19292         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19293         when no services were used.
19294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19295         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19297 2013-05-21  Andreas Schwab  <schwab@suse.de>
19299         [BZ #15014]
19300         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19301         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19302         successful.
19303         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19304         redundant variable declarations and reallocation of buffer when
19305         parsing as IPv6 address.  Always set NSS status when called from
19306         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19307         buffer too small.  Correct computation of needed size.
19308         * nss/Makefile (tests): Add test-digits-dots.
19309         * nss/test-digits-dots.c: New test.
19311 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19313         * benchtests/Makefile: Remove instructions for adding
19314         benchmark tests.
19315         * benchtests/README: New file to explain how to execute and
19316         enhance the benchmark tests.
19318 2013-05-21  Andreas Schwab  <schwab@suse.de>
19320         [BZ #15493]
19321         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19322         * setjmp/tst-sigsetjmp.c: New test.
19324 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19326         * sysdeps/x86_64/memset.S (memset): New implementation.
19327         (__bzero): Likewise.
19328         (__memset_tail): New function.
19330 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19332         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19333         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19334         __memcpy_sse2_unaligned ifunc selection.
19335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19336         Add memcpy-sse2-unaligned.S.
19337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19338         Add: __memcpy_sse2_unaligned.
19340 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19342         [BZ #15490]
19343         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19344         math_force_eval before restoring floating-point envrionment.
19345         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19346         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19347         Likewise.
19348         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19349         <math_private.h>.
19350         (__nearbyintl): Use math_force_eval before restoring
19351         floating-point environment.
19352         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19354         * math/gen-libm-test.pl (special_functions): Remove.
19355         (parse_args): Don't handle TEST_extra.  Handle functions with no
19356         return value.
19357         * math/libm-test.inc (struct test_sincos_data): Replace with
19358         struct test_fFF_11_data.
19359         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19360         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19361         (sincos_test_data): Change element type to struct
19362         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19363         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19364         RUN_TEST_LOOP_sincos.
19365         * math/README.libm-test: Don't mention special handling of
19366         individual functions.
19367         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19368         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19369         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19370         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19371         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19374         * math/gen-libm-test.pl (get_variable): Remove function.
19375         (parse_args): Don't show pointer parameters to call in test
19376         names.  Use "extra output N" in test names for extra outputs
19377         rather than naming variables.
19379 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19381         [BZ #15488]
19382         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19383         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19384         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19385         double tests.
19386         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19387         disable.
19388         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19389         check_long_double.
19391         * math/gen-libm-test.pl (@tests): Remove variable.
19392         ($count): Likewise.
19393         (new_test): Remove function.
19394         (show_exceptions): New function.
19395         (special_functions): Use show_exceptions instead of new_test.
19396         (parse_args): Likewise.
19397         (generate_testfile): Pass only function name in generated call to
19398         print_max_error or print_complex_max_error.
19399         (get_ulps): Do not handle complex tests specially.
19400         (output_test): Rename to ...
19401         (get_all_ulps_for_test): ... this.  Return a string rather than
19402         printing to a file.  Require ulps to be present.
19403         (output_ulps): Generate arrays rather than #defines.
19404         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19405         (struct ulp_data): New type.
19406         (BUILD_COMPLEX_ULP): Remove macro.
19407         (compare_ulp_data): New function.
19408         (find_ulps): Likewise.
19409         (find_test_ulps): Likewise.
19410         (find_function_ulps): Likewise.
19411         (find_complex_function_ulps): Likewise.
19412         (print_max_error): Determine allowed ulps using
19413         find_function_ulps.
19414         (print_complex_max_error): Determine allowed ulps using
19415         find_complex_function_ulps.
19416         (check_float_internal): Determine max ulps using find_test_ulps.
19417         (check_float): Do not take max_ulp parameter.  Update call to
19418         check_float_internal.
19419         (check_complex): Likewise.
19420         (check_int): Do not take max_ulp parameter.
19421         (check_long): Likewise.
19422         (check_bool): Likewise.
19423         (check_longlong): Likewise.
19424         (struct test_f_f_data): Remove max_ulp field.
19425         (struct test_ff_f_data): Likewise.
19426         (struct test_ff_f_data_nexttoward): Likewise.
19427         (struct test_fi_f_data): Likewise.
19428         (struct test_fl_f_data): Likewise.
19429         (struct test_if_f_data): Likewise.
19430         (struct test_fff_f_data): Likewise.
19431         (struct test_c_f_data): Likewise.
19432         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19433         (struct test_fF_f1_data): Likewise.
19434         (struct test_ffI_f1_data): Likewise.
19435         (struct test_c_c_data): Remove max_ulp field.
19436         (struct test_cc_c_data): Likewise.
19437         (struct test_f_i_data): Likewise.
19438         (struct test_ff_i_data): Likewise.
19439         (struct test_f_l_data): Likewise.
19440         (struct test_f_L_data): Likewise.
19441         (struct test_sincos_data): Likewise.
19442         (RUN_TEST_f_f): Do not handle ulps.
19443         (RUN_TEST_LOOP_f_f): Likewise.
19444         (RUN_TEST_2_f): Likewise.
19445         (RUN_TEST_LOOP_2_f): Likewise.
19446         (RUN_TEST_fff_f): Likewise.
19447         (RUN_TEST_LOOP_fff_f): Likewise.
19448         (RUN_TEST_c_f): Likewise.
19449         (RUN_TEST_LOOP_c_f): Likewise.
19450         (RUN_TEST_f_f1): Likewise.
19451         (RUN_TEST_LOOP_f_f1): Likewise.
19452         (RUN_TEST_fF_f1): Likewise.
19453         (RUN_TEST_LOOP_fF_f1): Likewise.
19454         (RUN_TEST_fI_f1): Likewise.
19455         (RUN_TEST_LOOP_fI_f1): Likewise.
19456         (RUN_TEST_ffI_f1): Likewise.
19457         (RUN_TEST_LOOP_ffI_f1): Likewise.
19458         (RUN_TEST_c_c): Likewise.
19459         (RUN_TEST_LOOP_c_c): Likewise.
19460         (RUN_TEST_cc_c): Likewise.
19461         (RUN_TEST_LOOP_cc_c): Likewise.
19462         (RUN_TEST_f_i): Likewise.
19463         (RUN_TEST_LOOP_f_i): Likewise.
19464         (RUN_TEST_f_i_tg): Likewise.
19465         (RUN_TEST_LOOP_f_i_tg): Likewise.
19466         (RUN_TEST_ff_i_tg): Likewise.
19467         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19468         (RUN_TEST_f_b): Likewise.
19469         (RUN_TEST_LOOP_f_b): Likewise.
19470         (RUN_TEST_f_b_tg): Likewise.
19471         (RUN_TEST_LOOP_f_b_tg): Likewise.
19472         (RUN_TEST_f_l): Likewise.
19473         (RUN_TEST_LOOP_f_l): Likewise.
19474         (RUN_TEST_f_L): Likewise.
19475         (RUN_TEST_LOOP_f_L): Likewise.
19476         (RUN_TEST_sincos): Likewise.
19477         (RUN_TEST_LOOP_sincos): Likewise.
19479 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19481         [BZ #15480]
19482         [BZ #15485]
19483         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19484         main case of finite arguments, set rounding mode to FE_TONEAREST
19485         and discard exceptions.
19486         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19487         exceptions.
19488         (remainder_tonearest_test_data): New variable.
19489         (remainder_test_tonearest): New function.
19490         (remainder_towardzero_test_data): New variable.
19491         (remainder_test_towardzero): New function.
19492         (remainder_downward_test_data): New variable.
19493         (remainder_test_downward): New function.
19494         (remainder_upward_test_data): New variable.
19495         (remainder_test_upward): New function.
19496         (main): Call the new test functions.
19498         * math/libm-test.inc (struct test_f_f1_data): Remove field
19499         extra_init.
19500         (struct test_fF_f1_data): Likewise.
19501         (struct test_ffI_f1_data): Likewise.
19502         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19503         based on value of EXTRA_EXPECTED.
19504         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19505         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19506         EXTRA_VAR based on value of EXTRA_EXPECTED.
19507         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19508         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19509         EXTRA_VAR based on value of EXTRA_EXPECTED.
19510         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19511         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19512         EXTRA_VAR based on value of EXTRA_EXPECTED.
19513         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19514         * math/gen-libm-test.pl (parse_args): Don't output initializers
19515         for extra output values.
19517         * math/libm-test.inc (check_int): Expect result to be exactly
19518         equal to expected value and do not handle ulps.
19519         (check_long): Likewise.
19520         (check_longlong): Likewise.
19522         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19523         exceptions.
19524         (cimag_test_data): Likewise.
19525         (conj_test_data): Likewise.
19526         (copysign_test_data): Likewise.
19527         (cproj_test_data): Likewise.
19528         (creal_test_data): Likewise.
19529         (fabs_test_data): Likewise.
19530         (fdim_test_data): Likewise.
19531         (finite_test_data): Likewise.
19532         (floor_test_data): Likewise.
19533         (fmax_test_data): Likewise.
19534         (fmin_test_data): Likewise.
19535         (fmod_test_data): Likewise.
19536         (fpclassify_test_data): Likewise.
19537         (frexp_test_data): Likewise.
19538         (ilogb_test_data): Likewise.
19539         (isfinite_test_data): Likewise.
19540         (isgreater_test_data): Likewise.
19541         (isgreaterequal_test_data): Likewise.
19542         (isinf_test_data): Likewise.
19543         (isless_test_data): Likewise.
19544         (islessequal_test_data): Likewise.
19545         (islessgreater_test_data): Likewise.
19546         (isnan_test_data): Likewise.
19547         (isnormal_test_data): Likewise.
19548         (issignaling_test_data): Likewise.
19549         (isunordered_test_data): Likewise.
19550         (ldexp_test_data): Likewise.
19551         (lrint_test_data): Likewise.
19552         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19553         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19554         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19555         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19556         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19557         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19558         test input.
19559         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19560         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19561         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19562         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19563         that test input.
19564         (lrint_downward_test_data): Test for "inexact" exceptions.
19565         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19566         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19567         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19568         test input.
19569         (lrint_upward_test_data): Test for "inexact" exceptions.
19570         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19571         test input.
19572         (llrint_test_data): Test for "inexact" exceptions.
19573         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19574         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19575         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19576         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19577         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19578         (llrint_downward_test_data): Test for "inexact" exceptions.
19579         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19580         (llrint_upward_test_data): Test for "inexact" exceptions.
19581         (logb_test_data): Likewise.
19582         (logb_downward_test_data): Likewise.
19583         (nextafter_test_data): Likewise.
19584         (nexttoward_test_data): Likewise.
19585         (remainder_test_data): Likewise.
19586         (remquo_test_data): Likewise.
19587         (scalbn_test_data): Likewise.
19588         (scalbln_test_data): Likewise.
19589         (signbit_test_data): Likewise.
19590         (sqrt_test_data): Likewise.
19591         (significand_test_data): Likewise.
19593 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19595         [BZ #15424]
19596         * benchtests/bench-modf.c (struct args): Mark arg0 as
19597         volatile.
19598         * scripts/bench.pl: Mark members of struct args as volatile.
19600 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19602         [BZ # 15497]
19603         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19604         negative infinity on POWER6 or lower.
19605         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19607 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19609         [BZ #15442]
19610         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19611         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19612         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19613         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19614         (_FP_SETQNAN): New macro.
19615         (_FP_SETQNAN_SEMIRAW): Likewise.
19616         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19617         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19618         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19619         (FP_EXTEND): Use _FP_FRAC_SNANP.
19620         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19621         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19622         into account.
19623         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19624         New macro.
19625         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19626         Likewise.
19628 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19630         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19631         with DIVIDE_BY_ZERO_EXCEPTION.
19632         (gamma_test_data): Likewise.
19633         (lgamma_test_data): Likewise.
19634         (log_test_data): Likewise.
19635         (log10_test_data): Likewise.
19636         (log2_test_data): Likewise.
19637         (tgamma_test_data): Likewise.
19639         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19640         (acos_test_tonearest): Likewise.
19641         (acos_test_towardzero): Likewise.
19642         (acos_test_downward): Likewise.
19643         (acos_test_upward): Likewise.
19644         (acosh_test): Likewise.
19645         (asin_test): Likewise.
19646         (asin_test_tonearest): Likewise.
19647         (asin_test_towardzero): Likewise.
19648         (asin_test_downward): Likewise.
19649         (asin_test_upward): Likewise.
19650         (asinh_test): Likewise.
19651         (atan_test): Likewise.
19652         (atanh_test): Likewise.
19653         (atan2_test): Likewise.
19654         (cabs_test): Likewise.
19655         (cacos_test): Likewise.
19656         (cacosh_test): Likewise.
19657         (casin_test): Likewise.
19658         (casinh_test): Likewise.
19659         (catan_test): Likewise.
19660         (catanh_test): Likewise.
19661         (cbrt_test): Likewise.
19662         (ccos_test): Likewise.
19663         (ccosh_test): Likewise.
19664         (cexp_test): Likewise.
19665         (clog_test): Likewise.
19666         (clog10_test): Likewise.
19667         (cos_test): Likewise.
19668         (cos_test_tonearest): Likewise.
19669         (cos_test_towardzero): Likewise.
19670         (cos_test_downward): Likewise.
19671         (cos_test_upward): Likewise.
19672         (cosh_test): Likewise.
19673         (cosh_test_tonearest): Likewise.
19674         (cosh_test_towardzero): Likewise.
19675         (cosh_test_downward): Likewise.
19676         (cosh_test_upward): Likewise.
19677         (cpow_test): Likewise.
19678         (csin_test): Likewise.
19679         (csinh_test): Likewise.
19680         (csqrt_test): Likewise.
19681         (ctan_test): Likewise.
19682         (ctan_test_tonearest): Likewise.
19683         (ctan_test_towardzero): Likewise.
19684         (ctan_test_downward): Likewise.
19685         (ctan_test_upward): Likewise.
19686         (ctanh_test): Likewise.
19687         (ctanh_test_tonearest): Likewise.
19688         (ctanh_test_towardzero): Likewise.
19689         (ctanh_test_downward): Likewise.
19690         (ctanh_test_upward): Likewise.
19691         (erf_test): Likewise.
19692         (erfc_test): Likewise.
19693         (exp_test): Likewise.
19694         (exp_test_tonearest): Likewise.
19695         (exp_test_towardzero): Likewise.
19696         (exp_test_downward): Likewise.
19697         (exp_test_upward): Likewise.
19698         (exp10_test): Likewise.
19699         (exp2_test): Likewise.
19700         (expm1_test): Likewise.
19701         (fmod_test): Likewise.
19702         (gamma_test): Likewise.
19703         (hypot_test): Likewise.
19704         (j0_test): Likewise.
19705         (j1_test): Likewise.
19706         (jn_test): Likewise.
19707         (lgamma_test): Likewise.
19708         (log_test): Likewise.
19709         (log10_test): Likewise.
19710         (log1p_test): Likewise.
19711         (log2_test): Likewise.
19712         (logb_test_downward): Likewise.
19713         (pow_test): Likewise.
19714         (pow_test_tonearest): Likewise.
19715         (pow_test_towardzero): Likewise.
19716         (pow_test_downward): Likewise.
19717         (pow_test_upward): Likewise.
19718         (remainder_test): Likewise.
19719         (remquo_test): Likewise.
19720         (sin_test): Likewise.
19721         (sin_test_tonearest): Likewise.
19722         (sin_test_towardzero): Likewise.
19723         (sin_test_downward): Likewise.
19724         (sin_test_upward): Likewise.
19725         (sincos_test): Likewise.
19726         (sinh_test): Likewise.
19727         (sinh_test_tonearest): Likewise.
19728         (sinh_test_towardzero): Likewise.
19729         (sinh_test_downward): Likewise.
19730         (sinh_test_upward): Likewise.
19731         (sqrt_test): Likewise.
19732         (tan_test): Likewise.
19733         (tan_test_tonearest): Likewise.
19734         (tan_test_towardzero): Likewise.
19735         (tan_test_downward): Likewise.
19736         (tan_test_upward): Likewise.
19737         (tanh_test): Likewise.
19738         (tgamma_test): Likewise.
19739         (y0_test): Likewise.
19740         (y1_test): Likewise.
19741         (yn_test): Likewise.
19743         * math/gen-libm-test.pl (adjust_arg): Remove function.
19744         (special_function): Remove argument $in_func.  Only handle
19745         generating output for tables of tests, not inside functions.
19746         (parse_args): Likewise.
19747         (generate_testfile): Remove variable $in_func.  Update call to
19748         parse_args.
19749         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19750         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19751         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19752         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19753         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19754         (MAX_VALUE_INIT): Rename macro to max_value.
19755         (MIN_VALUE_INIT): Rename macro to min_value.
19756         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19757         (plus_zero): Remove variable.
19758         (minus_zero): Likewise.
19759         (plus_infty): Likewise.
19760         (minus_infty): Likewise.
19761         (qnan_value): Likewise.
19762         (max_value): Likewise.
19763         (min_value): Likewise.
19764         (min_subnorm_value): Likewise.
19766 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19768         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19769         uint64_t or uint32_t usage.
19770         * crypt/sha256-block.c: Likewise.
19771         * crypt/sha256-crypt.c: Likewise.
19772         * crypt/sha256.c: Likewise.
19773         * crypt/sha512-block.c: Likewise.
19774         * crypt/sha512-crypt.c: Likewise.
19775         * crypt/sha512.c: Likewise.
19776         * debug/backtrace-tst.c: Likewise.
19777         * debug/pcprofiledump.c: Likewise.
19778         * elf/cache.c: Likewise.
19779         * elf/dl-cache.c: Likewise.
19780         * elf/dl-misc.c: Likewise.
19781         * elf/dl-profile.c: Likewise.
19782         * elf/dl-support.c: Likewise.
19783         * elf/ldconfig.c: Likewise.
19784         * elf/sprof.c: Likewise.
19785         * iconv/dummy-repertoire.c: Likewise.
19786         * iconv/iconv_charmap.c: Likewise.
19787         * iconv/skeleton.c: Likewise.
19788         * iconvdata/8bit-generic.c: Likewise.
19789         * iconvdata/cp737.h: Likewise.
19790         * iconvdata/cp775.h: Likewise.
19791         * iconvdata/ibm1008.h: Likewise.
19792         * iconvdata/ibm1025.h: Likewise.
19793         * iconvdata/ibm1046.h: Likewise.
19794         * iconvdata/ibm1097.h: Likewise.
19795         * iconvdata/ibm1112.h: Likewise.
19796         * iconvdata/ibm1122.h: Likewise.
19797         * iconvdata/ibm1123.h: Likewise.
19798         * iconvdata/ibm1124.h: Likewise.
19799         * iconvdata/ibm1129.h: Likewise.
19800         * iconvdata/ibm1130.h: Likewise.
19801         * iconvdata/ibm1132.h: Likewise.
19802         * iconvdata/ibm1133.h: Likewise.
19803         * iconvdata/ibm1137.h: Likewise.
19804         * iconvdata/ibm1140.h: Likewise.
19805         * iconvdata/ibm1141.h: Likewise.
19806         * iconvdata/ibm1142.h: Likewise.
19807         * iconvdata/ibm1143.h: Likewise.
19808         * iconvdata/ibm1144.h: Likewise.
19809         * iconvdata/ibm1145.h: Likewise.
19810         * iconvdata/ibm1146.h: Likewise.
19811         * iconvdata/ibm1147.h: Likewise.
19812         * iconvdata/ibm1148.h: Likewise.
19813         * iconvdata/ibm1149.h: Likewise.
19814         * iconvdata/ibm1153.h: Likewise.
19815         * iconvdata/ibm1154.h: Likewise.
19816         * iconvdata/ibm1155.h: Likewise.
19817         * iconvdata/ibm1156.h: Likewise.
19818         * iconvdata/ibm1157.h: Likewise.
19819         * iconvdata/ibm1158.h: Likewise.
19820         * iconvdata/ibm1160.h: Likewise.
19821         * iconvdata/ibm1161.h: Likewise.
19822         * iconvdata/ibm1162.h: Likewise.
19823         * iconvdata/ibm1163.h: Likewise.
19824         * iconvdata/ibm1164.h: Likewise.
19825         * iconvdata/ibm1166.h: Likewise.
19826         * iconvdata/ibm1167.h: Likewise.
19827         * iconvdata/ibm12712.h: Likewise.
19828         * iconvdata/ibm1390.h: Likewise.
19829         * iconvdata/ibm1399.h: Likewise.
19830         * iconvdata/ibm16804.h: Likewise.
19831         * iconvdata/ibm4517.h: Likewise.
19832         * iconvdata/ibm4899.h: Likewise.
19833         * iconvdata/ibm4909.h: Likewise.
19834         * iconvdata/ibm4971.h: Likewise.
19835         * iconvdata/ibm5347.h: Likewise.
19836         * iconvdata/ibm803.h: Likewise.
19837         * iconvdata/ibm856.h: Likewise.
19838         * iconvdata/ibm901.h: Likewise.
19839         * iconvdata/ibm902.h: Likewise.
19840         * iconvdata/ibm9030.h: Likewise.
19841         * iconvdata/ibm9066.h: Likewise.
19842         * iconvdata/ibm921.h: Likewise.
19843         * iconvdata/ibm922.h: Likewise.
19844         * iconvdata/ibm9448.h: Likewise.
19845         * iconvdata/isiri-3342.h: Likewise.
19846         * iconvdata/jis0201.h: Likewise.
19847         * include/link.h: Likewise.
19848         * include/netdb.h: Likewise.
19849         * inet/check_native.c: Likewise.
19850         * inet/check_pf.c: Likewise.
19851         * inet/getipv4sourcefilter.c: Likewise.
19852         * inet/getnameinfo.c: Likewise.
19853         * inet/getsourcefilter.c: Likewise.
19854         * inet/htonl.c: Likewise.
19855         * inet/setipv4sourcefilter.c: Likewise.
19856         * inet/setsourcefilter.c: Likewise.
19857         * inet/test-inet6_opt.c: Likewise.
19858         * inet/tst-network.c: Likewise.
19859         * locale/C-collate.c: Likewise.
19860         * locale/C-ctype.c: Likewise.
19861         * locale/C-time.c: Likewise.
19862         * locale/C-translit.h: Likewise.
19863         * locale/loadarchive.c: Likewise.
19864         * locale/programs/3level.h: Likewise.
19865         * locale/programs/charmap.c: Likewise.
19866         * locale/programs/charmap.h: Likewise.
19867         * locale/programs/ld-address.c: Likewise.
19868         * locale/programs/ld-collate.c: Likewise.
19869         * locale/programs/ld-ctype.c: Likewise.
19870         * locale/programs/ld-identification.c: Likewise.
19871         * locale/programs/ld-measurement.c: Likewise.
19872         * locale/programs/ld-messages.c: Likewise.
19873         * locale/programs/ld-monetary.c: Likewise.
19874         * locale/programs/ld-name.c: Likewise.
19875         * locale/programs/ld-numeric.c: Likewise.
19876         * locale/programs/ld-paper.c: Likewise.
19877         * locale/programs/ld-telephone.c: Likewise.
19878         * locale/programs/ld-time.c: Likewise.
19879         * locale/programs/linereader.c: Likewise.
19880         * locale/programs/locale.c: Likewise.
19881         * locale/programs/locarchive.c: Likewise.
19882         * locale/programs/locfile.h: Likewise.
19883         * locale/programs/repertoire.c: Likewise.
19884         * locale/programs/simple-hash.c: Likewise.
19885         * locale/programs/simple-hash.h: Likewise.
19886         * malloc/memusage.c: Likewise.
19887         * malloc/memusagestat.c: Likewise.
19888         * nis/nis_defaults.c: Likewise.
19889         * nis/nis_hash.c: Likewise.
19890         * nis/nis_print.c: Likewise.
19891         * nis/nis_xdr.c: Likewise.
19892         * nscd/connections.c: Likewise.
19893         * nscd/hstcache.c: Likewise.
19894         * nscd/nscd_gethst_r.c: Likewise.
19895         * nscd/nscd_getserv_r.c: Likewise.
19896         * nscd/nscd_helper.c: Likewise.
19897         * nscd/servicescache.c: Likewise.
19898         * nss/makedb.c: Likewise.
19899         * nss/nss_db/db-XXX.c: Likewise.
19900         * nss/nss_db/db-initgroups.c: Likewise.
19901         * nss/nss_db/db-netgrp.c: Likewise.
19902         * nss/nss_files/files-network.c: Likewise.
19903         * nss/nss_files/files-parse.c: Likewise.
19904         * posix/bug-regex5.c: Likewise.
19905         * posix/fnmatch_loop.c: Likewise.
19906         * posix/regcomp.c: Likewise.
19907         * posix/regexec.c: Likewise.
19908         * posix/tst-rfc3484-2.c: Likewise.
19909         * posix/tst-rfc3484-3.c: Likewise.
19910         * posix/tst-rfc3484.c: Likewise.
19911         * resolv/nss_dns/dns-canon.c: Likewise.
19912         * resolv/nss_dns/dns-network.c: Likewise.
19913         * resolv/res_init.c: Likewise.
19914         * resolv/res_mkquery.c: Likewise.
19915         * resolv/tst-aton.c: Likewise.
19916         * stdlib/cxa_atexit.c: Likewise.
19917         * stdlib/cxa_finalize.c: Likewise.
19918         * stdlib/gen-fpioconst.c: Likewise.
19919         * stdlib/strtol_l.c: Likewise.
19920         * string/tst-endian.c: Likewise.
19921         * sunrpc/auth_des.c: Likewise.
19922         * sunrpc/clnt_udp.c: Likewise.
19923         * sunrpc/rtime.c: Likewise.
19924         * sunrpc/svcauth_des.c: Likewise.
19925         * sunrpc/xdr.c: Likewise.
19926         * sunrpc/xdr_intXX_t.c: Likewise.
19927         * sunrpc/xdr_rec.c: Likewise.
19928         * sysdeps/generic/ldconfig.h: Likewise.
19929         * sysdeps/generic/ldsodefs.h: Likewise.
19930         * sysdeps/generic/memusage.h: Likewise.
19931         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19932         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19933         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19934         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19936         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19937         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19938         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19939         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19941         * sysdeps/posix/getaddrinfo.c: Likewise.
19942         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19943         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19944         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19945         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19946         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19947         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19948         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19949         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19950         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19951         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19952         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19953         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19954         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19955         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19956         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19957         * sysdeps/x86_64/dl-tls.h: Likewise.
19958         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19959         * time/alt_digit.c: Likewise.
19960         * time/era.c: Likewise.
19961         * wcsmbs/tst-c16c32-1.c: Likewise.
19963 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19965         * math/libm-test.inc (struct test_sincos_data): New type.
19966         (RUN_TEST_LOOP_sincos): New macro.
19967         (sincos_test_data): New variable.
19968         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19970 2013-05-16  Richard Henderson  <rth@redhat.com>
19972         * math/atest-exp2.c (LIMB64): New macro.
19973         (CONSTSZ): New macro.
19974         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19975         (hexdig): Move ...
19976         (print_mpn_fp): ... to function scope.
19977         (read_mpn_hex): Remove.
19978         (get_log2): Remove.
19979         (exp2_mpn): Use mp_log2.
19980         (main): Use mp_exp1.
19982 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19984         * math/libm-test.inc: Remove comment about not testing "inexact"
19985         exceptions.
19986         (INEXACT_EXCEPTION): New macro.
19987         (NO_INEXACT_EXCEPTION): Likewise.
19988         (INVALID_EXCEPTION_OK): Update value.
19989         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19990         (OVERFLOW_EXCEPTION_OK): Likewise.
19991         (UNDERFLOW_EXCEPTION_OK): Likewise.
19992         (IGNORE_ZERO_INF_SIGN): Likewise.
19993         (ERRNO_UNCHANGED): Likewise.
19994         (ERRNO_EDOM): Likewise.
19995         (ERRNO_ERANGE): Likewise.
19996         (test_exceptions): Handle testing "inexact" exceptions.
19997         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19998         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19999         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20000         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20001         INEXACT_EXCEPTION.
20002         (rint_towardzero_test_data): Likewise.
20003         (rint_downward_test_data): Likewise.
20004         (rint_upward_test_data): Likewise.
20006         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20007         with OVERFLOW_EXCEPTION.
20008         (exp10_test_data): Likewise.
20009         (exp2_test_data): Likewise.
20010         (expm1_test_data): Likewise.
20011         (lgamma_test_data): Likewise.
20012         (pow_test_data): Likewise.
20013         (tgamma_test_data): Likewise.
20014         (yn_test_data): Remove duplicate test of overflow.
20016         * math/libm-test.inc (struct test_cc_c_data): New type.
20017         (RUN_TEST_LOOP_cc_c): New macro.
20018         (cpow_test_data): New variable.
20019         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20021         * math/libm-test.inc (struct test_f_L_data): New type.
20022         (RUN_TEST_LOOP_f_L): New macro.
20023         (llrint_test_data): New variable.
20024         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20025         (llrint_tonearest_test_data): New variable.
20026         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20027         (llrint_towardzero_test_data): New variable.
20028         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20029         (llrint_downward_test_data): New variable.
20030         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20031         (llrint_upward_test_data): New variable.
20032         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20033         (llround_test_data): New variable.
20034         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20036 2013-05-13  Peter Collingbourne  <pcc@google.com>
20038         * math/atest-exp2.c (get_log2): Remove const attribute.
20040 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20042         * math/libm-test.inc (struct test_f_l_data): New type.
20043         (RUN_TEST_LOOP_f_l): New macro.
20044         (lrint_test_data): New variable.
20045         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20046         (lrint_tonearest_test_data): New variable.
20047         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20048         (lrint_towardzero_test_data): New variable.
20049         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20050         (lrint_downward_test_data): New variable.
20051         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20052         (lrint_upward_test_data): New variable.
20053         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20054         (lround_test_data): New variable.
20055         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20057 2013-05-15  Peter Collingbourne  <pcc@google.com>
20059         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20060         (EXTRACT_WORDS64) Use where appropriate.
20061         (INSERT_WORDS64) Likewise.
20063         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20064         constraints with x constraints.
20065         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20067         * malloc/obstack.c (_obstack_compat): Add initializer.
20069 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20071         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20072         si_trapno and add si_addr_lsb to _sifields.sigfault.
20073         (si_trapno): Remove macro.
20074         (si_addr_lsb): Define new macro.
20075         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20077 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20079         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20080         instead of TEST_f_l.
20081         (llrint_test_tonearest): Likewise.
20082         (llrint_test_towardzero): Likewise.
20083         (llrint_test_downward): Likewise.
20084         (llrint_test_upward): Likewise.
20085         (llround_test): Likewise.
20087         * math/libm-test.inc (struct test_f_i_data): Add comment.
20088         (RUN_TEST_LOOP_f_b): New macro.
20089         (RUN_TEST_LOOP_f_b_tg): Likewise.
20090         (finite_test_data): New variable.
20091         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20092         (isfinite_test_data): New variable.
20093         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20094         (isinf_test_data): New variable.
20095         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20096         (isnan_test_data): New variable.
20097         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20098         (isnormal_test_data): New variable.
20099         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20100         (issignaling_test_data): New variable.
20101         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20102         (signbit_test_data): New variable.
20103         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20105         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20106         with INVALID_EXCEPTION.
20107         (acosh_test_data): Likewise.
20108         (asin_test_data): Likewise.
20109         (atanh_test_data): Likewise.
20110         (fmod_test_data): Likewise.
20111         (log_test_data): Likewise.
20112         (log10_test_data): Likewise.
20113         (log2_test_data): Likewise.
20114         (pow_test_data): Likewise.
20115         (sqrt_test_data): Likewise.
20116         (y0_test_data): Likewise.
20117         (y1_test_data): Likewise.
20118         (yn_test_data): Likewise.
20120         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20121         function contents.
20123         * math/libm-test.inc (struct test_ff_i_data): New type.
20124         (RUN_TEST_LOOP_ff_i_tg): New macro.
20125         (isgreater_test_data): New variable.
20126         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20127         (isgreaterequal_test_data): New variable.
20128         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20129         (isless_test_data): New variable.
20130         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20131         (islessequal_test_data): New variable.
20132         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20133         (islessgreater_test_data): New variable.
20134         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20135         (isunordered_test_data): New variable.
20136         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20138 2013-05-14  David S. Miller  <davem@davemloft.net>
20140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20142 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20144         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20146         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20147         extra_test to int.
20148         (struct test_f_i_data): Change type of max_ulp to int.
20150         * math/libm-test.inc (test_ffI_f1_data): New type.
20151         (RUN_TEST_LOOP_ffI_f1): New macro.
20152         (remquo_test_data): New variable.
20153         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20155         * setjmp/tst-setjmp-fp.c: New file.
20156         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20157         (link-libm): New variable.
20158         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20160         * math/libm-test.inc (struct test_f_i_data): New type.
20161         (RUN_TEST_LOOP_f_i): New macro.
20162         (RUN_TEST_LOOP_f_i_tg): Likewise.
20163         (fpclassify_test_data): New variable.
20164         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20165         (ilogb_test_data): New variable.
20166         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20168         * math/libm-test.inc (scalbln_test): Correct function name in END
20169         call.
20171         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20172         (RUN_TEST_LOOP_fI_f1): New macro.
20173         (frexp_test_data): New variable.
20174         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20176         * math/libm-test.inc (struct test_fF_f1_data): New type.
20177         (RUN_TEST_LOOP_fF_f1): New macro.
20178         (modf_test_data): New variable.
20179         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20181         * math/libm-test.inc (struct test_f_f1_data): New type.
20182         (RUN_TEST_LOOP_f_f1): New macro.
20183         (gamma_test_data): New variable.
20184         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20185         (lgamma_test_data): New variable.
20186         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20188 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20190         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20191         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20192         (main): Comment "tls" pseudo-hwcap.
20194 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20196         * math/libm-test.inc (struct test_fl_f_data): New type.
20197         (RUN_TEST_LOOP_fl_f): New variable.
20198         (scalbln_test_data): New variable.
20199         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20201         * math/libm-test.inc (struct test_fi_f_data): New type.
20202         (RUN_TEST_LOOP_fi_f): New macro.
20203         (ldexp_test_data): New variable.
20204         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20205         (scalbn_test_data): New variable.
20206         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20208         * math/libm-test.inc (struct test_c_f_data): New type.
20209         (RUN_TEST_LOOP_c_f): New macro.
20210         (cabs_test_data): New variable.
20211         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20212         (carg_test_data): New variable.
20213         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20214         (cimag_test_data): New variable.
20215         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20216         (creal_test_data): New variable.
20217         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20219         * math/libm-test.inc (struct test_if_f_data): New type.
20220         (RUN_TEST_LOOP_if_f): New macro.
20221         (jn_test_data): New variable.
20222         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20223         (yn_test_data): New variable.
20224         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20226         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20228 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20230         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20231         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20233 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20235         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20236         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20237         (bench-deps): Add bench-timing.h.
20238         * benchtests-bench-skeleton.c: Include bench-timing.h.
20239         (main): Use TIMING_* macros instead of clock_gettime.
20240         * benchtests/bench-timing.h: New file.
20242         [BZ #14582]
20243         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20244         Renamed from _LIB_VERSION.
20245         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20247 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20249         * math/libm-test.inc (struct test_fff_f_data): New type.
20250         (RUN_TEST_LOOP_fff_f): New macro.
20251         (fma_test_data): New variable.
20252         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20253         (fma_towardzero_test_data): New variable.
20254         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20255         (fma_downward_test_data): New variable.
20256         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20257         (fma_upward_test_data): New variable.
20258         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20260         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20261         (struct test_c_c_data): New type.
20262         (RUN_TEST_LOOP_c_c): New macro.
20263         (cacos_test_data): New variable.
20264         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20265         (cacosh_test_data): New variable.
20266         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20267         (casin_test_data): New variable.
20268         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20269         (casinh_test_data): New variable.
20270         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20271         (catan_test_data): New variable.
20272         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20273         (catanh_test_data): New variable.
20274         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20275         (ccos_test_data): New variable.
20276         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20277         (ccosh_test_data): New variable.
20278         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20279         (cexp_test_data): New variable.
20280         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20281         (clog_test_data): New variable.
20282         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20283         (clog10_test_data): New variable.
20284         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20285         (conj_test_data): New variable.
20286         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20287         (cproj_test_data): New variable.
20288         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20289         (csin_test_data): New variable.
20290         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20291         (csinh_test_data): New variable.
20292         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20293         (csqrt_test_data): New variable.
20294         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20295         (ctan_test_data): New variable.
20296         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20297         (ctan_tonearest_test_data): New variable.
20298         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20299         (ctan_towardzero_test_data): New variable.
20300         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20301         (ctan_downward_test_data): New variable.
20302         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20303         (ctan_upward_test_data): New variable.
20304         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20305         (ctanh_test_data): New variable.
20306         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20307         (ctanh_tonearest_test_data): New variable.
20308         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20309         (ctanh_towardzero_test_data): New variable.
20310         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20311         (ctanh_downward_test_data): New variable.
20312         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20313         (ctanh_upward_test_data): New variable.
20314         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20315         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20316         of BUILD_COMPLEX.
20318         * math/libm-test.inc (struct test_ff_f_data): New type.
20319         (struct test_ff_f_data_nexttoward): Likewise.
20320         (RUN_TEST_LOOP_2_f): New macro.
20321         (RUN_TEST_LOOP_ff_f): Likewise.
20322         (atan2_test_data): New variable.
20323         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20324         (copysign_test_data): New variable.
20325         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20326         (fdim_test_data): New variable.
20327         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20328         (fmax_test_data): New variable.
20329         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20330         (fmin_test_data): New variable.
20331         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20332         (fmod_test_data): New variable.
20333         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20334         (hypot_test_data): New variable.
20335         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20336         (nextafter_test_data): New variable.
20337         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20338         (nexttoward_test_data): New variable.
20339         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20340         (pow_test_data): New variable.
20341         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20342         (pow_tonearest_test_data): New variable.
20343         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20344         (pow_towardzero_test_data): New variable.
20345         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20346         (pow_downward_test_data): New variable.
20347         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20348         (pow_upward_test_data): New variable.
20349         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20350         (remainder_test_data): New variable.
20351         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20352         (scalb_test_data): New variable.
20353         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20354         * sysdeps/i386/fpu/libm-test-ulps: Update.
20356 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20358         * math/libm-test.inc (fma_test): Use max_value instead of local
20359         variable fltmax.
20360         (nextafter_test): Likewise.
20362         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20363         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20364         (acos_downward_test_data): New variable.
20365         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20366         (acos_upward_test_data): New variable.
20367         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20368         (acosh_test_data): New variable.
20369         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20370         (asin_test_data): New variable.
20371         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20372         (asin_tonearest_test_data): New variable.
20373         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20374         (asin_towardzero_test_data): New variable.
20375         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20376         (asin_downward_test_data): New variable.
20377         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20378         (asin_upward_test_data): New variable.
20379         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20380         (asinh_test_data): New variable.
20381         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20382         (atan_test_data): New variable.
20383         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20384         (atanh_test_data): New variable.
20385         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20386         (cbrt_test_data): New variable.
20387         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20388         (ceil_test_data): New variable.
20389         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20390         (cos_test_data): New variable.
20391         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20392         (cos_tonearest_test_data): New variable.
20393         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20394         (cos_towardzero_test_data): New variable.
20395         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20396         (cos_downward_test_data): New variable.
20397         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20398         (cos_upward_test_data): New variable.
20399         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20400         (cosh_test_data): New variable.
20401         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20402         (cosh_tonearest_test_data): New variable.
20403         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20404         (cosh_towardzero_test_data): New variable.
20405         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20406         (cosh_downward_test_data): New variable.
20407         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20408         (cosh_upward_test_data): New variable.
20409         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20410         (erf_test_data): New variable.
20411         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20412         (erfc_test_data): New variable.
20413         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20414         (exp_test_data): New variable.
20415         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20416         (exp_tonearest_test_data): New variable.
20417         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20418         (exp_towardzero_test_data): New variable.
20419         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20420         (exp_downward_test_data): New variable.
20421         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20422         (exp_upward_test_data): New variable.
20423         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20424         (exp10_test_data): New variable.
20425         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20426         (exp2_test_data): New variable.
20427         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20428         (expm1_test_data): New variable.
20429         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20430         (fabs_test_data): New variable.
20431         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20432         (floor_test_data): New variable.
20433         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20434         (j0_test_data): New variable.
20435         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20436         (j1_test_data): New variable.
20437         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20438         (log_test_data): New variable.
20439         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20440         (log10_test_data): New variable.
20441         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20442         (log1p_test_data): New variable.
20443         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20444         (log2_test_data): New variable.
20445         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20446         (logb_test_data): New variable.
20447         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20448         (logb_downward_test_data): New variable.
20449         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20450         (nearbyint_test_data): New variable.
20451         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20452         (rint_test_data): New variable.
20453         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20454         (rint_tonearest_test_data): New variable.
20455         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20456         (rint_towardzero_test_data): New variable.
20457         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20458         (rint_downward_test_data): New variable.
20459         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20460         (rint_upward_test_data): New variable.
20461         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20462         (round_test_data): New variable.
20463         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20464         (sin_test_data): New variable.
20465         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20466         (sin_tonearest_test_data): New variable.
20467         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20468         (sin_towardzero_test_data): New variable.
20469         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20470         (sin_downward_test_data): New variable.
20471         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20472         (sin_upward_test_data): New variable.
20473         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20474         (sinh_test_data): New variable.
20475         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20476         (sinh_tonearest_test_data): New variable.
20477         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20478         (sinh_towardzero_test_data): New variable.
20479         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20480         (sinh_downward_test_data): New variable.
20481         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20482         (sinh_upward_test_data): New variable.
20483         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20484         (sqrt_test_data): New variable.
20485         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20486         (tan_test_data): New variable.
20487         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20488         (tan_tonearest_test_data): New variable.
20489         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20490         (tan_towardzero_test_data): New variable.
20491         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20492         (tan_downward_test_data): New variable.
20493         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20494         (tan_upward_test_data): New variable.
20495         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20496         (tanh_test_data): New variable.
20497         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20498         (tgamma_test_data): New variable.
20499         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20500         (trunc_test_data): New variable.
20501         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20502         (y0_test_data): New variable.
20503         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20504         (y1_test_data): New variable.
20505         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20506         (significand_test_data): New variable.
20507         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20509 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20511         [BZ #12387]
20512         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20514 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20516         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20518 2013-05-10  Andreas Jaeger  <aj@suse.de>
20520         [BZ #15448]
20521         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20522         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20524 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20526         * math/gen-libm-test.pl (adjust_arg): New function.
20527         (special_functions): Handle generating output in both functions
20528         and arrays.
20529         (parse_args): Likewise.
20530         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20531         $in_func argument to parse_args.
20532         * math/libm-test.inc (struct test_f_f_data): New type.
20533         (IF_ROUND_INIT_): New macro.
20534         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20535         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20536         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20537         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20538         (ROUND_RESTORE_): Likewise.
20539         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20540         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20541         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20542         (ROUND_RESTORE_FE_UPWARD): Likewise.
20543         (RUN_TEST_LOOP_f_f): New macro.
20544         (acos_test_data): New variable.
20545         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20546         (acos_tonearest_test_data): New variable.
20547         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20549 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20551         * benchtests/bench-skeleton.c (startup): Fix coding style.
20553 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20555         [BZ #6809]
20556         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20557         negative infinity argument.
20558         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20559         negative infinity argument.
20560         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20561         negative infinity argument.
20562         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20563         domain errors.
20565 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20567         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20568         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20569         * iconv/iconv_prog.c (main): Likewise.
20570         * locale/programs/charmap-dir.c (charmap_readdir)
20571         (fopen_uncompressed): Likewise.
20572         * locale/programs/locfile.c (siblings_uncached)
20573         (write_locale_data): Use lstat64 instead of lstat.
20574         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20575         stat.
20577 2013-05-10  Andreas Jaeger  <aj@suse.de>
20579         [BZ #15395]
20580         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20581         localization.
20582         Include <locale.h>.
20584 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20586         * elf/dl-close.c (_dl_close_worker): Add comments.
20588 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20590         [BZ #15359]
20591         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20592         high part of pi/2.
20593         (__ieee754_rem_pio2l): Update comments.
20595         [BZ #15429]
20596         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20597         high part of pi/2.
20598         (__ieee754_rem_pio2l): Update comments.
20600         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20601         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20603         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20604         M_PI_4l.
20606         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20607         (M_PI_34_LOG10El): Likewise.
20608         (M_PI2_LOG10El): Likewise.
20609         (M_PI4_LOG10El): Likewise.
20610         (M_PI_LOG10El): Likewise.
20612 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20616 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20618         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20619         (MINUS_ZERO_INIT): Likewise.
20620         (PLUS_INFTY_INIT): Likewise.
20621         (MINUS_INFTY_INIT): Likewise.
20622         (QNAN_VALUE_INIT): Likewise.
20623         (MAX_VALUE_INIT): Likewise.
20624         (MIN_VALUE_INIT): Likewise.
20625         (MIN_SUBNORM_VALUE_INIT): Likewise.
20626         (plus_zero): Initialize with PLUS_ZERO_INIT.
20627         (minus_zero): Initialize with MINUS_ZERO_INIT.
20628         (plus_infty): Initialize with PLUS_INFTY_INIT.
20629         (minus_infty): Initialize with MINUS_INFTY_INIT.
20630         (qnan_value): Initialize with QNAN_VALUE_INIT.
20631         (max_value): Initialize with MAX_VALUE_INIT.
20632         (min_value): Initialize with MIN_VALUE_INIT.
20633         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20635         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20636         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20637         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20638         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20640         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20641         (RUN_TEST_2_f): Likewise.
20642         (RUN_TEST_ff_f): Likewise.
20643         (RUN_TEST_fi_f): Likewise.
20644         (RUN_TEST_fl_f): Likewise.
20645         (RUN_TEST_fff_f): Likewise.
20646         (RUN_TEST_c_f): Likewise.
20647         (RUN_TEST_f_f1): Likewise.
20648         (RUN_TEST_fF_f1): Likewise.
20649         (RUN_TEST_fI_f1): Likewise.
20650         (RUN_TEST_ffI_f1): Likewise.
20651         (RUN_TEST_c_c): Likewise.
20652         (RUN_TEST_cc_c): Likewise.
20653         (RUN_TEST_f_i): Likewise.
20654         (RUN_TEST_f_i_tg): Likewise.
20655         (RUN_TEST_ff_i_tg): Likewise.
20656         (RUN_TEST_f_b): Likewise.
20657         (RUN_TEST_f_b_tg): Likewise.
20658         (RUN_TEST_f_l): Likewise.
20659         (RUN_TEST_f_L): Likewise.
20660         (RUN_TEST_sincos): Likewise.
20661         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20662         whether to show exceptions.  Do not include ");\n" in return
20663         value.
20664         (special_functions): Output call to RUN_TEST_sincos instead of
20665         check_float calls.  Update calls to new_test.
20666         (parse_args): Output call to single RUN_TEST_* macro instead of
20667         check_* calls and other assignments.  Update calls to new_test.
20669         [BZ #2546]
20670         [BZ #2560]
20671         [BZ #5159]
20672         [BZ #15426]
20673         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20674         input to result for tgamma overflow.
20675         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20676         (gamma_coeff): New variable.
20677         (NCOEFF): New macro.
20678         (gamma_positive): New function.
20679         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20680         underflow here.  Use gamma_positive instead of exp (lgamma) for
20681         other arguments.
20682         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20683         (gamma_coeff): New variable.
20684         (NCOEFF): New macro.
20685         (gammaf_positive): New function.
20686         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20687         underflow here.  Use gamma_positive instead of exp (lgamma) for
20688         other arguments.
20689         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20690         (gamma_coeff): New variable.
20691         (NCOEFF): New macro.
20692         (gammal_positive): New function.
20693         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20694         underflow here.  Use gamma_positive instead of exp (lgamma) for
20695         other arguments.
20696         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20697         (gamma_coeff): New variable.
20698         (NCOEFF): New macro.
20699         (gammal_positive): New function.
20700         (__ieee754_gammal_r): Handle positive infinity, overflow and
20701         underflow here.  Handle NaN the same as positive infinity.  Remove
20702         check x < 0xffffffff for negative integers.  Use gamma_positive
20703         instead of exp (lgamma) for other arguments.
20704         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20705         (gamma_coeff): New variable.
20706         (NCOEFF): New macro.
20707         (gammal_positive): New function.
20708         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20709         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20710         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20711         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20712         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20713         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20714         * sysdeps/generic/math_private.h (__gamma_productf): New
20715         prototype.
20716         (__gamma_product): Likewise.
20717         (__gamma_productl): Likewise.
20718         * math/Makefile (libm-calls): Add gamma_product.
20719         * math/libm-test.inc (tgamma_test): Add more tests.
20720         * sysdeps/i386/fpu/libm-test-ulps: Update.
20721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20723 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20725         * benchtests/bench-skeleton.c (main): Preheat CPU.
20727 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20729         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20731 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20733         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20734         and _dl_skip_args_internal.
20736 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20738         * manual/message.texi (Message Translation): Talk about users.
20739         Message to key mapping impacts design.
20741 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20743         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20745         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20747         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20748         * sysdeps/wordsize-64/glob64.c: ... here.
20750         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20751         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20752         New macros.
20754         * debug/getlogin_r_chk.c: Moved to ...
20755         * login/getlogin_r_chk.c: ... here.
20756         * debug/Makefile (routines): Move getlogin_r_chk to ...
20757         * login/Makefile (routines): ... here.
20758         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20759         * login/Versions (libc: GLIBC_2.4): ... here.
20761         * io/poll.c (__poll): Renamed from poll.
20762         Add libc_hidden_def.
20763         (poll): Define as weak alias.
20765         * debug/ptsname_r_chk.c: Moved to ...
20766         * login/ptsname_r_chk.c: ... here.
20767         * debug/Makefile (routines): Move ptsname_r_chk to ...
20768         * login/Makefile (routines): ... here.
20769         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20770         * login/Versions (libc: GLIBC_2.4): ... here.
20772         * posix/getlogin.c: Moved to ...
20773         * login/getlogin.c: ... here.
20774         * posix/getlogin_r.c: Moved to ...
20775         * login/getlogin_r.c: ... here.
20776         * posix/getlogin_r.c: Moved to ...
20777         * login/getlogin_r.c: ... here.
20778         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20779         * login/Makefile (routines): ... here.
20780         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20781         * login/Versions (libc: GLIBC_2.0): ... here.
20783         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20784         (setrlimit): Define as weak alias.
20786         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20787         Call __ names for open, ftruncate, and close.
20788         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20789         (truncate): Define as weak alias.
20791 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20793         * math/gen-libm-test.pl (parse_args): Initialize x before each
20794         test of frexp, modf and remquo.
20796         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20797         test signgam value.
20799 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20801         [BZ #15418]
20802         [BZ #15419]
20803         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20804         internal tests.
20805         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20807 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20809         * elf/dl-writev.h: New file.
20810         * elf/dl-misc.c: Include it.
20811         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20812         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20814 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20816         * math/libm-test.inc (noXFails): Remove variable.
20817         (noXPasses): Likewise.
20818         (BUILD_COMPLEX_INT): Remove macro.
20819         (print_screen): Remove xfail argument.
20820         (print_screen_max_error): Likewise.
20821         (update_stats): Likewise.
20822         (print_max_error): Likewise.  Update calls to other affected
20823         functions.
20824         (print_complex_max_error): Likewise.
20825         (test_single_exception): Update calls to print_screen.
20826         (test_single_errno): Likewise.
20827         (check_float_internal): Remove xfail argument.  Update calls to
20828         other affected functions.
20829         (check_float): Likewise.
20830         (check_complex): Likewise.
20831         (check_int): Likewise.
20832         (check_long): Likewise.
20833         (check_bool): Likewise.
20834         (check_longlong): Likewise.
20835         (main): Don't print noXFails and noXPasses.
20836         * math/gen-libm-test.pl (top level): Don't mention expected
20837         failure handling in comment.
20838         (new_test): Don't handle expected failures.
20839         (parse_args): Don't mention expected failure handling in comment.
20840         (generate_testfile): Don't handle expected failures.
20841         (parse_ulps): Likewise.
20842         (print_ulps_file): Likewise.
20843         (get_failure): Remove function.
20844         (output_test): Don't handle expected failures.
20845         * make/README.libm-test: Don't mention expected failure handling.
20847         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20848         (minus_zero): Likewise.
20849         (plus_infty): Likewise.
20850         (minus_infty): Likewise.
20851         (qnan_value): Likewise.
20852         (max_value): Likewise.
20853         (min_value): Likewise.
20854         (min_subnorm_value): Likewise.
20855         (initialize): Do not initialize those variables dynamically.
20857 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20859         * io/open.c (__open_2): Moved to ...
20860         * io/open_2.c: ... this new file.
20861         * io/open64.c (__open64_2): Moved to ...
20862         * io/open64_2.c: ... this new file.
20863         * io/openat.c (__openat_2): Moved to ...
20864         * io/openat_2.c: ... this new file.
20865         * io/openat64.c (__openat64_2): Moved to ...
20866         * io/openat64_2.c: ... this new file.
20867         * io/Makefile (routines): Add them.
20868         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20869         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20870         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20871         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20872         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20873         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20874         (__openat64): Add hidden_ver.
20875         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20876         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20878         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20879         Separately conditionalize setting of GLRO(dl_sysinfo) so
20880         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20881         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20883 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20885         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20886         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20887         definition.
20888         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20889         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20890         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20891         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20892         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20894 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20896         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20897         test signgam value.
20899         * math/libm-test.inc (hypot_test): Do not use
20900         IGNORE_ZERO_INF_SIGN.
20902 2013-05-03  Andreas Jaeger  <aj@suse.de>
20904         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20905         Linux 3.9.
20906         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20907         (PF_MAX): Adjust for VSOCK change.
20909 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20913 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20915         [BZ #15264]
20916         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20917         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20918         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20920 2013-05-02  David S. Miller  <davem@davemloft.net>
20922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20924 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20926         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20928 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20930         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20932 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20934         [BZ #14952]
20935         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20936         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20937         Use __attribute__ ((__gnu_inline__)).
20938         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20939         Don't use __attribute__ ((__gnu_inline__)).
20941 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20943         [BZ #15423]
20944         * math/s_catan.c (__catan): Handle small real or imaginary part of
20945         input specially to avoid spurious underflow.
20946         * math/s_catanf.c (__catanf): Likewise.
20947         * math/s_catanh.c (__catanh): Likewise.
20948         * math/s_catanhf.c (__catanhf): Likewise.
20949         * math/s_catanhl.c (__catanhl): Likewise.
20950         * math/s_catanl.c (__catanl): Likewise.
20951         * math/libm-test.inc (catan_test): Add more tests.
20952         (catanh_test): Likewise.
20953         * sysdeps/i386/fpu/libm-test-ulps: Update.
20954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20956 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20960 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20962         [BZ #15416]
20963         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20964         accurately for denominator in atan2.
20965         * math/s_catanf.c (__catanf): Likewise.
20966         * math/s_catanh.c (__catanh): Likewise.
20967         * math/s_catanhf.c (__catanhf): Likewise.
20968         * math/s_catanhl.c (__catanhl): Likewise.
20969         * math/s_catanl.c (__catanl): Likewise.
20970         * math/libm-test.inc (catan_test): Add more tests.
20971         (catanh_test): Likewise.
20972         * sysdeps/i386/fpu/libm-test-ulps: Update.
20973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20975 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20977         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20979         * benchtests/Makefile (bench): Remove slow benchmarks.
20980         * benchtests/atan-inputs: Add slow benchmark inputs.
20981         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20982         (BENCH_FUNC): Accept variant offset.
20983         (VARIANT): Define.
20984         * benchtests/bench-skeleton.c (main): Run benchmark for each
20985         variant.
20986         * benchtests/cos-inputs: Add slow benchmark inputs.
20987         * benchtests/exp-inputs: Likewise.
20988         * benchtests/pow-inputs: Likewise.
20989         * benchtests/sin-inputs: Likewise.
20990         * benchtests/slowatan-inputs: Remove.
20991         * benchtests/slowatan.c: Remove.
20992         * benchtests/slowcos-inputs: Remove.
20993         * benchtests/slowcos.c: Remove.
20994         * benchtests/slowexp-inputs: Remove.
20995         * benchtests/slowexp.c: Remove.
20996         * benchtests/slowpow-inputs: Remove.
20997         * benchtests/slowpow.c: Remove.
20998         * benchtests/slowsin-inputs: Remove.
20999         * benchtests/slowsin.c: Remove.
21000         * benchtests/slowtan-inputs: Remove.
21001         * benchtests/slowtan.c: Remove.
21002         * benchtests/tan-inputs: Add slow benchmark inputs.
21003         * scripts/bench.pl: Parse comments and directives.
21005         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21006         in CPPFLAGS.
21007         ($(objpfx)bench-%.c): Remove *-ITER.
21008         * benchtests/bench-modf.c: Remove definition of ITER.
21009         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21010         (main): Loop for DURATION seconds instead of fixed number of
21011         iterations.
21012         * scripts/bench.pl: Don't expect iterations in parameters.
21014 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21016         * io/fchdir.c (__fchdir): Renamed from fchdir.
21017         (fchdir): Define as weak alias.
21019 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21021         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21022         (ERRNO_EDOM): Likewise.
21023         (ERRNO_ERANGE): Likewise.
21024         (noErrnoTests): New variable.
21025         (init_max_error): Set errno to 0.
21026         (test_single_errno): New function.
21027         (test_errno): Likewise.
21028         (check_float_internal): Call test_errno.  Set errno to 0.
21029         (check_complex): Refer to errno tests in comment.
21030         (check_int): Call test_errno.  Set errno to 0.
21031         (check_long): Likewise.
21032         (check_bool): Likewise.
21033         (check_longlong): Likewise.
21034         (cos_test): Use ERRNO_* flags for errno tests instead of
21035         check_int.
21036         (expm1_test): Likewise.
21037         (fmod_test): Likewise.
21038         (ilogb_test): Likewise.
21039         (lgamma_test): Likewise.
21040         (pow_test): Likewise.
21041         (remainder_test): Likewise.
21042         (sin_test): Likewise.
21043         (tan_test): Likewise.
21044         (yn_test): Likewise.
21045         (initialize): Set errno to 0.
21046         (main): Print number of errno tests.
21047         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21049 2013-04-29  Andreas Jaeger  <aj@suse.de>
21051         [BZ #15084]
21052         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21053         and RES_USEVC.
21055         [BZ #15085]
21056         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21057         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21058         unimplemented.
21060         [BZ #15380]
21061         * stdlib/random.c (__initstate): Return NULL if
21062         __initstate fails.
21064         [BZ #15086]
21065         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21066         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21067         RES_SNGLKUPREOP.
21069 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21073 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21075         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21076         of individual tests.
21077         (casin_test): Likewise.
21078         (casinh_test): Likewise.
21080 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21082         [BZ #15409]
21083         * math/s_catan.c (__catan): Handle arguments with large real or
21084         imaginary part separately without squaring.
21085         * math/s_catanf.c (__catanf): Likewise.
21086         * math/s_catanh.c (__catanh): Likewise.
21087         * math/s_catanhf.c (__catanhf): Likewise.
21088         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21089         and redefine.
21090         (__catanhl): Handle arguments with large real or imaginary part
21091         separately without squaring.
21092         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21093         and redefine.
21094         (__catanl): Handle arguments with large real or imaginary part
21095         separately without squaring.
21096         * math/libm-test.inc (catan_test): Add more tests.
21097         (catanh_test): Likewise.
21098         * sysdeps/i386/fpu/libm-test-ulps: Update.
21099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21101 2013-04-27  Andreas Jaeger  <aj@suse.de>
21103         [BZ #15007]
21104         * stdlib/stdlib.h: Update guards for qecvt.
21105         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21106         <stdlib.h>.
21108 2013-04-27  Allan McRae  <allan@archlinux.org>
21110         * sysdeps/i386/fpu/libm-test-ulps: Update.
21112 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21114         [BZ #15406]
21115         * math/s_catan.c: Include <float.h>.
21116         (__catan): Ensure underflow exception occurs for underflowed
21117         result.
21118         * math/s_catanf.c: Include <float.h>.
21119         (__catanf): Ensure underflow exception occurs for underflowed
21120         result.
21121         * math/s_catanh.c: Include <float.h>.
21122         (__catanh): Ensure underflow exception occurs for underflowed
21123         result.
21124         * math/s_catanhf.c: Include <float.h>.
21125         (__catanhf): Ensure underflow exception occurs for underflowed
21126         result.
21127         * math/s_catanhl.c: Include <float.h>.
21128         (__catanhl): Ensure underflow exception occurs for underflowed
21129         result.
21130         * math/s_catanl.c: Include <float.h>.
21131         (__catanl): Ensure underflow exception occurs for underflowed
21132         result.
21133         * math/libm-test.inc (catan_test): Add more tests.
21134         (catanh_test): Likewise.
21136         [BZ #15405]
21137         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21138         underflowed result.
21139         * math/s_ccoshf.c (__ccoshf): Likewise.
21140         * math/s_ccoshl.c (__ccoshl): Likewise.
21141         * math/s_csin.c (__csin): Likewise.
21142         * math/s_csinf.c (__csinf): Likewise.
21143         * math/s_csinh.c (__csinh): Likewise.
21144         * math/s_csinhf.c (__csinhf): Likewise.
21145         * math/s_csinhl.c (__csinhl): Likewise.
21146         * math/s_csinl.c (__csinl): Likewise.
21147         * math/libm-test.inc (ccos_test): Add more tests.
21148         (ccosh_test): Likewise.
21149         (csin_test): Likewise.
21150         (csinh_test): Likewise.
21152 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21154         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21155         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21156         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21157         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21158         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21159         powerpc/power5+/fpu folders.
21160         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21163 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21167 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21169         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21170         additions to variable.
21171         [$(config-machine) = x86_64] (modules-names): Likewise.
21172         ($(objpfx)tst-audit3): Remove dependency.
21173         ($(objpfx)tst-audit3.out): Likewise.
21174         ($(objpfx)tst-audit4): Likewise.
21175         ($(objpfx)tst-audit4.out): Likewise.
21176         ($(objpfx)tst-audit5): Likewise.
21177         ($(objpfx)tst-audit5.out): Likewise.
21178         ($(objpfx)tst-audit6): Likewise.
21179         ($(objpfx)tst-audit6.out): Likewise.
21180         ($(objpfx)tst-audit7): Likewise.
21181         ($(objpfx)tst-audit7.out): Likewise.
21182         (tst-audit3-ENV): Remove variable.
21183         (tst-audit4-ENV): Likewise.
21184         (tst-audit5-ENV): Likewise.
21185         (tst-audit6-ENV): Likewise.
21186         (tst-audit7-ENV): Likewise.
21187         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21188         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21189         addition to variable.
21190         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21191         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21192         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21193         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21194         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21195         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21196         tst-audit3, tst-audit4 and tst-audit5.
21197         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21198         tst-audit6 and tst-audit7.
21199         [$(subdir) = elf] (modules-names): Add audit modules for those
21200         tests.
21201         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21202         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21203         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21204         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21205         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21206         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21207         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21208         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21209         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21210         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21211         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21212         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21213         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21214         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21215         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21216         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21217         Likewise.
21218         [$(subdir) = elf && $(config-cflags-avx) = yes]
21219         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21220         [$(subdir) = elf && $(config-cflags-avx) = yes]
21221         (CFLAGS-tst-auditmod4a.c): Likewise.
21222         [$(subdir) = elf && $(config-cflags-avx) = yes]
21223         (CFLAGS-tst-auditmod4b.c): Likewise.
21224         [$(subdir) = elf && $(config-cflags-avx) = yes]
21225         (CFLAGS-tst-auditmod6b.c): Likewise.
21226         [$(subdir) = elf && $(config-cflags-avx) = yes]
21227         (CFLAGS-tst-auditmod6c.c): Likewise.
21228         [$(subdir) = elf && $(config-cflags-avx) = yes]
21229         (CFLAGS-tst-auditmod7b.c): Likewise.
21230         * elf/tst-audit3.c: Move to ...
21231         * sysdeps/x86_64/tst-audit3.c: ... here.
21232         * elf/tst-audit4.c: Move to ...
21233         * sysdeps/x86_64/tst-audit4.c: ... here.
21234         * elf/tst-audit5.c: Move to ...
21235         * sysdeps/x86_64/tst-audit5.c: ... here.
21236         * elf/tst-audit6.c: Move to ...
21237         * sysdeps/x86_64/tst-audit6.c: ... here.
21238         * elf/tst-audit7.c: Move to ...
21239         * sysdeps/x86_64/tst-audit7.c: ... here.
21240         * elf/tst-auditmod3a.c: Move to ...
21241         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21242         * elf/tst-auditmod3b.c: Move to ...
21243         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21244         * elf/tst-auditmod4a.c: Move to ...
21245         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21246         * elf/tst-auditmod4b.c: Move to ...
21247         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21248         * elf/tst-auditmod5a.c: Move to ...
21249         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21250         * elf/tst-auditmod5b.c: Move to ...
21251         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21252         * elf/tst-auditmod6a.c: Move to ...
21253         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21254         * elf/tst-auditmod6b.c: Move to ...
21255         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21256         * elf/tst-auditmod6c.c: Move to ...
21257         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21258         * elf/tst-auditmod7a.c: Move to ...
21259         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21260         * elf/tst-auditmod7b.c: Move to ...
21261         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21263 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21265         [BZ #15366]
21266         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21267         define unconditionally.
21268         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21269         define unconditionally.
21270         (INT8_C, INT16_C, etc.): Likewise.
21272 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21274         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21275         __ehdr_start with hidden visibility.
21277         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21279 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21281         * math/libm-test.inc (cos_test): Use accurate hex constants.
21282         (sincost_test): Likewise.
21284 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21286         * math/libm-test.inc (catan_test): Add more tests.
21287         (catanh_test): Likewise.
21289         * math/s_catanf.c (__catanf): Use suffixed floating-point
21290         constants.
21291         * math/s_catanhf.c (__catanhf): Likewise.
21292         * math/s_catanhl.c (__catanhl): Likewise.
21293         * math/s_catanl.c (__catanl): Likewise.
21295         [BZ #15394]
21296         * math/s_catan.c (__catan): Calculate imaginary part of result
21297         with log1p not log unless computing log of number close to 0.
21298         * math/s_catanf.c (__catanf): Likewise.
21299         * math/s_catanl.c (__catanl): Likewise.
21300         * math/s_catanh.c (__catanh): Calculate real part of result with
21301         log1p not log unless computing log of number close to 0.
21302         * math/s_catanhf.c (__catanhf): Likewise.
21303         * math/s_catanhl.c (__catanhl): Likewise.
21304         * math/libm-test.inc (catan_test): Add more tests.
21305         (catanh_test): Likewise.
21306         * sysdeps/i386/fpu/libm-test-ulps: Update.
21307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21309 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21311         * benchtests/Makefile: Mention files in which fast and slow
21312         paths of math functions are implemented.
21314 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21316         * sysdeps/posix/timespec_get.c: New file.
21318 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21320         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21321         POWER.
21322         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21323         for POWER.
21324         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21325         powerpc/power5/fpu folders.
21326         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21327         * benchtests/Makefile: Add modf testcase.
21328         * benchtests/bench-modf.c: New file: Benchmark test for mo
21330 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21332         [BZ #14888]
21333         * time/Makefile (tests): Add tst-strptime-whitespace.
21334         * time/strptime_l.c (get_number): Use ISSPACE.
21335         (__strptime_internal): Likewise.
21336         * time/tst-strptime-whitespace.c: New test case.
21338 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21340         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21341         member.
21342         (_nss_files_init): Set it here.
21344 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21346         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21347         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21348         unsigned.
21350 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21352         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21354 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21356         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21357         size just once.
21359 2013-04-21  David S. Miller  <davem@davemloft.net>
21361         * po/ru.po: Update Russion translation from translation project.
21363 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21365         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21366         and setfsgid.
21368 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21370         * configure.in: Remove i386 configure warning. Remove i386 case.
21371         * configure: Regenerate.
21372         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21373         Add example to error message.
21374         * sysdeps/i386/configure: Regenerate.
21376 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21378         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21379         slowtan.
21380         * benchtests/cos-inputs: New file.
21381         * benchtests/slowcos-inputs: New file.
21382         * benchtests/slowcos.c: New file.
21383         * benchtests/slowtan-inputs: New file.
21384         * benchtests/slowtan.c: New file.
21385         * benchtests/tan-inputs: New file.
21387 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21389         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21390         considered kosher.
21392 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21394         * benchtests/Makefile: Include cppflags-iterator.mk to add
21395         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21397         * Makefile.in (bench-clean): New target.
21398         * benchtests/Makefile (bench-clean): Likewise.
21400 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21402         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21404 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21406         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21408 2013-04-15  Andreas Schwab  <schwab@suse.de>
21410         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21411         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21412         * nscd/pwdcache.c (cache_addpw): Likewise.
21413         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21414         more than recsize.
21416 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21418         * benchtests/Makefile (bench): Write all output to
21419         bench-out.tmp together.
21421 2013-04-15  Andreas Schwab  <schwab@suse.de>
21423         * nscd/nscd.c (main): Don't fork again after closing files.
21425 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21427         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21429         * benchtests/Rules (bench-deps): Collect dependencies into a
21430         single variable.  Add Makefile to dependencies.
21431         ($(objpfx)bench-%.c): Depend on bench-deps.
21433 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21434             Xavier Roche  <roche+kml2@exalead.com>
21436         [BZ #15361]
21437         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21438         just that it's a file descriptor.
21439         * manual/llio.texi (Synchronizing AIO Operations): Update description
21440         for EBADF error from aio_fsync.
21442 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21444         * Rules (bench): Move target definition...
21445         * benchtests/Makefile: ... here.
21447 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21449         * math/libm-test.inc (cos_test): Fix PI/2 test.
21450         (sincos_test): Likewise.
21451         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21452         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21454 2013-04-11  Andreas Schwab  <schwab@suse.de>
21456         [BZ #13988]
21457         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21458         accept exponent character only when digits were seen.
21459         * stdio-common/Makefile (tests): Add bug26.
21460         * stdio-common/bug26.c: New file.
21462         [BZ #14293]
21463         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21464         non-freeable.
21466 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21468         * Makeconfig (rtld-prefix): Define built linker prefix.
21469         * Rules (run-bench): Use it.
21470         * math/Makefile (run-regen-ulps): Likewise.
21472         * Rules (bench): Remove eval.
21474 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21475             Roland McGrath  <roland@hack.frob.com>
21476             Ondrej Bilka  <neleai@seznam.cz>
21478         [BZ #15346]
21479         * time/getdate.c: Include ctype.h and alloca.h.
21480         (__getdate_r): Trim leading and trailing spaces of input.
21481         * time/tst-getdate.c (tests): Add tests with leading and
21482         trailing spaces.
21484 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21486         [BZ #14280]
21487         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21488         when computing value.
21490 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21492         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21493         Use testrun.sh to run libm tests.
21495         [BZ #15309]
21496         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21498 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21500         [BZ #15264]
21501         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21503 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21505         * Makefile.in (regen-ulps): New target.
21506         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21507         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21508         [ifneq (no,$(PERL)] (regen-ulps): New target.
21509         [ifeq (no,$(PERL)] (regen-ulps): New target.
21510         * math/libm-test.inc (ulps_file_name): Define.
21511         (output_dir): New variable.
21512         (options): Add "output-dir" option.
21513         (parse_opt): Handle 'o' case.
21514         (main): If output_dir is non-NULL use it as a prefix
21515         otherwise use "".
21516         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21518 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21520         [BZ #10060, #10062]
21521         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21522         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21523         fail configure if __sync_val_compare_and_swap is not inlined.
21524         * sysdeps/i386/configure: Regenerate.
21525         * configure.in: Build for i686 when configured for i386.
21526         * configure: Regenerate.
21527         * README: Remove i386 reference.
21529 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21531         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21532         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21534 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21536         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21537         (lmsnanval): New variables.
21538         (F): Add conversion tests.
21539         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21540         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21542         * stdio-common/tstdiomisc.c (F): Properly collect individual
21543         tests' results.
21545         [BZ #14686, #15336]
21546         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21547         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21548         Instead, use input NaN values or generate a qNaN by arithmetic
21549         operation.  Also fix bugs to comply with the standard.
21550         * math/libm-test.inc (remainder_test): Add more tests.
21552         [BZ #15335, #15342]
21553         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21555         input NaN values or generate a qNaN by arithmetic operation.
21557         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21558         unreachable code.
21560         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21561         definitions.
21563 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21565         [BZ #14478]
21566         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21567         underflowed result.
21568         * math/s_cexpf.c (__cexpf): Likewise.
21569         * math/s_cexpl.c (__cexpl): Likewise.
21570         * math/libm-test.inc (cexp_test): Add more tests.
21572 2013-04-03  Andreas Schwab  <schwab@suse.de>
21574         [BZ #15330]
21575         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21576         order arrays from heap if bigger than alloca cutoff.
21578 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21580         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21581         (SNAN_TESTS_double): Refer to GCC PR56831.
21582         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21583         GCC PR56828.
21585 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21587         * Rules (bench): Move bench.out after the run is complete.
21589         * Rules (bench): Echo currently running benchmark.
21591         * benchtests/Makefile (bench): Add atan and slowatan.
21592         * benchtests/atan-inputs: New file.
21593         * benchtests/slowatan-inputs: New file.
21594         * benchtests/slowatan.c: New file.
21596         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21597         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21598         its value.
21600         [BZ #15305]
21601         * sysdeps/unix/sysv/linux/kernel-features.h
21602         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21603         __ASSUME_XFS_RESTRICTED_CHOWN.
21604         * sysdeps/unix/sysv/linux/pathconf.c
21605         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21606         Save and restore errno.
21608 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21610         [BZ #15327]
21611         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21612         arguments using __kernel_casinh.
21613         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21614         arguments using __kernel_casinhf.
21615         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21616         arguments using __kernel_casinhl.
21617         * math/libm-test.inc (cacosh_test): Add more tests.
21618         * sysdeps/i386/fpu/libm-test-ulps: Update.
21619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21621 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21623         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21626         * bench/Makefile (bench): Add sin and slowsin.
21627         * benchtests/sin-inputs: New file.
21628         * benchtests/slowsin-inputs: New file.
21629         * benchtests/slowsin.c: New file.
21631         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21632         (bench): Add slowexp and slowpow.
21633         (exp-ITER): Increase iterations.
21634         (pow-ITER): Likewise.
21635         * benchtests/exp-inputs: Change input.
21636         * benchtests/pow-inputs: Likewise.
21637         * benchtests/slowexp-inputs: New file.
21638         * benchtests/slowexp.c: New file.
21639         * benchtests/slowpow-inputs: New file.
21640         * benchtests/slowpow.c: New file.
21642 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21644         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21645         instructions.
21646         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21647         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21648         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21649         * benchtests/Makefile: Add rint benchtest.
21650         * benchtests/rint-inputs: Input for rint benchtest.
21652 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21654         * Versions.def (libm): Add GLIBC_2.18.
21655         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21656         hidden libm prototypes.
21657         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21658         * math/Makefile (libm-calls): Add s_issignaling.
21659         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21660         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21661         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21662         declaration.
21663         * math/math.h [__USE_GNU] (issignaling): New macro.
21664         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21665         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21666         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21667         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21668         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21669         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21670         * manual/arith.texi (issignaling): New section.
21671         * manual/libm-err-tab.pl (@all_functions): Update comment.
21672         * math/gen-libm-test.pl (parse_args): Apply special handling for
21673         issignaling.
21674         * math/libm-test.inc (print_float, issignaling_test): New
21675         functions.
21676         (check_float_internal): Add issignaling checks.
21677         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21678         default definition.
21679         * sysdeps/powerpc/math-tests.h: New file.
21680         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21681         tests.
21682         * math/test-snan.c (TEST_FUNC): Likewise.
21684 2013-03-30  David S. Miller  <davem@davemloft.net>
21686         * po/de.po: Update from translation team.
21688 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21690         [BZ #10357]
21691         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21692         imaginary part less than 1.0 and real part less than 0.5
21693         specially.
21694         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21695         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21696         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21697         (cacos_test): Add more tests.
21698         (casin_test): Likewise.
21699         (casinh_test): Likewise.
21700         * sysdeps/i386/fpu/libm-test-ulps: Update.
21701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21703 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21705         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21706         ONE with its value.
21708         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21709         (__pow_mp): Replace ONE and MONE with their values.
21710         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21711         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21712         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21713         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21714         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21715         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21717         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21719         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21720         (__pow_mp): Replace ZERO and MZERO with their values.
21721         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21722         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21723         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21725         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21726         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21727         (__sqr): Likewise.
21729         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21731         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21733 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21735         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21736         Declare with __attribute__ ((weak)).
21737         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21738         Call __call_tls_dtors only if it's not NULL.
21740 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21742         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21743         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21744         magic __ehdr_start linker symbol if it's defined.
21745         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21746         them up here if it was already done.
21748         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21749         (_dl_aux_init): Use const in cast when setting it.
21750         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21751         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21752         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21754         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21755         Declare them here.
21756         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21757         * csu/libc-tls.c: Nor here.
21758         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21760         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21761         (__libc_message): Never call vsyslog.
21763 2013-03-28  Alan Modra  <amodra@gmail.com>
21765         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21766         Define as empty.
21767         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21768         Likewise.
21770 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21772         [BZ #15214]
21773         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21774         underflow.
21775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21777 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21779         [BZ #15304]
21780         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21781         Don't add gid passed as argument.
21783         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21785 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21787         [BZ #15307]
21788         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21789         imaginary part between 1.0 and 1.5 and real part less than 0.5
21790         specially.
21791         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21792         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21793         * math/libm-test.inc (cacos_test): Add more tests.
21794         (casin_test): Likewise.
21795         (casinh_test): Likewise.
21796         * sysdeps/i386/fpu/libm-test-ulps: Update.
21797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21799 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21801         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21802         constants.
21803         (norm): Likewise.
21804         (denorm): Likewise.
21805         (__dbl_mp): Likewise.
21806         (add_magnitudes): Likewise.
21807         (sub_magnitudes): Likewise.
21808         (__add): Likewise.
21809         (__sub): Likewise.
21810         (__mul): Likewise.
21811         (__sqr): Likewise.
21812         (__inv): Likewise.
21813         (__dvd): Likewise.
21815         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21816         commented code.
21817         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21818         (__dubcos): Likewise.
21819         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21820         (__ieee754_acos): Likewise.
21821         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21822         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21823         (__exp1): Likewise.
21824         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21826         (log1): Likewise.
21827         (my_log2): Likewise.
21828         (checkint): Likewise.
21829         * sysdeps/ieee754/dbl-64/e_remainder.c
21830         (__ieee754_remainder): Likewise.
21831         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21832         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21833         (bsloww): Likewise.
21834         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21836         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21837         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21838         MANTISSA_STORE_T to store computations on mantissa.  Use
21839         macros for rounding and division.
21840         (denorm): Likewise.
21841         (__dbl_mp): Likewise.
21842         (add_magnitudes): Likewise.
21843         (sub_magnitudes): Likewise.
21844         (__mul): Likewise.
21845         (__sqr): Likewise.
21846         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21847         powers of two in terms of TWOPOW macro.
21848         (mp_no): Make type of mantissa as MANTISSA_T.
21849         [!RADIXI]: Define RADIXI.
21850         [!TWO52]: Define TWO52.
21851         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21853 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21855         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21856         llroundl symbol when building for PPC32.
21858 2013-03-24  Mark H Weaver  <mhw@netris.org>
21860         * manual/arith.texi (Normalization Functions): Fix prototypes for
21861         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21863 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21865         [BZ #13889]
21866         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21867         high value to check if expl overflow.
21868         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21869         to check for underflow and overflow.
21870         * math/libm-test.inc: Add exp test.
21872 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21874         [BZ #11120]
21875         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21876         with NOT_IN_libc.
21878 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21880         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21881         symbol.
21883 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21885         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21886         wrap blocks consisting of several statements.
21888         * sysdeps/generic/math-tests.h: New file.
21889         * sysdeps/i386/fpu/math-tests.h: Likewise.
21890         * math/test-snan.c: Include it.
21891         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21893 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21895         [BZ #15285]
21896         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21897         (__ieee754_j0l): Do not improve calculations using cos of twice
21898         input for inputs above LDBL_MAX / 2.0L.
21899         (__ieee754_y0l): Likewise.
21900         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21901         (__ieee754_j1l): Do not improve calculations using cos of twice
21902         input for inputs above LDBL_MAX / 2.0L.
21903         (__ieee754_y1l): Likewise.
21904         * math/libm-test.inc (j0_test): Add another test.
21905         (j1_test): Likewise.
21906         (y0_test): Likewise.
21907         (y1_test): Likewise.
21908         * sysdeps/i386/fpu/libm-test-ulps: Update.
21910 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21912         * Rules ($(objpfx)bench-%.c): Include code from a C source
21913         file.
21915 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21917         [BZ #15287]
21918         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21919         imaginary part 1.0 and real part less than 0.5 specially.
21920         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21921         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21922         * math/libm-test.inc (cacos_test): Add more tests.
21923         (casin_test): Likewise.
21924         (casinh_test): Likewise.
21925         * sysdeps/i386/fpu/libm-test-ulps: Update.
21926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21928 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21930         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21931         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21933 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21935         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21936         * config.make.in (config-cflags-sse4): Remove variable.
21937         (config-cflags-avx): Likewise.
21938         (config-cflags-sse2avx): Likewise.
21939         (config-cflags-novzeroupper): Likewise.
21940         (config-asflags-i686): Likewise.
21941         (have-mfma4): Likewise.
21942         (have-as-vis3): Likewise.
21943         (MIG): Likewise.
21944         * configure.in (MIG): Do not AC_SUBST.
21945         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21946         (libc_cv_cc_sse4): Do not AC_SUBST.
21947         (libc_cv_cc_avx): Likewise.
21948         (libc_cv_cc_sse2avx): Likewise.
21949         (libc_cv_cc_novzeroupper): Likewise.
21950         (libc_cv_cc_fma4): Likewise.
21951         (libc_cv_as_i686): Likewise.
21952         (libc_cv_sparc_as_vis3): Likewise.
21953         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21954         LIBC_CONFIG_VAR.
21955         (config-asflags-i686): Likewise.
21956         (config-cflags-avx): Likewise.
21957         (config-cflags-sse2avx): Likewise.
21958         (have-mfma4): Likewise.
21959         (config-cflags-novzeroupper): Likewise.
21960         * sysdeps/mach/configure.in (MIG): Likewise.
21961         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21962         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21963         LIBC_CONFIG_VAR.
21964         (config-cflags-avx): Likewise.
21965         (config-cflags-sse2avx): Likewise.
21966         (have-mfma4): Likewise.
21967         (config-cflags-novzeroupper): Likewise.
21968         * configure: Regenerated.
21969         * sysdeps/i386/configure: Likewise.
21970         * sysdeps/mach/configure: Likewise.
21971         * sysdeps/sparc/configure: Likewise.
21972         * sysdeps/x86_64/configure: Likewise.
21974 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21976         [BZ #14812]
21977         * locale/programs/localedef.c (options): Put N_ translation marker
21978         on argument names, not just descriptions.
21980 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21982         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21984 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21986         [BZ #14176]
21987         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21989 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21991         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21992         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21993         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21994         [!BEFORE_ABORT] (before_abort): New function.
21995         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21996         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21997         (writev_for_fatal): New function.
21998         (WRITEV_FOR_FATAL): New macro; call that.
21999         (backtrace_and_maps): New function.
22000         (BEFORE_ABORT): New macro; call that.
22001         (struct str_list): Type removed.
22002         (__libc_message, __libc_fatal): Functions removed.
22003         Include <sysdeps/posix/libc_fatal.c> instead.
22005 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22007         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22008         constants.
22009         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22010         double constants.
22012 2013-03-19  Andreas Schwab  <schwab@suse.de>
22014         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22015         * sysdeps/gnu/configure: Regenerate.
22017         * configure.in: Substitute libc_cv_rtlddir.
22018         * configure: Regenerate.
22019         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22020         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22021         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22022         * elf/Makefile (install-others, CFLAGS-interp.c)
22023         (ldso_install, common-ldd-rewrite): Likewise.
22024         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22025         $(inst_slibdir)/$(rtld-installed-name).
22026         * scripts/rellns-sh: Add -p option.
22027         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22028         for source.
22030 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22032         * manual/nptl.texi: Renamed to ...
22033         * manual/threads.texi: ... this.
22034         * manual/Makefile (chapters): Update.
22036 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22038         [BZ #14812]
22039         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22040         on argument names, not just descriptions.
22041         * malloc/memusagestat.c (options): Likewise.
22042         * nss/getent.c (options): Likewise.
22044 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22046         [BZ #14812]
22047         * iconv/iconv_prog.c (options): Put N_ translation marker
22048         on argument names, not just descriptions.
22049         * iconv/iconvconfig.c (options): Likewise.
22051 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22053         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22054         implementation which is faster on all x86_64 architectures.
22055         Tested on AMD, Intel Nehalem, SNB, IVB.
22056         * sysdeps/x86_64/strnlen.S: Likewise.
22058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22059         Remove all multiarch strlen and strnlen versions.
22060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22061         Remove strlen and strnlen related parts.
22063         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22064         Inline strlen part.
22065         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22067         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22068         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22069         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22070         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22071         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22072         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22074 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22076         * manual/memory.texi (Malloc Tunable Parameters):
22077         Sort parameters alphabetically. Add comments for missing entries.
22079 2013-03-17  David S. Miller  <davem@davemloft.net>
22081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22083 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22085         [BZ #15283]
22086         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22087         for arguments at most half maximum finite value.
22088         * math/libm-test.inc (j0_test): Add more tests.
22089         (j1_test): Likewise.
22090         (y0_test): Likewise.
22091         (y1_test): Likewise.
22092         * sysdeps/i386/fpu/libm-test-ulps: Update.
22093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22095         [BZ #14155]
22096         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22097         1 / x and functions P and Q for arguments above 0x1p256L.
22098         (__ieee754_y0l): Likewise.
22099         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22100         (__ieee754_y1l): Likewise.
22101         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22102         (j1_test): Likewise.
22103         (y0_test): Likewise.
22104         (y1_test): Likewise.
22106 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22108         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22109         variable.
22111 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22113         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22114         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22115         zero since it's initialized to EXEC_PAGESIZE.
22117         * sysdeps/unix/sysv/linux/ldsodefs.h
22118         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22119         * sysdeps/generic/ldsodefs.h: ... here.
22121 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22123         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22125         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22126         math/test-snan.c.
22127         * math/test-snan.c: Renamed from
22128         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22129         * math/Makefile (tests): Add test-snan.
22130         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22131         test-powerpc-snan.
22133         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22134         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22135         functions.
22136         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22137         __builtin_nan family of functions.
22138         * math/libm-test.inc (initialize): Initialize qnan_value with
22139         __builtin_nan family of functions.
22140         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22141         Remove variables.
22142         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22143         Remove functions.
22144         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22145         storage class.  Initialize qNaN_var and sNaN_var with
22146         __builtin_nan and __builtin_nans families of functions,
22147         respectively.
22149         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22150         (sqrt_test): Remove duplicate test with qNaN input.
22151         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22152         (round_test, signbit_test, significand_test): Note missing +/-Inf
22153         as well as qNaN tests.
22155         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22156         qNaN_var.  Fix a few strings, too.
22157         * math/libm-test.inc (nan_value): Rename to qnan_value.
22158         * math/gen-libm-test.pl (%beautify): Adjust to that.
22159         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22160         * math/test-misc.c (main): Likewise.
22161         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22162         to __qnan_bytes, and __qnan_union, respectively.
22163         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22164         Likewise.
22165         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22166         and lqnanval, respectively.
22167         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22168         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22169         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22170         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22172         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22173         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22174         doubles.
22176         * math/test-misc.c (main): Fix copy'n'pastos.
22177         * misc/tst-efgcvt.c (special): Likewise.
22179         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22180         Remove declarations.
22182 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22184         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22185         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22186         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22187         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22189 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22191         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22192         macro to return vdso values correctly in IFUNC implementations.
22193         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22194         Optimization by using IFUNC.
22196 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22197             Richard Henderson  <rth@redhat.com>
22198             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22200         * Makefile.in (bench): New target.
22201         * NEWS: Mention the benchmark framework.
22202         * Rules (bench): Likewise.
22203         (binaries-bench): Generate binaries for functions to
22204         benchmark.
22205         * benchtests/Makefile: New makefile for benchmark tests.
22206         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22207         programs.
22208         * benchtests/exp-inputs: New input file for EXP function.
22209         * benchtests/pow-inputs: New input file for POW function.
22210         * scripts/bench.pl: New script to generate source files for
22211         benchmark programs.
22213 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22215         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22216         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22217         computations on mantissa.  Use macros for rounding and
22218         division.
22219         (denorm): Likewise.
22220         (__dbl_mp): Likewise.
22221         (add_magnitudes): Likewise.
22222         (sub_magnitudes): Likewise.
22223         (__mul): Likewise.
22224         (__sqr): Likewise.
22225         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22226         powers of two in terms of TWOPOW macro.
22227         (mp_no): Make type of mantissa as MANTISSA_T.
22228         [!RADIXI]: Define RADIXI.
22229         [!TWO52]: Define TWO52.
22230         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22232         * manual/nptl.texi (cindex): Modify threads to pthreads.
22234 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22236         * sysdeps/x86_64/preconfigure: Regenerated.
22238 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22240         [BZ #14155]
22241         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22242         0x1p28 and above.
22243         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22244         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22245         0x1p28 and above.
22246         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22247         * math/libm-test.inc (j0_test): Do not allow one spurious
22248         underflow exception.
22249         (y1_test): Likewise.
22251 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22253         * manual/Makefile (chapters): Add nptl.
22254         * manual/debug.texi (Debugging Support): Add link to Threads
22255         chapter.
22256         * manual/nptl.texi: New file.
22258         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22260 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22262         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22263         for non-NULL pointer before the memory validity test. Pointed
22264         out by Holger Brunck <holger.brunck@keymile.com>.
22266 2013-03-13  Andreas Schwab  <schwab@suse.de>
22268         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22269         instead of .os.
22271 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22273         * timezone/zic.c: Update from tzcode 2013b.
22275 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22277         * manual/install.texi (Configuring and compiling):
22278         Mention i686 and i586.
22279         * INSTALL: Regenerate.
22281 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22283         * sysdeps/init_array/elf-init.c: New file.
22284         * csu/elf-init.c
22285         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22286         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22288         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22289         __gmon_start__ as global, but as static with a .preinit_array pointer.
22290         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22291         * sysdeps/init_array/crti.S: New file, empty except for comments.
22292         * sysdeps/init_array/crtn.S: Likewise.
22294 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22296         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22297         definining bcopy.
22298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22299         Remove Prefer_SSE_for_memop.
22300         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22301         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22302         HAS_PREFER_SSE_FOR_MEMOP.
22303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22304         memset-x86-64.
22305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22306         Remove bzero, memset ifunc support.
22307         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22308         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22309         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22310         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22312 2013-03-11  Andreas Schwab  <schwab@suse.de>
22314         [BZ #15234]
22315         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22316         by SHLIB_COMPAT.
22317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22318         (GLIBC_2.16): Remove pthread_atfork.
22320 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22322         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22323         (ptestcases.h): Likewise.
22325 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22327         * Makeconfig ($(common-objpfx)config.status): Depend on
22328         sysdeps/*/preconfigure{,.in} too.
22330 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22332         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22333         (__free_hook): Use void * instead of __malloc_ptr_t.
22334         (__malloc_hook): Likewise.
22335         (__realloc_hook): Likewise.
22336         (__memalign_hook): Likewise.
22337         (__after_morecore_hook): Likewise.
22338         * malloc/arena.c (save_malloc_hook): Likewise.
22339         (save_free_hook): Likewise.
22340         * malloc/hooks.c (malloc_hook_ini): Likewise.
22341         (realloc_hook_ini): Likewise.
22342         (memalign_hook_ini): Likewise.
22343         * malloc/malloc.c (malloc_hook_ini): Likewise.
22344         (realloc_hook_ini): Likewise.
22345         (memalign_hook_ini): Likewise.
22346         (__free_hook): Likewise.
22347         (__malloc_hook): Likewise.
22348         (__realloc_hook): Likewise.
22349         (__memalign_hook): Likewise.
22350         (__libc_malloc): Likewise.
22351         (__libc_free): Likewise.
22352         (__libc_realloc): Likewise.
22353         (__libc_memalign): Likewise.
22354         (__libc_valloc): Likewise.
22355         (__libc_pvalloc): Likewise.
22356         (__libc_calloc): Likewise.
22357         (__posix_memalign): Likewise.
22358         * malloc/morecore.c (__sbrk): Likewise.
22359         (__default_morecore): Likewise.
22361         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22363         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22364         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22365         __malloc_ptrdiff_t.
22367         * malloc/malloc.h (__malloc_size_t): Remove macro.
22368         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22369         __malloc_size_t.
22370         (old_memalign_hook): Likewise.
22371         (old_realloc_hook): Likewise.
22372         (struct hdr): Likewise.
22373         (flood): Likewise.
22374         (mallochook): Likewise.
22375         (memalignhook): Likewise.
22376         (reallochook): Likewise.
22377         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22378         (tr_old_realloc_hook): Likewise.
22379         (tr_old_memalign_hook): Likewise.
22380         (tr_mallochook): Likewise.
22381         (tr_reallochook): Likewise.
22382         (tr_memalignhook): Likewise.
22384 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22386         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22387         default_ldbl_pack and using as default implementation.
22388         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22389         implementation.
22390         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22391         redundant definition.
22392         (ldbl_insert_mantissa): Likewise.
22393         (ldbl_canonicalize): Likewise.
22394         (ldbl_nearbyint): Likewise.
22395         (ldbl_pack): Rename to ldbl_pack_ppc.
22396         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22397         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22398         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22400 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22402         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22403         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22404         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22405         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22407         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22408         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22409         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22411 2013-03-07  Andreas Jaeger  <aj@suse.de>
22413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22414         bits/mman-linux.h.
22416 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22418         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22419         Include mpa.h and declare __MPEXP.
22420         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22421         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22422         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22423         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22424         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22425         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22426         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22428         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22429         (__slowpow): Use long double EXPL and LOGL functions to
22430         compute POW.
22431         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22432         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22433         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22434         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22435         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22436         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22439         intermediate variable to calculate exponent.
22440         (__sqr): Likewise.
22441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22442         Likewise.
22443         (__sqr): Likewise.
22445         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22446         [!NO__SQR]: Define __sqr.
22447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22448         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22449         sysdeps/ieee754/dbl-64/mpa.c.
22450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22452         [BZ #12723]
22453         * posix/Makefile (tests): Add tst-pathconf.
22454         * posix/tst-pathconf.c: New test case.
22455         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22456         _PC_PIPE_BUF.
22457         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22459 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22461         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22463 2013-03-06  Andreas Jaeger  <aj@suse.de>
22465         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22466         definition via __MAP_ANONYMOUS.
22468         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22469         it's not part of Linux headers.
22471         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22472         (MAP_HUGE_MASK): Define.
22474         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22475         Define.
22476         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22477         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22478         Define.
22479         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22480         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22481         Define.
22482         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22483         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22484         Define.
22485         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22487         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22488         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22489         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22490         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22491         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22492         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22494         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22495         Handle f2fs.
22497         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22498         Handle f2fs and efivarfs.
22500         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22501         f2fs.
22503         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22504         (EFIVARFS_MAGIC): Add.
22505         (F2FS_LINK_MAX): Add.
22507 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22509         * stdio-common/vfprintf.c: Replace __builtin_expect with
22510         __glibc_unlikely.
22512 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22514         [BZ #13550]
22515         * sysdeps/generic/bp-sym.h: Remove file.
22516         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22517         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22518         <bp-sym.h> and <bp-asm.h>.
22519         (__longjmp): Don't use BP_SYM.
22520         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22521         and <bp-asm.h>.
22522         (memcpy): Don't use BP_SYM.
22523         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22524         <bp-sym.h> and <bp-asm.h>.
22525         (memcpy): Don't use BP_SYM.
22526         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22527         <bp-asm.h>.
22528         (memcpy): Don't use BP_SYM.
22529         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22530         <bp-asm.h>.
22531         (memset): Don't use BP_SYM.
22532         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22533         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22534         (__bzero): Don't use BP_SYM.
22535         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22536         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22537         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22538         <bp-sym.h> and <bp-asm.h>.
22539         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22540         pointers.
22541         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22542         <bp-sym.h> and <bp-asm.h>.
22543         (memcpy): Don't use BP_SYM.
22544         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22545         <bp-sym.h> and <bp-asm.h>.
22546         (memset): Don't use BP_SYM.
22547         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22548         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22549         (__bzero): Don't use BP_SYM.
22550         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22551         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22552         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22553         <bp-sym.h> and <bp-asm.h>.
22554         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22555         pointers.
22556         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22557         <bp-sym.h> and <bp-asm.h>.
22558         (memcpy): Don't use BP_SYM.
22559         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22560         <bp-sym.h> and <bp-asm.h>.
22561         (memset): Don't use BP_SYM.
22562         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22563         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22564         (__bzero): Don't use BP_SYM.
22565         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22566         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22567         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22568         <bp-sym.h> and <bp-asm.h>.
22569         (__memchr): Don't use BP_SYM.
22570         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22571         <bp-sym.h> and <bp-asm.h>.
22572         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22573         pointers.
22574         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22575         <bp-sym.h> and <bp-asm.h>.
22576         (memcpy): Don't use BP_SYM.
22577         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22578         <bp-sym.h> and <bp-asm.h>.
22579         (__mempcpy): Don't use BP_SYM.
22580         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22581         <bp-sym.h> and <bp-asm.h>.
22582         (__memrchr): Don't use BP_SYM.
22583         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22584         <bp-sym.h> and <bp-asm.h>.
22585         (memset): Don't use BP_SYM.
22586         (__bzero): Likewise.
22587         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22588         <bp-sym.h> and <bp-asm.h>.
22589         (__rawmemchr): Don't use BP_SYM.
22590         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22591         <bp-sym.h> and <bp-asm.h>.
22592         (__STRCMP): Don't use BP_SYM.
22593         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22594         <bp-sym.h> and <bp-asm.h>.
22595         (strchr): Don't use BP_SYM.
22596         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22597         <bp-sym.h> and <bp-asm.h>.
22598         (__strchrnul): Don't use BP_SYM.
22599         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22600         <bp-sym.h> and <bp-asm.h>.
22601         (strlen): Don't use BP_SYM.
22602         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22603         <bp-sym.h> and <bp-asm.h>.
22604         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22605         pointers.
22606         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22607         <bp-sym.h> and <bp-asm.h>.
22608         (__strnlen): Don't use BP_SYM.
22609         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22610         <bp-sym.h> and <bp-asm.h>.
22611         (__GI__setjmp): Don't use BP_SYM.
22612         (_setjmp): Likewise.
22613         (__sigsetjmp): Likewise.
22614         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22615         (L(start_addresses)): Don't use BP_SYM.
22616         (_start): Likewise.
22617         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22618         <bp-asm.h>.
22619         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22620         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22621         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22622         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22623         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22624         <bp-asm.h>.
22625         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22626         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22627         about bounded pointers.
22628         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22629         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22630         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22631         <bp-asm.h>.
22632         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22633         about bounded pointers.  Remove GKM FIXME comments.
22634         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22635         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22636         <bp-asm.h>.
22637         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22638         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22639         Remove GKM FIXME comments.
22640         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22641         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22642         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22643         <bp-asm.h>.
22644         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22645         about bounded pointers.  Remove GKM FIXME comment.
22646         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22647         and <bp-asm.h>.
22648         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22649         pointers.
22650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22651         <bp-sym.h> and <bp-asm.h>.
22652         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22654         <bp-sym.h> and <bp-asm.h>.
22655         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22656         comment.
22658 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22660         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22661         call free(NULL).
22663 2013-03-05  David S. Miller  <davem@davemloft.net>
22665         * po/es.po: Update from translation team.
22667 2013-03-05  Andreas Jaeger  <aj@suse.de>
22669         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22670         <bits/mman-linux.h>.
22671         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22672         is fine.
22673         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22674         <bits/mman-linux.h> to end of file.
22675         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22676         is fine.
22677         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22678         <bits/mman-linux.h> to end of file.
22679         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22680         is fine.
22681         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22682         <bits/mman-linux.h> to end of file.
22684         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22685         (MCL_CURRENT, MCL_FUTURE): Define here.
22687 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22689         [BZ #15232]
22690         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22691         attribute_hidden.
22692         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22694 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22696         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22697         fourth parameter needed for rt_sigprocmask syscall.
22698         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22699         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22700         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22701         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22702         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22703         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22705 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22707         [BZ #13550]
22708         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22709         comment about bounded pointers.
22710         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22711         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22713 2013-03-04  Andreas Jaeger  <aj@suse.de>
22715         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22716         common definitions.
22718         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22719         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22720         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22721         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22722         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22723         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22725 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22727         [BZ #15055]
22728         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22729         __ieee754_sqrl instead of __sqrl.
22731 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22733         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22734         * sysdeps/powerpc/fpu_control.h: ... here.
22735         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22736         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22737         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22738         * sysdeps/powerpc/bits/mathinline.h: ... here.
22740 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22742         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22743         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22744         to just [NEED_DL_SYSINFO_DSO].
22745         * elf/dl-support.c: Likewise.
22746         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22747         * elf/rtld.c (dl_main): Likewise.
22748         * elf/setup-vdso.h (setup_vdso): Likewise.
22749         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22750         * sysdeps/unix/sysv/linux/dl-sysdep.c
22751         (_dl_discover_osversion): Likewise.
22753 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22755         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22756         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22758 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22760         * NEWS: Mention libm performance improvements and non-x86 PI
22761         futex support.
22763         * csu/libc-start.c (__pthread_initialize_minimal): Change
22764         function arguments.
22765         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22767 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22769         [BZ #13550]
22770         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22771         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22772         <bp-sym.h> and <bp-asm.h>.
22773         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22774         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22775         and <bp-asm.h>.
22776         (memcpy): Don't use BP_SYM.
22777         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22778         <bp-asm.h>.
22779         (__mpn_add_n): Don't use BP_SYM.
22780         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22781         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22782         and <bp-asm.h>.
22783         (__mpn_addmul_1): Don't use BP_SYM.
22784         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22785         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22786         <bp-sym.h>.
22787         (_setjmp): Don't use BP_SYM.
22788         (__novmx_setjmp): Likewise.
22789         (__GI__setjmp): Likewise.
22790         (__vmx_setjmp): Likewise.
22791         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22792         <bp-sym.h>.
22793         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22794         (__bzero): Don't use BP_SYM.
22795         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22796         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22797         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22798         <bp-sym.h> and <bp-asm.h>.
22799         (memcpy): Don't use BP_SYM.
22800         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22801         <bp-sym.h> and <bp-asm.h>.
22802         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22803         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22804         <bp-sym.h> and <bp-asm.h>.
22805         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22806         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22807         <bp-asm.h>.
22808         (__mpn_lshift): Don't use BP_SYM.
22809         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22810         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22811         <bp-asm.h>.
22812         (memset): Don't use BP_SYM.
22813         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22814         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22815         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22816         <bp-asm.h>.
22817         (__mpn_mul_1): Don't use BP_SYM.
22818         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22819         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22820         <bp-sym.h> and <bp-asm.h>.
22821         (memcmp): Don't use BP_SYM.
22822         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22823         <bp-sym.h> and <bp-asm.h>.
22824         (memcpy): Don't use BP_SYM.
22825         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22826         <bp-sym.h> and <bp-asm.h>.
22827         (memset): Don't use BP_SYM.
22828         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22829         <bp-sym.h> and <bp-asm.h>.
22830         (strncmp): Don't use BP_SYM.
22831         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22832         <bp-sym.h> and <bp-asm.h>.
22833         (memcpy): Don't use BP_SYM.
22834         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22835         <bp-sym.h> and <bp-asm.h>.
22836         (memset): Don't use BP_SYM.
22837         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22838         <bp-sym.h> and <bp-asm.h>.
22839         (__memchr): Don't use BP_SYM.
22840         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22841         <bp-sym.h> and <bp-asm.h>.
22842         (memcmp): Don't use BP_SYM.
22843         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22844         <bp-sym.h> and <bp-asm.h>.
22845         (memcpy): Don't use BP_SYM.
22846         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22847         <bp-sym.h> and <bp-asm.h>.
22848         (__mempcpy): Don't use BP_SYM.
22849         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22850         <bp-sym.h> and <bp-asm.h>.
22851         (__memrchr): Don't use BP_SYM.
22852         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22853         <bp-sym.h> and <bp-asm.h>.
22854         (memset): Don't use BP_SYM.
22855         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22856         <bp-sym.h> and <bp-asm.h>.
22857         (__rawmemchr): Don't use BP_SYM.
22858         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22859         <bp-sym.h> and <bp-asm.h>.
22860         (__STRCMP): Don't use BP_SYM.
22861         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22862         <bp-sym.h> and <bp-asm.h>.
22863         (strchr): Don't use BP_SYM.
22864         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22865         <bp-sym.h> and <bp-asm.h>.
22866         (__strchrnul): Don't use BP_SYM.
22867         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22868         <bp-sym.h> and <bp-asm.h>.
22869         (strlen): Don't use BP_SYM.
22870         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22871         <bp-sym.h> and <bp-asm.h>.
22872         (strncmp): Don't use BP_SYM.
22873         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22874         <bp-sym.h> and <bp-asm.h>.
22875         (__strnlen): Don't use BP_SYM.
22876         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22877         <bp-asm.h>.
22878         (__mpn_rshift): Don't use BP_SYM.
22879         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22880         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22881         <bp-sym.h> and <bp-asm.h>.
22882         (__sigsetjmp): Don't use BP_SYM.
22883         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22884         (L(start_addresses)): Don't use BP_SYM.
22885         (_start): Likewise.
22886         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22887         <bp-asm.h>.
22888         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22889         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22890         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22891         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22892         <bp-asm.h>.
22893         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22894         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22895         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22896         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22897         <bp-asm.h>.
22898         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22899         comments.
22900         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22901         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22902         <bp-asm.h>.
22903         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22904         FIXME comments.
22905         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22906         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22907         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22908         <bp-asm.h>.
22909         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22910         comment.
22911         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22912         and <bp-asm.h>.
22913         (strncmp): Don't use BP_SYM,
22914         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22915         <bp-asm.h>.
22916         (__mpn_sub_n): Don't use BP_SYM.
22917         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22918         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22919         and <bp-asm.h>.
22920         (__mpn_submul_1): Don't use BP_SYM.
22921         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22923         <bp-sym.h> and <bp-asm.h>.
22924         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22926         <bp-sym.h> and <bp-asm.h>.
22927         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22928         comment.
22930 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22933         Use ZK to minimize writes to Z.
22934         (sub_magnitudes): Simplify code a bit.
22935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22936         Use ZK to minimize writes to Z.
22937         (sub_magnitudes): Simplify code a bit.
22939 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22941         * csu/gmon-start.c: Add special exception to license text.
22943 2013-02-27  Richard Henderson  <rth@redhat.com>
22945         * scripts/config.guess: Update from config.git.
22946         * scripts/config.sub: Likewise.
22948 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22950         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22952         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22954         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22956         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22958         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22960 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22962         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22963         [$(build-shared = yes].
22965 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22967         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22968         (__mul): Reduce iterations for calculating mantissa.
22970         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22971         MPTWO.
22972         (__mpranred): Likewise.
22974         [BZ #15160]
22975         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22976         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22978 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22980         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22981         Define __attribute__.
22983 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22985         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22986         unused.
22987         * posix/regex_internal.h (__attribute): Remove.
22988         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22989         (re_string_context_at): Likewise.
22990         (bitset_not): Use __attribute__ and mark function as possibly
22991         unused.
22992         (bitset_merge): Likewise.
22993         (bitset_mask): Likewise.
22994         (re_string_char_size_at): Likewise.
22995         (re_string_wchar_at): Likewise.
22996         (re_string_elem_size_at): Likewise.
22998 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23000         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23001         code.
23002         (cc32): Likewise.
23004         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23005         (__acr): Likewise.
23006         (__cpy): Likewise.
23007         (norm): Likewise.
23008         (denorm): Likewise.
23009         (__dbl_mp): Likewise.
23010         (add_magnitudes): Likewise.
23011         (sub_magnitudes): Likewise.
23012         (__mul): Likewise.
23013         (__inv): Likewise.
23015         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23016         style.
23018         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23019         style.
23021         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23022         code.
23024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23025         up changes with default code.
23026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23027         Likewise.
23029 2013-02-24  Allan McRae  <allan@archlinux.org>
23031         * manual/socket.texi (The Internet Namespace): Order menu items
23032         to match that in the file.
23034         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23035         node listing of the info page menu.
23037 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23039         [BZ #13550]
23040         * sysdeps/i386/bp-asm.h: Remove file.
23041         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23042         (PARMS): Do not use macros from bp-asm.h.
23043         (S1): Likewise.
23044         (S2): Likewise.
23045         (SIZE): Likewise.
23046         (__mpn_add_n): Do not use BP_SYM
23047         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23048         "bp-asm.h".
23049         (PARMS): Do not use macros from bp-asm.h.
23050         (S1): Likewise.
23051         (SIZE): Likewise.
23052         (__mpn_addmul_1): Do not use BP_SYM
23053         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23054         "bp-asm.h".
23055         (PARMS): Do not use macros from bp-asm.h.
23056         (SIGMSK): Likewise.
23057         (_setjmp): Likewise.  Do not use BP_SYM.
23058         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23059         "bp-asm.h".
23060         (PARMS): Do not use macros from bp-asm.h.
23061         (SIGMSK): Likewise.
23062         (setjmp): Likewise.  Do not use BP_SYM.
23063         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23064         "bp-asm.h".
23065         (PARMS): Do not use macros from bp-asm.h.
23066         (__frexp): Do not use BP_SYM.
23067         (frexp): Likewise.
23068         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23069         "bp-asm.h".
23070         (PARMS): Do not use macros from bp-asm.h.
23071         (__frexpf): Do not use BP_SYM.
23072         (frexpf): Likewise.
23073         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23074         "bp-asm.h".
23075         (PARMS): Do not use macros from bp-asm.h.
23076         (__frexpl): Do not use BP_SYM.
23077         (frexpl): Likewise.
23078         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23079         "bp-asm.h".
23080         (PARMS): Do not use macros from bp-asm.h.
23081         (__remquo): Do not use BP_SYM.
23082         (remquo): Likewise.
23083         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23084         "bp-asm.h".
23085         (PARMS): Do not use macros from bp-asm.h.
23086         (__remquof): Do not use BP_SYM.
23087         (remquof): Likewise.
23088         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23089         "bp-asm.h".
23090         (PARMS): Do not use macros from bp-asm.h.
23091         (__remquol): Do not use BP_SYM.
23092         (remquol): Likewise.
23093         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23094         "bp-asm.h".
23095         (PARMS): Do not use macros from bp-asm.h.
23096         (DEST): Likewise.
23097         (SRC): Likewise.
23098         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23099         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23100         "bp-asm.h".
23101         (PARMS): Do not use macros from bp-asm.h.
23102         (strlen): Do not use BP_SYM.
23103         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23104         "bp-asm.h".
23105         (PARMS): Do not use macros from bp-asm.h.
23106         (S1): Likewise.
23107         (S2): Likewise.
23108         (SIZE): Likewise.
23109         (__mpn_add_n): Do not use BP_SYM.
23110         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23111         "bp-asm.h".
23112         (PARMS): Do not use macros from bp-asm.h.
23113         (S1): Likewise.
23114         (SIZE): Likewise.
23115         (__mpn_addmul_1): Do not use BP_SYM.
23116         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23117         weak_alias.
23118         (bzero): Likewise.
23119         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23120         "bp-asm.h".
23121         (PARMS): Do not use macros from bp-asm.h.
23122         (S): Likewise.
23123         (SIZE): Likewise.
23124         (__mpn_lshift): Do not use BP_SYM.
23125         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23126         "bp-asm.h".
23127         (PARMS): Do not use macros from bp-asm.h.
23128         (DEST): Likewise.
23129         (SRC): Likewise.
23130         (LEN): Likewise.
23131         (memcpy): Likewise.  Do not use BP_SYM.
23132         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23133         libc_hidden_def and weak_alias.
23134         (mempcpy): Do not use BP_SYM in weak_alias.
23135         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23136         "bp-asm.h".
23137         (PARMS): Do not use macros from bp-asm.h.
23138         (DEST): Likewise.
23139         (LEN): Likewise.
23140         [!BZERO_P] (CHR): Likewise.
23141         (memset): Likewise.  Do not use BP_SYM.
23142         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23143         "bp-asm.h".
23144         (PARMS): Do not use macros from bp-asm.h.
23145         (S1): Likewise.
23146         (SIZE): Likewise.
23147         (__mpn_mul_1): Do not use BP_SYM.
23148         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23149         "bp-asm.h".
23150         (PARMS): Do not use macros from bp-asm.h.
23151         (S): Likewise.
23152         (SIZE): Likewise.
23153         (__mpn_rshift): Do not use BP_SYM.
23154         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23155         "bp-asm.h".
23156         (PARMS): Do not use macros from bp-asm.h.
23157         (STR): Likewise.
23158         (CHR): Likewise.
23159         (strchr): Likewise.  Do not use BP_SYM.
23160         (index): Do not use BP_SYM in weak_alias.
23161         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23162         "bp-asm.h".
23163         (PARMS): Do not use macros from bp-asm.h.
23164         (DEST): Likewise.
23165         (SRC): Likewise.
23166         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23167         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23168         "bp-asm.h".
23169         (PARMS): Do not use macros from bp-asm.h.
23170         (strlen): Do not use BP_SYM.
23171         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23172         "bp-asm.h".
23173         (PARMS): Do not use macros from bp-asm.h.
23174         (S1): Likewise.
23175         (S2): Likewise.
23176         (SIZE): Likewise.
23177         (__mpn_sub_n): Do not use BP_SYM.
23178         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23179         "bp-asm.h".
23180         (PARMS): Do not use macros from bp-asm.h.
23181         (S1): Likewise.
23182         (SIZE): Likewise.
23183         (__mpn_submul_1): Do not use BP_SYM.
23184         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23185         "bp-asm.h".
23186         (PARMS): Do not use macros from bp-asm.h.
23187         (S1): Likewise.
23188         (S2): Likewise.
23189         (SIZE): Likewise.
23190         (__mpn_add_n): Do not use BP_SYM.
23191         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23192         weak_alias.
23193         (bzero): Likewise.
23194         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23195         "bp-asm.h".
23196         (PARMS): Do not use macros from bp-asm.h.
23197         (BLK2): Likewise.
23198         (LEN): Likewise.
23199         (memcmp): Do not use BP_SYM.
23200         (bcmp): Do not use BP_SYM in weak_alias.
23201         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23202         "bp-asm.h".
23203         (PARMS): Do not use macros from bp-asm.h.
23204         (DEST): Likewise.
23205         (SRC): Likewise.
23206         (LEN): Likewise.
23207         (memcpy): Likewise.  Do not use BP_SYM.
23208         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23209         "bp-asm.h".
23210         (PARMS): Do not use macros from bp-asm.h.
23211         (DEST): Likewise.
23212         (SRC): Likewise.
23213         (LEN): Likewise.
23214         (memmove): Likewise.  Do not use BP_SYM.
23215         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23216         "bp-asm.h".
23217         (PARMS): Do not use macros from bp-asm.h.
23218         (DEST): Likewise.
23219         (SRC): Likewise.
23220         (LEN): Likewise.
23221         (__mempcpy): Likewise.  Do not use BP_SYM.
23222         (mempcpy): Do not use BP_SYM in weak_alias.
23223         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23224         "bp-asm.h".
23225         (PARMS): Do not use macros from bp-asm.h.
23226         (DEST): Likewise.
23227         (LEN): Likewise.
23228         [!BZERO_P] (CHR): Likewise.
23229         (memset): Likewise.  Do not use BP_SYM.
23230         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23231         "bp-asm.h".
23232         (PARMS): Do not use macros from bp-asm.h.
23233         (STR2): Likewise.
23234         (strcmp): Do not use BP_SYM.
23235         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23236         "bp-asm.h".
23237         (PARMS): Do not use macros from bp-asm.h.
23238         (STR): Likewise.
23239         (DELIM): Likewise.
23240         [USE_AS_STRTOK_R] (SAVE): Likewise.
23241         (FUNCTION): Likewise.  Do not use BP_SYM.
23242         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23243         aliases.
23244         (strtok_r): Likewise.
23245         (__GI___strtok_r): Likewise.
23246         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23247         (PARMS): Do not use macros from bp-asm.h.
23248         (S): Likewise.
23249         (SIZE): Likewise.
23250         (__mpn_lshift): Do not use BP_SYM.
23251         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23252         (PARMS): Do not use macros from bp-asm.h.
23253         (STR): Likewise.
23254         (CHR): Likewise.
23255         (__memchr): Do not use BP_SYM.
23256         (memchr): Do not use BP_SYM in weak_alias.
23257         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23258         (PARMS): Do not use macros from bp-asm.h.
23259         (BLK2): Likewise.
23260         (LEN): Likewise.
23261         (memcmp): Do not use BP_SYM.
23262         (bcmp): Do not use BP_SYM in weak_alias.
23263         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23264         (PARMS): Do not use macros from bp-asm.h.
23265         (S1): Likewise.
23266         (SIZE): Likewise.
23267         (__mpn_mul_1): Do not use BP_SYM.
23268         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23269         "bp-asm.h".
23270         (PARMS): Do not use macros from bp-asm.h.
23271         (STR): Likewise.
23272         (CHR): Likewise.
23273         (__rawmemchr): Do not use BP_SYM.
23274         (rawmemchr): Do not use BP_SYM in weak_alias.
23275         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23276         (PARMS): Do not use macros from bp-asm.h.
23277         (S): Likewise.
23278         (SIZE): Likewise.
23279         (__mpn_rshift): Do not use BP_SYM.
23280         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23281         (PARMS): Do not use macros from bp-asm.h.
23282         (SIGMSK): Likewise.
23283         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23284         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23285         (_start): Do not use BP_SYM.
23286         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23287         (PARMS): Do not use macros from bp-asm.h.
23288         (DEST): Likewise.
23289         (SRC): Likewise.
23290         (__stpcpy): Likewise.  Do not use BP_SYM.
23291         (stpcpy): Do not use BP_SYM in weak_alias.
23292         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23293         "bp-asm.h".
23294         (PARMS): Do not use macros from bp-asm.h.
23295         (DEST): Likewise.
23296         (SRC): Likewise.
23297         (LEN): Likewise.
23298         (__stpncpy): Likewise.  Do not use BP_SYM.
23299         (stpncpy): Do not use BP_SYM in weak_alias.
23300         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23301         (PARMS): Do not use macros from bp-asm.h.
23302         (STR): Likewise.
23303         (CHR): Likewise.
23304         (strchr): Likewise.  Do not use BP_SYM.
23305         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23306         "bp-asm.h".
23307         (PARMS): Do not use macros from bp-asm.h.
23308         (STR): Likewise.
23309         (CHR): Likewise.
23310         (__strchrnul): Likewise.  Do not use BP_SYM.
23311         (strchrnul): Do not use BP_SYM in weak_alias.
23312         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23313         "bp-asm.h".
23314         (PARMS): Do not use macros from bp-asm.h.
23315         (STOP): Likewise.
23316         (strcspn): Do not use BP_SYM.
23317         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23318         "bp-asm.h".
23319         (PARMS): Do not use macros from bp-asm.h.
23320         (STR): Likewise.
23321         (STOP): Likewise.
23322         (strpbrk): Likewise.  Do not use BP_SYM.
23323         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23324         "bp-asm.h".
23325         (PARMS): Do not use macros from bp-asm.h.
23326         (STR): Likewise.
23327         (CHR): Likewise.
23328         (strrchr): Likewise.  Do not use BP_SYM.
23329         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23330         (PARMS): Do not use macros from bp-asm.h.
23331         (SKIP): Likewise.
23332         (strspn): Do not use BP_SYM.
23333         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23334         (PARMS): Do not use macros from bp-asm.h.
23335         (STR): Likewise.
23336         (DELIM): Likewise.
23337         (SAVE): Likewise.
23338         (FUNCTION): Likewise.  Do not use BP_SYM.
23339         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23340         aliases.
23341         (strtok_r): Likewise.
23342         (__GI___strtok_r): Likewise.
23343         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23344         (PARMS): Do not use macros from bp-asm.h.
23345         (S1): Likewise.
23346         (S2): Likewise.
23347         (SIZE): Likewise.
23348         (__mpn_sub_n): Do not use BP_SYM.
23349         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23350         "bp-asm.h".
23351         (PARMS): Do not use macros from bp-asm.h.
23352         (S1): Likewise.
23353         (SIZE): Likewise.
23354         (__mpn_submul_1): Do not use BP_SYM.
23355         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23356         <bp-sym.h>.
23357         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23358         and <bp-asm.h>.
23359         (PARMS): Do not use macros from bp-asm.h.
23360         (FLAGS): Likewise.
23361         (PTID): Likewise.
23362         (TLS): Likewise.
23363         (CTID): Likewise.
23364         (__clone): Do not use BP_SYM.
23365         (clone): Do not use BP_SYM in weak_alias.
23366         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23367         and <bp-asm.h>.
23368         (PARMS): Do not use macros from bp-asm.h.
23369         (LEN): Likewise.
23370         (__mmap64): Do not use BP_SYM.
23371         (mmap64): Do not use BP_SYM in weak_alias.
23372         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23373         <bp-sym.h> and <bp-asm.h>.
23374         (PARMS): Do not use macros from bp-asm.h.
23375         (__posix_fadvise64_l64): Do not use BP_SYM.
23376         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23377         (PARMS): Do not use macros from bp-asm.h.
23378         (NSOPS): Likewise.
23379         (semtimedop): Do not use BP_SYM.
23380         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23381         and <bp-asm.h>.
23383 2013-02-21  Allan McRae  <allan@archlinux.org>
23385         * manual/message.texi (Charset conversion in gettext):
23386         Move @end statement to beginning of line.
23388 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23391         static.
23392         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23393         Likewise.
23395         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23396         (denorm): Likewise.
23397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23398         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23400 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23402         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23403         tail-call to the resolved function if pltexit isn't needed.
23405 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23408         or Y being zero as being unlikely.
23409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23410         Likewise.
23412 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23414         * manual/nss.texi (System Databases and Name Service Switch):
23415         Remove frobnicate @pxref.
23417 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23419         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23420         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23422 2013-02-20  Petr Machata  <pmachata@redhat.com>
23424         * elf/elf.h (R_ARM_TARGET1): New macro.
23425         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23426         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23427         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23428         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23429         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23430         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23431         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23432         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23433         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23434         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23435         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23436         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23437         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23438         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23439         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23440         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23441         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23442         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23443         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23444         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23445         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23446         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23447         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23448         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23449         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23450         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23451         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23452         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23453         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23454         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23455         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23456         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23457         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23458         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23459         (R_ARM_THM_GOT_BREL12): Likewise.
23460         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23461         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23462         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23463         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23464         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23465         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23466         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23467         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23468         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23470 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23472         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23473         __attribute_used__ to __attribute__ ((unused)).
23475 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23477         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23478         powerpc mpa.c.
23479         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23480         comment formatting.
23481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23483 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23485         [BZ #13550]
23486         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23487         Remove macro.
23488         (ENTER): Remove both macro definitions.
23489         (LEAVE): Likewise.
23490         (CHECK_BOUNDS_LOW): Likewise.
23491         (CHECK_BOUNDS_HIGH): Likewise.
23492         (CHECK_BOUNDS_BOTH): Likewise.
23493         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23494         (RETURN_BOUNDED_POINTER): Likewise.
23495         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23496         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23497         (POP_ERRNO_LOCATION_RETURN): Likewise.
23498         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23499         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23500         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23501         macros.
23502         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23503         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23504         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23505         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23506         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23507         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23508         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23509         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23510         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23511         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23512         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23513         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23514         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23515         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23516         removed macros.
23517         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23518         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23519         macros.
23520         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23521         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23522         * sysdeps/i386/i586/memset.S (memset): Likewise.
23523         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23524         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23525         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23526         macros.
23527         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23528         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23529         Change uses of L(2) to L(out).
23530         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23531         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23532         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23533         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23534         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23535         removed macros.
23536         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23537         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23538         macros.
23539         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23540         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23541         (RETURN): Do not use macro LEAVE.
23542         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23543         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23544         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23545         * sysdeps/i386/i686/memset.S (memset): Likewise.
23546         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23547         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23548         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23549         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23550         Likewise.
23551         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23552         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23553         L(1_2) and L(1_3) into L(1).
23554         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23555         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23556         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23557         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23558         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23559         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23560         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23561         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23562         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23563         macros.
23564         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23565         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23566         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23567         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23568         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23569         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23570         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23571         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23572         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23573         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23574         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23575         * sysdeps/i386/strspn.S (strspn): Likewise.
23576         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23577         conditional code.
23578         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23579         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23580         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23581         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23582         L(1_3) into L(1_1).
23583         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23584         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23585         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23586         macros.
23587         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23589 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23591         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23592         macro.
23594 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23596         * math/atest-exp.c (exp_mpn): Remove ROUND.
23597         * math/atest-exp2.c (exp_mpn): Likewise.
23598         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23600         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23601         * stdlib/tst-tls-atexit-lib.c: Likewise.
23602         * stdlib/tst-tls-atexit.c: Likewise.
23604 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23606         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23607         and __attribute_alloc_size__.
23609 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23611         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23612         __attribute_alloc_size__.
23613         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23614         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23616 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23618         * include/programs/xmalloc.h: New file.
23619         * catgets/gencat.c: Include it.
23620         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23621         * elf/pldd.c: Likewise.
23622         * iconv/iconv_charmap.c: Likewise.
23623         * iconv/iconvconfig.c: Likewise.
23624         * iconv/strtab.c: Likewise.
23625         * locale/programs/locale.c: Likewise.
23626         * locale/programs/localedef.h: Likewise.
23627         * locale/programs/simple-hash.c: Likewise.
23628         * nscd/nscd.h: Likewise.
23629         * nss/makedb.c: Likewise.
23630         * sysdeps/generic/ldconfig.h: Likewise.
23632 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23634         * Versions.def: Add GLIBC_2.18.
23635         * include/link.h (struct link_map): New member l_tls_dtor_count.
23636         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23637         (__call_tls_dtors): Likewise.
23638         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23639         __cxa_thread_atexit_impl.
23640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23641         Likewise.
23642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23643         Likewise.
23644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23645         Likewise.
23646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23647         Likewise.
23648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23650         Likewise.
23651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23652         Likewise.
23653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23655         Likewise.
23656         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23657         (tests): Add test case tst-tls-atexit.
23658         (modules-names): Add shared library for tst-tls-atexit.
23659         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23660         (GLIBC_PRIVATE): Add __call_tls_dtors.
23661         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23662         for libstdc++.
23663         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23664         * stdlib/tst-tls-atexit.c: New test case.
23665         * stdlib/tst-tls-atexit-lib.c: New test case.
23667         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23669         * elf/Versions (ld): Add _dl_find_dso_for_object.
23670         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23671         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23672         (dl_open_worker): Use _dl_find_dso_for_object.
23673         * elf/dl-sym.c (do_sym): Likewise.
23674         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23676 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23678         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23679         Syntactic changes only.
23680         (_dl_runtime_profile): Do a tail-call to the resolved function.
23682 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23684         [BZ #13550]
23685         * sysdeps/x86_64/bp-asm.h: Remove file.
23686         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23687         <bp-sym.h> and <bp-asm.h>.
23688         (__clone): Do not use BP_SYM.
23689         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23690         <bp-sym.h> and <bp-asm.h>.
23691         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23692         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23693         "bp-asm.h".
23694         (_setjmp): Do not use BP_SYM.
23695         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23696         "bp-asm.h".
23697         (setjmp): Do not use BP_SYM.
23698         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23699         libc_hidden_def.
23700         (mempcpy): Do not use BP_SYM in weak_alias.
23701         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23702         "bp-asm.h".
23703         (strchr): Do not use BP_SYM.
23704         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23705         "bp-asm.h".
23706         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23707         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23708         (_start): Do not use BP_SYM.
23709         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23710         "bp-asm.h".
23711         (strcat): Do not use BP_SYM.
23712         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23713         "bp-asm.h".
23714         (STRCMP): Do not use BP_SYM.
23715         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23716         "bp-asm.h".
23717         (STRCPY): Do not use BP_SYM.
23718         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23719         "bp-asm.h".
23720         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23721         "bp-asm.h".
23722         (FUNCTION): Do not use BP_SYM.
23723         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23724         weak_alias.
23725         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23727 2013-02-17  Andreas Jaeger  <aj@suse.de>
23729         * time/Versions: Sort entries.
23730         * string/Versions: Likewise.
23731         * resolv/Versions: Likewise.
23732         * posix/Versions: Likewise.
23733         * iconv/Versions: Likewise.
23734         * elf/Versions: Likewise.
23735         * wcsmbs/Versions: Likewise.
23737 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23739         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23740         loop termination condition.
23742         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23743         variable to calculate EZ.
23744         (__sqr): Likewise.
23746         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23747         the lower precision input.
23749 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23751         [BZ #13550]
23752         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23753         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23754         (run-via-rtld-prefix): Do not handle %-bp tests.
23755         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23756         (all-object-suffixes): Remove .ob.
23757         (bppfx): Remove variable.
23758         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23759         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23760         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23761         [$(build-bounded) = yes] (libtype.ob): Likewise.
23762         * Makerules (elide-routines.ob): Remove variable.
23763         (do-tests-clean): Do not handle *-bp.out.
23764         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23765         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23766         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23767         (tests): Do not include $(tests-bp.out).
23768         (xtests): Do not include $(xtests-bp.out).
23769         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23770         [$(build-bounded) = yes] ($(addprefix
23771         $(objpfx),$(binaries-bounded))): Remove rule.
23772         ($(objpfx)%-bp.out): Remove rule.
23773         * config.make.in (build-bounded): Remove variable.
23774         * crypt/Makefile [$(build-bounded) = yes]
23775         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23776         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23777         append to variable.
23778         [$(build-bounded) = yes] (install-lib): Likewise.
23779         [$(build-bounded) = yes] (generated): Likewise.
23780         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23781         Remove rule.
23782         * intl/Makefile [$(build-bounded) = yes]
23783         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23784         * math/Makefile [$(build-bounded) = yes]
23785         ($(tests:%=$(objpfx)%-bp): Likewise.
23786         * misc/Makefile [$(build-bounded) = yes]
23787         ($(objpfx)tst-tsearch-bp): Likewise.
23788         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23789         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23790         Remove dependency.
23791         * string/Makefile (o-objects.ob): Remove variable.
23792         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23793         (CFLAGS-.ob): Remove variable.
23794         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23795         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23796         both definitions of variable.
23797         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23798         (ASFLAGS-.ob): Remove variable.
23800 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23802         [BZ #13550]
23803         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23804         Remove __BOUNDED_POINTERS__ from condition.
23805         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23806         * string/bits/string2.h [!__NO_STRING_INLINES &&
23807         !__BOUNDED_POINTERS__]: Likewise.
23808         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23809         Likewise.
23810         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23811         Remove conditional code.
23812         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23813         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23814         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23815         condition.
23817         [BZ #13550]
23818         * csu/libc-start.c: Do not include <bp-sym.h>.
23819         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23820         * elf/dl-open.c: Do not include <bp-sym.h>.
23821         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23822         * math/fegetenv.c: Do not include <bp-sym.h>.
23823         (fegetenv): Do not use BP_SYM in versioned symbols.
23824         * nptl/sysdeps/pthread/bits/libc-lockP.h
23825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23826         <bp-sym.h>.
23827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23828         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23830         (__pthread_mutex_destroy): Likewise.
23831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23832         (__pthread_mutex_lock): Likewise.
23833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23834         (__pthread_mutex_trylock): Likewise.
23835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23836         (__pthread_mutex_unlock): Likewise.
23837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23838         (__pthread_mutexattr_init): Likewise.
23839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23840         (__pthread_mutexattr_destroy): Likewise.
23841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23842         (__pthread_mutexattr_settype): Likewise.
23843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23844         (__pthread_rwlock_init): Likewise.
23845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23846         (__pthread_rwlock_destroy): Likewise.
23847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23848         (__pthread_rwlock_rdlock): Likewise.
23849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23850         (__pthread_rwlock_tryrdlock): Likewise.
23851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23852         (__pthread_rwlock_wrlock): Likewise.
23853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23854         (__pthread_rwlock_trywrlock): Likewise.
23855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23856         (__pthread_rwlock_unlock): Likewise.
23857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23858         (__pthread_key_create): Likewise.
23859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23860         (__pthread_setspecific): Likewise.
23861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23862         (__pthread_getspecific): Likewise.
23863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23864         Likewise.
23865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23866         (_pthread_cleanup_push_defer): Likewise.
23867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23868         (_pthread_cleanup_pop_restore): Likewise.
23869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23870         (pthread_setcancelstate): Likewise.
23871         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23872         <bp-sym.h>.
23873         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23874         (memchr): Do not use BP_SYM in weak_alias.
23875         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23876         (fegetenv): Do not use BP_SYM in versioned symbols.
23877         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23878         (fesetenv): Do not use BP_SYM in versioned symbols.
23879         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23880         (feupdateenv): Do not use BP_SYM in versioned symbols.
23881         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23882         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23883         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23884         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23885         (open64): Do not use BP_SYM in weak_alias.
23886         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23887         (fegetenv): Do not use BP_SYM in versioned symbols.
23888         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23889         (fesetenv): Do not use BP_SYM in versioned symbols.
23890         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23891         (feupdateenv): Do not use BP_SYM in versioned symbols.
23892         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23893         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23894         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23895         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23896         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23897         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23898         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23899         <bp-sym.h>.
23900         (__libc_start_main): Do not use BP_SYM.
23902 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23905         redundant return line.
23906         (norm): Likewise.
23907         (denorm): Likewise.
23908         (dbl_mp): Likewise.
23909         (sub_magnitudes): Likewise.
23910         (__add): Likewise.
23911         (__sub): Likewise.
23912         (__mul): Likewise.
23913         (__inv): Likewise.
23914         (__dvd): Likewise.
23915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23916         (norm): Likewise.
23917         (denorm): Likewise.
23918         (dbl_mp): Likewise.
23919         (sub_magnitudes): Likewise.
23920         (__add): Likewise.
23921         (__sub): Likewise.
23922         (__mul): Likewise.
23923         (__inv): Likewise.
23924         (__dvd): Likewise.
23926         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23927         instead of __mul.
23928         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23929         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23930         (cc32): Likewise.
23932         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23933         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23934         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23935         of __mul for squares.
23936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23937         function
23938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23939         Likewise.
23940         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23941         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23943 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23945         [BZ #13550]
23946         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23947         code.
23948         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23949         prototype or function definition.  Rename ubp_* variables and
23950         parameters.  Remove argv definitions conditional on
23951         [__BOUNDED_POINTERS__].
23952         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23953         * elf/dl-runtime.c (_dl_fixup): Likewise.
23954         * include/set-hooks.h (RUN_HOOK): Likewise.
23955         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23956         definition.
23957         * string/strcpy.c (strcpy): Do not use __unbounded.
23958         * sysdeps/generic/frame.h (struct layout): Likewise.
23959         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23960         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23961         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23962         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23963         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23964         (__backtrace): Likewise.
23965         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23966         use __ptrvalue.
23967         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23968         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23969         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23970         Likewise.
23971         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23972         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23973         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23974         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23975         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23976         Do not use __unbounded.
23977         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23978         Rename __unboundedrlimits parameter to rlimits in prototype.
23979         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23980         Do not use __unbounded.
23981         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23982         not use __ptrvalue.
23983         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23984         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23985         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23986         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23987         __ptrvalue or __unbounded.
23988         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23989         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23990         use __unbounded.
23991         (__new_msgctl): Do not use __ptrvalue.
23992         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23993         __unbounded.
23994         (__libc_msgrcv): Do not use __ptrvalue.
23995         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23996         startup_info): Do not use __unbounded.
23997         (__libc_start_main): Likewise.  Rename ubp_* variables and
23998         parameters.  Remove argv definitions conditional on
23999         [__BOUNDED_POINTERS__].
24000         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24001         __ptrvalue.
24002         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24003         use __unbounded.
24004         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24005         or __ptrvalue.
24006         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24007         use __unbounded.
24008         (__new_shmctl): Do not use __ptrvalue.
24009         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24010         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24011         Likewise.
24012         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24013         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24014         (__libc_sigaction): Likewise.
24015         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24016         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24017         Likewise.
24018         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24020 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24022         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24024         * string/mempcpy.c: Implement by calling memcpy.
24026 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24031         evaluation.
24033         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24034         values in the mantissa.
24036         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24037         minimize writes to Z.
24038         (sub_magnitudes): Simplify code a bit.
24040 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24042         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24043         from the message.  The linker prefixes all warnings with that already.
24045 2013-02-12  Andreas Schwab  <schwab@suse.de>
24047         [BZ #15078]
24048         * posix/regexec.c (extend_buffers): Add parameter min_len.
24049         (check_matching): Pass minimum needed length.
24050         (clean_state_log_if_needed): Likewise.
24051         (get_subexp): Likewise.
24052         * posix/Makefile (tests): Add bug-regex34.
24053         (bug-regex34-ENV): Define.
24054         * posix/bug-regex34.c: New file.
24056         [BZ #11561]
24057         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24058         elements compare against the byte sequence of it, not its name.
24059         * posix/Makefile (tests): Add bug-regex35.
24060         (bug-regex35-ENV): Define.
24061         * posix/bug-regex35.c: New file.
24063 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24065         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24066         comment.
24067         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24068         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24069         (CHECK_EOL): Add undef.
24071 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24073         * bits/stdlib-bsearch.h: New file.
24074         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24075         * stdlib/stdlib.h: Likewise.
24077 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24079         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24080         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24081         declaration.
24082         * manual/search.texi (Array Search Function): Add missing const in
24083         lfind prototype.
24084         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24085         declaration to use rlim_t.
24086         (Basic Scheduling Functions): Remove erroneous const from
24087         sched_getparam prototype.  Remove erroneous * from
24088         sched_get_priority_max and sched_get_priority_min prototypes.
24089         (Resource Usage): Fix summary @comment on vtimes to refer to
24090         sys/vtimes.h rather than vtimes.h.
24091         Add missing *s in vtimes prototype.
24092         (Limits on Resources): Fix ulimit prototype to return long int.
24093         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24094         prototypes to use long int rather than double.
24095         (BSD Random): Fix initstate and setstate to use char *, not void *.
24096         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24097         prototype to make second argument 'struct aiocb64 *const[]'.
24098         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24099         (Status of AIO Operations): Remove erroneous const in aio_return and
24100         aio_return64 prototypes.
24101         (Synchronizing I/O): Fix sync prototype to return void.
24102         * manual/startup.texi (Suboptions): Remove an erroneous const in
24103         getsubopt prototype.
24104         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24105         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24106         use size_t rather than int.
24107         (Scanning All Users): Likewise for getpwent_r.
24108         (Setting Groups): Add missing const to setgroups prototype.
24109         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24110         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24111         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24112         'const void *' rather than 'const char *'.
24113         (Host Address Functions): Likewise for inet_ntop.
24114         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24115         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24116         ssize_t for return value.
24117         (Sending Data): Likewise for send, sendto, sendmsg.
24118         (Socket Option Functions): Add a missing const in setsockopt prototype.
24119         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24120         use wchar_t for the argument.
24121         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24122         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24123         take no arguments.
24124         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24125         double/float/long double for second argument.
24126         Fix return types of significand, significandf, significandl.
24127         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24128         argument in fchmod prototype.
24129         (File Owner): Use uid_t and gid_t in fchown prototype.
24130         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24131         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24132         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24133         use 'const struct dirent **' as argument types to CMP function pointer
24134         argument.
24135         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24136         (File Times): Fix summary magic @comment for struct utimbuf and utime
24137         to refer to utime.h, not time.h.
24138         * manual/string.texi (Argz Functions): Add missing const in
24139         argz_extract and argz_next prototypes.
24140         (Finding Tokens in a String): Likewise for basename.
24141         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24142         (Copying and Concatenation): Fix typo in wmemmove prototype.
24143         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24144         (Signal Stack): Remove erroneous const in sigstack prototype.
24145         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24146         prototype.
24147         (Simple Calendar Time): Likewise for stime.
24148         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24149         prototype.
24150         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24151         say sys/sysctl.h instead.
24152         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24153         and vsyslog prototypes.
24155 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24157         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24158         Remove.
24160 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24162         * misc/sys/mman.h: Fix typo in mremap comment.
24164 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24166         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24167         the '\0' terminator.
24169 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24171         [BZ #13550]
24172         * debug/segfault.c: Don't include <bp-checks.h>.
24173         * sysdeps/generic/bp-checks.h: Remove file.
24174         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24175         (__GETDENTS): Don't use CHECK_N.
24176         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24177         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24178         (__getgroups): Don't use CHECK_N.
24179         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24180         (setgroups): Don't use CHECK_N.
24181         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24182         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24183         (__libc_msgrcv): Don't use CHECK_N.
24184         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24185         (__libc_msgsnd): Don't use CHECK_N.
24186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24187         <bp-checks.h>.
24188         (__libc_pread): Don't use CHECK_N.
24189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24190         include <bp-checks.h>.
24191         (__libc_pread64): Don't use CHECK_N.
24192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24193         include <bp-checks.h>.
24194         (__libc_pwrite): Don't use CHECK_N.
24195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24196         include <bp-checks.h>.
24197         (__libc_pwrite64): Don't use CHECK_N.
24198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24199         <bp-checks.h>.
24200         (__libc_pread): Don't use CHECK_N.
24201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24202         include <bp-checks.h>.
24203         (__libc_pread64): Don't use CHECK_N.
24204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24205         include <bp-checks.h>.
24206         (__libc_pwrite): Don't use CHECK_N.
24207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24208         include <bp-checks.h>.
24209         (__libc_pwrite64): Don't use CHECK_N.
24210         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24211         (do_pread): Don't use CHECK_N.
24212         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24213         (do_pread64): Don't use CHECK_N.
24214         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24215         (do_pwrite): Don't use CHECK_N.
24216         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24217         (do_pwrite64): Don't use CHECK_N.
24218         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24219         (__libc_readv): Don't use CHECK_N.
24220         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24221         (semop): Don't use CHECK_N.
24222         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24223         <bp-checks.h>.
24224         (semtimedop): Don't use CHECK_N.
24225         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24226         (__libc_pread): Don't use CHECK_N.
24227         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24228         <bp-checks.h>.
24229         (__libc_pread64): Don't use CHECK_N.
24230         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24231         <bp-checks.h>.
24232         (__libc_pwrite): Don't use CHECK_N.
24233         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24234         <bp-checks.h>.
24235         (__libc_pwrite64): Don't use CHECK_N.
24236         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24237         <bp-checks.h>.
24238         (__libc_msgrcv): Don't use CHECK_N.
24239         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24240         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24241         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24242         (__libc_writev): Don't use CHECK_N.
24244 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24246         * string/strcpy.c: Removed unused variable.
24248         * Makeconfig (+sysdep-includes): Define with := rather than =.
24249         Use an existing include/ subdir of each sysdeps dir before it.
24251 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24253         * nscd/connection.c (register_traced_file): Comment function.
24254         [HAVE_INOTIFY] (union __inev): Define.
24255         [HAVE_INOTIFY] (inotify_check_files): New function.
24256         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24257         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24258         clear_db_cache.
24259         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24261 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24263         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24264         loaded if not already and that a failure is permanent.
24266 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24268         [BZ #15006]
24269         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24270         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24272 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24274         [BZ #13550]
24275         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24276         (CHECK_1_NULL_OK): Likewise.
24277         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24278         (__fxstat): Do not use CHECK_1.
24279         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24280         <bp-checks.h>.
24281         (___fxstat64): Do not use CHECK_1.
24282         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24283         <bp-checks.h>.
24284         (__fxstatat): Do not use CHECK_1.
24285         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24286         <bp-checks.h>.
24287         (__fxstatat64): Do not use CHECK_1.
24288         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24289         <bp-checks.h>.
24290         (__fxstat): Do not use CHECK_1.
24291         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24292         <bp-checks.h>.
24293         (__fxstatat): Do not use CHECK_1.
24294         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24295         <bp-checks.h>.
24296         (__getresgid): Do not use CHECK_1.
24297         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24298         <bp-checks.h>.
24299         (__getresuid): Do not use CHECK_1.
24300         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24301         <bp-checks.h>.
24302         (__lxstat): Do not use CHECK_1.
24303         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24304         <bp-checks.h>.
24305         (__old_msgctl): Do not use CHECK_1.
24306         (__new_msgctl): Likewise.
24307         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24308         <bp-checks.h>.
24309         (__new_setrlimit): Do not use CHECK_1.
24310         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24311         <bp-checks.h>.
24312         (__old_shmctl): Do not use CHECK_1.
24313         (__new_shmctl): Likewise.
24314         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24315         <bp-checks.h>.
24316         (__xstat): Do not use CHECK_1.
24317         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24318         (__lxstat): Do not use CHECK_1.
24319         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24320         <bp-checks.h>.
24321         (___lxstat64): Do not use CHECK_1.
24322         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24323         (__old_msgctl): Do not use CHECK_1.
24324         (__new_msgctl): Likewise.
24325         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24326         <bp-checks.h>.
24327         (__gettimeofday): Do not use CHECK_1.
24328         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24329         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24330         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24331         <bp-checks.h>.
24332         (__gettimeofday): Do not use CHECK_1.
24333         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24334         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24335         (__new_shmctl): Do not use CHECK_1.
24336         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24337         <bp-checks.h>.
24338         (do_sigtimedwait): Do not use CHECK_1.
24339         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24340         <bp-checks.h>.
24341         (do_sigwaitinfo): Do not use CHECK_1.
24342         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24343         <bp-checks.h>.
24344         (msgctl): Do not use CHECK_1.
24345         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24346         <bp-checks.h>.
24347         (shmctl): Do not use CHECK_1.
24348         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24349         (ustat): Do not use CHECK_1.
24350         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24351         <bp-checks.h>.
24352         (__fxstat): Do not use CHECK_1.
24353         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24354         <bp-checks.h>.
24355         (__fxstatat): Do not use CHECK_1.
24356         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24357         <bp-checks.h>.
24358         (__lxstat): Do not use CHECK_1.
24359         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24360         <bp-checks.h>.
24361         (__xstat): Do not use CHECK_1.
24362         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24363         (__xstat): Do not use CHECK_1.
24364         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24365         (___xstat64): Do not use CHECK_1.
24367         [BZ #13550]
24368         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24369         definitions.
24370         (CHECK_BOUNDS_HIGH): Likewise.
24371         * string/strcpy.c: Do not include <bp-checks.h>.
24372         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24374 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24376         * nscd/nscd-client.h (__nscd_drop_map_ref):
24377         Add __attribute__ ((unused)).
24378         * nis/nss-nisplus.h (niserr2nss): Likewise.
24380         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24381         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24383         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24384         Remove inline keyword.
24385         * include/rounding-mode.h (round_away): Likewise.
24386         * libio/wfileops.c (adjust_wide_data): Likewise.
24387         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24388         (__m128i_strloadu_tolower): Likewise.
24389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24390         (__m128i_strloadu_tolower): Likewise.
24391         * time/mktime.c (ydhms_diff): Likewise.
24392         * locale/elem-hash.h (elem_hash): Likewise.
24393         * locale/setlocale.c (setdata): Likewise.
24394         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24395         (re_string_wchar_at): Likewise.
24396         (bitset_not, bitset_merge, bitset_mask): Likewise.
24397         [!(__GNUC__ > 3)] (inline): Remove macro.
24398         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24399         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24400         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24401         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24402         * string/memcmp.c (memcmp_bytes): Likewise.
24403         * locale/programs/locarchive.c (compute_hashval): Likewise.
24404         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24405         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24406         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24407         * nss/getent.c (print_rpc, print_protocols): Likewise.
24408         (print_passwd, print_group, print_aliases): Likewise.
24409         * nis/nss-nisplus.h (niserr2nss): Likewise.
24410         * nscd/connections.c (restart_p): Likewise.
24411         Change return type to bool.
24413 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24415         * Makeconfig (all-Depend-files): Add existing
24416         $(sorted-subdirs:=/Depend) files.
24417         (all-subdirs): Remove nss.
24418         * sysdeps/unix/inet/Subdirs: Add it here instead.
24419         * hesiod/Depend: New file.
24421         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24422         instead of calling alloca.
24424         * io/lseek.c (__lseek): Rename to __libc_lseek.
24425         Define __lseek as an alias.
24427         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24429 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24431         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24432         else clause and remove check for non-standard endianness.
24434 2013-02-04  David S. Miller  <davem@davemloft.net>
24436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24438 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24440         [BZ #13550]
24441         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24442         (__ubp_memchr): Remove prototype.
24443         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24444         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24445         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24446         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24447         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24448         Remove alias.
24449         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24450         (__ubp_memchr): Likewise.
24451         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24452         (__ubp_memchr): Likewise.
24453         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24454         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24455         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24456         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24457         CHECK_STRING.
24458         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24459         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24460         (__getcwd): Do not use CHECK_STRING.
24461         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24462         <bp-checks.h>.
24463         (__real_chown): Do not use CHECK_STRING.
24464         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24465         <bp-checks.h>.
24466         (fchownat): Do not use CHECK_STRING.
24467         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24468         CHECK_STRING.
24469         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24470         <bp-checks.h>.
24471         (__lchown): Do not use CHECK_STRING.
24472         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24473         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24474         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24475         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24477         include <bp-checks.h>.
24478         (truncate64): Do not use CHECK_STRING.
24479         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24480         <bp-checks.h>.
24481         (__real_chown): Do not use CHECK_STRING.
24482         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24483         <bp-checks.h>.
24484         (__lchown): Do not use CHECK_STRING.
24485         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24486         <bp-checks.h>.
24487         (__chown): Do not use CHECK_STRING.
24488         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24489         <bp-checks.h>.
24490         (truncate64): Do not use CHECK_STRING.
24491         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24492         Likewise.
24493         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24494         (__xmknod): Do not use CHECK_STRING.
24495         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24496         <bp-checks.h>.
24497         (__xmknodat): Do not use CHECK_STRING.
24498         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24499         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24501 2013-02-04  Andreas Schwab  <schwab@suse.de>
24503         [BZ #14142]
24504         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24505         * include/netdb.h: Likewise for h_errno.
24506         * elf/tst-stackguard1.c: Include <tls.h>.
24508 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24510         * elf/link.h (struct link_map): Extend the l_addr comment.
24511         * include/link.h (struct link_map): Likewise.
24513 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24515         [BZ #13550]
24516         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24517         (BOUNDED_1): Remove macro.
24518         * debug/backtrace.c: Don't include <bp-checks.h>.
24519         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24520         (__backtrace): Likewise.
24521         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24522         <bp-checks.h>.
24523         (__backtrace): Don't use BOUNDED_1.
24524         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24525         <bp-checks.h>.
24526         (__backtrace): Don't use BOUNDED_1.
24527         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24528         (__backtrace): Don't use BOUNDED_1.
24529         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24530         (shmat): Don't use BOUNDED_N.
24532 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24534         [BZ #13550]
24535         * sysdeps/generic/bp-start.h: Remove file.
24536         * csu/libc-start.c: Don't include <bp-start.h>.
24537         (LIBC_START_MAIN): Set up __environ directly instead of using
24538         INIT_ARGV_and_ENVIRON.
24539         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24540         <bp-start.h>.
24542         [BZ #13550]
24543         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24544         definitions.
24545         (CHECK_FCNTL): Likewise.
24546         (CHECK_N_PAGES): Likewise.
24548         [BZ #13550]
24549         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24550         definitions.
24551         (CHECK_SIGSET_NULL_OK): Likewise.
24552         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24553         <bp-checks.h>.
24554         (sigpending): Don't use CHECK_SIGSET.
24555         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24556         <bp-checks.h>.
24557         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24558         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24559         <bp-checks.h>.
24560         (do_sigsuspend): Don't use CHECK_SIGSET.
24561         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24562         use CHECK_SIGSET.
24563         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24564         (do_sigwait): Don't use CHECK_SIGSET.
24565         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24566         use CHECK_SIGSET.
24567         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24568         include <bp-checks.h>.
24569         (sigpending): Don't use CHECK_SIGSET.
24570         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24571         include <bp-checks.h>.
24572         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24573         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24574         <bp-checks.h>.
24575         (sigpending): Don't use CHECK_SIGSET.
24576         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24577         <bp-checks.h>.
24578         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24580         [BZ #13550]
24581         * sysdeps/generic/bp-semctl.h: Remove file.
24582         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24583         <bp-checks.h> and <bp-semctl.h>.
24584         (__old_semctl): Don't use CHECK_SEMCTL.
24585         (__new_semctl): Likewise.
24586         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24587         and <bp-semctl.h>.
24588         (__old_semctl): Don't use CHECK_SEMCTL.
24589         (__new_semctl): Likewise.
24590         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24591         <bp-checks.h> and <bp-semctl.h>.
24592         (__old_semctl): Don't use CHECK_SEMCTL.
24593         (__new_semctl): Likewise.
24594         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24595         <bp-checks.h> and <bp-semctl.h>.
24596         (semctl): Don't use CHECK_SEMCTL.
24598         [BZ #13550]
24599         * Makerules (elide-bp-thunks): Remove variable.
24600         (elide-routines.oS): Don't use $(elide-bp-thunks).
24601         (elide-routines.os): Likewise.
24602         (elide-routines.o): Likewise.
24603         (elide-routines.op): Likewise.
24604         (elide-routines.og): Likewise.
24605         (objects): Don't use $(bp-thunks).
24606         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24607         include.
24608         (common-generated): Do not add s-proto-bp.d.
24609         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24610         (int): Likewise.
24611         (typ): Likewise.
24612         Do not generate makefile rules for bounded-pointer thunks.
24613         * sysdeps/generic/bp-thunks.h: Remove file.
24614         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24615         * sysdeps/unix/s-proto-bp.S: Likewise.
24617         [BZ #15062]
24618         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24619         parts of result separately when argument is not close to line from
24620         -i to i and one part of argument is small.
24621         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24622         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24623         * math/libm-test.inc (cacos_test): Add more tests.
24624         (casin_test): Likewise.
24625         (casinh_test): Likewise.
24626         * sysdeps/i386/fpu/libm-test-ulps: Update.
24627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24629 2013-01-31  David S. Miller  <davem@davemloft.net>
24631         * po/de.po: Update from translation team.
24633 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24635         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24637 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24639         * configure.in (_AC_PROG_CC_C89): New definition.
24640         * configure: Regenerate.
24642         * configure.in (AC_PROG_CPP): New definition.
24643         * configure: Regenerate.
24645 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24647         * debug/tst-backtrace.h: New file.
24648         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24649         (ret): Remove variable.
24650         (x): Likewise.
24651         (FAIL): Remove macro.
24652         (NO_INLINE): Likewise.
24653         (fn1): Use match function instead of strstr.
24654         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24655         (ret): Remove variable.
24656         (x): Likewise.
24657         (FAIL): Remove macro.
24658         (NO_INLINE): Likewise.
24659         (fn): Use match function instead of strstr.
24660         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24661         (ret): Remove variable.
24662         (x): Likewise.
24663         (FAIL): Remove macro.
24664         (NO_INLINE): Likewise.
24665         (handle_signal): Use match function instead of strstr.
24666         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24667         (ret): Remove variable.
24668         (x): Likewise.
24669         (FAIL): Remove macro.
24670         (NO_INLINE): Likewise.
24671         (handle_signal): Use match function instead of strstr.
24673 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24675         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24677 2013-01-23  David S. Miller  <davem@davemloft.net>
24679         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24680         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24681         argument of CAS if possible.
24682         * sysdeps/sparc/sparc64/bits/atomic.h
24683         (__arch_compare_and_exchange_val_32_acq): Likewise.
24684         (__arch_compare_and_exchange_val_64_acq): Likewise.
24686 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24688         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24689         * sysdeps/posix/ulimit.c: ... this.
24690         Include <limits.h>.
24691         * sysdeps/unix/bsd/ulimit.c: Remove file.
24693 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24695         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24696         (LDFLAGS-tst-array5): Likewise.
24698 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24700         [BZ #15036]
24701         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24702         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24703         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24704         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24706 2013-01-21  David S. Miller  <davem@davemloft.net>
24708         * sysdeps/sparc/backtrace.c: New file.
24709         * sysdeps/sparc/sparc32/backtrace.h: New file.
24710         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24711         * sysdeps/sparc/sparc64/backtrace.h: New file.
24712         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24713         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24714         -funwind-tables.
24716 2013-01-21  Andreas Schwab  <schwab@suse.de>
24718         [BZ #15020]
24719         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24720         closed its stdout.
24722 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24725         "mpa2.h".
24726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24728 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24729             Mark Mitchell  <mark@codesourcery.com>
24730             Tom de Vries  <tom@codesourcery.com>
24731             Paul Pluzhnikov  <ppluzhnikov@google.com>
24733         * debug/tst-backtrace2.c: New file.
24734         * debug/tst-backtrace3.c: Likewise.
24735         * debug/tst-backtrace4.c: Likewise.
24736         * debug/tst-backtrace5.c: Likewise.
24737         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24738         (CFLAGS-tst-backtrace3.c): Likewise.
24739         (CFLAGS-tst-backtrace4.c): Likewise.
24740         (CFLAGS-tst-backtrace5.c): Likewise.
24741         (LDFLAGS-tst-backtrace2): Likewise.
24742         (LDFLAGS-tst-backtrace3): Likewise.
24743         (LDFLAGS-tst-backtrace4): Likewise.
24744         (LDFLAGS-tst-backtrace5): Likewise.
24745         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24746         tst-backtrace4 and tst-backtrace5.
24748 2013-01-18  Anton Blanchard  <anton@samba.org>
24749             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24751         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24752         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24753         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24754         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24756         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24757         "+r" and remove output regs list as redundant.  Add explicit inline
24758         asm to specify register of return val to work around compiler codegen
24759         bug.  Remove (int) cast on return value.  Add return type parameter to
24760         use in macro so that this macro does not truncate return value for
24761         64-bit values.
24762         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24763         pass to INTERNAL_VSYSCALL_NCS.
24764         (INLINE_VSYSCALL): Add 'long int' as return type to
24765         INTERNAL_VSYSCALL_NCS macro invocation.
24766         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24767         INTERNAL_VSYSCALL_NCS macro invocation.
24768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24770 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24772         [BZ #14496]
24773         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24774         Fix application of SIMD FP exception mask.
24776         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24777         mp_no from a power of two.
24778         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24779         __mpexp_twomm1.  Use __pow_mp.
24781         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24782         multiplication.
24784 2013-01-17  David S. Miller  <davem@davemloft.net>
24786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24788 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24790         [BZ #15023]
24791         * include/complex.h: Condition contents on [!_COMPLEX_H].
24792         (__kernel_casinhf): New prototype.
24793         (__kernel_casinh): Likewise.
24794         (__kernel_casinhl): Likewise.
24795         * math/Makefile (libm_calls): Add k_casinh.
24796         * math/k_casinh.c: New file.
24797         * math/k_casinhf.c: Likewise.
24798         * math/k_casinhl.c: Likewise.
24799         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24800         finite nonzero arguments.
24801         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24802         finite nonzero arguments.
24803         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24804         finite nonzero arguments.
24805         * math/s_casinh.c: Do not include <float.h>.
24806         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24807         * math/s_casinhf.c: Do not include <float.h>.
24808         (__casinhf): Move code for finite nonzero arguments to
24809         k_casinhf.c.
24810         * math/s_casinhl.c: Do not include <float.h>.
24811         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24812         redefine.
24813         (__casinhl): Move code for finite nonzero arguments to
24814         k_casinhl.c.
24815         * math/libm-test.inc (cacos_test): Add more tests.
24816         * sysdeps/i386/fpu/libm-test-ulps: Update.
24817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24819 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24821         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24822         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24823         [!HAVE_MREMAP]: Remove [defined linux] case.
24824         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24826 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24828         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24830 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24832         * elf/elf.h (R_386_SIZE32): New relocation.
24833         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24834         R_386_SIZE32.
24835         (elf_machine_rela): Likewise.
24836         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24837         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24839 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24841         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24842         (FP_FAST_FMA): Do not define.
24843         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24844         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24845         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24846         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24847         !_SOFT_FLOAT]: Likewise.
24848         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24849         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24850         value.
24851         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24852         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24853         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24854         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24855         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24856         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24857         file.
24859 2013-01-16  Andreas Schwab  <schwab@suse.de>
24861         [BZ #14327]
24862         * include/stdlib.h (__mktemp): Add declaration.
24863         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24864         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24866 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24868         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24869         definitions.
24870         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24871         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24872         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24873         definitions here.
24874         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24875         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24876         definitions.
24877         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24878         and ONE.
24879         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24880         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24881         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24882         definitions.
24883         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24884         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24885         definitions.
24886         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24888         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24890 2013-01-15  David S. Miller  <davem@davemloft.net>
24892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24893         trunc{,f} to libm-sysdep_routes.
24894         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24896         file.
24897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24899         file.
24900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24901         file.
24902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24904         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24905         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24906         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24907         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24908         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24909         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24912         nearbyint{,f} to libm-sysdep_routes.
24913         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24915         New file.
24916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24917         file.
24918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24919         New file.
24920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24921         file.
24922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24924         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24925         file.
24926         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24927         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24928         file.
24929         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24930         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24931         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24933         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24934         libc_feholdexcept and libc_fesetenv.
24936 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24938         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24940 2013-01-14  David S. Miller  <davem@davemloft.net>
24942         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24943         (SPARC_ASM_VIS2_IFUNC): Likewise.
24944         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24946         use of 'siam' instruction.
24947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24948         Likewise.
24949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24950         Likewise.
24951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24952         Likewise.
24953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24958         file.
24959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24960         file.
24961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24962         file.
24963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24964         file.
24965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24970         new VIS2 routines.
24971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24974         Likewise.
24975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24980         routines to libm-sysdep_routines.
24981         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24984         fdim/fdimf to libm-sysdep_routines.
24985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24986         file.
24987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24989         file.
24990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24993         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24994         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24995         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24996         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24998 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25000         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25001         to optimize copies.
25003         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25008         local variable MPTWO.
25009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25010         Likewise.
25012 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25014         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25015         GLOB_NOESCAPE.
25017 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25019         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25021 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25023         * manual/pattern.texi (glob_t): Document gl_flags.
25024         (glob64_t): Likewise.
25026 2013-01-11  David S. Miller  <davem@davemloft.net>
25028         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25029         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25030         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25031         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25032         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25033         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25034         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25035         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25036         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25037         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25038         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25039         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25040         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25042         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25043         sparc V9 rather than using V8 code.
25044         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25045         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25047         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25048         Move to...
25049         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25050         Here.
25052 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25054         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25055         not in the main loop.
25056         * configure: Regenerated.
25058 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25060         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25061         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25062         to just #else.
25063         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25064         [!__GLIBC_HAVE_LONG_LONG] case.
25065         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25066         condition to just #else.
25067         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25068         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25069         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25070         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25071         unconditional.
25072         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25073         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25074         #elif condition to just #else.
25075         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25076         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25077         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25078         #elif condition to just #else.
25080 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25082         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25083         (EF_MIPS_ARCH_64): Fix value.
25084         (EF_MIPS_ARCH_32R2): New.
25085         (EF_MIPS_ARCH_64R2): New.
25087 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25089         * Makeconfig (+link-pie-before-libc): New.
25090         (+link-pie-after-libc): Likewise.
25091         (+link-pie-tests): Likewise.
25092         (+link-pie): Rewritten.
25093         (link-before-libc): Remove $(config-LDFLAGS).
25094         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25095         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25096         (config-LDFLAGS): Renamed to ...
25097         (rtld-LDFLAGS): This.
25098         (rtld-tests-LDFLAGS): New macro.
25099         (link-libc-rpath-link): Likewise.
25100         (link-libc-tests-rpath-link): Likewise.
25101         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25102         (link-libc): Prepand $(link-libc-rpath-link).
25103         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25104         (test-program-prefix): New macro.
25105         (test-via-rtld-prefix): Likewise.
25106         (test-program-cmd): Likewise.
25107         (host-test-program-cmd): Likewise.
25108         * Makefile ($(common-objpfx)testrun.sh): Replace
25109         $(run-program-prefix) with $(test-program-prefix).
25110         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25111         $(rtld-LDFLAGS).
25112         ($(common-objpfx)shlib.lds): Likewise.
25113         (build-module-helper): Likewise.
25114         ($(common-objpfx)format.lds): Likewise.
25115         * Rules (binaries-pie-tests): New.
25116         (binaries-pie-notests): Likewise.
25117         (binaries-pie): Rewritten.
25118         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25119         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25120         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25121         (make-test-out): Replace $(host-built-program-cmd) with
25122         $(host-test-program-cmd).
25123         * config.make.in (build-hardcoded-path-in-tests): New variable.
25124         * configure.in (--enable-hardcoded-path-in-tests): New configure
25125         option.
25126         (hardcoded_path_in_tests): New AC_SUBST.
25127         * configure: Regenerated.
25128         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25129         $(built-program-cmd) with $(test-program-cmd).
25130         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25131         (test_program_cmd): This.
25132         * elf/Makefile ($(objpfx)order.out): Run test with
25133         $(test-program-prefix).
25134         ($(objpfx)order2.out): Likewise.
25135         ($(objpfx)tst-initorder.out): Likewise.
25136         ($(objpfx)tst-initorder2.out): Likewise.
25137         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25138         $(test-program-cmd).
25139         ($(objpfx)tst-array1-static.out): Likewise.
25140         ($(objpfx)tst-array2.out): Likewise.
25141         ($(objpfx)tst-array3.out): Likewise.
25142         ($(objpfx)tst-array4.out): Likewise.
25143         ($(objpfx)tst-array5.out): Likewise.
25144         ($(objpfx)tst-array5-static.out): Likewise.
25145         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25146         $(test-program-cmd).
25147         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25148         $(run-program-prefix) with $(test-program-prefix).
25149         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25150         (test_program_prefix): This.
25151         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25152         $(run-program-prefix) with $(test-program-prefix).
25153         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25154         (test_program_prefix): This.
25155         * iconvdata/tst-tables.sh: Likewise.
25156         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25157         $(run-program-prefix) with $(test-program-prefix).
25158         ($(objpfx)tst-translit.out): Likewise.
25159         ($(objpfx)tst-gettext2.out): Likewise.
25160         ($(objpfx)tst-gettext4.out): Likewise.
25161         ($(objpfx)tst-gettext6.out): Likewise.
25162         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25163         (test_program_prefix): This.
25164         * intl/tst-gettext2.sh: Likewise.
25165         * intl/tst-gettext4.sh  Likewise.
25166         * intl/tst-gettext6.sh: Likewise.
25167         * intl/tst-translit.sh: Likewise.
25168         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25169         with $(test-program-cmd).
25170         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25171         $(run-program-prefix) with $(test-program-prefix).
25172         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25173         (test_program_prefix): This.
25174         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25175         $(run-program-prefix) with $(test-program-prefix).
25176         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25177         (test_program_prefix): This.
25178         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25179         * posix/Makefile ($(objpfx)globtest.out): Replace
25180         $(run-via-rtld-prefix) and $(test-wrapper) with
25181         $(test-program-prefix) and $(test-via-rtld-prefix).
25182         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25183         $(test-program-prefix).
25184         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25185         $(host-test-program-cmd).
25186         (tst-spawn-ARGS): Likewise.
25187         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25188         $(test-program-prefix).
25189         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25190         (test_via_rtld_prefix): This.
25191         (test_wrapper): Renamed to ...
25192         (test_program_prefix): This.
25193         (run_program_prefix): Replaced by test_program_prefix.
25194         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25195         (test_program_prefix): This.
25196         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25197         with $(host-test-program-cmd).
25198         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25199         $(run-program-prefix) with $(test-program-prefix).
25200         ($(objpfx)tst-printf.out): Likewise.
25201         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25202         $(test-program-cmd).
25203         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25204         (test_program_prefix): This.
25205         * stdio-common/tst-unbputc.sh: Likewise.
25206         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25207         $(run-program-prefix) with $(test-program-prefix).
25208         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25209         (test_program_prefix): This.
25210         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25211         $(built-program-cmd) with $(test-program-cmd).
25213 2013-01-11  Andreas Jaeger  <aj@suse.de>
25215         [BZ #15003]
25216         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25217         value. Sync with Linux 3.7.
25219 2013-01-10  David S. Miller  <davem@davemloft.net>
25221         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25222         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25223         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25225 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25227         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25228         never set.
25229         * configure: Regenerated.
25231 2013-01-10  David S. Miller  <davem@davemloft.net>
25233         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25234         sparc V9 rather than using V8 code.
25235         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25236         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25238 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25240         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25241         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25242         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25243         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25244         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25245         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25246         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25247         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25248         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25249         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25250         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25251         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25252         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25253         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25254         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25255         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25256         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25257         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25258         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25259         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25260         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25261         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25262         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25263         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25264         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25265         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25266         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25268 2013-01-10  David S. Miller  <davem@davemloft.net>
25270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25272 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25274         * posix/Makefile (tests-static): New variable.
25275         (tests): Add $(tests-static).
25276         (tst-exec-static-ARGS): New variable.
25277         (tst-spawn-static-ARGS): Likewise.
25278         * posix/tst-exec-static.c: New file.
25279         * posix/tst-spawn-static.c: Likewise.
25280         * posix/tst-exec.c: Support run directly.
25281         * posix/tst-spawn.c: Likewise.
25283 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25285         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25286         long.
25287         * math/bits/mathcalls.h (llrint): Likewise.
25288         (llround): Likewise.
25289         * stdlib/stdlib.h (struct drand48_data): Likewise.
25290         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25291         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25292         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25293         Likewise.
25294         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25295         Likewise.
25296         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25297         (elf_greg_t): Likewise.
25298         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25299         (__jmp_buf): Likewise.
25300         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25301         definitions.
25302         (llrint): Likewise, for all definitions.
25303         (llrintl): Likewise.
25305         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25306         Remove [__GNUC__] condition.
25307         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25308         condition to just [__USE_ISOC99].
25309         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25311 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25313         [BZ #14200]
25314         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25315         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25316         defined.
25317         (_POSIX_V6_ILP32_OFF32): Likewise.
25318         (_XBS5_ILP32_OFF32): Likewise.
25319         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25320         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25322 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25324         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25326         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25327         doubles __mpexp_twomm1.  Adjust usage.
25328         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25329         Remove.
25331 2013-01-10  Andreas Schwab  <schwab@suse.de>
25333         [BZ #14964]
25334         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25335         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25337 2013-01-09  David S. Miller  <davem@davemloft.net>
25339         [BZ #15003]
25340         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25341         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25342         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25343         (TCP_FASTOPEN): Define.
25344         (tcp_repair_opt): New structure.
25345         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25346         enum values.
25347         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25348         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25349         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25350         (tcp_cookie_transactions): New structure.
25352 2013-01-09  Anton Blanchard  <anton@samba.org>
25354         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25355         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25356         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25357         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25359 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25361         * include/features.h (__USE_ANSI): Remove.
25363 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25365         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25367         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25369 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25371         * sysdeps/s390/fpu/libm-test-ulps: Update.
25373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25375         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25376         (__acr): Likewise.
25377         (__cpy): Likewise.
25378         (norm): Likewise.
25379         (denorm): Likewise.
25380         (__mp_dbl): Likewise.
25381         (__dbl_mp): Likewise.
25382         (add_magnitudes): Likewise.
25383         (sub_magnitudes): Likewise.
25384         (__add): Likewise.
25385         (__sub): Likewise.
25386         (__mul): Likewise.
25387         (__inv): Likewise.
25388         (__dvd): Likewise.
25389         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25390         (__acr): Likewise.
25391         (__cpy): Likewise.
25392         (norm): Likewise.
25393         (denorm): Likewise.
25394         (__mp_dbl): Likewise.
25395         (__dbl_mp): Likewise.
25396         (add_magnitudes): Likewise.
25397         (sub_magnitudes): Likewise.
25398         (__add): Likewise.
25399         (__sub): Likewise.
25400         (__mul): Likewise.
25401         (__inv): Likewise.
25402         (__dvd): Likewise.
25403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25404         (__acr): Likewise.
25405         (__cpy): Likewise.
25406         (norm): Likewise.
25407         (denorm): Likewise.
25408         (__mp_dbl): Likewise.
25409         (__dbl_mp): Likewise.
25410         (add_magnitudes): Likewise.
25411         (sub_magnitudes): Likewise.
25412         (__add): Likewise.
25413         (__sub): Likewise.
25414         (__mul): Likewise.
25415         (__inv): Likewise.
25416         (__dvd): Likewise.
25418 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25420         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25421         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25422         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25423         2 && __USE_EXTERN_INLINES]: Likewise.
25425 2013-01-08  Andreas Jaeger  <aj@suse.de>
25427         [BZ# 14985]
25428         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25429         Remove.
25430         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25431         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25433 2013-01-07  Anton Blanchard  <anton@samba.org>
25435         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25436         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25437         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25438         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25439         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25440         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25441         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25442         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25444         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25445         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25446         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25447         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25448         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25449         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25450         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25451         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25452         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25453         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25454         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25455         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25456         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25457         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25458         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25459         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25460         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25461         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25462         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25463         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25464         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25465         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25467         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25468         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25469         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25470         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25471         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25472         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25473         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25474         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25475         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25476         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25477         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25479 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25481         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25482         (__MALLOC_PMT): Likewise.
25483         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25484         [__GNUC__], only on [_LIBC].
25485         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25486         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25487         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25488         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25489         forward declaration.
25490         (realloc_hook_ini): Likewise.
25491         (memalign_hook_ini): Likewise.
25492         (__libc_memalign): Do not use __MALLOC_PMT in variable
25493         declaration.
25494         (__libc_valloc): Likewise.
25495         (__libc_pvalloc): Likewise.
25496         (__libc_calloc): Likewise.
25497         (__posix_memalign): Likewise.
25499         [BZ #14996]
25500         * math/s_casinh.c: Include <float.h>.
25501         (__casinh): Do not do computation with squaring and square root
25502         for large arguments.
25503         * math/s_casinhf.c: Include <float.h>.
25504         (__casinhf): Do not do computation with squaring and square root
25505         for large arguments.
25506         * math/s_casinhl.c: Include <float.h>.
25507         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25508         (__casinhl): Do not do computation with squaring and square root
25509         for large arguments.
25510         * math/libm-test.inc (casin_test): Add more tests.
25511         (casinh_test): Likewise.
25512         * sysdeps/i386/fpu/libm-test-ulps: Update.
25513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25515 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25517         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25518         (__x86_64_raw_data_cache_size): Likewise.
25519         (__x86_64_data_cache_size_half): Likewise.
25520         (__x86_64_raw_data_cache_size_half): Likewise.
25521         (__x86_64_shared_cache_size): Likewise.
25522         (__x86_64_raw_shared_cache_size): Likewise.
25523         (__x86_64_shared_cache_size_half): Likewise.
25524         (__x86_64_raw_shared_cache_size_half): Likewise.
25525         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25526         to ...
25527         (__x86_data_cache_size): This.
25528         (__x86_64_raw_data_cache_size): Renamed to ...
25529         (__x86_raw_data_cache_size): This.
25530         (__x86_64_data_cache_size_half): Renamed to ...
25531         (__x86_data_cache_size_half): This.
25532         (__x86_64_raw_data_cache_size_half): Renamed to ...
25533         (__x86_raw_data_cache_size_half): This.
25534         (__x86_64_shared_cache_size): Renamed to ...
25535         (__x86_shared_cache_size): This.
25536         (__x86_64_raw_shared_cache_size): Renamed to ...
25537         (__x86_raw_shared_cache_size): This.
25538         (__x86_64_shared_cache_size_half): Renamed to ...
25539         (__x86_shared_cache_size_half): This.
25540         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25541         (__x86_raw_shared_cache_size_half): This.
25542         * sysdeps/x86_64/memcpy.S: Updated.
25543         * sysdeps/x86_64/memset.S: Likewise.
25544         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25545         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25546         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25548 2013-01-04  David S. Miller  <davem@davemloft.net>
25550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25552 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25554         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25555         1 to avoid redefinition warning.
25556         (__USE_GNU): Don't define.
25557         (init_signaling_nan): Protoize.
25559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25561 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25563         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25565         (__cpymn): Likewise.
25566         (norm): Remove commented code.
25567         (denorm): Likewise.
25568         (__mp_dbl): Likewise.
25569         (__inv): Likewise.
25570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25571         (__cpymn): Likewise.
25572         (norm): Remove commented code.
25573         (denorm): Likewise.
25574         (__mp_dbl): Likewise.
25575         (__inv): Likewise.
25577         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25578         mp_no value for 1.0 and 2.0.
25579         (norm): Use RADIXI instead of radixi.d.
25580         (denorm): Likewise.
25581         (__mul): Use 0.0 instead of zero.d.
25582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25583         mp_no value for 1.0 and 2.0.
25584         (norm): Use RADIXI instead of radixi.d.
25585         (denorm): Likewise.
25586         (__mul): Use 0.0 instead of zero.d.
25588 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25590         [BZ #14994]
25591         * math/s_casinh.c (__casinh): Reduce finite argument to first
25592         quadrant then set signs of results at the end.
25593         * math/s_casinhf.c (__casinhf): Likewise.
25594         * math/s_casinhl.c (__casinhl): Likewise.
25595         * math/libm-test.inc (casin_test): Add more tests.
25596         (casinh_test): Likewise.
25597         * sysdeps/i386/fpu/libm-test-ulps: Update.
25598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25600 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25602         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25604         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25606         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25607         declarations.
25608         (denorm): Likewise.
25609         (__mp_dbl): Likewise.
25610         (__inv): Likewise.
25612         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25613         and adjust the header comment.
25615         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25616         variable name from declaration.
25618 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25621         Initialize COMMON_CPUID_INDEX_7 element.
25622         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25623         (CPUID_RTM): Likewise.
25624         (HAS_RTM): Likewise.
25625         (COMMON_CPUID_INDEX_7): New enum.
25627 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25629         [BZ #14981]
25630         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25631         size is zero, record memory as freed.
25633 2013-01-03  Andreas Jaeger  <aj@suse.de>
25635         * po/ia.po: Add new Interlingua translation.
25637 2012-01-03  Allan McRae  <allan@archlinux.org>
25639         * locale/programs/localedef.c: Fix description of '--posix' flag.
25641 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25643         * NEWS: Update dates in second copyright notice.
25644         * README: Update copyright dates in example.
25645         * manual/libc.texinfo: Update copyright dates.
25646         * scripts/test-installation.pl: Update copyright date in --version
25647         output.
25649         * hurd/ctty-input.c: Fix copyright notice formatting.
25650         * hurd/ctty-output.c: Likewise.
25651         * hurd/dtable.c: Likewise.
25652         * hurd/hurd-raise.c: Likewise.
25653         * hurd/hurdprio.c: Likewise.
25654         * hurd/msgportdemux.c: Likewise.
25655         * misc/sys/file.h: Likewise.
25656         * misc/sys/ioctl.h: Likewise.
25657         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25658         * sysdeps/mach/hurd/chdir.c: Likewise.
25659         * sysdeps/mach/hurd/fchdir.c: Likewise.
25660         * sysdeps/mach/hurd/rename.c: Likewise.
25661         * sysdeps/mach/hurd/rmdir.c: Likewise.
25662         * sysdeps/mach/hurd/seekdir.c: Likewise.
25663         * sysdeps/mach/hurd/setsid.c: Likewise.
25664         * sysdeps/posix/wait3.c: Likewise.
25666         * All files with FSF copyright notices: Update copyright dates
25667         using scripts/update-copyrights.
25668         * intl/plural.c: Regenerated.
25669         * locale/programs/charmap-kw.h: Likewise.
25670         * locale/programs/locfile-kw.h: Likewise.
25672 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25674         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25675         four values.
25677         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25678         calculation loop and add branch prediction.
25680         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25681         check access beyond bounds of m1np.
25683         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25684         MPTWO.
25685         (__inv): Remove local variable MPTWO to use the global
25686         constant.
25687         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25688         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25689         variable MPTWO.
25690         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25691         MP3HALFS static const.
25693 2013-01-01  David S. Miller  <davem@davemloft.net>
25695         * po/ca.po: Update from translation team.
25697 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25699         * scripts/update-copyrights: New file.
25700         * Makeconfig: Reformat copyright notice.
25701         * ctype/ctype.h: Likewise.
25702         * debug/swprintf_chk.c: Likewise.
25703         * elf/dl-cache.c: Likewise.
25704         * elf/dl-debug.c: Likewise.
25705         * elf/dl-object.c: Likewise.
25706         * grp/initgroups.c: Likewise.
25707         * hurd/Makefile: Likewise.
25708         * hurd/hurd/signal.h: Likewise.
25709         * hurd/hurdfault.c: Likewise.
25710         * hurd/hurdioctl.c: Likewise.
25711         * hurd/hurdlookup.c: Likewise.
25712         * hurd/intr-msg.c: Likewise.
25713         * iconv/gconv_open.c: Likewise.
25714         * libio/swprintf.c: Likewise.
25715         * locale/lc-ctype.c: Likewise.
25716         * locale/nl_langinfo.c: Likewise.
25717         * mach/Machrules: Likewise.
25718         * mach/Makefile: Likewise.
25719         * malloc/obstack.h: Likewise.
25720         * manual/Makefile: Likewise.
25721         * manual/tsort.awk: Likewise.
25722         * misc/bits/stab.def: Likewise.
25723         * nis/nis_print_group_entry.c: Likewise.
25724         * nis/nis_table.c: Likewise.
25725         * nis/nss_compat/compat-pwd.c: Likewise.
25726         * nis/nss_compat/compat-spwd.c: Likewise.
25727         * po/Makefile: Likewise.
25728         * posix/fnmatch.c: Likewise.
25729         * posix/regex.h: Likewise.
25730         * resolv/Makefile: Likewise.
25731         * resolv/nss_dns/dns-network.c: Likewise.
25732         * resolv/res_hconf.c: Likewise.
25733         * scripts/gen-sorted.awk: Likewise.
25734         * soft-fp/soft-fp.h: Likewise.
25735         * stdio-common/printf.h: Likewise.
25736         * stdlib/monetary.h: Likewise.
25737         * stdlib/random.c: Likewise.
25738         * stdlib/random_r.c: Likewise.
25739         * sysdeps/generic/Makefile: Likewise.
25740         * sysdeps/gnu/Makefile: Likewise.
25741         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25743         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25744         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25745         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25746         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25747         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25748         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25749         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25750         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25751         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25752         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25753         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25754         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25755         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25756         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25757         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25758         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25759         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25760         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25761         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25762         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25763         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25764         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25765         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25766         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25767         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25768         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25769         * sysdeps/mach/hurd/errnos.awk: Likewise.
25770         * sysdeps/mach/hurd/fork.c: Likewise.
25771         * sysdeps/mach/hurd/getcwd.c: Likewise.
25772         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25773         * sysdeps/mach/hurd/mmap.c: Likewise.
25774         * sysdeps/mach/hurd/utimes.c: Likewise.
25775         * sysdeps/mach/hurd/xmknod.c: Likewise.
25776         * sysdeps/posix/profil.c: Likewise.
25777         * sysdeps/posix/readdir_r.c: Likewise.
25778         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25779         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25780         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25781         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25783         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25784         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25785         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25787         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25788         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25789         * sysdeps/pthread/lio_listio.c: Likewise.
25790         * sysdeps/sparc/dl-procinfo.h: Likewise.
25791         * sysdeps/unix/i386/sysdep.S: Likewise.
25792         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25793         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25794         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25795         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25797         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25798         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25799         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25800         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25801         * sysdeps/wordsize-32/divdi3.c: Likewise.
25802         * time/sys/time.h: Likewise.
25803         * wcsmbs/Makefile: Likewise.
25805 2013-01-01  David S. Miller  <davem@davemloft.net>
25807         * po/fr.po: Update from translation team.
25809         * catgets/gencat.c: Update copyright year.
25810         * csu/version.c: Likewise.
25811         * debug/catchsegv.sh: Likewise.
25812         * debug/pcprofiledump.c: Likewise.
25813         * debug/xtrace.sh: Likewise.
25814         * elf/ldconfig.c: Likewise.
25815         * elf/ldd.bash.in: Likewise.
25816         * elf/pldd.c: Likewise.
25817         * elf/sotruss.ksh: Likewise.
25818         * elf/sprof.c: Likewise.
25819         * iconv/iconv_prog.c: Likewise.
25820         * iconv/iconvconfig.c: Likewise.
25821         * locale/programs/locale.c: Likewise.
25822         * locale/programs/localedef.c: Likewise.
25823         * login/programs/pt_chown.c: Likewise.
25824         * malloc/memusage.sh: Likewise.
25825         * malloc/memusagestat.c: Likewise.
25826         * malloc/mtrace.pl: Likewise.
25827         * nscd/nscd.c: Likewise.
25828         * nss/getent.c: Likewise.
25829         * nss/makedb.c: Likewise.
25830         * posix/getconf.c: Likewise.
25832 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25834         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25835         numbers.
25837 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25839         * math/bits/mathcalls.h (modf): Use __nonnull.
25841 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25843         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25844         (split): Use macro CN instead of the bare value.
25845         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25846         could be used.
25847         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25848         instead of the bare value.
25849         (power1): Likewise.
25851 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25853         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25854         __ATAN_TWOM.
25855         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25857         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25858         their values.
25859         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25860         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25861         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25862         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25864 2012-12-28  Andreas Jaeger  <aj@suse.de>
25866         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25867         values are from Linux 3.7.
25869         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25870         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25872 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25874         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25875         TRUE case.
25877         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25878         (norm): Likewise.
25879         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25880         variables with preprocessor constants.
25881         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25882         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25883         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25885 2012-12-27  Bruno Haible  <bruno@clisp.org>
25887         [BZ #14317]
25888         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25889         only if needed.
25891 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25893         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25894         and use variable directly.
25895         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25897         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25898         MPONE.
25899         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25900         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25901         variable MPONE.
25902         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25904         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25905         include directive.  Remove local variable MPONE.
25906         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25907         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25908         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25910 2012-12-25  David S. Miller  <davem@davemloft.net>
25912         * version.h (RELEASE): Set to "development".
25913         (VERSION): Set to "2.17.90".
25914         * NEWS: Add 2.18 section.
25916 2012-12-21  David S. Miller  <davem@davemloft.net>
25918         * po/hr.po: Update from translation team.
25920 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25922         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25924 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25926         * NEWS:  Mention new memcpy for MIPS.
25928 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25930         * manual/contrib.texi (Contributors): Spelling correction.
25932 2012-12-15  David S. Miller  <davem@davemloft.net>
25934         * po/ru.po: Update from translation team.
25936 2012-12-13  David S. Miller  <davem@davemloft.net>
25938         * NEWS: Mention IFUNC testsuite enhancements.
25940         * po/pl.po: Update from translation team.
25941         * po/bg.po: Likewise.
25943         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25944         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25946 2012-12-11  David S. Miller  <davem@davemloft.net>
25948         * po/sv.po: Update from translation team.
25950         * po/vi.po: Update from translation team.
25952         * po/cs.po: Update from translation team.
25954         * po/de.po: Update from translation team.
25955         * po/eo.po: Likewise.
25956         * po/nl.po: Likewise.
25958 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25960         [BZ #14246]
25961         * manual/argp.texi (Argp Helper Functions): Move node to follow
25962         Argp Parsing State.
25964         [BZ #14872]
25965         * manual/conf.texi (Limits on File System Capacity): Mention if
25966         terminating null is included in the max size.
25968 2012-12-10  Andreas Jaeger  <aj@suse.de>
25970         * po/cs.po: Update from translation team.
25972 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25974         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25975         void pointer and cast to uintptr_t.
25976         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25977         path.
25978         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25979         * sysdeps/s390/s390-64/memset.S: Likewise.
25981 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25983         [BZ #14833]
25984         * menual/message.texi (Message Translation): Fix typos.
25985         (Helper programs for gettext): Likewise.
25987 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25989         [BZ #14898]
25990         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25991         Change to -1.
25993 2012-12-07  David S. Miller  <davem@davemloft.net>
25995         * po/libc.pot: Update.
25997 2012-12-07  Richard Henderson  <rth@redhat.com>
25999         [BZ #10114]
26000         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26001         normal/normal case to before the switch.
26002         (_FP_DIV): Likewise.
26004 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26005             Mike Frysinger  <vapier@gentoo.org>
26007         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26008         check for __NR_fadvise64_64.
26010 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26012         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26013         0, not just to plain "0" as a statement.
26014         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26015         with cw.
26017 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26019         * NEWS: Use sourceware.org in Bugzilla URL.
26021 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26024         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26026         * stdio-common/tst-put-error.c (do_test): Add newline to the
26027         padded test to ensure flush.
26029 2012-12-05  Jeff Law  <law@redhat.com>
26031         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26033 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26035         * README: Don't refer to ports add-on as distributed separately.
26036         Mention AArch64 in list of systems supported in the ports add-on.
26038         * LICENSES: Add more non-FSF copyright and license notices.
26040         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26041         ((unused)).
26043         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26045         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26046         10000 as width of padded output.
26048 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26050         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26053         variable LX with __attribute__ ((unused)).
26054         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26055         Likewise.
26056         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26057         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26058         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26059         with __attribute__ ((unused)).
26061 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26063         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26065 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26067         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26068         (CFLAGS-nldbl-acos.c): New variable.
26069         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26070         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26071         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26072         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26073         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26074         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26075         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26076         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26077         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26078         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26079         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26080         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26081         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26082         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26083         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26084         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26085         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26086         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26087         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26088         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26089         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26090         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26091         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26092         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26093         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26094         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26095         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26096         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26097         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26098         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26099         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26100         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26101         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26102         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26103         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26104         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26105         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26106         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26107         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26108         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26109         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26110         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26111         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26112         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26113         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26114         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26115         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26116         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26117         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26118         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26119         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26120         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26121         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26122         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26123         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26124         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26125         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26126         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26127         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26128         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26129         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26130         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26131         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26132         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26133         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26134         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26135         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26136         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26137         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26138         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26139         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26140         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26141         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26142         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26143         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26144         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26145         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26146         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26147         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26148         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26149         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26150         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26151         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26152         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26153         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26154         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26155         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26156         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26157         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26158         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26159         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26160         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26161         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26162         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26163         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26164         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26165         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26168         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26170         [BZ #14914]
26171         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26172         whole low double instead of just low 47 bits when splitting values
26173         into two parts.
26175 2012-12-03  Allan McRae  <allan@archlinux.org>
26177         * manual/stdio.texi (Predefined Printf Handlers): Remove
26178         @hsep and @vsep usage.
26180 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26182         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26183         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26185 2012-12-03  Jeff Law  <law@redhat.com>
26187         * time/sys/time.h (settimeofday): Do not mark TV argument
26188         as __nonnull.
26190 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26192         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26193         when currently writing and seek to current position when not.
26194         * libio/Makefile (tests): Remove bug-fclose1.
26195         * libio/bug-fclose1.c: Delete.
26197 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26199         * manual/arith.texi (feenableexcept): Fix typo.
26200         (fedisableexcept): Likewise.
26202 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26204         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26205         second, differently-typed declaration, rather than a cast.
26207 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26209         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26210         * include/rpc/svc.h: ... here.
26212 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26214         [BZ #13013]
26215         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26216         depending n and resplen2 to catch cases where answer
26217         equals answerp2.
26219 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26221         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26222         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26224 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26226         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26228 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26230         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26232 2012-11-28  Jeff Law  <law@redhat.com>
26234         [BZ #13761]
26235         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26236         dataset_temporary.  Track alloca usage into alloca_used.
26237         If dataset is large allocate and release it via malloc/free.
26239 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26241         [BZ #14197]
26242         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26244 2012-11-28  David S. Miller  <davem@davemloft.net>
26246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26248 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26250         [BZ #14803]
26251         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26252         of pi/2 rounded to nearest to 64 bits.
26253         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26254         nearest to 64 bits.
26255         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26256         bits.
26258 2012-11-28  Jeff Law <law@redhat.com>
26259             Martin Osvald <mosvald@redhat.com>
26261         [BZ #14889]
26262         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26263         * sunrpc/svc.c: Include time.h.
26264         (__svc_accept_failed): New function.
26265         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26266         any reason other than EINTR, call __svc_accept_failed.
26267         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26268         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26270 2012-11-28  Andreas Schwab  <schwab@suse.de>
26272         * scripts/abilist.awk: Also handle indirect functions in .opd
26273         section.
26275 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26277         [BZ #13881]
26278         * sysdeps/x86/fpu/powl_helper.c: New file.
26279         * sysdeps/x86/fpu/Makefile: Likewise.
26280         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26281         (p3): New object.
26282         (__ieee754_powl): Use __powl_helper for finite arguments except
26283         integer exponents below 8.
26284         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26285         (p3): New object.
26286         (__ieee754_powl): Use __powl_helper for finite arguments except
26287         integer exponents below 8.
26288         * math/libm-test.inc (pow_test): Add more tests and enable some
26289         previously disabled tests.
26290         * sysdeps/i386/fpu/libm-test-ulps: Update.
26291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26293 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26294             Carlos O'Donell  <carlos_odonell@mentor.com>
26296         * nss/makedb.c (is_prime): Assert that input is odd and greater
26297         than 4.  Note that fact in a comment too.
26298         (next_prime): Add 4 to input.
26300 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26302         [BZ #11741]
26303         * libio/Makefile (tests): Add test case tst-fwrite-error.
26304         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26305         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26306         * libio/tst-fwrite-error.c: New test case.
26308 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26310         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26311         before casting to void *.
26312         * include/libc-internal.h (__pointer_type): New macro.
26313         (__integer_if_pointer_type_sub): Likewise.
26314         (__integer_if_pointer_type): Likewise.
26315         (cast_to_integer): Likewise.
26316         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26317         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26318         before casting to atomic64_t.
26319         (atomic_exchange_acq): Likewise.
26320         (__arch_exchange_and_add_body): Likewise.
26321         (__arch_add_body): Likewise.
26322         (atomic_add_negative): Likewise.
26323         (atomic_add_zero): Likewise.
26325 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26327         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26328         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26329         (add_fdes): Likewise.
26330         (linear_search_fdes): Likewise.
26331         (binary_search_unencoded_fdes): Likewise.
26333 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26335         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26337 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26339         * configure.in: Autodetect C++ header directories.
26340         * configure: Regenerated.
26342 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26344         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26346 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26350 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26352         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26353         LDBL_MANT_DIG == 106]: Disable some tests.
26354         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26355         Likewise.
26356         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26357         Likewise.
26359         [BZ #14871]
26360         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26361         input for small inputs.  Return +/- pi/2 for large inputs.
26362         * math/libm-test.inc (atan_test): Add more tests.
26364         * sysdeps/generic/unwind-dw2-fde-glibc.c
26365         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26366         __attribute__ ((unused)).
26368         [BZ #14645]
26369         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26370         x * y if x and y are nonzero and z is zero.
26372         [BZ #14811]
26373         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26374         nonzero exponents with absolute value below 0x1p-117 to +/-
26375         0x1p-117.
26377         [BZ #14869]
26378         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26379         up arguments below 2**-450, not just those below 2**-500.
26380         * math/libm-test.inc (hypot_test): Add another test.
26382         [BZ #14868]
26383         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26384         Return a+b for ratio over 2**120, not 2**60.
26385         * math/libm-test.inc (hypot_test): Add another test.
26387         * math/libm-test.inc (clog_test): Use
26388         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26389         (clog10_test): Likewise.
26391         [BZ #6778]
26392         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26394 2012-11-22  Andreas Schwab  <schwab@suse.de>
26396         * sysdeps/i386/fpu/libm-test-ulps: Update.
26398 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26400         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26401         printf output with newline.
26403 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26405         [BZ #14865]
26406         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26407         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26408         -z nodlopen, -z initfirst and -z execstack support.
26409         * configure: Regenerated.
26411         * elf/elf.h (DF_1_NODIRECT): New macro.
26412         (DF_1_IGNMULDEF): Likewise.
26413         (DF_1_NOKSYMS): Likewise.
26414         (DF_1_NOHDR): Likewise.
26415         (DF_1_EDITED): Likewise.
26416         (DF_1_NORELOC): Likewise.
26417         (DF_1_SYMINTPOSE): Likewise.
26418         (DF_1_GLOBAUDIT): Likewise.
26419         (DF_1_SINGLETON): Likewise.
26420         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26421         DT_1_SUPPORTED_MASK bits.
26422         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26424 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26426         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26428 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26430         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26431         macro.
26433         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26434         (sendmmsg): Move declarations...
26435         * socket/sys/socket.h: ... here.
26436         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26437         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26438         include it from...
26439         * socket/recvmmsg.c: ... this new file.
26440         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26441         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26442         definition of __sendmmsg hidden.
26443         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26444         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26445         Move ENOSYS stub into and include it from...
26446         * socket/sendmmsg.c: ... this new file.
26447         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26448         (sysdep_routines): Move recvmmsg and sendmmsg...
26449         * socket/Makefile (routines): ... here.
26450         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26451         (GLIBC_PRIVATE): Add __sendmmsg.
26452         * include/sys/socket.h (__sendmmsg): Add declarations.
26453         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26454         sendmmsg.
26456 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26458         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26459         variable I1 with __attribute__ ((unused)).
26460         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26462 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26464         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26465         DUMMY variables with __attribute__ ((unused)).
26467         * bits/byteswap.h: Include <bits/types.h>.
26468         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26470 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26472         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26473         string_t.  Do not manually set errno.
26474         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26475         length with __strnlen.  Make sure to both set errno and return it on
26476         failure.
26478 2012-11-19  David S. Miller  <davem@davemloft.net>
26480         With help from Joseph Myers.
26481         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26482         very large arguments properly.
26483         * math/libm-test.inc (atan_test): New tests.
26484         (atan2_test): New tests.
26485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26488 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26490         [BZ #14856]
26491         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26492         Define to 3.
26494         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26495         [POSIX] (EADDRNOTAVAIL): Likewise.
26496         [POSIX] (EAFNOSUPPORT): Likewise.
26497         [POSIX] (EALREADY): Likewise.
26498         [POSIX] (ECONNABORTED): Likewise.
26499         [POSIX] (ECONNREFUSED): Likewise.
26500         [POSIX] (ECONNRESET): Likewise.
26501         [POSIX] (EDESTADDRREQ): Likewise.
26502         [POSIX] (EDQUOT): Likewise.
26503         [POSIX] (EHOSTUNREACH): Likewise.
26504         [POSIX] (EIDRM): Likewise.
26505         [POSIX] (EISCONN): Likewise.
26506         [POSIX] (ELOOP): Likewise.
26507         [POSIX] (EMULTIHOP): Likewise.
26508         [POSIX] (ENETDOWN): Likewise.
26509         [POSIX] (ENETUNREACH): Likewise.
26510         [POSIX] (ENOBUFS): Likewise.
26511         [POSIX] (ENODATA): Likewise.
26512         [POSIX] (ENOLINK): Likewise.
26513         [POSIX] (ENOMSG): Likewise.
26514         [POSIX] (ENOPROTOOPT): Likewise.
26515         [POSIX] (ENOSR): Likewise.
26516         [POSIX] (ENOSTR): Likewise.
26517         [POSIX] (ENOTCONN): Likewise.
26518         [POSIX] (ENOTSOCK): Likewise.
26519         [POSIX] (EOPNOTSUPP): Likewise.
26520         [POSIX] (EOVERFLOW): Likewise.
26521         [POSIX] (EPROTO): Likewise.
26522         [POSIX] (EPROTONOSUPPORT): Likewise.
26523         [POSIX] (EPROTOTYPE): Likewise.
26524         [POSIX] (ESTALE): Likewise.
26525         [POSIX] (ETIME): Likewise.
26526         [POSIX] (ETXTBSY): Likewise.
26527         [POSIX] (EWOULDBLOCK): Likewise.
26528         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26529         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26530         [POSIX] (SEEK_CUR): Likewise.
26531         [POSIX] (SEEK_END): Likewise.
26532         [POSIX || UNIX98] (mode_t): Do not require.
26533         [POSIX] (off_t): Likewise.
26534         [POSIX] (pid_t): Likewise.
26535         [POSIX] (sys/stat.h): Do not allow header.
26536         [POSIX] (unistd.h): Likewise.
26537         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26538         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26539         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26540         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26541         require.
26542         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26543         sigevent): Specify elements.
26544         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26545         entry.
26546         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26547         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26549         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26550         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26551         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26552         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26553         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26554         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26555         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26556         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26557         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26558         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26559         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26560         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26561         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26562         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26563         Likewise.
26564         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26565         Likewise.
26566         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26567         Likewise.
26568         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26569         Likewise.
26570         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26571         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26572         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26573         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26574         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26575         Specify lower bound on value.
26576         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26577         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26578         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26579         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26580         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26581         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26582         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26583         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26584         value.
26585         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26586         as optional.
26587         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26588         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26589         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26590         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26591         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26592         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26593         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26594         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26595         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26596         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26597         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26598         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26599         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26600         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26601         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26602         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26603         entry.
26604         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26605         optional.
26606         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26607         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26608         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26609         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26610         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26611         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26612         Likewise.
26613         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26614         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26615         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26616         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26617         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26618         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26619         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26620         as optional.
26621         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26622         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26623         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26624         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26625         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26626         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26627         specify as optional.
26628         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26629         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26630         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26631         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26632         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26633         [XPG3] (NL_LANGMAX): Likewise.
26634         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26635         [POSIX || XPG3] (NL_NMAX): Likewise.
26636         [POSIX || XPG3] (NL_SETMAX): Likewise.
26637         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26638         [XPG3] (NZERO): Likewise.
26639         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26640         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26641         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26642         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26643         (REG_ERANGE): Expect.
26644         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26645         optional-constant.
26646         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26647         Use (void) in prototype.
26648         [POSIX] (*_t): Allow.
26649         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26650         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26651         (WRDE_BADVAL): Expect.
26653         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26654         expect.
26655         [XPG3 || XPG4] (O_RSYNC): Likewise.
26656         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26657         Likewise.
26658         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26659         [XPG3 || XPG4] (sigqueue): Likewise.
26660         [XPG3 || XPG4] (sigtimedwait): Likewise.
26661         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26662         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26663         [XPG3 || XPG4] (vsnprintf): Likewise.
26664         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26665         Likewise.
26666         [XPG3 || XPG4] (blksize_t): Likewise.
26667         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26668         Likewise.
26669         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26670         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26671         [XPG3 || XPG4] (struct itimerspec): Likewise.
26672         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26673         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26674         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26675         [XPG3 || XPG4] (clockid_t): Likewise.
26676         [XPG3 || XPG4] (timer_t): Likewise.
26677         [XPG3 || XPG4] (clock_getres): Likewise.
26678         [XPG3 || XPG4] (clock_gettime): Likewise.
26679         [XPG3 || XPG4] (clock_settime): Likewise.
26680         [XPG3 || XPG4] (nanosleep): Likewise.
26681         [XPG3 || XPG4] (timer_create): Likewise.
26682         [XPG3 || XPG4] (timer_delete): Likewise.
26683         [XPG3 || XPG4] (timer_gettime): Likewise.
26684         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26685         [XPG3 || XPG4] (timer_settime): Likewise.
26686         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26687         [XPG3 || XPG4] (getlogin_r): Likewise.
26688         [XPG3 || XPG4] (pread): Likewise.
26689         [XPG3 || XPG4] (pthread_atfork): Likewise.
26690         [XPG3 || XPG4] (pwrite): Likewise.
26692         [BZ #14835]
26693         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26694         <bits/siginfo.h>.
26696 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26698         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26699         finalizing MALLSTREAM.
26701         * sysdeps/mach/hurd/syncfs.c: New file.
26703 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26705         [BZ #14719]
26706         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26707         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26708         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26709         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26710         (_nss_dns_gethostbyname4_r): Likewise.
26711         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26712         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26714 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26716         [BZ #13763]
26717         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26719 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26721         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26722         * elf/cache.c (print_entry): Print ",AArch64" for
26723         FLAG_AARCH64_LIB64
26725         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26726         * elf/cache.c (print_entry): Print ",hard-float" for
26727         FLAG_ARM_LIBHF.
26729 2012-11-18  David S. Miller  <davem@davemloft.net>
26731         With help from Joseph Myers.
26732         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26733         cutoff to 2**-13.
26734         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26735         cutoff to 2**-25.
26736         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26737         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26738         small.
26739         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26740         * math/libm-test.inc (y0_test): New tests.
26741         (y1_test): New tests.
26742         * sysdeps/i386/fpu/libm-test-ulps: Update.
26743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26746 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26748         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26749         64-bit targets.
26750         * configure: Regenerated.
26752 2012-11-17  David S. Miller  <davem@davemloft.net>
26754         [BZ #14811]
26755         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26756         nonzero exponents with absolute value below 0x1p-128 to +/-
26757         0x1p-128.
26759 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26761         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26763         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26765         * posix/getconf-speclist.c: New file.
26766         * posix/posix-envs.def: Likewise.
26767         * posix/confstr.c (START_ENV_GROUP): New macro.
26768         (END_ENV_GROUP): Likewise.
26769         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26770         (KNOWN_PRESENT_ENV_STRING): Likewise.
26771         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26772         (UNKNOWN_ENVIRONMENT): Likewise.
26773         (confstr): Include posix-envs.def instead of handling
26774         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26775         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26776         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26777         (END_ENV_GROUP): Likewise.
26778         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26779         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26780         (UNKNOWN_ENVIRONMENT): Likewise.
26781         (__sysconf): Include posix-envs.def instead of handling associated
26782         cases directly here.
26783         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26784         preprocessing getconf-speclist.c rather than running getconf or
26785         generating empty file.
26787 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26789         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26791 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26793         [BZ #14672]
26794         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26796 2012-11-16  David S. Miller  <davem@davemloft.net>
26798         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26799         smaller than LDBL_EPSILON/2.0L, just return xm1.
26801 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26803         * elf/tst-array1.c (init): Set constructor priority to 1000.
26804         (fini): Set destructor priority to 1000.
26805         * elf/tst-array2dep.c: Likewise.
26807 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26809         [BZ #11741]
26810         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26811         (_IO_new_file_xsputn): Also return EOF if none of the input
26812         data was written when overflow failed.
26813         * libio/iopadn.c (_IO_padn): Likewise.
26814         * libio/iowpadn.c (_IO_wpadn): Likewise.
26815         * stdio-common/tst-put-error.c: Add copyright notice.
26816         (do_test): Add case for printing padded string.
26817         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26818         _IO_padn returned error.
26819         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26820         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26821         return EOF.
26823 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26825         * libio/libioP.h: Add comment note that the references to C++
26826         bits are now obsolete.
26828 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26830         * math/libm-test.inc (check_complex): Use asprintf.
26832 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26834         * debug/pcprofiledump.c (print_version): Update copyright year.
26835         * malloc/memusagestat.c (print_version): Likewise.
26837 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26839         [BZ #14831]
26840         * elf/Makefile (tests): Add tst-audit8.
26841         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26842         ($(objpfx)tst-audit8.out): New target.
26843         (tst-audit8-ENV): New variable.
26844         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26845         audit if l_reloc_result is NULL.
26846         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26847         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26848         * elf/tst-audit8.c: New file.
26850 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26852         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26853         * misc/Makefile (CFLAGS-select.c): Define.
26854         * posix/Makefile (CFLAGS-pause.c): Define.
26856 2012-11-13  David S. Miller  <davem@davemloft.net>
26858         * crypt/Makefile: Move test targets after toplevel Rules
26859         inclusion.  Grab any necessary sysdep routines when linking.
26860         * crypt/md5.c (md5_process_block): Remove define, we will always
26861         name it __md5_process_block.
26862         (md5_finish_ctx): Update md5_process_block call.
26863         (md5_stream): Likewise.
26864         (md5_process_bytes): Likewise.
26865         (md5_process_block): Rename to __md5_process_block and move to ...
26866         * crypt/md5-block.c: ... here.
26867         * crypt/sha256.c (sha256_process_block): Move to ...
26868         * crypt/sha256-block.c: ... here.
26869         * crypt/sha512.c (sha512_process_block): Move to ...
26870         * crypt/sha512-block.c: ... here.
26871         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26872         path.
26873         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26874         * sysdeps/sparc/sparc64/multiarch/Makefile
26875         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26876         crypt subdir.
26877         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26878         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26879         multiarch changes.
26880         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26881         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26882         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26883         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26884         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26885         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26886         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26887         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26888         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26889         file.
26890         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26891         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26892         file.
26893         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26895 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26897         * timezone/tzselect.ksh: Update from tzcode git revision
26898         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26899         * timezone/zdump.c: Likewise.
26900         * timezone/zic.c: Likewise.
26901         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26902         in TZVERSION setting, not $(PKGVERSION).
26903         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26904         REPORT_BUGS_TO settings.
26906         [BZ #14838]
26907         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26908         macro.
26910 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26912         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26913         detection to immediately after _FP_ROUND().
26914         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26915         bits are 0.
26917 2012-11-11  David S. Miller  <davem@davemloft.net>
26919         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26920         inttypes.h
26921         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26922         __close rather than their public counterparts.
26924 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26926         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26927         file.
26928         [UNIX98] (sem_timedwait): Do not expect.
26929         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26930         [XPG4 || UNIX98] (sockatmark): Do not expect.
26931         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26932         (clock_getcpuclockid): Do not expect.
26933         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26934         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26935         Do not expect.
26936         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26937         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26938         [UNIX98] (vwscanf): Likewise.
26939         [UNIX98] (vswscanf): Likewise.
26941 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26943         * timezone/version.h: Remove file.
26944         * timezone/README: Do not refer to version.h.
26945         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26946         $(objpfx)version.h.
26947         ($(objpfx)zdump.o): Likewise.
26948         ($(objpfx)version.h): New target.
26950         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26951         2012i.
26952         * timezone/README: Don't mention modification to tzselect.ksh.
26953         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26954         work on unmodified tzselect.ksh.  Substitute version numbers in
26955         tzselect.ksh.
26957         * Makefile (format-me): Remove.
26958         (INSTALL): Adjust indentation.  Use commands directly instead of
26959         using $(format-me).
26961         * aclocal.m4 (ACX_PKGVERSION): New macro.
26962         (ACX_BUGURL): Likewise.
26963         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26964         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26965         (REPORT_BUGS_TO): Likewise.
26966         * configure: Regenerated.
26967         * config.h.in (PKGVERSION): New macro.
26968         (REPORT_BUGS_TO): Likewise.
26969         * config.make.in (PKGVERSION): New variable.
26970         (PKGVERSION_TEXI): Likewise.
26971         (REPORT_BUGS_TO): Likewise.
26972         (REPORT_BUGS_TEXI): Likewise.
26973         * Makefile (format-me): Use -I$(common-objpfx)manual.
26974         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26975         ($(common-objpfx)manual/%): New target.
26976         (manual/%): Remove target.
26977         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26978         (print_version): Use PKGVERSION.
26979         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26980         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26981         and REPORT_BUGS_TO.
26982         ($(objpfx)xtrace): Likewise.
26983         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26984         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26985         (print_version): Use PKGVERSION.
26986         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26987         (do_version): Use PKGVERSION.
26988         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26989         REPORT_BUGS_TO.
26990         (common-ldd-rewrite): Likewise.
26991         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26992         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26993         (print_version): Use PKGVERSION.
26994         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26995         * elf/pldd.c (argp_program_bug_address): Remove variable.
26996         (more_help): New function.
26997         (argp): Use more_help.
26998         (print_version): Use PKGVERSION.
26999         * elf/sln.c (main): Use PKGVERSION.
27000         (usage): Use REPORT_BUGS_TO.
27001         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27002         (top level): Use PKGVERSION.
27003         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27004         (print_version): Use PKGVERSION.
27005         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27006         (print_version): Use PKGVERSION.
27007         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27008         (print_version): Use PKGVERSION.
27009         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27010         (print_version): Use PKGVERSION.
27011         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27012         (print_version): Use PKGVERSION.
27013         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27014         (print_version): Use PKGVERSION.
27015         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27016         and BUGURL.
27017         ($(objpfx)memusage): Likewise.
27018         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27019         (do_version): Use PKGVERSION.
27020         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27021         (print_version): Use PKGVERSION.
27022         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27023         ($PKGVERSION): New variable.
27024         ($REPORT_BUGS_TO): Likewise.
27025         (usage): Use $REPORT_BUGS_TO.
27026         (top level): Use $PKGVERSION.
27027         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27028         ($(objpfx)pkgvers.texi): New rule.
27029         ($(objpfx)stamp-pkgvers): Likewise.
27030         * manual/install.texi: Include pkgvers.texi.
27031         (--with-pkgversion): Document new configure option.
27032         (--with-bugurl): Likewise.
27033         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27034         than necessarily for this particular distribution.  Use
27035         REPORT_BUGS_TO for where to report bugs.
27036         * INSTALL: Regenerated.
27037         * manual/libc.texinfo: Include pkgvers.texi.
27038         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27039         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27040         (print_version): Use PKGVERSION.
27041         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27042         (print_version): Use PKGVERSION.
27043         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27044         (print_version): Use PKGVERSION.
27045         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27046         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27047         macro.
27048         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27049         (print_version): Use PKGVERSION.
27050         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27051         (print_version): Use PKGVERSION.
27052         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27053         and PKGVERSION.
27055         * timezone/checktab.awk: Update from tzcode 2012i.
27056         * timezone/ialloc.c: Likewise.
27057         * timezone/private.h: Likewise.
27058         * timezone/scheck.c: Likewise.
27059         * timezone/tzfile.h: Likewise.
27060         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27061         (TZVERSION): Hardcode tzcode version number.
27062         * timezone/zdump.c: Update from tzcode 2012i.
27063         * timezone/zic.c: Likewise.
27064         * timezone/version.h: New file.
27065         * timezone/README: Describe version.h.  Update upstream location.
27067         [BZ #14824]
27068         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27069         (mktemp): Enable declaration.
27070         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27072         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27074         Likewise.
27075         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27076         Likewise.
27077         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27078         Likewise.
27079         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27080         Likewise.
27081         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27082         Likewise.
27083         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27084         Likewise.
27086         [BZ #14821]
27087         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27088         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27089         for copies of such integer values.
27090         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27091         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27093 2012-11-09  Andreas Jaeger  <aj@suse.de>
27095         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27096         definitions and declarations that are provided by
27097         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27099 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27101         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27102         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27103         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27104         definition.
27106 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27108         * elf/elf.h: Update comment before AArch64 relocations.
27110 2012-11-07  David S. Miller  <davem@davemloft.net>
27112         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27113         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27114         (__start_context): Declare.
27115         (__makecontext_ret): Delete.
27116         (__makecontext): Hook up __start_context instead of
27117         __makecontext_ret.
27118         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27119         (sysdep_routines): Add __start_context when in stdlib.
27121 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27123         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27124         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27125         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27126         hardcoded "nm".
27127         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27128         (READELF): New variable.  Use it instead of hardcoded "readelf".
27130 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27132         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27133         * sysdeps/x86/Makefile: Here.
27134         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27135         * sysdeps/x86/tst-xmmymm.sh: This.
27137 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27139         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27140         expectations.
27141         [UNIX98] (pthread_barrier_t): Do not expect.
27142         [UNIX98] (pthread_barrierattr_t): Likewise.
27143         [UNIX98] (pthread_spinlock_t): Likewise.
27144         [UNIX98] (pthread_barrier_destroy): Likewise.
27145         [UNIX98] (pthread_barrier_init): Likewise.
27146         [UNIX98] (pthread_barrier_wait): Likewise.
27147         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27148         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27149         [UNIX98] (pthread_barrierattr_init): Likewise.
27150         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27151         [UNIX98] (pthread_getcpuclockid): Likewise.
27152         [UNIX98] (pthread_mutex_timedlock): Likewise.
27153         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27154         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27155         [UNIX98] (pthread_sigmask): Likewise.
27156         [UNIX98] (pthread_spin_destroy): Likewise.
27157         [UNIX98] (pthread_spin_init): Likewise.
27158         [UNIX98] (pthread_spin_lock): Likewise.
27159         [UNIX98] (pthread_spin_trylock): Likewise.
27160         [UNIX98] (pthread_spin_unlock): Likewise.
27161         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27162         Do not expect.
27163         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27164         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27165         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27166         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27167         [XPG3 || XPG4] (pthread_key_t): Likewise.
27168         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27169         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27170         [XPG3 || XPG4] (pthread_once_t): Likewise.
27171         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27172         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27173         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27174         [XPG3 || XPG4] (pthread_t): Likewise.
27176         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27177         not expect.
27178         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27180         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27181         Change function return type to int.
27183         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27184         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27185         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27186         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27187         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27188         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27189         [!POSIX] (posix_madvise): Likewise.
27190         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27191         && !UNIX98].
27192         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27193         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27194         (mode_t): Likewise.
27195         (posix_mem_offset): Likewise.
27196         (posix_typed_mem_get_info): Likewise.
27197         (posix_typed_mem_open): Likewise.
27199         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27200         Change condition to [XOPEN2K8].
27202         * conform/conformtest.pl: Preprocess allow-header data with -x c
27203         instead of from stdin.
27204         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27205         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27206         [C99-based standards] (cerfc): Likewise.
27207         [C99-based standards] (cexp2): Likewise.
27208         [C99-based standards] (cexpm1): Likewise.
27209         [C99-based standards] (clog10): Likewise.
27210         [C99-based standards] (clog1p): Likewise.
27211         [C99-based standards] (clog2): Likewise.
27212         [C99-based standards] (clgamma): Likewise.
27213         [C99-based standards] (ctgamma): Likewise.
27214         [C99-based standards] (cerff): Likewise.
27215         [C99-based standards] (cerfcf): Likewise.
27216         [C99-based standards] (cexp2f): Likewise.
27217         [C99-based standards] (cexpm1f): Likewise.
27218         [C99-based standards] (clog10f): Likewise.
27219         [C99-based standards] (clog1pf): Likewise.
27220         [C99-based standards] (clog2f): Likewise.
27221         [C99-based standards] (clgammaf): Likewise.
27222         [C99-based standards] (ctgammaf): Likewise.
27223         [C99-based standards] (cerfl): Likewise.
27224         [C99-based standards] (cerfcl): Likewise.
27225         [C99-based standards] (cexp2l): Likewise.
27226         [C99-based standards] (cexpm1l): Likewise.
27227         [C99-based standards] (clog10l): Likewise.
27228         [C99-based standards] (clog1pl): Likewise.
27229         [C99-based standards] (clog2l): Likewise.
27230         [C99-based standards] (clgammal): Likewise.
27231         [C99-based standards] (ctgammal): Likewise.
27232         * conform/data/inttypes.h-data [C99-based standards]: Include
27233         stdint.h-data.  Remove all expectations for stdint.h contents.
27234         [C99-based standards] (PRI*): Do not allow.
27235         [C99-based standards] (SCN*): Likewise.
27236         [C99-based standards] (*_t): Likewise.
27237         [C99-based-standards] (PRId8): Expect macro.
27238         [C99-based-standards] (PRIi8): Likewise.
27239         [C99-based-standards] (PRIo8): Likewise.
27240         [C99-based-standards] (PRIu8): Likewise.
27241         [C99-based-standards] (PRIx8): Likewise.
27242         [C99-based-standards] (PRIX8): Likewise.
27243         [C99-based-standards] (SCNd8): Likewise.
27244         [C99-based-standards] (SCNi8): Likewise.
27245         [C99-based-standards] (SCNo8): Likewise.
27246         [C99-based-standards] (SCNu8): Likewise.
27247         [C99-based-standards] (SCNx8): Likewise.
27248         [C99-based-standards] (PRIdLEAST8): Likewise.
27249         [C99-based-standards] (PRIiLEAST8): Likewise.
27250         [C99-based-standards] (PRIoLEAST8): Likewise.
27251         [C99-based-standards] (PRIuLEAST8): Likewise.
27252         [C99-based-standards] (PRIxLEAST8): Likewise.
27253         [C99-based-standards] (PRIXLEAST8): Likewise.
27254         [C99-based-standards] (SCNdLEAST8): Likewise.
27255         [C99-based-standards] (SCNiLEAST8): Likewise.
27256         [C99-based-standards] (SCNoLEAST8): Likewise.
27257         [C99-based-standards] (SCNuLEAST8): Likewise.
27258         [C99-based-standards] (SCNxLEAST8): Likewise.
27259         [C99-based-standards] (PRIdFAST8): Likewise.
27260         [C99-based-standards] (PRIiFAST8): Likewise.
27261         [C99-based-standards] (PRIoFAST8): Likewise.
27262         [C99-based-standards] (PRIuFAST8): Likewise.
27263         [C99-based-standards] (PRIxFAST8): Likewise.
27264         [C99-based-standards] (PRIXFAST8): Likewise.
27265         [C99-based-standards] (SCNdFAST8): Likewise.
27266         [C99-based-standards] (SCNiFAST8): Likewise.
27267         [C99-based-standards] (SCNoFAST8): Likewise.
27268         [C99-based-standards] (SCNuFAST8): Likewise.
27269         [C99-based-standards] (SCNxFAST8): Likewise.
27270         [C99-based-standards] (PRId16): Likewise.
27271         [C99-based-standards] (PRIi16): Likewise.
27272         [C99-based-standards] (PRIo16): Likewise.
27273         [C99-based-standards] (PRIu16): Likewise.
27274         [C99-based-standards] (PRIx16): Likewise.
27275         [C99-based-standards] (PRIX16): Likewise.
27276         [C99-based-standards] (SCNd16): Likewise.
27277         [C99-based-standards] (SCNi16): Likewise.
27278         [C99-based-standards] (SCNo16): Likewise.
27279         [C99-based-standards] (SCNu16): Likewise.
27280         [C99-based-standards] (SCNx16): Likewise.
27281         [C99-based-standards] (PRIdLEAST16): Likewise.
27282         [C99-based-standards] (PRIiLEAST16): Likewise.
27283         [C99-based-standards] (PRIoLEAST16): Likewise.
27284         [C99-based-standards] (PRIuLEAST16): Likewise.
27285         [C99-based-standards] (PRIxLEAST16): Likewise.
27286         [C99-based-standards] (PRIXLEAST16): Likewise.
27287         [C99-based-standards] (SCNdLEAST16): Likewise.
27288         [C99-based-standards] (SCNiLEAST16): Likewise.
27289         [C99-based-standards] (SCNoLEAST16): Likewise.
27290         [C99-based-standards] (SCNuLEAST16): Likewise.
27291         [C99-based-standards] (SCNxLEAST16): Likewise.
27292         [C99-based-standards] (PRIdFAST16): Likewise.
27293         [C99-based-standards] (PRIiFAST16): Likewise.
27294         [C99-based-standards] (PRIoFAST16): Likewise.
27295         [C99-based-standards] (PRIuFAST16): Likewise.
27296         [C99-based-standards] (PRIxFAST16): Likewise.
27297         [C99-based-standards] (PRIXFAST16): Likewise.
27298         [C99-based-standards] (SCNdFAST16): Likewise.
27299         [C99-based-standards] (SCNiFAST16): Likewise.
27300         [C99-based-standards] (SCNoFAST16): Likewise.
27301         [C99-based-standards] (SCNuFAST16): Likewise.
27302         [C99-based-standards] (SCNxFAST16): Likewise.
27303         [C99-based-standards] (PRId32): Likewise.
27304         [C99-based-standards] (PRIi32): Likewise.
27305         [C99-based-standards] (PRIo32): Likewise.
27306         [C99-based-standards] (PRIu32): Likewise.
27307         [C99-based-standards] (PRIx32): Likewise.
27308         [C99-based-standards] (PRIX32): Likewise.
27309         [C99-based-standards] (SCNd32): Likewise.
27310         [C99-based-standards] (SCNi32): Likewise.
27311         [C99-based-standards] (SCNo32): Likewise.
27312         [C99-based-standards] (SCNu32): Likewise.
27313         [C99-based-standards] (SCNx32): Likewise.
27314         [C99-based-standards] (PRIdLEAST32): Likewise.
27315         [C99-based-standards] (PRIiLEAST32): Likewise.
27316         [C99-based-standards] (PRIoLEAST32): Likewise.
27317         [C99-based-standards] (PRIuLEAST32): Likewise.
27318         [C99-based-standards] (PRIxLEAST32): Likewise.
27319         [C99-based-standards] (PRIXLEAST32): Likewise.
27320         [C99-based-standards] (SCNdLEAST32): Likewise.
27321         [C99-based-standards] (SCNiLEAST32): Likewise.
27322         [C99-based-standards] (SCNoLEAST32): Likewise.
27323         [C99-based-standards] (SCNuLEAST32): Likewise.
27324         [C99-based-standards] (SCNxLEAST32): Likewise.
27325         [C99-based-standards] (PRIdFAST32): Likewise.
27326         [C99-based-standards] (PRIiFAST32): Likewise.
27327         [C99-based-standards] (PRIoFAST32): Likewise.
27328         [C99-based-standards] (PRIuFAST32): Likewise.
27329         [C99-based-standards] (PRIxFAST32): Likewise.
27330         [C99-based-standards] (PRIXFAST32): Likewise.
27331         [C99-based-standards] (SCNdFAST32): Likewise.
27332         [C99-based-standards] (SCNiFAST32): Likewise.
27333         [C99-based-standards] (SCNoFAST32): Likewise.
27334         [C99-based-standards] (SCNuFAST32): Likewise.
27335         [C99-based-standards] (SCNxFAST32): Likewise.
27336         [C99-based-standards] (PRId64): Likewise.
27337         [C99-based-standards] (PRIi64): Likewise.
27338         [C99-based-standards] (PRIo64): Likewise.
27339         [C99-based-standards] (PRIu64): Likewise.
27340         [C99-based-standards] (PRIx64): Likewise.
27341         [C99-based-standards] (PRIX64): Likewise.
27342         [C99-based-standards] (SCNd64): Likewise.
27343         [C99-based-standards] (SCNi64): Likewise.
27344         [C99-based-standards] (SCNo64): Likewise.
27345         [C99-based-standards] (SCNu64): Likewise.
27346         [C99-based-standards] (SCNx64): Likewise.
27347         [C99-based-standards] (PRIdLEAST64): Likewise.
27348         [C99-based-standards] (PRIiLEAST64): Likewise.
27349         [C99-based-standards] (PRIoLEAST64): Likewise.
27350         [C99-based-standards] (PRIuLEAST64): Likewise.
27351         [C99-based-standards] (PRIxLEAST64): Likewise.
27352         [C99-based-standards] (PRIXLEAST64): Likewise.
27353         [C99-based-standards] (SCNdLEAST64): Likewise.
27354         [C99-based-standards] (SCNiLEAST64): Likewise.
27355         [C99-based-standards] (SCNoLEAST64): Likewise.
27356         [C99-based-standards] (SCNuLEAST64): Likewise.
27357         [C99-based-standards] (SCNxLEAST64): Likewise.
27358         [C99-based-standards] (PRIdFAST64): Likewise.
27359         [C99-based-standards] (PRIiFAST64): Likewise.
27360         [C99-based-standards] (PRIoFAST64): Likewise.
27361         [C99-based-standards] (PRIuFAST64): Likewise.
27362         [C99-based-standards] (PRIxFAST64): Likewise.
27363         [C99-based-standards] (PRIXFAST64): Likewise.
27364         [C99-based-standards] (SCNdFAST64): Likewise.
27365         [C99-based-standards] (SCNiFAST64): Likewise.
27366         [C99-based-standards] (SCNoFAST64): Likewise.
27367         [C99-based-standards] (SCNuFAST64): Likewise.
27368         [C99-based-standards] (SCNxFAST64): Likewise.
27369         [C99-based-standards] (PRIdMAX): Likewise.
27370         [C99-based-standards] (PRIiMAX): Likewise.
27371         [C99-based-standards] (PRIoMAX): Likewise.
27372         [C99-based-standards] (PRIuMAX): Likewise.
27373         [C99-based-standards] (PRIxMAX): Likewise.
27374         [C99-based-standards] (PRIXMAX): Likewise.
27375         [C99-based-standards] (SCNdMAX): Likewise.
27376         [C99-based-standards] (SCNiMAX): Likewise.
27377         [C99-based-standards] (SCNoMAX): Likewise.
27378         [C99-based-standards] (SCNuMAX): Likewise.
27379         [C99-based-standards] (SCNxMAX): Likewise.
27380         [C99-based-standards] (PRIdPTR): Likewise.
27381         [C99-based-standards] (PRIiPTR): Likewise.
27382         [C99-based-standards] (PRIoPTR): Likewise.
27383         [C99-based-standards] (PRIuPTR): Likewise.
27384         [C99-based-standards] (PRIxPTR): Likewise.
27385         [C99-based-standards] (PRIXPTR): Likewise.
27386         [C99-based-standards] (SCNdPTR): Likewise.
27387         [C99-based-standards] (SCNiPTR): Likewise.
27388         [C99-based-standards] (SCNoPTR): Likewise.
27389         [C99-based-standards] (SCNuPTR): Likewise.
27390         [C99-based-standards] (SCNxPTR): Likewise.
27391         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27392         allow.
27393         * conform/data/stdint.h-data: Update comments to clarify
27394         requirements.
27395         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27396         type.
27397         [C99-based standards] (INT8_MAX): Likewise.
27398         [C99-based standards] (INT16_MIN): Likewise.
27399         [C99-based standards] (INT16_MAX): Likewise.
27400         [C99-based standards] (INT32_MIN): Likewise.
27401         [C99-based standards] (INT32_MAX): Likewise.
27402         [C99-based standards] (INT64_MIN): Likewise.
27403         [C99-based standards] (INT64_MAX): Likewise.
27404         [C99-based standards] (UINT8_MAX): Likewise.
27405         [C99-based standards] (UINT16_MAX): Likewise.
27406         [C99-based standards] (UINT32_MAX): Likewise.
27407         [C99-based standards] (UINT64_MAX): Likewise.
27408         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27409         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27410         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27411         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27412         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27413         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27414         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27415         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27416         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27417         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27418         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27419         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27420         [C99-based standards] (INT_FAST8_MIN): Likewise.
27421         [C99-based standards] (INT_FAST8_MAX): Likewise.
27422         [C99-based standards] (INT_FAST16_MIN): Likewise.
27423         [C99-based standards] (INT_FAST16_MAX): Likewise.
27424         [C99-based standards] (INT_FAST32_MIN): Likewise.
27425         [C99-based standards] (INT_FAST32_MAX): Likewise.
27426         [C99-based standards] (INT_FAST64_MIN): Likewise.
27427         [C99-based standards] (INT_FAST64_MAX): Likewise.
27428         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27429         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27430         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27431         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27432         [C99-based standards] (INTPTR_MIN): Likewise.
27433         [C99-based standards] (INTPTR_MAX): Likewise.
27434         [C99-based standards] (UINTPTR_MAX): Likewise.
27435         [C99-based standards] (INTMAX_MIN): Likewise.
27436         [C99-based standards] (INTMAX_MAX): Likewise.
27437         [C99-based standards] (UINTMAX_MAX): Likewise.
27438         [C99-based standards] (PTRDIFF_MIN): Likewise.
27439         [C99-based standards] (PTRDIFF_MAX): Likewise.
27440         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27441         [C99-based standards] (SIZE_MAX): Likewise.
27442         [C99-based standards] (WCHAR_MAX): Likewise.
27443         [C99-based standards] (WINT_MAX): Likewise.
27444         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27445         constraint on value.
27446         [C99-based standards] (WCHAR_MIN): Likewise.
27447         [C99-based standards] (WINT_MIN): Likewise.
27448         [C99-based standards] (*_t): Allow.
27449         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27450         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27451         Include math.h-data and complex.h-data.  Remove all expectations
27452         of math.h and complex.h contents.
27453         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27454         at end of line.
27455         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27456         (struct tm): Expect tag.
27457         [C99-based-standards] (wcstof): Expect function.
27458         [C99-based-standards] (wcstold): Likewise.
27459         [C99-based-standards] (wcstoll): Likewise.
27460         [C99-based-standards] (wcstoull): Likewise.
27461         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27462         macro-int-constant.  Specify type.
27463         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27464         constraint on value.
27465         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27466         Specify type.
27467         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27468         Specify value.
27469         [ISO C standards]: Do not allow headers.
27470         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27471         wcs[abcdefghijklmnopqrstuvwxyz]*.
27472         [ISO C standards] (*_t): Do not allow.
27473         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27474         Expect function.
27475         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27476         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27477         Specify type.
27478         [ISO C standards]: Do not allow headers.
27479         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27480         is[abcdefghijklmnopqrstuvwxyz]*.
27481         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27482         to[abcdefghijklmnopqrstuvwxyz]*.
27483         [ISO C standards] (*_t): Do not allow.
27484         * conform/data/stdalign.h-data: New file.
27485         * conform/data/stdbool.h-data: Likewise.
27486         * conform/data/stdnoreturn.h-data: Likewise.
27488 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27490         [BZ #14815]
27491         * manual/filesys.texi (Directory Entries): Typo fix.
27492         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27494 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27496         * elf/elf.h (EM_AARCH64): New macro.
27497         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27498         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27499         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27500         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27501         (R_AARCH64_TLSDESC): Likewise.
27502         (NT_ARM_TLS): Likewise.
27503         (NT_ARM_HW_BREAK): Likewise.
27504         (NT_ARM_HW_WATCH): Likewise.
27506 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27508         [BZ #14811]
27509         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27510         (__ieee754_powl): Saturate nonzero exponents with absolute value
27511         below 0x1p-79 to +/- 0x1p-79.
27512         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27513         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27514         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27515         nonzero exponents with absolute value below 0x1p-32 to +/-
27516         0x1p-32.
27517         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27518         (__ieee754_powl): Saturate nonzero exponents with absolute value
27519         below 0x1p-79 to +/- 0x1p-79.
27520         * math/libm-test.inc (pow_test): Add more tests.
27522 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27524         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27525         _dl_s390_cap_flags with kernel. Increase string length.
27526         (_dl_s390_platforms): Add z196 and zEC12.
27528 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27530         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27531         Change XOPEN21K to XOPEN2K.
27533 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27535         * string/memmove.c: Use memcpy when possible.
27537 2012-11-06  Andreas Jaeger  <aj@suse.de>
27539         * po/eo.po: Update from translation team.
27541 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27543         [BZ #14793]
27544         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27545         exponent and small x and y exponents, scale x or y up.  Increase
27546         by 2 the exponent used in scaling up.
27547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27549         * math/libm-test.inc (fma_test): Add more tests.
27550         (fma_test_towardzero): Likewise.
27551         (fma_test_downward): Likewise.
27552         (fma_test_upward): Likewise.
27554 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27556         [BZ #14805]
27557         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27558         fenv_t *.
27560         [BZ #14801]
27561         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27562         namespace for names of struct fields.
27563         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27564         fenv_t fields.
27565         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27566         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27568 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27570         [BZ #3665]
27571         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27573 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27575         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27576         PTR_DEMANGLE.
27578         [BZ #5246]
27579         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27580         PTR_DEMANGLE.
27582 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27584         [BZ #14797]
27585         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27586         definitely overflow as x * y not x * y + z.
27587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27588         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27589         * math/libm-test.inc (fma_test): Add more tests.
27590         (fma_test_towardzero): Likewise.
27591         (fma_test_downward): Likewise.
27592         (fma_test_upward): Likewise.
27594 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27596         [BZ #157]
27598         * include/stub-tag.h: Remove file.
27599         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27600         '#include' of it.
27601         * manual/maint.texi (Porting): Don't reference it.
27602         * Makerules ($(objpfx)stubs): Likewise.
27603         * dirent/closedir.c: Don't include <stub-tag.h>.
27604         * dirent/dirfd.c: Likewise.
27605         * dirent/fdopendir.c: Likewise.
27606         * dirent/getdents.c: Likewise.
27607         * dirent/getdents64.c: Likewise.
27608         * dirent/opendir.c: Likewise.
27609         * dirent/readdir.c: Likewise.
27610         * dirent/readdir64.c: Likewise.
27611         * dirent/readdir64_r.c: Likewise.
27612         * dirent/readdir_r.c: Likewise.
27613         * dirent/rewinddir.c: Likewise.
27614         * dirent/seekdir.c: Likewise.
27615         * dirent/telldir.c: Likewise.
27616         * gmon/profil.c: Likewise.
27617         * grp/setgroups.c: Likewise.
27618         * inet/if_index.c: Likewise.
27619         * io/access.c: Likewise.
27620         * io/chdir.c: Likewise.
27621         * io/chmod.c: Likewise.
27622         * io/chown.c: Likewise.
27623         * io/close.c: Likewise.
27624         * io/dup.c: Likewise.
27625         * io/dup2.c: Likewise.
27626         * io/dup3.c: Likewise.
27627         * io/euidaccess.c: Likewise.
27628         * io/faccessat.c: Likewise.
27629         * io/fchdir.c: Likewise.
27630         * io/fchmod.c: Likewise.
27631         * io/fchmodat.c: Likewise.
27632         * io/fchown.c: Likewise.
27633         * io/fchownat.c: Likewise.
27634         * io/fcntl.c: Likewise.
27635         * io/flock.c: Likewise.
27636         * io/fstatfs.c: Likewise.
27637         * io/fstatfs64.c: Likewise.
27638         * io/fstatvfs.c: Likewise.
27639         * io/fstatvfs64.c: Likewise.
27640         * io/futimens.c: Likewise.
27641         * io/fxstat.c: Likewise.
27642         * io/fxstat64.c: Likewise.
27643         * io/fxstatat.c: Likewise.
27644         * io/fxstatat64.c: Likewise.
27645         * io/getcwd.c: Likewise.
27646         * io/isatty.c: Likewise.
27647         * io/lchmod.c: Likewise.
27648         * io/lchown.c: Likewise.
27649         * io/link.c: Likewise.
27650         * io/linkat.c: Likewise.
27651         * io/lseek.c: Likewise.
27652         * io/lseek64.c: Likewise.
27653         * io/lxstat64.c: Likewise.
27654         * io/mkdir.c: Likewise.
27655         * io/mkdirat.c: Likewise.
27656         * io/mkfifo.c: Likewise.
27657         * io/mkfifoat.c: Likewise.
27658         * io/open.c: Likewise.
27659         * io/open64.c: Likewise.
27660         * io/openat.c: Likewise.
27661         * io/openat64.c: Likewise.
27662         * io/pipe.c: Likewise.
27663         * io/pipe2.c: Likewise.
27664         * io/poll.c: Likewise.
27665         * io/posix_fadvise.c: Likewise.
27666         * io/posix_fadvise64.c: Likewise.
27667         * io/posix_fallocate.c: Likewise.
27668         * io/posix_fallocate64.c: Likewise.
27669         * io/read.c: Likewise.
27670         * io/readlink.c: Likewise.
27671         * io/readlinkat.c: Likewise.
27672         * io/rmdir.c: Likewise.
27673         * io/sendfile.c: Likewise.
27674         * io/sendfile64.c: Likewise.
27675         * io/statfs.c: Likewise.
27676         * io/statfs64.c: Likewise.
27677         * io/statvfs.c: Likewise.
27678         * io/statvfs64.c: Likewise.
27679         * io/symlink.c: Likewise.
27680         * io/symlinkat.c: Likewise.
27681         * io/ttyname.c: Likewise.
27682         * io/ttyname_r.c: Likewise.
27683         * io/umask.c: Likewise.
27684         * io/unlink.c: Likewise.
27685         * io/unlinkat.c: Likewise.
27686         * io/utime.c: Likewise.
27687         * io/utimensat.c: Likewise.
27688         * io/write.c: Likewise.
27689         * io/xmknod.c: Likewise.
27690         * io/xmknodat.c: Likewise.
27691         * io/xstat.c: Likewise.
27692         * io/xstat64.c: Likewise.
27693         * login/getpt.c: Likewise.
27694         * login/grantpt.c: Likewise.
27695         * login/unlockpt.c: Likewise.
27696         * math/e_acoshl.c: Likewise.
27697         * math/e_acosl.c: Likewise.
27698         * math/e_asinl.c: Likewise.
27699         * math/e_atan2l.c: Likewise.
27700         * math/e_atanhl.c: Likewise.
27701         * math/e_coshl.c: Likewise.
27702         * math/e_expl.c: Likewise.
27703         * math/e_fmodl.c: Likewise.
27704         * math/e_gammal_r.c: Likewise.
27705         * math/e_hypotl.c: Likewise.
27706         * math/e_j0l.c: Likewise.
27707         * math/e_j1l.c: Likewise.
27708         * math/e_jnl.c: Likewise.
27709         * math/e_lgammal_r.c: Likewise.
27710         * math/e_log10l.c: Likewise.
27711         * math/e_log2l.c: Likewise.
27712         * math/e_logl.c: Likewise.
27713         * math/e_powl.c: Likewise.
27714         * math/e_rem_pio2l.c: Likewise.
27715         * math/e_sinhl.c: Likewise.
27716         * math/e_sqrtl.c: Likewise.
27717         * math/fclrexcpt.c: Likewise.
27718         * math/fedisblxcpt.c: Likewise.
27719         * math/feenablxcpt.c: Likewise.
27720         * math/fegetenv.c: Likewise.
27721         * math/fegetexcept.c: Likewise.
27722         * math/fegetround.c: Likewise.
27723         * math/feholdexcpt.c: Likewise.
27724         * math/fesetenv.c: Likewise.
27725         * math/fesetround.c: Likewise.
27726         * math/feupdateenv.c: Likewise.
27727         * math/fgetexcptflg.c: Likewise.
27728         * math/fraiseexcpt.c: Likewise.
27729         * math/fsetexcptflg.c: Likewise.
27730         * math/ftestexcept.c: Likewise.
27731         * math/k_cosl.c: Likewise.
27732         * math/k_rem_pio2l.c: Likewise.
27733         * math/k_sinl.c: Likewise.
27734         * math/k_tanl.c: Likewise.
27735         * math/s_asinhl.c: Likewise.
27736         * math/s_atanl.c: Likewise.
27737         * math/s_cbrtl.c: Likewise.
27738         * math/s_erfl.c: Likewise.
27739         * math/s_expm1l.c: Likewise.
27740         * math/s_log1pl.c: Likewise.
27741         * math/s_tanhl.c: Likewise.
27742         * misc/acct.c: Likewise.
27743         * misc/brk.c: Likewise.
27744         * misc/chflags.c: Likewise.
27745         * misc/chroot.c: Likewise.
27746         * misc/fchflags.c: Likewise.
27747         * misc/fgetxattr.c: Likewise.
27748         * misc/flistxattr.c: Likewise.
27749         * misc/fremovexattr.c: Likewise.
27750         * misc/fsetxattr.c: Likewise.
27751         * misc/fsync.c: Likewise.
27752         * misc/ftruncate.c: Likewise.
27753         * misc/futimes.c: Likewise.
27754         * misc/futimesat.c: Likewise.
27755         * misc/getdomain.c: Likewise.
27756         * misc/getdtsz.c: Likewise.
27757         * misc/gethostid.c: Likewise.
27758         * misc/gethostname.c: Likewise.
27759         * misc/getloadavg.c: Likewise.
27760         * misc/getpagesize.c: Likewise.
27761         * misc/getsysstats.c: Likewise.
27762         * misc/getxattr.c: Likewise.
27763         * misc/gtty.c: Likewise.
27764         * misc/ioctl.c: Likewise.
27765         * misc/lgetxattr.c: Likewise.
27766         * misc/listxattr.c: Likewise.
27767         * misc/llistxattr.c: Likewise.
27768         * misc/lremovexattr.c: Likewise.
27769         * misc/lsetxattr.c: Likewise.
27770         * misc/lutimes.c: Likewise.
27771         * misc/madvise.c: Likewise.
27772         * misc/mincore.c: Likewise.
27773         * misc/mlock.c: Likewise.
27774         * misc/mlockall.c: Likewise.
27775         * misc/mmap.c: Likewise.
27776         * misc/mprotect.c: Likewise.
27777         * misc/msync.c: Likewise.
27778         * misc/munlock.c: Likewise.
27779         * misc/munlockall.c: Likewise.
27780         * misc/munmap.c: Likewise.
27781         * misc/preadv.c: Likewise.
27782         * misc/preadv64.c: Likewise.
27783         * misc/ptrace.c: Likewise.
27784         * misc/pwritev.c: Likewise.
27785         * misc/pwritev64.c: Likewise.
27786         * misc/readv.c: Likewise.
27787         * misc/reboot.c: Likewise.
27788         * misc/remap_file_pages.c: Likewise.
27789         * misc/removexattr.c: Likewise.
27790         * misc/revoke.c: Likewise.
27791         * misc/select.c: Likewise.
27792         * misc/setdomain.c: Likewise.
27793         * misc/setegid.c: Likewise.
27794         * misc/seteuid.c: Likewise.
27795         * misc/sethostid.c: Likewise.
27796         * misc/sethostname.c: Likewise.
27797         * misc/setregid.c: Likewise.
27798         * misc/setreuid.c: Likewise.
27799         * misc/setxattr.c: Likewise.
27800         * misc/sstk.c: Likewise.
27801         * misc/stty.c: Likewise.
27802         * misc/swapoff.c: Likewise.
27803         * misc/swapon.c: Likewise.
27804         * misc/sync.c: Likewise.
27805         * misc/syncfs.c: Likewise.
27806         * misc/syscall.c: Likewise.
27807         * misc/truncate.c: Likewise.
27808         * misc/ualarm.c: Likewise.
27809         * misc/usleep.c: Likewise.
27810         * misc/ustat.c: Likewise.
27811         * misc/utimes.c: Likewise.
27812         * misc/vhangup.c: Likewise.
27813         * misc/writev.c: Likewise.
27814         * posix/_exit.c: Likewise.
27815         * posix/alarm.c: Likewise.
27816         * posix/execve.c: Likewise.
27817         * posix/fexecve.c: Likewise.
27818         * posix/fork.c: Likewise.
27819         * posix/fpathconf.c: Likewise.
27820         * posix/getaddrinfo.c: Likewise.
27821         * posix/getegid.c: Likewise.
27822         * posix/geteuid.c: Likewise.
27823         * posix/getgid.c: Likewise.
27824         * posix/getgroups.c: Likewise.
27825         * posix/getlogin.c: Likewise.
27826         * posix/getlogin_r.c: Likewise.
27827         * posix/getpgid.c: Likewise.
27828         * posix/getpid.c: Likewise.
27829         * posix/getppid.c: Likewise.
27830         * posix/getresgid.c: Likewise.
27831         * posix/getresuid.c: Likewise.
27832         * posix/getsid.c: Likewise.
27833         * posix/getuid.c: Likewise.
27834         * posix/glob64.c: Likewise.
27835         * posix/nanosleep.c: Likewise.
27836         * posix/pathconf.c: Likewise.
27837         * posix/pause.c: Likewise.
27838         * posix/posix_madvise.c: Likewise.
27839         * posix/pread.c: Likewise.
27840         * posix/pread64.c: Likewise.
27841         * posix/pwrite.c: Likewise.
27842         * posix/pwrite64.c: Likewise.
27843         * posix/sched_getaffinity.c: Likewise.
27844         * posix/sched_getp.c: Likewise.
27845         * posix/sched_gets.c: Likewise.
27846         * posix/sched_primax.c: Likewise.
27847         * posix/sched_primin.c: Likewise.
27848         * posix/sched_rr_gi.c: Likewise.
27849         * posix/sched_setaffinity.c: Likewise.
27850         * posix/sched_setp.c: Likewise.
27851         * posix/sched_sets.c: Likewise.
27852         * posix/sched_yield.c: Likewise.
27853         * posix/setgid.c: Likewise.
27854         * posix/setlogin.c: Likewise.
27855         * posix/setpgid.c: Likewise.
27856         * posix/setresgid.c: Likewise.
27857         * posix/setresuid.c: Likewise.
27858         * posix/setsid.c: Likewise.
27859         * posix/setuid.c: Likewise.
27860         * posix/sleep.c: Likewise.
27861         * posix/spawni.c: Likewise.
27862         * posix/sysconf.c: Likewise.
27863         * posix/times.c: Likewise.
27864         * posix/wait.c: Likewise.
27865         * posix/wait3.c: Likewise.
27866         * posix/wait4.c: Likewise.
27867         * posix/waitpid.c: Likewise.
27868         * resolv/gai_sigqueue.c: Likewise.
27869         * resource/getpriority.c: Likewise.
27870         * resource/getrlimit.c: Likewise.
27871         * resource/getrusage.c: Likewise.
27872         * resource/nice.c: Likewise.
27873         * resource/setpriority.c: Likewise.
27874         * resource/setrlimit.c: Likewise.
27875         * resource/ulimit.c: Likewise.
27876         * rt/aio_cancel.c: Likewise.
27877         * rt/aio_fsync.c: Likewise.
27878         * rt/aio_read.c: Likewise.
27879         * rt/aio_sigqueue.c: Likewise.
27880         * rt/aio_suspend.c: Likewise.
27881         * rt/aio_write.c: Likewise.
27882         * rt/clock_getres.c: Likewise.
27883         * rt/clock_gettime.c: Likewise.
27884         * rt/clock_nanosleep.c: Likewise.
27885         * rt/clock_settime.c: Likewise.
27886         * rt/lio_listio.c: Likewise.
27887         * rt/mq_close.c: Likewise.
27888         * rt/mq_getattr.c: Likewise.
27889         * rt/mq_notify.c: Likewise.
27890         * rt/mq_open.c: Likewise.
27891         * rt/mq_receive.c: Likewise.
27892         * rt/mq_send.c: Likewise.
27893         * rt/mq_setattr.c: Likewise.
27894         * rt/mq_timedreceive.c: Likewise.
27895         * rt/mq_timedsend.c: Likewise.
27896         * rt/mq_unlink.c: Likewise.
27897         * rt/shm_open.c: Likewise.
27898         * rt/shm_unlink.c: Likewise.
27899         * rt/timer_create.c: Likewise.
27900         * rt/timer_delete.c: Likewise.
27901         * rt/timer_getoverr.c: Likewise.
27902         * rt/timer_gettime.c: Likewise.
27903         * rt/timer_settime.c: Likewise.
27904         * setjmp/__longjmp.c: Likewise.
27905         * setjmp/setjmp.c: Likewise.
27906         * signal/kill.c: Likewise.
27907         * signal/killpg.c: Likewise.
27908         * signal/raise.c: Likewise.
27909         * signal/sigaction.c: Likewise.
27910         * signal/sigaltstack.c: Likewise.
27911         * signal/sigblock.c: Likewise.
27912         * signal/sigignore.c: Likewise.
27913         * signal/sigintr.c: Likewise.
27914         * signal/signal.c: Likewise.
27915         * signal/sigpause.c: Likewise.
27916         * signal/sigpending.c: Likewise.
27917         * signal/sigqueue.c: Likewise.
27918         * signal/sigreturn.c: Likewise.
27919         * signal/sigset.c: Likewise.
27920         * signal/sigsetmask.c: Likewise.
27921         * signal/sigstack.c: Likewise.
27922         * signal/sigsuspend.c: Likewise.
27923         * signal/sigtimedwait.c: Likewise.
27924         * signal/sigvec.c: Likewise.
27925         * signal/sigwait.c: Likewise.
27926         * signal/sigwaitinfo.c: Likewise.
27927         * signal/sysv_signal.c: Likewise.
27928         * socket/accept.c: Likewise.
27929         * socket/accept4.c: Likewise.
27930         * socket/bind.c: Likewise.
27931         * socket/connect.c: Likewise.
27932         * socket/getpeername.c: Likewise.
27933         * socket/getsockname.c: Likewise.
27934         * socket/getsockopt.c: Likewise.
27935         * socket/isfdtype.c: Likewise.
27936         * socket/listen.c: Likewise.
27937         * socket/recv.c: Likewise.
27938         * socket/recvfrom.c: Likewise.
27939         * socket/recvmsg.c: Likewise.
27940         * socket/send.c: Likewise.
27941         * socket/sendmsg.c: Likewise.
27942         * socket/sendto.c: Likewise.
27943         * socket/setsockopt.c: Likewise.
27944         * socket/shutdown.c: Likewise.
27945         * socket/sockatmark.c: Likewise.
27946         * socket/socket.c: Likewise.
27947         * socket/socketpair.c: Likewise.
27948         * stdio-common/ctermid.c: Likewise.
27949         * stdio-common/cuserid.c: Likewise.
27950         * stdio-common/remove.c: Likewise.
27951         * stdio-common/rename.c: Likewise.
27952         * stdio-common/renameat.c: Likewise.
27953         * stdio-common/tempname.c: Likewise.
27954         * stdlib/getcontext.c: Likewise.
27955         * stdlib/makecontext.c: Likewise.
27956         * stdlib/setcontext.c: Likewise.
27957         * stdlib/swapcontext.c: Likewise.
27958         * stdlib/system.c: Likewise.
27959         * streams/fattach.c: Likewise.
27960         * streams/fdetach.c: Likewise.
27961         * streams/getmsg.c: Likewise.
27962         * streams/getpmsg.c: Likewise.
27963         * streams/putmsg.c: Likewise.
27964         * streams/putpmsg.c: Likewise.
27965         * sysdeps/unix/bsd/getpt.c: Likewise.
27966         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27967         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27968         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27970         Likewise.
27971         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27972         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27973         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27974         * sysvipc/msgctl.c: Likewise.
27975         * sysvipc/msgget.c: Likewise.
27976         * sysvipc/msgrcv.c: Likewise.
27977         * sysvipc/msgsnd.c: Likewise.
27978         * sysvipc/semctl.c: Likewise.
27979         * sysvipc/semget.c: Likewise.
27980         * sysvipc/semop.c: Likewise.
27981         * sysvipc/semtimedop.c: Likewise.
27982         * sysvipc/shmat.c: Likewise.
27983         * sysvipc/shmctl.c: Likewise.
27984         * sysvipc/shmdt.c: Likewise.
27985         * sysvipc/shmget.c: Likewise.
27986         * termios/tcdrain.c: Likewise.
27987         * termios/tcflow.c: Likewise.
27988         * termios/tcflush.c: Likewise.
27989         * termios/tcgetattr.c: Likewise.
27990         * termios/tcgetpgrp.c: Likewise.
27991         * termios/tcsendbrk.c: Likewise.
27992         * termios/tcsetattr.c: Likewise.
27993         * termios/tcsetpgrp.c: Likewise.
27994         * time/adjtime.c: Likewise.
27995         * time/clock.c: Likewise.
27996         * time/getitimer.c: Likewise.
27997         * time/gettimeofday.c: Likewise.
27998         * time/setitimer.c: Likewise.
27999         * time/settimeofday.c: Likewise.
28000         * time/stime.c: Likewise.
28001         * time/time.c: Likewise.
28003 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28005         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28006         /usr/old/bin.
28008         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28009         instead of spaces.
28010         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28012 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28014         [BZ #14796]
28015         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28016         FE_TONEAREST before applying Dekker multiplication and Knuth
28017         addition.  Clear inexact exceptions and check for exact zero
28018         results afterwards.
28019         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28020         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28021         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28022         * math/libm-test.inc (fma_test): Add more tests.
28023         (fma_test_towardzero): Likewise.
28024         (fma_test_downward): Likewise.
28025         (fma_test_upward): Likewise.
28026         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28027         function.
28028         (libc_fesetround): New macro.
28029         (libc_fesetroundf): Likewise.
28030         (libc_fesetroundl): Likewise.
28031         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28032         function.
28033         (libc_fesetround_387): Likewise.
28034         (libc_fesetroundf): New macro.
28035         (libc_fesetround): Likewise.
28036         (libc_fesetroundl): Likewise.
28037         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28038         function.
28039         (libc_fesetroundf): New macro.
28040         (libc_fesetround): Likewise.
28041         (libc_fesetroundl): Likewise.
28042         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28043         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28044         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28045         libm_hidden_ver.
28046         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28047         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28048         libm_hidden_def.
28049         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28050         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28051         libm_hidden_ver.
28052         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28053         libm_hidden_def.
28055         [BZ #3439]
28056         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28057         integer constant usable in #if and use that to give value to enum
28058         constant.
28059         (FE_DIVBYZERO): Likewise.
28060         (FE_UNDERFLOW): Likewise.
28061         (FE_OVERFLOW): Likewise.
28062         (FE_INVALID): Likewise.
28063         (FE_INVALID_SNAN): Likewise.
28064         (FE_INVALID_ISI): Likewise.
28065         (FE_INVALID_IDI): Likewise.
28066         (FE_INVALID_ZDZ): Likewise.
28067         (FE_INVALID_IMZ): Likewise.
28068         (FE_INVALID_COMPARE): Likewise.
28069         (FE_INVALID_SOFTWARE): Likewise.
28070         (FE_INVALID_SQRT): Likewise.
28071         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28072         (FE_TONEAREST): Likewise.
28073         (FE_TOWARDZERO): Likewise.
28074         (FE_UPWARD): Likewise.
28075         (FE_DOWNWARD): Likewise.
28076         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28077         (FE_DIVBYZERO): Likewise.
28078         (FE_OVERFLOW): Likewise.
28079         (FE_UNDERFLOW): Likewise.
28080         (FE_INEXACT): Likewise.
28081         (FE_TONEAREST): Likewise.
28082         (FE_DOWNWARD): Likewise.
28083         (FE_UPWARD): Likewise.
28084         (FE_TOWARDZERO): Likewise.
28085         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28086         (FE_UNDERFLOW): Likewise.
28087         (FE_OVERFLOW): Likewise.
28088         (FE_DIVBYZERO): Likewise.
28089         (FE_INVALID): Likewise.
28090         (FE_TONEAREST): Likewise.
28091         (FE_TOWARDZERO): Likewise.
28092         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28093         (FE_OVERFLOW): Likewise.
28094         (FE_UNDERFLOW): Likewise.
28095         (FE_DIVBYZERO): Likewise.
28096         (FE_INEXACT): Likewise.
28097         (FE_TONEAREST): Likewise.
28098         (FE_TOWARDZERO): Likewise.
28099         (FE_UPWARD): Likewise.
28100         (FE_DOWNWARD): Likewise.
28101         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28102         (FE_DIVBYZERO): Likewise.
28103         (FE_OVERFLOW): Likewise.
28104         (FE_UNDERFLOW): Likewise.
28105         (FE_INEXACT): Likewise.
28106         (FE_TONEAREST): Likewise.
28107         (FE_DOWNWARD): Likewise.
28108         (FE_UPWARD): Likewise.
28109         (FE_TOWARDZERO): Likewise.
28111 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28113         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28115 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28117         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28118         commands.  Quote $PWD.
28119         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28120         -x" by "export".
28121         (remove_newlines): Remove.
28123 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28125         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28126         * stdlib/stdlib.h (atof): Moved to ...
28127         * include/bits/stdlib-float.h: Here.  New file.
28128         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28129         * stdlib/bits/stdlib-float.h: New file.
28130         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28131         -mno-sse -mno-mmx.
28132         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28133         <xmmintrin.h>.
28135 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28137         * conform/conformtest.pl (@headers): Add fenv.h.
28138         * conform/data/fenv.h-data: New file.
28139         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28140         include of <math/fenv.h>.
28142         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28143         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28144         && !UNIX98].  Enables tests for XOPEN2K8.
28145         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28146         POSIX2008]: Likewise.
28148         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28149         (struct rusage): Do not expect type or its members.
28151         [BZ #3439]
28152         * math/math.h (FP_NAN): Define macro to integer constant usable in
28153         #if and use that to give value to enum constant.
28154         (FP_INFINITE): Likewise.
28155         (FP_ZERO): Likewise.
28156         (FP_SUBNORMAL): Likewise.
28157         (FP_NORMAL): Likewise.
28159 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28161         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28162         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28163         arguments.
28165 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28167         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28168         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28169         autoconf-time if not.
28170         * configure.in: Remove AC_PREREQ.
28172 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28174         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28175         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28176         of the internal implementation.
28178 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28180         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28181         except include of <misc/sys/syslog.h>.
28183 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28186         function returns with a NULL context exit with zero.
28188 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28190         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28192 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28194         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28195         (run_program_cmd): This.
28196         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28197         (tst_langinfo): New variable.  Use it.
28199 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28201         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28202         floating point opcodes.
28204 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28206         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28207         variable.
28209         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28211         * sysdeps/mach/hurd/powerpc: Remove directory.
28212         * sysdeps/mach/powerpc: Likewise.
28214 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28216         * scripts/check-local-headers.sh: Ignore c++ headers.
28218 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28220         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28221         __libc_cleanup_region_start argument.
28223 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28225         [BZ #14784]
28226         [BZ #14785]
28227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28228         x * y using scaling, not as x * y + z.
28229         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28231         * math/libm-test.inc (fma_test): Add more tests.
28232         (fma_test_towardzero): Likewise.
28233         (fma_test_downward): Likewise.
28234         (fma_test_upward): Likewise.
28236 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28238         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28240 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28242         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28243         New variable.
28245 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28247         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28249 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28252         Fix sort order.
28253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28254         Likewise.
28256 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28259         Fix the order of the list for glibc 2.17.
28260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28261         Likewise.
28263 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28267 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28269         [BZ #14610]
28270         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28271         for low part of x being zero before using __atanl (y).
28272         * math/libm-test.inc (atan2_test): Add another test.
28274         * manual/install.texi (Configuring and compiling): Document
28275         general use of test-wrapper and test-wrapper-env.
28276         * INSTALL: Regenerated.
28278         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28279         (__fma): Do not extract and scale down low bits on after-rounding
28280         systems when result rounded to normal precision would have normal
28281         exponent.
28282         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28283         (__fmal): Do not extract and scale down low bits on after-rounding
28284         systems when result rounded to normal precision would have normal
28285         exponent.
28286         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28287         (__fmal): Do not extract and scale down low bits on after-rounding
28288         systems when result rounded to normal precision would have normal
28289         exponent.
28290         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28291         macro.
28292         (fma_test): Add more tests.
28293         (fma_test_towardzero): Likewise.
28294         (fma_test_downward): Likewise.
28295         (fma_test_upward): Likewise.
28297 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28299         * sysdeps/i386/tininess.h: Renamed to ...
28300         * sysdeps/x86/tininess.h: This.
28301         * sysdeps/x86_64/tininess.h: Removed.
28303 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28305         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28306         input.  Use $(build-program-cmd).
28307         ($(objpfx)tst-array1-static.out): Likewise.
28308         ($(objpfx)tst-array2.out): Likewise.
28309         ($(objpfx)tst-array3.out): Likewise.
28310         ($(objpfx)tst-array4.out): Likewise.
28311         ($(objpfx)tst-array5.out): Likewise.
28312         ($(objpfx)tst-array5-static.out): Likewise.
28314 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28316         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28317         if defined.
28319         * nss/nsswitch.h (nss_interface_function): Provide new
28320         macro for use with NSS functions.
28321         * grp/initgroups.c: Use new macro.
28322         * nss/getXXbyYY.c: Likewise.
28323         * nss/getXXbyYY_r.c: Likewise.
28324         * nss/getXXent.c: Likewise.
28325         * nss/getXXent_r.c: Likewise.
28326         * sysdeps/posix/getaddrinfo.c: Likewise.
28328 2012-10-30  Andreas Jaeger  <aj@suse.de>
28330         * po/ru.po: Update Russion translation from translation project.
28332 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28334         [BZ #14152]
28335         [BZ #14783]
28336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28337         result and shift together with sticky bit instead of replicating
28338         round-to-nearest rounding.
28339         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28340         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28341         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28342         missing underflow exceptions.
28343         (fma_test_towardzero): Add more tests.
28344         (fma_test_downward): Likewise.
28345         (fma_test_upward): Likewise.
28347         [BZ #14047]
28348         * sysdeps/generic/tininess.h: New file.
28349         * sysdeps/i386/tininess.h: Likewise.
28350         * sysdeps/sh/tininess.h: Likewise.
28351         * sysdeps/x86_64/tininess.h: Likewise.
28352         * stdlib/tst-strtod-underflow.c: Likewise.
28353         * stdlib/tst-tininess.c: Likewise.
28354         * stdlib/strtod_l.c: Include <tininess.h>.
28355         (round_and_return): Do not set errno for exact underflow cases.
28356         Force an underflow exception when setting errno for underflow.
28357         Determine underflow based on rounding to normal precision if
28358         TININESS_AFTER_ROUNDING.
28359         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28360         ERANGE for exact underflow cases.
28361         * stdlib/Makefile (tests): Add tst-tininess and
28362         tst-strtod-underflow.
28363         ($(objpfx)tst-tininess): Use $(link-libm).
28364         ($(objpfx)tst-strtod-underflow): Likewise.
28366 2012-10-30  Andreas Jaeger  <aj@suse.de>
28368         [BZ#14767]
28369         * elf/Makefile (tests): Remove conditional for have-initfini-array
28370         since this is now always required and the variable does not exist
28371         anymore.
28372         (tests-static): Likewise.
28373         (modules-names): Likewise.
28375         * po/eo.po: Add Esperanto translation from translation project.
28377         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28378         merged with constructor/destructor.
28379         (init_array): Likewise.
28380         * elf/tst-array2dep.c (fini_array): Likewise.
28381         (init_array): Likewise.
28383 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28385         * manual/message.texi: Delete @cartouche tags.
28387 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28389         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28390         EOPNOTSUPP.
28391         * sysdeps/mach/hurd/fsync.c: Likewise.
28393         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28394         [_POSIX_REALTIME_SIGNALS]: Change condition to
28395         [_POSIX_REALTIME_SIGNALS > 0].
28397 2012-10-27  Andreas Jaeger  <aj@suse.de>
28399         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28400         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28401         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28402         [__WORDSIZE != 64]: Likewise.
28404 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28406         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28407         *  iconvdata/tst-tables.sh: Likewise.
28409 2012-10-25  David S. Miller  <davem@davemloft.net>
28411         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28412         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28413         of strtoull.
28415         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28416         ifunc-impl-list.c
28417         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28418         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28419         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28420         file.
28422 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28424         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28425         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28426         __getdirentries.
28428 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28429             Jim Blandy  <jimb@codesourcery.com>
28431         * scripts/cross-test-ssh.sh: New file.
28432         * manual/install.texi (Configuring and compiling): Document use of
28433         cross-test-ssh.sh.
28434         * INSTALL: Regenerated.
28436 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28438         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28439         EOPNOTSUPP.
28441 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28443         * Makeconfig (run-program-prefix): Fix comment.
28445 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28446             Jim Blandy  <jimb@codesourcery.com>
28448         * Makeconfig (test-wrapper): New variable,
28449         (test-wrapper-env): Likewise.
28450         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28451         (run-built-tests): Define to yes.
28452         (run-program-prefix): Use $(test-wrapper).
28453         (built-program-cmd): Likewise.
28454         * Rules (make-test-out): Use $(test-wrapper-env) and
28455         $(host-built-program-cmd).
28456         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28457         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28458         tst-pathopt.sh.
28459         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28460         $(test-wrapper-env) to tst-rtld-load-self.sh.
28461         ($(objpfx)order2.out): Use $(test-wrapper).
28462         ($(objpfx)tst-initorder.out): Likewise.
28463         ($(objpfx)tst-initorder2.out): Likewise.
28464         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28465         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28466         (test_wrapper_env): New variable.  Use it to run ld.so.
28467         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28468         Use it to run ld.so.
28469         (test_wrapper_env): Likewise.
28470         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28471         $(test-wrapper) to run-iconv-test.sh.
28472         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28473         (ICONV): Use $test_wrapper.
28474         * posix/Makefile ($(objpfx)globtest.out): Pass
28475         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28476         globtest.sh, not $(run-program-prefix).
28477         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28478         (test_wrapper): Likewise.
28479         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28480         set together with run_via_rtld_prefix.
28481         (run_program_prefix): Define in terms of test_wrapper and
28482         run_via_rtld_prefix.
28484 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28486         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28487         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28488         Targets removed.
28490         [BZ #14743]
28491         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28492         Declare __clock_getres, __clock_gettime, __clock_settime,
28493         __clock_nanosleep, and __clock_getcpuclockid.
28494         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28495         Remove librt_hidden_def (clock_gettime).
28496         * sysdeps/unix/clock_gettime.c: Likewise.
28497         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28498         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28499         * rt/clock_getres.c: Define __clock_getres as an alias.
28500         * sysdeps/posix/clock_getres.c: Likewise.
28501         * rt/clock_settime.c: Define __clock_settime as an alias.
28502         * sysdeps/unix/clock_settime.c: Likewise.
28503         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28504         * sysdeps/unix/clock_nanosleep.c: Likewise.
28505         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28506         * rt/clock-compat.c: New file.
28507         * rt/Makefile (librt-routines): Add clock-compat and move
28508         $(clock-routines) to ...
28509         (routines): ... here, new variable.
28510         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28511         Don't add get_clockfreq here.
28512         * rt/Versions (libc: GLIBC_2.17): New version set.
28513         Add clock_* symbols here.
28514         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28515         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28516         (GLIBC_2.17): Add clock_* symbols.
28517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28519         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28521         Likewise.
28522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28523         Likewise.
28524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28528         * NEWS: Mention the move.
28530         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28531         Use __open, __read, __close rather than their public counterparts.
28532         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28533         (__get_clockfreq_via_cpuinfo): Likewise.
28534         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28535         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28537         * config.h.in (HAVE_IFUNC): New #undef.
28538         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28539         was successful.
28540         * configure: Regenerated.
28542 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28544         * configure.in: Move READELF check to start of file.
28545         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28546         libc_cv_asm_gnu_indirect_function in the process.
28547         * configure: Regenerated.
28549 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28551         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28552         send the output to /dev/null.
28553         (libc_cv_cc_with_libunwind): Likewise.
28554         (libc_cv_as_noexecstack): Likewise.
28555         * configure: Regenerate.
28557 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28559         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28561         * posix/globtest.sh (TMPDIR): Do not set.
28562         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28563         (testout): Likewise.
28565 2012-10-24  Andreas Jaeger  <aj@suse.de>
28567         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28568         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28569         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28570         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28571         posix_fadvise64, posix_fallocate64.
28573         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28574         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28575         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28576         Likewise.
28577         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28578         Likewise.
28579         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28581         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28582         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28583         <bits/fcntl-linux.h>.
28584         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28587         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28588         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28589         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28590         [__WORDSIZE != 64]: Likewise.
28592 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28594         * Makeconfig (run-built-tests): New variable.
28595         * Rules [$(cross-compiling) = yes]: Change condition to
28596         [$(run-built-tests) = no].
28597         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28598         to [$(run-built-tests) = yes].
28599         * elf/Makefile [$(cross-compiling) = no]: Likewise
28600         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28601         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28602         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28603         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28604         * io/Makefile [$(cross-compiling) = no]: Likewise.
28605         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28606         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28607         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28608         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28609         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28610         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28611         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28612         * string/Makefile [$(cross-compiling) = no]: Likewise.
28614         * posix/Makefile ($(objpfx)globtest.out): Pass
28615         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28616         $(rtld-installed-name).
28617         * posix/globtest.sh (elf_objpfx): Remove variable.
28618         (rtld_installed_name): Likewise.
28619         (library_path): Likewise.
28620         (run_program_prefix): New variable.  Use for running globtest
28621         binary.
28623 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28624             Joseph Myers  <joseph@codesourcery.com>
28626         * Makeconfig (host-built-program-cmd): New variable.
28627         * elf/Makefile (tst-stackguard1-ARGS): Use
28628         $(host-built-program-cmd).
28629         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28630         (tst-spawn-ARGS): Likewise.
28631         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28633 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28634             Jim Blandy  <jimb@codesourcery.com>
28636         * Makeconfig (run-via-rtld-prefix): New variable.
28637         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28638         (built-program-cmd): Likewise.
28640 2012-10-22  Andreas Jaeger  <aj@suse.de>
28642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28643         __O_RSYNC if it exists, otherwise to O_SYNC.
28645 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28646             Joseph Myers  <joseph@codesourcery.com>
28648         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28649         /dev/null.
28650         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28651         from /dev/null
28652         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28653         /dev/null.
28655 2012-10-22  Andreas Jaeger  <aj@suse.de>
28657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28658         Define always.
28659         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28661         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28662         bits/fcntl-linux.h.
28664         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28665         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28667         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28668         to __O_LARGEFILE.
28669         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28670         to __O_LARGEFILE.
28672 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28673             Joseph Myers  <joseph@codesourcery.com>
28675         * config.make.in (NM): New variable.
28677 2012-10-21  Andreas Jaeger  <aj@suse.de>
28679         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28680         definitions and declarations that are provided by
28681         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28683 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28685         [BZ #14683]
28686         * elf/Makefile (tests-static): Add tst-leaks1-static.
28687         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28688         ($(objpfx)tst-leaks1-static): New rule.
28689         ($(objpfx)tst-leaks1-static-mem): Likewise.
28690         (tst-leaks1-static-ENV): New macro.
28691         * elf/dl-open.c (dl_open_worker): Check the main application
28692         only if SHARED is defined.
28693         * elf/tst-leaks1-static.c: New file.
28695 2012-10-20  Andreas Jaeger  <aj@suse.de>
28697         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28698         generic values for Linux.
28699         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28700         and declarations that are provided by <bits/fcntl-linux.h> and
28701         include <bits/fcntl-linux.h>.
28702         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28703         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28705 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28707         * io/fcntl.h: Move include of <bits/types.h> to the top and
28708         include it unconditionally.
28710 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28712         * wcsmbs/Makefile (tests-ifunc): New variable.
28713         (tests): Add $(tests-ifunc).
28714         * wcsmbs/test-wcschr-ifunc.c: New file.
28715         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28716         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28717         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28718         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28719         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28721         * string/Makefile (tests-ifunc): New variable.
28722         (tests): Add $(tests-ifunc).
28723         * string/test-memccpy.c (TEST_NAME): New macro.
28724         * string/test-memchr.c (TEST_NAME): Likewise.
28725         * string/test-memcmp.c (TEST_NAME): Likewise.
28726         * string/test-memcpy.c (TEST_NAME): Likewise.
28727         * string/test-memmem.c (TEST_NAME): Likewise.
28728         * string/test-memmove.c (TEST_NAME): Likewise.
28729         * string/test-memset.c (TEST_NAME): Likewise.
28730         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28731         * string/test-stpcpy.c (TEST_NAME): Likewise.
28732         * string/test-stpncpy.c (TEST_NAME): Likewise.
28733         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28734         * string/test-strcasestr.c (TEST_NAME): Likewise.
28735         * string/test-strcat.c (TEST_NAME): Likewise.
28736         * string/test-strchr.c (TEST_NAME): Likewise.
28737         * string/test-strcmp.c(TEST_NAME): Likewise.
28738         * string/test-strcpy.c (TEST_NAME): Likewise.
28739         * string/test-strcspn.c (TEST_NAME): Likewise.
28740         * string/test-strlen.c (TEST_NAME): Likewise.
28741         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28742         * string/test-strncmp.c (TEST_NAME): Likewise.
28743         * string/test-strncpy.c (TEST_NAME): Likewise.
28744         * string/test-strnlen.c (TEST_NAME): Likewise.
28745         * string/test-strpbrk.c (TEST_NAME): Likewise.
28746         * string/test-strrchr.c (TEST_NAME): Likewise.
28747         * string/test-strspn.c (TEST_NAME): Likewise.
28748         * string/test-strstr.c (TEST_NAME): Likewise.
28749         * string/test-bcopy-ifunc.c: New file.
28750         * string/test-bzero-ifunc.c: Likewise.
28751         * string/test-memccpy-ifunc.c: Likewise.
28752         * string/test-memchr-ifunc.c: Likewise.
28753         * string/test-memcmp-ifunc.c: Likewise.
28754         * string/test-memcpy-ifunc.c: Likewise.
28755         * string/test-memmem-ifunc.c: Likewise.
28756         * string/test-memmove-ifunc.c: Likewise.
28757         * string/test-mempcpy-ifunc.c: Likewise.
28758         * string/test-memset-ifunc.c: Likewise.
28759         * string/test-rawmemchr-ifunc.c: Likewise.
28760         * string/test-stpcpy-ifunc.c: Likewise.
28761         * string/test-stpncpy-ifunc.c: Likewise.
28762         * string/test-strcasecmp-ifunc.c: Likewise.
28763         * string/test-strcasestr-ifunc.c: Likewise.
28764         * string/test-strcat-ifunc.c: Likewise.
28765         * string/test-strchr-ifunc.c: Likewise.
28766         * string/test-strchrnul-ifunc.c: Likewise.
28767         * string/test-strcmp-ifunc.c: Likewise.
28768         * string/test-strcpy-ifunc.c: Likewise.
28769         * string/test-strcspn-ifunc.c: Likewise.
28770         * string/test-strlen-ifunc.c: Likewise.
28771         * string/test-strncasecmp-ifunc.c: Likewise.
28772         * string/test-strncat-ifunc.c: Likewise.
28773         * string/test-strncmp-ifunc.c: Likewise.
28774         * string/test-strncpy-ifunc.c: Likewise.
28775         * string/test-strnlen-ifunc.c: Likewise.
28776         * string/test-strpbrk-ifunc.c: Likewise.
28777         * string/test-strrchr-ifunc.c: Likewise.
28778         * string/test-strspn-ifunc.c: Likewise.
28779         * string/test-strstr-ifunc.c: Likewise.
28781         * debug/Makefile (tests-ifunc): New variable.
28782         (tests): Add $(tests-ifunc).
28783         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28784         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28785         * debug/test-stpcpy_chk-ifunc.c: New file.
28786         * debug/test-strcpy_chk-ifunc.c: Likewise.
28788 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28790         [BZ #13601]
28791         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28792         header is not read in.
28794 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28796         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28797         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28798         directly.  Pass built executable to script as
28799         $(built-program-cmd).
28800         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28801         $testprogram without using LD_LIBRARY_PATH and $ldso.
28803         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28804         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28805         $(rtld-installed-name).
28806         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28807         (rtld_installed_name): Likewise.
28808         (library_path): Likewise.
28809         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28810         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28811         $(run-program-prefix) to tst-tables.sh.
28812         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28813         it to run tst-table-from and tst-table-to.
28814         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28815         Pass it to tst-table.sh.
28816         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28817         $(run-program-prefix) to tst-gettext.sh.
28818         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28819         tst-translit.sh.
28820         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28821         tst-gettext2.sh.
28822         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28823         to run tst-gettext.
28824         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28825         to run tst-gettext2.
28826         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28827         to run tst-translit.
28828         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28829         $(run-program-prefix) to tst-mtrace.sh.
28830         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28831         to run tst-mtrace.
28832         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28833         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28834         $(rtld-installed-name).
28835         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28836         (rtld_installed_name): Likewise.
28837         (run_program_prefix): New variable.  Use it to run wordexp-test.
28839         * Makeconfig (ARCH): Remove all definitions.
28840         (machine): Likewise.
28841         [ARCH]: Remove conditional code.
28842         [!objdir]: Give error.
28843         [!objdir] (objpfx): Remove.
28844         [!objdir] (common-objpfx): Likewise.
28845         [!objdir] (common-objdir): Likewise.
28846         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28847         AC_CONFIG_FILES call.
28848         * configure: Regenerated.
28850         [BZ #13888]
28851         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28852         or TMPDIR.
28853         (testout): Likewise.
28855         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28856         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28857         $(rtld-installed-name).
28858         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28859         (rtld_installed_name): Likwise.
28860         (runit): Remove function.
28861         (run_getconf): New variable,  Use it for running getconf binary.
28863 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28865         [BZ #14716]
28866         * string/test-memmem.c (check_result): New function.
28867         (do_one_test): Use it.
28868         (check1): New function.
28869         (test_main): Use it.
28871 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28873         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28875 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28877         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28878         (_G_LSEEK64): Likewise.
28879         (_G_MMAP64): Likewise.
28880         (_G_FSTAT64): Likewise.
28881         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28882         (_G_LSEEK64): Likewise.
28883         (_G_MMAP64): Likewise.
28884         (_G_FSTAT64): Likewise.
28885         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28886         unconditional.  Call __mmap64 directly.
28887         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28888         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28889         __lseek64 directly.
28890         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28891         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28892         __mmap64 directly.
28893         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28894         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28895         __lseek64 directly.
28896         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28897         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28898         __lseek64 directly.
28899         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28900         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28901         __lseek64 directly.
28902         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28903         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28904         __fxstat64 directly.
28905         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28906         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28907         unconditional.
28908         (freopen64) [!_G_OPEN64]: Remove conditional code.
28909         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28910         unconditional.
28911         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28912         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28913         unconditional.
28914         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28915         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28916         unconditional.
28917         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28918         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28919         unconditional.
28920         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28921         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28922         unconditional.
28923         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28924         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28925         unconditional.
28926         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28927         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28928         unconditional.
28929         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28931 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28933         [BZ #12140]
28934         * manual/memory.texi (Malloc Tunable Parameters): Add note
28935         about free list pointers overwriting some perturb bytes.
28936         Wording suggested by Roland McGrath.
28938 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28940         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28941         (lgamma_test): Likewise.
28942         (tgamma_test): Likewise.
28944 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28946         [BZ #14700]
28947         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28948         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28950 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28952         * NEWS: Mention BZ #14716.
28953         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28954         when removing AVAILABLE1_USES_J macro.
28956 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28958         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28959         (__bswap_64): __uint64_t for unsigned 64-bit int.
28961 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28963         * include/string.h (memmem): Declare libc hidden alias.
28964         * string/memmem.c (memmem): Define libc hidden alias.
28965         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28966         __read, __close instead of open, read, close.
28968 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28971         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28972         global and hidden.
28973         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28974         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28975         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28976         Likewise.
28977         (__rawmemchr_sse2): Likewise.
28978         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28979         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28980         (__strchr_sse2): Likewise.
28981         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28982         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28983         (__strcasecmp_sse2): Likewise.
28984         (__strncasecmp_sse2): Likewise.
28985         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28986         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28987         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28988         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28989         (__strrchr_sse2): Likewise.
28990         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28991         ifunc-impl-list.c.
28992         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28993         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28994         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28995         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28996         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28997         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28998         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28999         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29000         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29001         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29002         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29003         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29004         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29005         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29006         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29007         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29008         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29009         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29010         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29011         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29012         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29013         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29014         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29015         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29016         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29017         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29018         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29019         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29020         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29021         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29023         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29024         global and hidden.
29025         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29026         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29027         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29028         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29029         Likewise.
29030         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29031         Likewise.
29032         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29033         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29034         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29035         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29036         ifunc-impl-list.c.
29037         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29038         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29039         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29040         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29041         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29042         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29043         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29044         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29045         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29046         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29047         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29048         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29049         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29050         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29051         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29052         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29053         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29054         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29055         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29056         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29057         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29058         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29059         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29060         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29061         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29062         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29063         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29064         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29065         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29066         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29067         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29068         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29069         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29070         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29071         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29072         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29073         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29074         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29075         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29076         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29077         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29079         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29080         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29081         * include/ifunc-impl-list.h: New file.
29082         * misc/ifunc-impl-list.c: Likewise.
29083         * misc/Makefile (routines): Add ifunc-impl-list.
29084         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29085         * string/test-string.h: Include <ifunc-impl-list.h>.
29086         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29087         TEST_NAME]: New variables.
29088         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29089         are defined.
29090         (test_init): Call __libc_ifunc_impl_list to initialize
29091         func_list if TEST_IFUNC and TEST_NAME are defined.
29093         * string/Makefile (strop-tests): Add bcopy and bzero.
29094         * string/test-bcopy.c: New file.
29095         * string/test-bzero.c: Likewise.
29096         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29097         defined.
29098         * string/test-memset.c: Support bzero test if TEST_BZERO is
29099         defined.
29100         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29101         __libc_memmove.
29102         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29103         __libc_memset.
29104         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29105         of memset.
29107 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29109         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29110         * configure: Regenerated.
29112         * Makeconfig (+link-static-before-libc): Don't include
29113         $(link-static-libc).
29115         * libio/libio.h (_IO_pos_t): Remove.
29117 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29119         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29120         McGrath.
29122 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29124         * crypt/crypt-entry.c: Include fips-private.h.
29125         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29126         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29127         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29128         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29130 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29132         * crypt/crypt-private.h: Include stdbool.h.
29133         (_ufc_setup_salt_r): Return bool.
29134         * crypt/crypt-entry.c: Include errno.h.
29135         (__crypt_r): Return NULL with EINVAL for bad salt.
29136         * crypt/crypt_util.c (bad_for_salt): New.
29137         (_ufc_setup_salt_r): Check that salt is long enough and within
29138         the specified alphabet.
29139         * crypt/badsalttest.c: New file.
29140         * crypt/Makefile (tests): Add it.
29141         ($(objpfx)badsalttest): New.
29143 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29145         * NEWS: Add entry for BZ #14602.
29147 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29149         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29150         type-generic.
29151         * math/libm-test.inc: Update comment listing what functions and
29152         macros are tested.
29153         (isgreater_test): New function.
29154         (isgreaterequal_test): Likewise.
29155         (isless_test): Likewise.
29156         (islessequal_test): Likewise.
29157         (islessgreater_test): Likewise.
29158         (isunordered_test): Likewise.
29159         (main): Call the new functions.
29161 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29163         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29164         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29165         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29166         * sysdeps/i386/configure: Regenerated.
29167         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29168         * sysdeps/mach/configure: Regenerated.
29169         * sysdeps/mach/hurd/configure: Regenerated.
29170         * sysdeps/powerpc/configure: Regenerated.
29171         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29172         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29173         * sysdeps/s390/s390-32/configure: Regenerated.
29174         * sysdeps/s390/s390-64/configure: Regenerated.
29175         * sysdeps/sh/configure: Regenerated.
29176         * sysdeps/sparc/configure: Regenerated.
29177         * sysdeps/unix/sysv/linux/configure: Regenerated.
29178         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29179         * sysdeps/x86_64/configure: Regenerated.
29181         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29182         defined.  Don't check if MAP is NULL.
29184 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29186         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29187         (_G_stat64): Likewise.
29188         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29189         (_G_stat64): Likewise.
29190         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29191         instead of struct _G_stat64.
29192         * libio/fileops.c (mmap_remap_check): Likewise.
29193         (decide_maybe_mmap): Likewise.
29194         (_IO_new_file_seekoff): Likewise.
29195         (_IO_file_stat): Likewise.
29196         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29197         _G_off64_t.
29198         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29199         instead of struct _G_stat64.
29200         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29202 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29204         [BZ #14602]
29205         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29206         Replace with ...
29207         (CHECK_EOL): New macro.
29208         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29209         CHECK_EOL.
29210         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29211         Replace with CHECK_EOL.
29212         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29213         Replace with CHECK_EOL.
29215 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29217         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29218         type-generic.
29219         * math/libm-test.inc: Update comment listing what functions and
29220         macros are tested.
29221         (finite_test): New function.
29222         (isinf_test): Likewise.
29223         (isnan_test): Likewise.
29224         (fpclassify_test): Test subnormal input.
29225         (isfinite_test): Likewise.
29226         (isnormal_test): Likewise.
29227         (main): Call the new functions.
29229 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29231         [BZ #14660]
29232         * Makerules (%.dynsym): Force C locale when running
29233         $(OBJDUMP) --dynamic-syms.
29235 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29237         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29238         <stdint.h>.
29240 2012-10-06  David S. Miller  <davem@davemloft.net>
29242         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29243         upper 32-bits of the length value in %o2 since we use branch-on-register
29244         tests which consider the entire 64-bit register.
29246 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29248         * string/test-strstr.c (check2): Add a test for page boundary.
29250 2012-10-05  David S. Miller  <davem@davemloft.net>
29252         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29253         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29254         file.
29255         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29256         sysdep_routines.
29257         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29258         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29259         and bzero when HWCAP_SPARC_CRYPTO is present.
29261 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29263         [BZ #14602]
29264         * string/test-strstr.c (check2): New function.
29265         (test_main): Call check2.
29267         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29268         and bug-strchr1.
29269         * string/bug-strcasestr1.c (do_test): Moved to ...
29270         * string/test-strcasestr.c (check1): Here.  New function.
29271         (do_one_test): Break out result checking code into ...
29272         (check_result): This.  New function.
29273         (do_one_test): Call check_result.
29274         (test_main): Call check1.
29275         * string/bug-strchr1.c (do_test): Moved to ...
29276         * string/test-strchr.c (check1): Here.  New function.
29277         (do_one_test): Break out result checking code into ...
29278         (check_result): This.  New function.
29279         (do_one_test): Call check_result.
29280         (test_main): Call check1.
29281         * string/bug-strstr1.c (main): Moved to ...
29282         * string/test-strstr.c (check1): Here.  New function.
29283         (do_one_test): Break out result checking code into ...
29284         (check_result): This.  New function.
29285         (do_one_test): Call check_result.
29286         (test_main): Call check1.
29287         * string/bug-strcasestr1.c: Removed.
29288         * string/bug-strchr1.c: Likewise.
29289         * string/bug-strstr1.c: Likewise.
29291         * elf/Makefile (dl-routines): Add hwcaps.
29292         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29293         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29294         (_dl_important_hwcaps): Moved to ...
29295         * elf/dl-hwcaps.c: Here.  New file.
29296         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29298         [BZ #14557]
29299         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29300         if IS_IN_rtld isn't defined.
29302         * elf/dl-support.c (_dl_sysinfo_map): New.
29303         Include "get-dynamic-info.h" and "setup-vdso.h".
29304         (_dl_non_dynamic_init): Call setup_vdso.
29305         * elf/dynamic-link.h: Don't include <assert.h>.
29306         (elf_get_dynamic_info): Moved to ...
29307         * elf/get-dynamic-info.h: Here.  New file.
29308         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29309         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29310         * elf/setup-vdso.h: Here.  New file.
29311         * elf/rtld.c: Include "setup-vdso.h".
29312         (dl_main): Call setup_vdso.
29314 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29316         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29317         creal in comment listing functions tested.  List finite, isinf,
29318         isnan, isless, islessequal, isgreater, isgreaterequal,
29319         islessgreater, isunordered, lgamma_r and pow10 as functions and
29320         macros not tested.  Mention which functions not tested are aliases
29321         for other functions.  Fix typo.  Note that signs of NaNs are not
29322         tested.
29324         * scripts/config.guess: Update from config.git.
29325         * scripts/config.sub: Likewise.
29327 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29329         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29330         * misc/madvise.c (madvise): Renamed to __madvise.
29331         Make madvise a weak alias.
29332         * include/sys/mman.h: Declare __madvise.
29333         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29334         * sysdeps/unix/syscalls.list
29335         (madvise): Make __madvise the strong name, and madvise a weak alias.
29336         * sysdeps/unix/sysv/linux/syscalls.list
29337         (madvise, mmap): Remove redundant entries.
29338         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29339         * malloc/malloc.c (mtrim): Likewise.
29340         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29342 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29344         * sysdeps/mach/hurd/dl-cache.c: File removed.
29345         * config.h.in (USE_LDCONFIG): New #undef.
29346         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29347         * configure: Regenerated.
29348         * elf/Makefile (dl-routines): Add dl-cache only under
29349         [$(use-ldconfig) = yes].
29350         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29351         cache on [USE_LDCONFIG].
29352         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29353         [USE_LDCONFIG].
29354         * elf/rtld.c (dl_main): Likewise.
29356 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29358         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29359         _SC_LEVEL4_CACHE_LINESIZE.
29361 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29363         * sysdeps/unix/bsd/confstr.h: File removed.
29365 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29367         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29368         sys/sdt-config.h.
29370 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29372         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29373         Make 'mapoff' field ElfW(Off) rather than off_t.
29375 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29377         * nscd/Makefile: Remove nscd-cflags and all its users.
29378         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29379         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29381         [BZ #10631]
29382         * malloc.c (malloc_printerr): Clarify error message.
29384 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29386         [BZ #14648]
29387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29388         Set bit_FMA_Usable if FMA is supported.
29389         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29390         macro.
29391         (bit_FMA4_Usable): Updated.
29392         (index_FMA_Usable): New macro.
29393         (CPUID_FMA): Likewise
29394         (HAS_FMA): Defined with bit_FMA_Usable.
29396 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29398         * bits/types.h (__swblk_t): Type removed.
29399         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29400         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29401         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29402         (__SWBLK_T_TYPE): Likewise.
29403         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29404         (__SWBLK_T_TYPE): Likewise.
29405         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29406         (__SWBLK_T_TYPE): Likewise.
29407         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29408         (__SWBLK_T_TYPE): Likewise.
29410 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29411             Honza Horak <hhorak@redhat.com>
29413         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29414         (xdr_mapname): Use YPMAXMAP as maxsize.
29415         (xdr_peername): Use YPMAXPEER as maxsize.
29416         (xdr_keydat): Use YPAXRECORD as maxsize.
29417         (xdr_valdat): Use YPMAXRECORD as maxsize.
29419 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29421         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29423         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29424         * csu/init-first.c: ... here.
29425         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29426         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29427         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29428         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29429         * sysdeps/i386/init-first.c: File removed.
29430         * sysdeps/sh/init-first.c: File removed.
29432 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29434         [BZ #14645]
29435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29436         if x * y might underflow to zero and z is zero.
29437         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29438         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29439         * math/libm-test.inc (min_subnorm_value): New variable.
29440         (fma_test): Add more tests.
29441         (fma_test_towardzero): Likewise.
29442         (fma_test_downward): Likewise
29443         (fma_test_upward): Likewise.
29444         (initialize): Set min_subnorm_value.
29446 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29448         [BZ #14638]
29449         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29450         0 + 0.
29451         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29452         mode for addition resulting in exact zero.
29453         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29455         exact 0 + 0.
29456         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29458         * math/libm-test.inc (fma_test): Add more tests.
29459         (fma_test_towardzero): New function.
29460         (fma_test_downward): Likewise.
29461         (fma_test_upward): Likewise.
29462         (main): Call the new functions.
29464 2012-09-28  David S. Miller  <davem@davemloft.net>
29466         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29468 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29470         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29471         instead of SIGALRM.
29473         * sysdeps/gnu/_G_config.h: Moved to ...
29474         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29475         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29476         * sysdeps/generic/_G_config.h: ... here.
29478         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29480         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29482         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29483         Conditionalize target on [libnss_test1.so-version].
29485         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29487         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29488         (elfobjdir): Move out of conditionals.
29490         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29491         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29492         (__nss_lookup_function): Conditionalize label remove_from_tree on
29493         [!DO_STATIC_NSS || SHARED], matching its only use.
29495 2012-09-28  David S. Miller  <davem@davemloft.net>
29497         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29498         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29499         file.
29500         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29501         sysdep_routines.
29502         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29503         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29504         when HWCAP_SPARC_CRYPTO is present.
29506 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29508         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29510 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29512         [BZ #6530]
29513         * stdio-common/vfprintf.c (process_string_arg): Revert
29514         2000-07-22 change.
29516 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29518         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29519         for testcase.
29520         * stdio-common/tst-sprintf.c: Include <locale.h>
29521         (main): Test sprintf's handling of incomplete multibyte
29522         characters.
29524 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29526         * elf/dl-runtime.c (VERSYMIDX): Removed.
29527         * elf/dl-version.c (VERSYMIDX): Likewise.
29528         * elf/do-rel.h (VERSYMIDX): Likewise.
29529         (VALIDX): Likewise.
29530         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29531         * elf/rtld.c (VALIDX): Likewise.
29532         (ADDRIDX): Likewise.
29533         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29534         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29535         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29536         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29537         (VALIDX): Likewise.
29538         (ADDRIDX): Likewise.
29540 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29542         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29544 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29546         [BZ #11438]
29547         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29548         to global scope.
29549         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29550         addresses are in the same scope as 192.0.2/24.
29551         * posix/gai.conf: Document new scope table defaults.
29553 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29555         [BZ #5298]
29556         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29557         for ftell.  Compute offsets from write pointers instead.
29558         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29560 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29562         [BZ #14543]
29563         * libio/Makefile (tests): New test case tst-fseek.
29564         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29565         combination works in wide mode.
29566         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29567         state when the external buffer state changes.
29569 2012-09-27  David S. Miller  <davem@davemloft.net>
29571         [BZ #14376]
29572         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29573         pass reloc->r_addend in as the 'high' argument to
29574         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29578 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29580         * rt/tst-aio2.c: Include <pthread.h>.
29581         * rt/tst-aio3.c: Likewise.
29583 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29585         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29587 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29589         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29590         contents on [SHARED].
29592 2012-09-26  Marek Polacek  <polacek@redhat.com>
29594         [BZ #14530]
29595         [BZ #13741]
29596         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29597         for C++ and GCC <4.3 as well as for non GCC compilers.
29599 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29603 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29605         * Makefile.in (all, install): Declare with .PHONY.
29606         Reported by Michael Hope <michael.hope@linaro.org>.
29608 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29610         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29611         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29612         system header.
29613         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29614         Likewise.
29615         (sydep_routines): Add the new and the internal functions.
29616         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29617         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29619         (GLIBC_2.17): Add the new function.
29620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29621         (GLIBC_2.17): Likewise.
29622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29623         (GLIBC_2.17): Likewise.
29624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29625         (GLIBC_2.17): Likewise.
29626         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29628 2012-09-25  Alan Modra  <amodra@gmail.com>
29630         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29631         Add release barrier before setting once_control to say
29632         initialisation is done.  Add hints on lwarx.  Use macro in
29633         place of isync.
29634         (clear_once_control): Add release barrier.
29636 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29638         [BZ #13629]
29639         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29640         specially.
29641         * math/s_clog10.c (__clog10): Likewise.
29642         * math/s_clog10f.c (__clog10f): Likewise.
29643         * math/s_clog10l.c (__clog10l): Likewise.
29644         * math/s_clogf.c (__clogf): Likewise.
29645         * math/s_clogl.c (__clogl): Likewise.
29646         * math/Makefile (libm-calls): Add x2y2m1.
29647         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29648         (__x2y2m1): Likewise.
29649         (__x2y2m1l): Likewise.
29650         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29651         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29652         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29653         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29654         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29655         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29656         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29657         * sysdeps/i386/fpu/libm-test-ulps: Update.
29658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29660         [BZ #14621]
29661         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29662         int as type of variable DEPTH.
29663         (glob): Use size_t instead of int as type of variables NEWCOUNT
29664         and OLD_PATHC.
29666 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29668         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29669         Add s_sincosf-sse2.
29670         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29671         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29672         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29673         macros for using routine as __sincosf_ia32.
29674         Use macro for function declaration and weak_alias.
29675         * sysdeps/i386/fpu/libm-test-ulps: Update.
29677         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29680         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29681         subnormal argument.
29682         * math/s_cexpf.c (__cexpf): Likewise.
29683         * math/s_csinf.c (__csinf): Likewise.
29684         * math/s_csinhf.c (__csinhf): Likewise.
29685         * math/s_ctanf.c (__ctanf): Likewise.
29686         * math/s_ctanhf.c (__ctanhf): Likewise.
29687         * math/s_ccosh.c (__ccoshf): Likewise.
29688         * math/s_cexp.c (__cexpl): Likewise.
29689         * math/s_csin.c (__csin): Likewise.
29690         * math/s_csinh.c (__csinh): Likewise.
29691         * math/s_ctan.c (__ctan): Likewise.
29692         * math/s_ctanh.c (ctanh): Likewise.
29693         * math/s_ccoshl.c (__ccoshl): Likewise.
29694         * math/s_cexpl.c (__cexpl): Likewise.
29695         * math/s_csinl.c (__csinl): Likewise.
29696         * math/s_csinhl.c (__csinhl): Likewise.
29697         * math/s_ctanl.c (__ctanl): Likewise.
29698         * math/s_ctanhl.c (__ctanhl): Likewise.
29700 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29702         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29703         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29704         (_IO_off_t): Define to __off_t, not _G_off_t.
29705         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29706         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29707         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29708         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29709         type of __dummy and __dummy2 fields.
29710         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29711         (_G_ssize_t): Likewise.
29712         (_G_off_t): Likewise.
29713         (_G_pid_t): Likewise.
29714         (_G_uid_t): Likewise.
29715         (_G_wchar_t): Likewise.
29716         (_G_wint_t): Likewise.
29717         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29718         (_G_ssize_t): Likewise.
29719         (_G_off_t): Likewise.
29720         (_G_pid_t): Likewise.
29721         (_G_uid_t): Likewise.
29722         (_G_wchar_t): Likewise.
29723         (_G_wint_t): Likewise.
29724         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29725         (_G_ssize_t): Likewise.
29726         (_G_off_t): Likewise.
29727         (_G_pid_t): Likewise.
29728         (_G_uid_t): Likewise.
29729         (_G_wchar_t): Likewise.
29730         (_G_wint_t): Likewise.
29732 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29734         * malloc/arena.c: Include malloc-sysdep.h.
29735         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29736         is sufficient to shrink the heap or an unmap is needed.
29737         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29738         new function check_may_shrink_heap.
29739         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29740         new function check_may_shrink_heap.
29742 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29744         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29745         comments.
29747 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29749         * catgets/test-gencat.sh: Add "set -e".
29750         * elf/tst-pathopt.sh: Likewise.
29751         * grp/tst_fgetgrent.sh: Likewise.
29752         * iconvdata/run-iconv-test.sh: Likewise.
29753         * intl/tst-gettext.sh: Likewise.
29754         * intl/tst-gettext2.sh: Likewise.
29755         * intl/tst-gettext4.sh: Likewise.
29756         * intl/tst-gettext6.sh: Likewise.
29757         * intl/tst-translit.sh: Likewise.
29758         * io/ftwtest-sh: Likewise.
29759         * libio/test-freopen.sh: Likewise.
29760         * malloc/tst-mtrace.sh: Likewise.
29761         * posix/globtest.sh: Likewise.
29762         * posix/tst-getconf.sh: Likewise.
29763         * posix/wordexp-tst.sh: Likewise.
29764         * stdio-common/tst-printf.sh: Likewise.
29765         * stdio-common/tst-unbputc.sh: Likewise.
29766         * stdlib/tst-fmtmsg.sh: Likewise.
29767         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29768         * catgets/Makefile: Do not specify -e option when running
29769         testsuite shell scripts.
29770         * elf/Makefile: Likewise.
29771         * grp/Makefile: Likewise.
29772         * iconvdata/Makefile: Likewise.
29773         * intl/Makefile: Likewise.
29774         * io/Makefile: Likewise.
29775         * libio/Makefile: Likewise.
29776         * malloc/Makefile: Likewise.
29777         * posix/Makefile: Likewise.
29778         * stdio-common/Makefile: Likewise.
29779         * stdlib/Makefile: Likewise.
29780         * sysdeps/x86_64/Makefile: Likewise.
29782         * io/ftwtest-sh: Add copyright header.
29783         * posix/globtest.sh: Likewise.
29784         * posix/tst-getconf.sh: Likewise.
29785         * posix/wordexp-tst.sh: Likewise.
29786         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29788 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29790         [BZ #13679]
29791         * Makeconfig (+link): Defined as $(+link-static) if
29792         $(build-shared) isn't yes.
29793         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29794         isn't yes.
29795         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29797         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29799         [BZ #14562]
29800         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29801         new chunk size with MALLOC_ALIGN_MASK.
29803 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29805         [BZ #5044]
29806         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29807         <rounding-mode.h>.
29808         (__printf_fphex): Determine rounding using get_rounding_mode and
29809         round_away.
29810         * stdio-common/tst-printf-round.c (struct hex_test): New
29811         structure.
29812         (hex_tests): New variable.
29813         (test_hex_in_one_mode): New function.
29814         (do_test): Also run tests for hex float output.
29816 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29818         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29819         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29820         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29821         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29822         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29823         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29824         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29825         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29827 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29829         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29830         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29831         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29832         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29834 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29836         [BZ #14579]
29837         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29838         mode only.
29839         * elf/tst-rtld-load-self.sh: New test.
29840         * elf/Makefile: Run it.
29842 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29844         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29845         (tst-writev-ENV): Remove.
29846         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29848 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29850         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29852 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29854         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29855         unconditional.
29856         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29857         Likewise.
29858         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29859         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29860         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29861         Likewise.
29863 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29865         [BZ #14587]
29866         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29867         * config.make.in (have-cpp-asm-debuginfo): Removed.
29868         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29869         * configure: Regenerated.
29871 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29873         [BZ #5044]
29874         * stdio-common/printf_fp.c: Include <stdbool.h> and
29875         <rounding-mode.h>.
29876         (___printf_fp): Determine rounding using get_rounding_mode and
29877         round_away.
29878         * stdio-common/tst-printf-round.c: New file.
29879         * stdio-common/Makefile (tests): Add tst-printf-round.
29880         (link-libm): New variable.
29881         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29883 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29885         [BZ #14576]
29886         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29887         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29888         Likewise.
29889         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29890         Likewise.
29892 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29894         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29895         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29896         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29897         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29899 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29901         [BZ #14518]
29902         * include/rounding-mode.h: New file.
29903         * sysdeps/generic/get-rounding-mode.h: Likewise.
29904         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29905         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29906         (MAX_VALUE): New macro.
29907         (MIN_VALUE): Likewise.
29908         (overflow_value): New function.
29909         (underflow_value): Likewise.
29910         (round_and_return): Use overflow_value and underflow_value to
29911         determine return values in overflow and underflow cases.  Use
29912         round_away to determine rounding depending on rounding mode.
29913         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29914         determine return values in overflow and underflow cases.
29915         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29916         (struct test_results): New structure.
29917         (struct test): Use struct test_results to store expected results
29918         for all rounding modes.
29919         (TEST): Include expected results for all rounding modes.
29920         (test_in_one_mode): New function.
29921         (do_test): Use test_in_one_mode to compute and check results.
29922         Check results for all rounding modes.
29923         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29924         $(link-libm).
29926 2012-12-09  Allan McRae  <allan@archlinux.org>
29928         * sysdeps/i386/fpu/libm-test-ulps: Update
29930 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29932         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29933         (_G_int32_t): Likewise.
29934         (_G_uint16_t): Likewise.
29935         (_G_uint32_t): Likewise.
29936         (_G_HAVE_BOOL): Likewise.
29937         (_G_HAVE_ATEXIT): Likewise.
29938         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29939         (_G_HAVE_IO_FILE_OPEN): Likewise.
29940         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29941         (_G_int32_t): Likewise.
29942         (_G_uint16_t): Likewise.
29943         (_G_uint32_t): Likewise.
29944         (_G_HAVE_BOOL): Likewise.
29945         (_G_HAVE_ATEXIT): Likewise.
29946         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29947         (_G_HAVE_IO_FILE_OPEN): Likewise.
29948         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29949         (_G_int32_t): Likewise.
29950         (_G_uint16_t): Likewise.
29951         (_G_uint32_t): Likewise.
29952         (_G_HAVE_BOOL): Likewise.
29953         (_G_HAVE_ATEXIT): Likewise.
29954         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29955         (_G_HAVE_IO_FILE_OPEN): Likewise.
29957 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29959         * csu/libc-tls.c: Update copyright years.
29961 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29963         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29964         [!_G_USING_THUNKS]: Remove conditional code.
29965         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29966         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29968         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29969         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29970         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29971         (_G_VTABLE_LABEL_PREFIX): Likewise.
29972         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29973         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29974         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29975         (_G_VTABLE_LABEL_PREFIX): Likewise.
29976         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29977         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29978         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29979         (_G_VTABLE_LABEL_PREFIX): Likewise.
29980         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29982 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29984         * libio/Makefile: Include ../Makeconfig before tests.
29985         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29986         only if $(build-shared) is yes.
29988         * iconv/gconv_db.c: Update copyright years.
29990 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29992         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29993         unwind info if defined PIC. Fix special cases description.
29994         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29996         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29997         DP_HI_MASK entry.
29998         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30000 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30002         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30004         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30005         is NULL.
30007         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30008         (LDLIBS-tst-chk4): This.
30009         (LDFLAGS-tst-chk5): Renamed to ...
30010         (LDLIBS-tst-chk5): This.
30011         (LDFLAGS-tst-chk6): Renamed to ...
30012         (LDLIBS-tst-chk6): This.
30013         (LDFLAGS-tst-lfschk4): Renamed to ...
30014         (LDLIBS-tst-lfschk4): This.
30015         (LDFLAGS-tst-lfschk5): Renamed to ...
30016         (LDLIBS-tst-lfschk5): This.
30017         (LDFLAGS-tst-lfschk6): Renamed to ...
30018         (LDLIBS-tst-lfschk6): This.
30020         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30021         on $(common-objpfx)soversions.mk.
30023 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30025         [BZ #10014]
30026         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30027         example host name.
30029 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30031         * malloc/arena.c (arena_get_retry): New function that gets
30032         another arena for the caller to try its request on.
30033         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30034         current arena cannot fulfill the request.
30035         (__libc_memalign): Likewise.
30036         (__libc_memalign): Likewise.
30037         (__libc_pvalloc): Likewise.
30038         (__libc_calloc): Likewise.
30040 2012-09-05  John Tobey  <john.tobey@gmail.com>
30042         [BZ #13542]
30043         * manual/arith.texi (Operations on Complex): Fix description
30044         of carg branch cut.
30046 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30048         [BZ #10014]
30049         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30050         host name.
30052         [BZ #10038]
30053         * manual/memory.texi (Memory): Make order of menu items match
30054         order of sections.
30056 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30058         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30059         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30060         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30062 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30064         * csu/libc-tls.c (static_dtv): Renamed to ...
30065         (_dl_static_dtv): This.  Make it global.
30066         (_dl_initial_dtv): Removed.
30067         (__libc_setup_tls): Updated.
30068         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30069         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30070         DL_INITIAL_DTV.
30072 2012-09-06  Petr Machata  <pmachata@redhat.com>
30074         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30075         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30076         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30077         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30079 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30081         [BZ #14545]
30082         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30083         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30084         freeing dtv[-1].
30086 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30088         [BZ #14544]
30089         * Makeconfig (link-static-before-libc): Replace $(+prector)
30090         with $(+prectorT).
30091         (link-static-after-libc): Replace $(+postctor) with
30092         $(+postctorT).
30093         (link-bounded): Replace $(+prector)/$(+postctor) with
30094         $(+prectorT)/$(+postctorT).
30095         (+prectorT): New macro.
30096         (+postctorT): Likewise.
30098 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30100         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30101         (round_str): Handle values above the maximum for IBM long double
30102         as inexact.
30103         * stdlib/tst-strtod-round.c (tests): Regenerated.
30105 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30107         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30108         assembler flag.
30109         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30110         zarch_nohighgprs around the zarch optimized routines.
30111         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30112         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30113         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30114         for zarch.
30116 2012-09-05  David S. Miller  <davem@davemloft.net>
30118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30120         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30121         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30122         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30123         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30124         entries.
30126 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30128         * malloc/arena.c: Fold copyright years.
30129         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30131 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30133         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30135 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30137         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30139 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30141         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30142         change internal state upon failure.
30144 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30146         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30147         * malloc/memusage.c (mmap): Likewise.
30148         (mmap64, mremap): Likewise.  Adjust name in comment.
30150 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30152         * libio/fileops.c: Fix typos in comments.
30153         * libio/oldfileops.c: Likewise.
30154         * libio/wfileops.c: Likewise.
30156 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30158         [BZ #1349]
30159         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30160         (tst-malloc-usable-ENV): Set environment for test case.
30161         * malloc/hooks.c (malloc_check_get_size): New function to get
30162         requested size.
30163         * malloc/malloc.c (musable): Use malloc_check_get_size.
30164         * malloc/tst-malloc-usable.c: New test case.
30166 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30168         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30170 2012-09-05  Allan McRae  <allan@archlinux.org>
30172         [BZ #13966]
30173         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30174         determine header location.
30175         * configure: Regenerated.
30177 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30179         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30180         float format.
30181         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30182         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30183         format.
30184         (test): Regenerate.
30186 2012-09-04  David S. Miller  <davem@davemloft.net>
30188         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30189         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30190         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30192 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30194         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30195         failures.
30197         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30199 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30201         [BZ #9914]
30202         * libio/iogetdelim.c: Include <limits.h>.
30203         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30204         + len + 1 would overflow.
30206 2012-09-03  Andreas Jaeger  <aj@suse.de>
30208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30209         * sysdeps/i386/fpu/libm-test-ulps: Update.
30211 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30213         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30214         Add s_sinf-sse2, s_conf-sse2.
30216         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30217         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30218         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30219         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30221         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30222         for using routine as __sinf_ia32.
30223         Use macro for function declaration and weak_alias.
30224         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30225         for using routine as __cosf_ia32.
30226         Use macro for function declaration and weak_alias.
30228         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30229         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30231         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30232         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30235         * math/libm-test.inc (cos_test): Add more test cases.
30236         (sin_test): Likewise.
30237         (sincos_test): Likewise.
30239 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30241         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30242         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30243         hidden.
30244         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30246 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30248         [BZ #14538]
30249         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30250         first element of the GOT.
30251         (elf_machine_load_address): Return the difference between
30252         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30254 2012-09-01  Allan McRae  <allan@archlinux.org>
30256         [BZ #13412]
30257         * configure.in (AWK): Require gawk version 3.0 or later.
30258         * configure: Regenerated.
30260 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30262         * sysdeps/unix/sysv/linux/kernel-features.h
30263         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30264         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30265         [__NR_clock_getres]: Make code unconditional.
30266         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30267         (clock_getcpuclockid): Remove code left unreachable by removal of
30268         conditionals.
30269         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30270         code unconditional.
30271         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30272         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30273         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30274         Make code unconditional.
30275         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30276         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30277         * sysdeps/unix/sysv/linux/clock_settime.c
30278         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30279         conditional code.
30280         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30281         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30283 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30285         [BZ #14476]
30286         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30287         scripts/test-installation.pl.
30289         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30290         and $ld_so_version if it is set.
30292 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30294         [BZ #14516]
30295         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30296         failure if reading from procfs failed.
30297         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30299 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30301         * sysdeps/unix/sysv/linux/kernel-features.h
30302         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30303         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30304         Remove conditional code.
30305         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30306         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30307         Remove conditional code.
30308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30309         * sysdeps/unix/sysv/linux/i386/fxstat.c
30310         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30311         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30312         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30313         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30314         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30315         * sysdeps/unix/sysv/linux/i386/lxstat.c
30316         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30317         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30318         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30319         Remove conditional code.
30320         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30321         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30322         Remove conditional code.
30323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30324         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30325         <kernel-features.h>.
30326         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30327         Remove.
30328         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30329         Remove conditional code.
30330         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30331         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30332         Remove conditional.
30334 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30336         [BZ #5400]
30337         * NEWS: Add fixed bug number.
30339 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30341         [BZ #14519]
30342         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30343         underflowing exponent in case of negative sign.
30344         * stdlib/tst-strtod-round-data: Add more tests.
30345         * stdlib/tst-strtod-round.c (tests): Regenerated.
30347         [BZ #3479]
30348         * stdlib/strtod_l.c (NDIG): Remove.
30349         (HEXNDIG): Likewise.
30350         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30351         smallest representable value.
30352         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30353         lie within an exact representation of 1/2 ulp of the result.
30354         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30355         unconditionally.
30356         (TENS_P9_IDX): Define unconditionally.
30357         (TENS_P9_SIZE): Likewise.
30358         (TENS_P10_IDX): Likewise.
30359         (TENS_P10_SIZE): Likewise.
30360         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30361         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30362         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30363         entries for 10^2^13 and 10^2^14.
30364         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30365         (TENS_P13_IDX): Define.
30366         (TENS_P13_SIZE): Likewise.
30367         (TENS_P14_IDX): Likewise.
30368         (TENS_P14_SIZE): Likewise.
30369         (_fpioconst_pow10): Change array size to
30370         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30371         unconditional.
30372         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30373         1024]: Add entries for 10^2^13 and 10^2^14.
30374         [LAST_POW10 > _LAST_POW10]: Remove #error.
30375         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30376         (_fpioconst_pow10): Change array size to
30377         FPIOCONST_POW10_ARRAY_SIZE.
30378         * stdlib/gen-fpioconst.c: New file.
30379         * stdlib/gen-tst-strtod-round.c: Likewise.
30380         * stdlib/tst-strtod-round-data: Likewise.
30381         * stdlib/tst-strtod-round.c: Likewise.
30382         * stdlib/Makefile (tests): Add tst-strtod-round.
30384         [BZ #14459]
30385         * stdlib/strtod_l.c: Include <stdint.h>.
30386         (NDEBUG): Do not define.
30387         (round_and_return): Change EXPONENT parameter to type intmax_t.
30388         Rearrange calculations to avoid internal overflow possibilities.
30389         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30390         Rearrange calculations to avoid internal overflow possibilities.
30391         Assert that number fits inside MPNSIZE limbs.
30392         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30393         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30394         calculations and add assertions to avoid internal overflow
30395         possibilities.  Add casts to avoid signed/unsigned operations.
30396         * stdlib/tst-strtod-overflow.c: New file.
30397         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30399 2012-08-25  Marek Polacek  <polacek@redhat.com>
30401         * time/time.h: Fix some typos in comments.
30403 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30405         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30406         * posix/tst-rfc3484-2.c: Likewise.
30407         * posix/tst-rfc3484-3.c: Likewise.
30409 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30411         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30412         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30414 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30416         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30417         #include of fxstatat64.c.
30419 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30421         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30422         * shadow/getspent_r.c: Likewise.
30423         * shadow/getspnam.c: Likewise.
30424         * shadow/getspnam_r.c: Likewise.
30425         * gshadow/getsgent.c: Likewise.
30426         * gshadow/getsgent_r.c: Likewise.
30427         * gshadow/getsgnam.c: Likewise.
30428         * gshadow/getsgnam_r.c: Likewise.
30429         * inet/getnetbyad.c: Likewise.
30430         * inet/getnetbyad_r.c: Likewise.
30431         * inet/getnetbynm.c: Likewise.
30432         * inet/getnetbynm_r.c: Likewise.
30433         * inet/getnetent.c: Likewise.
30434         * inet/getnetent_r.c: Likewise.
30435         * inet/getproto.c: Likewise.
30436         * inet/getproto_r.c: Likewise.
30437         * inet/getprtent.c: Likewise.
30438         * inet/getprtent_r.c: Likewise.
30439         * inet/getprtname.c: Likewise.
30440         * inet/getprtname_r.c: Likewise.
30441         * inet/getrpcbyname.c: Likewise.
30442         * inet/getrpcbyname_r.c: Likewise.
30443         * inet/getrpcbynumber.c: Likewise.
30444         * inet/getrpcbynumber_r.c: Likewise.
30445         * inet/getrpcent.c: Likewise.
30446         * inet/getrpcent_r.c: Likewise.
30447         * inet/getaliasent.c: Likewise.
30448         * inet/getaliasent_r.c: Likewise.
30449         * inet/getaliasname.c: Likewise.
30450         * inet/getaliasname_r.c: Likewise.
30451         * nscd/getgrgid_r.c: Likewise.
30452         * nscd/getgrnam_r.c: Likewise.
30453         * nscd/gethstbyad_r.c: Likewise.
30454         * nscd/gethstbynm3_r.c: Likewise.
30455         * nscd/getpwnam_r.c: Likewise.
30456         * nscd/getpwuid_r.c: Likewise.
30457         * nscd/getsrvbynm_r.c: Likewise.
30458         * nscd/getsrvbypt_r.c: Likewise.
30459         * nscd/gai.c: Likewise.
30461         * configure.in (build_nscd): New substituted variable, set
30462         by --disable-build-nscd and defaults to $use_nscd.
30463         * configure: Regenerated.
30464         * config.make.in (build-nscd): New substituted variable.
30465         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30466         Change conditional to require [$(build-nscd) = yes] as well.
30467         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30469         [BZ# 13696]
30470         * configure.in (use_nscd): New substituted variable, set by
30471         --disable-nscd.  If enabled, define USE_NSCD.
30472         * configure: Regenerated.
30473         * config.h.in: Add USE_NSCD.
30474         * config.make.in (use-nscd): New substituted variable.
30475         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30476         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30477         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30478         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30479         (CFLAGS-getgrnam_r.c): Likewise.
30480         (CFLAGS-initgroups.c): Likewise.
30481         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30482         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30483         Variables removed.
30484         * inet/getnetgrent_r.c
30485         (nscd_setnetgrent): New function, broken out of ...
30486         (setnetgrent): ... here.  Call it.
30487         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30488         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30489         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30490         * nscd/Makefile (routines, aux): Move definitions after include of
30491         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30492         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30493         Conditionalize on [USE_NSCD].
30494         (is_nscd, nscd_init_cb): Likewise.
30495         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30496         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30497         * nss/nss_db/db-init.c: Likewise.
30498         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30499         [USE_NSCD].
30500         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30501         (make_request): Use it.
30502         (cache_valid_p): New function.
30503         (__check_pf): Use it.
30504         * NEWS: Add item for --disable-nscd.
30506 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30508         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30509         to support sed >= 4.2.1-20-ga9bf076.
30510         * configure: Regenerated.
30512 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30514         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30515         Conditionalize whole body on [IREL].
30517 2012-08-22  Jeff Law <law@redhat.com>
30519         [BZ #14505]
30520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30521         if the family is PF_UNSPEC.
30523 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30525         * Makerules (lib-version): Rename from V.
30526         (install-lib-nosubdir): Change V to lib-version.
30528 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30530         [BZ #14252]
30531         * powerpc32/power6/wcschr.c: New file.
30532         * powerpc32/power6/wcscpy.c: New file.
30533         * powerpc32/power6/wcsrchr.c: New file.
30534         * powerpc64/power6/wcschr.c: New file.
30535         * powerpc64/power6/wcscpy.c: New file.
30536         * powerpc64/power6/wcsrchr.c: New file.
30538 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30540         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30541         (two_way_short_needle): Use it.
30542         * string/strstr.c (AVAILABLE1_USES_J): Define.
30543         * string/strcasestr.c: Likewise.
30545         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30546         array references.
30547         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30549         [BZ #11607]
30550         * NEWS: Add an entry.
30551         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30552         define their defaults.
30553         (two_way_short_needle): Detect end-of-string on-the-fly.
30554         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30555         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30556         * string/bug-strcasestr1.c: New test.
30557         * string/Makefile: Run it.
30559 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30561         [BZ #11607]
30562         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30563         the first character.
30565 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30567         * csu/elf-init.c (__libc_csu_irel): Function removed.
30568         * csu/libc-start.c (apply_irel): New function.
30569         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30571 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30573         * sysdeps/unix/sysv/linux/kernel-features.h
30574         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30575         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30576         <kernel-features.h>.
30577         [__NR_fadvise64_64]: Make code unconditional.
30578         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30579         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30580         !__NR_fadvise64_64)]: Likewise.
30581         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30582         !__NR_fadvise64_64))]: Likewise.
30583         [__NR_fadvise64]: Make code unconditional.
30584         [!__NR_fadvise64]: Remove conditional code.
30585         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30586         <kernel-features.h>.
30587         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30588         unconditional.
30589         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30590         conditional code.
30591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30592         not include <kernel-features.h>.
30593         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30594         unconditional.
30595         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30596         conditional code.
30597         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30598         include <kernel-features.h>.
30599         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30600         unconditional.
30601         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30602         conditional code.
30604 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30606         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30607         slight instruction rearrangements per scrollpipe analysis.
30608         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30610 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30612         * manual/syslog.texi (syslog; vsyslog, closelog):
30613         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30614         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30616         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30617         DSOCAPS to match condition on defining it.
30619 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30621         * sysdeps/unix/sysv/linux/kernel-features.h
30622         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30624         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30625         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30627         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30628         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30630         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30631         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30633         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30634         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30636         * sysdeps/unix/sysv/linux/kernel-features.h
30637         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30638         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30639         unconditional.
30640         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30641         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30642         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30643         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30644         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30645         Make code unconditional.
30646         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30647         (__mmap64) [!__NR_mmap2]: Likewise.
30648         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30649         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30650         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30651         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30652         [__NR_mmap2]: Make code unconditional.
30653         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30654         (__mmap64) [!__NR_mmap2]: Likewise.
30656 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30658         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30660 2012-08-18  Andreas Jaeger  <aj@suse.de>
30662         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30664 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30666         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30667         * include/unistd.h (__have_sock_cloexec): Likewise.
30668         (__have_pipe2): Likewise.
30669         (__have_dup3): Likewise.
30671 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30673         [BZ #9685]
30674         * include/unistd.h (__have_pipe2): Change define into an extern int.
30675         (__have_dup3): Likewise.
30676         * socket/have_sock_cloexec.c: Include fcntl.h.
30677         (__have_pipe2): New variable.
30678         (__have_dup3): Likewise.
30680 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30682         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30684 2012-08-17  Marek Polacek  <polacek@redhat.com>
30686         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30687         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30689 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30691         * configure.in: Add AC_SUBST for sysheaders.
30692         * configure: Regenerated.
30693         * config.make.in (sysheaders): New substituted variable.
30695         * sysdeps/unix/mkfifo.c: Moved ...
30696         * sysdeps/posix/mkfifo.c: ... here.
30697         * sysdeps/unix/mkfifoat.c: Moved ...
30698         * sysdeps/posix/mkfifoat.c: ... here.
30700         * sysdeps/unix/utime.c: Moved ...
30701         * sysdeps/posix/utime.c: ... here.
30703         * sysdeps/unix/time.c: Moved ...
30704         * sysdeps/posix/time.c: ... here.
30705         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30706         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30708         * sysdeps/unix/nice.c: Moved ...
30709         * sysdeps/posix/nice.c: ... here.
30711         * sysdeps/unix/alarm.c: Moved ...
30712         * sysdeps/posix/alarm.c: ... here.
30714         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30716 2012-08-17  Jeff Law <law@redhat.com>
30718         * intl/Makefile (codeset_mo): New variable.
30719         ($(codeset_mo)): New target.
30720         (tst-codeset.out): Depend on that.  Remove explicit rule.
30721         (tst-gettext3.out, tst-gettext5.out): Likewise.
30722         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30723         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30724         * intl/tst-codeset.sh: Remove.
30725         * intl/tst-gettext3.sh: Likewise.
30726         * intl/tst-gettext5.sh: Likewise.
30728 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30730         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30731         * sysdeps/unix/syscalls.list: ... here.
30733         * sysdeps/posix/getaddrinfo.c
30734         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30735         (gaiconf_init, gaiconf_reload): Use them.
30736         [!_STATBUF_ST_NSEC]
30737         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30738         Define using time_t rather than struct timespec.
30740         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30741         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30742         Macros removed.
30743         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30744         [!NO_THREADS].
30745         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30746         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30747         Likewise.
30749         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30750         __libc_cleanup_push argument.
30752         * bits/param.h: New file.
30753         * misc/sys/param.h: New file.
30754         * include/sys/param.h: New file.
30755         * misc/Makefile (headers): Add bits/param.h.
30756         * sysdeps/generic/sys/param.h: File removed.
30757         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30758         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30759         * sysdeps/mach/hurd/bits/param.h: New file.
30760         * sysdeps/mach/hurd/sys/param.h: File removed.
30762         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30763         last change.
30765         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30766         [_IO_MTSAFE_IO].
30767         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30768         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30769         New macros.
30771         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30772         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30773         rather than -D_IO_MTSAFE_IO conditionally.
30774         * stdio-common/Makefile (CPPFLAGS): Likewise.
30775         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30776         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30777         Use $(libio-mtsafe).
30778         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30779         of -D_IO_MTSAFE_IO.
30780         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30781         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30782         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30783         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30784         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30785         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30786         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30787         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30788         (CFLAGS-fread_u_chk.c): Likewise.
30789         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30790         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30791         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30792         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30793         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30794         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30795         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30796         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30797         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30799         * libio/Makefile: Test [$(libc-reentrant) = yes]
30800         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30802         * Makeconfig
30803         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30804         * sysdeps/pthread/configure: File removed.
30805         * sysdeps/pthread/Makeconfig: New file.
30806         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30807         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30809 2012-08-16  Gary Benson  <gbenson@redhat.com>
30811         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30812         unmapping the first object in a namespace.
30814 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30816         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30817         (__internal_setnetgrent): ... this.  Add internal_function to
30818         definition.  Add libc_hidden_def.
30819         (setnetgrent): Update caller.
30820         (internal_endnetgrent): Renamed to ...
30821         (__internal_endnetgrent): ... this.  Add internal_function to
30822         definition.  Add libc_hidden_def.
30823         (endnetgrent): Update caller.
30824         (internal_getnetgrent_r): Renamed to ...
30825         (__internal_getnetgrent_r): ... this.  Add internal_function to
30826         definition.  Add libc_hidden_def.
30827         (__getnetgrent_r): Update caller.
30828         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30830 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30832         * stdlib/longlong.h: Update from GCC.
30834 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30836         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30837         on _QL, which is set by umul_ppmm but never used.
30838         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30839         variables, which are set by GMP macros but never used.
30840         * stdio-common/_itowa.c (_itowa): Likewise.
30841         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30842         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30844 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30846         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30847         struct La_sh_regs is not constant.
30848         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30849         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30850         and struct La_sparc64_regs are not constant.
30852 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30854         * sysdeps/unix/sysv/linux/kernel-features.h
30855         (__ASSUME_POSIX_TIMERS): Remove.
30856         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30857         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30858         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30859         Make code unconditional.
30860         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30861         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30862         Make code unconditional.
30863         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30864         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30865         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30866         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30867         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30868         Make code unconditional.
30869         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30870         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30871         (__libc_missing_posix_timers): Remove.
30873 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30875         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30876         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30878         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30880         * elf/dl-sym.c: Include <stdlib.h>.
30882         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30883         constants, which avoids warnings in 32-bit builds.
30885         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30886         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30888         * misc/lseek.c: File moved to ...
30889         * io/lseek.c: ... here.
30891         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30893         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30894         shifting LEN more than 31 bits at once.
30896 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30898         [BZ #14195]
30899         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30900         segmentation fault for a case of two empty input strings.
30901         * string/test-strncasecmp.c (check1): Renamed to...
30902         (bz12205): ...this.
30903         (bz14195): Add new testcase for two empty input strings and N > 0.
30904         (test_main): Call new testcase, adapt for renamed function.
30906 2012-08-15  Andreas Jaeger  <aj@suse.de>
30908         [BZ #14090]
30909         * crypt/md5test2.c: New test, based on test supplied by Serge
30910         Belyshev <belyshev@depni.sinp.msu.ru>.
30911         * crypt/Makefile (xtests): Add md5test-giant..
30912         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30914 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30916         [BZ #14090]
30917         * crypt/md5.c (md5_process_block): Don't assume the buffer
30918         length is less than 2**32.
30919         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30920         length is less than 2**64.
30922 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30924         * string/str-two-way.h: Include <sys/param.h>.
30925         (MAX): Macro removed.
30927         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30928         Move #define and #undef of memmove to just before and after
30929         including <string.h>.
30931         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30932         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30933         and after including <string.h>.  Move declarations of
30934         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30935         to before #include "string/memmove.c".
30937         * include/dirent.h: Declare __getdirentries.
30939         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30940         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30942 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30944         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30945         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30946         * sysdeps/i386/configure: Regenerated.
30947         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30948         STABS_CURRENT_FILE, and STABS_FUN.
30949         (END): Remove call to STABS_FUN_END.
30950         (STABS_CURRENT_FILE1): Delete.
30951         (STABS_CURRENT_FILE): Likewise.
30952         (STABS_FUN): Likewise.
30953         (STABS_FUN_END): Likewise.
30954         (STABS_FUN2): Likewise.
30955         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30956         * sysdeps/x86_64/configure: Regenerated.
30958 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30960         * elf/dl-open.c: Include <atomic.h>.
30961         * elf/dl-lookup.c: Likewise.
30963 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30965         * sysdeps/unix/sysv/linux/kernel-features.h
30966         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30967         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30968         unconditionally.
30969         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30970         unconditionally.
30971         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30972         condition on __ASSUME_CLONE_THREAD_FLAGS.
30974 2012-08-14  Andreas Jaeger  <aj@suse.de>
30976         * sysdeps/i386/fpu/libm-test-ulps: Update.
30978 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30980         * include/atomic.h (atomic_exchange_and_add): Split into ...
30981         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30982         New atomic macros.
30984 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30988 2012-08-13  Jeff Law <law@redhat.com>
30990         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30991         null byte in the output string.
30993 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30995         * sysdeps/unix/sysv/linux/kernel-features.h
30996         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30997         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30998         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30999         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31000         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31001         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31002         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31004 2012-08-09  Jeff Law <law@redhat.com>
31006         [BZ #13939]
31007         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31008         When avoid_arena is set, don't retry in the that arena.  Pick the
31009         next one, whatever it might be.
31010         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31011         (arena_lock): Pass in new parameter to arena_get2.
31012         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31013         arena_get2.
31014         (__libc_malloc): Unify retrying after main arena failure with
31015         __libc_memalign version.
31016         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31018 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31020         [BZ #14166]
31021         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31022         to __redirect_strstr.
31023         (__strstr_sse42): Use typeof __redirect_strstr.
31024         (__strstr_ia32): Likewise.
31025         (__libc_strstr): New prototype.
31026         (strstr): Renamed to ...
31027         (__libc_strstr): This.
31028         (strstr): New strong alias of __libc_strstr.
31029         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31030         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31031         __redirect_time.
31032         Include <time.h>.
31033         (__libc_time): New prototype.
31034         (time_ifunc): Replace time with __libc_time.
31035         (time): New strong alias and hidden definition of __libc_time.
31036         (__GI_time): Remove strong alias.
31037         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31038         Include <stddef.h>.
31039         (memmove): Redefined to __redirect_memmove.
31040         (__memmove_sse2): Use typeof __redirect_memmove.
31041         (__memmove_ssse3): Likewise.
31042         (__memmove_ssse3_back): Likewise.
31043         (__libc_memmove): New prototype.
31044         (memmove): Renamed to ...
31045         (__libc_memmove): This.
31046         (memmove): New strong alias of __libc_memmove.
31048 2012-08-08  Mark Salter  <msalter@redhat.com>
31050         * elf/elf.h
31051         (R_MN10300_TLS_GD): Define.
31052         (R_MN10300_TLS_LD): Likewise.
31053         (R_MN10300_TLS_LDO): Likewise.
31054         (R_MN10300_TLS_GOTIE): Likewise.
31055         (R_MN10300_TLS_IE): Likewise.
31056         (R_MN10300_TLS_LE): Likewise.
31057         (R_MN10300_TLS_DTPMOD): Likewise.
31058         (R_MN10300_TLS_DTPOFF): Likewise.
31059         (R_MN10300_TLS_TPOFF): Likewise.
31060         (R_MN10300_SYM_DIFF): Likewise.
31061         (R_MN10300_ALIGN): Likewise.
31062         (R_MN10300_NUM): Update.
31064 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31066         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31067         Remove.
31069 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31071         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31073         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31074         sysdeps/unix -> sysdeps/posix move.
31075         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31077 2012-08-07      Allan McRae     <allan@archlinux.org>
31079         [BZ #14303]
31080         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31081         (SUNOS_CPP): Likewise.
31082         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31083         not found.
31084         (open_input): Call CPP using execvp.
31086 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31088         * sysdeps/unix/sysv/linux/kernel-features.h
31089         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31090         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31091         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31092         (__ASSUME_WAITID_SYSCALL): Likewise.
31093         * sysdeps/unix/sysv/linux/dl-execstack.c
31094         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31095         code unconditional.
31096         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31097         conditional code.
31098         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31099         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31100         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31101         code.
31102         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31103         unconditional.
31104         [__ASSUME_WAITID_SYSCALL]: Likewise.
31105         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31107 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31109         * sysdeps/unix/closedir.c: Renamed to ...
31110         * sysdeps/posix/closedir.c: ... here.
31111         * sysdeps/unix/dirfd.c: Renamed to ...
31112         * sysdeps/posix/dirfd.c: ... here.
31113         * sysdeps/unix/dirstream.h: Renamed to ...
31114         * sysdeps/posix/dirstream.h: ... here.
31115         * sysdeps/unix/fdopendir.c: Renamed to ...
31116         * sysdeps/posix/fdopendir.c: ... here.
31117         * sysdeps/unix/opendir.c: Renamed to ...
31118         * sysdeps/posix/opendir.c: ... here.
31119         * sysdeps/unix/readdir.c: Renamed to ...
31120         * sysdeps/posix/readdir.c: ... here.
31121         * sysdeps/unix/readdir_r.c: Renamed to ...
31122         * sysdeps/posix/readdir_r.c: ... here.
31123         * sysdeps/unix/rewinddir.c: Renamed to ...
31124         * sysdeps/posix/rewinddir.c: ... here.
31125         * sysdeps/unix/seekdir.c: Renamed to ...
31126         * sysdeps/posix/seekdir.c: ... here.
31127         * sysdeps/unix/telldir.c: Renamed to ...
31128         * sysdeps/posix/telldir.c: ... here.
31129         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31130         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31131         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31132         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31134         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31135         * bits/fcntl.h: ... here.
31137         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31138         not 0.
31139         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31140         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31141         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31142         (struct flock): Move l_start, l_len to the beginning.
31143         Use __pid_t for l_pid.
31144         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31145         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31146         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31147         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31148         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31149         [__USE_LARGEFILE64] (struct flock64): New type.
31150         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31152         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31153         * bits/dirent.h: ... here.
31155         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31156         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31158 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31160         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31161         Change from 2.6.0 to 2.6.16.
31162         * sysdeps/unix/sysv/linux/configure: Regenerated.
31163         * sysdeps/unix/sysv/linux/kernel-features.h
31164         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31165         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31166         version.
31167         (__ASSUME_UTIMES): Likewise.
31168         (__ASSUME_CLONE_STOPPED): Remove.
31169         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31170         architectures, not kernel version.
31171         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31172         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31173         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31174         (__ASSUME_WAITID_SYSCALL): Likewise.
31175         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31176         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31177         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31178         refer to older versions.
31180 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31182         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31183         Define alphasort64 as an alias.
31184         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31185         Define versionsort64 as an alias.
31186         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31187         Define scandir64 as an alias.
31188         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31189         Define scandirat64 as an alias.
31190         * dirent/alphasort64.c (alphasort64):
31191         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31192         * dirent/versionsort64.c: Likewise.
31193         * dirent/scandir64.c: Likewise.
31194         * dirent/scandirat64.c: Likewise.
31195         * sysdeps/wordsize-64/alphasort.c: File removed.
31196         * sysdeps/wordsize-64/alphasort64.c: File removed.
31197         * sysdeps/wordsize-64/scandir.c: File removed.
31198         * sysdeps/wordsize-64/scandir64.c: File removed.
31199         * sysdeps/wordsize-64/scandirat.c: File removed.
31200         * sysdeps/wordsize-64/scandirat64.c: File removed.
31201         * sysdeps/wordsize-64/versionsort.c: File removed.
31202         * sysdeps/wordsize-64/versionsort64.c: File removed.
31203         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31204         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31205         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31206         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31207         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31208         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31209         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31210         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31212         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31213         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31214         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31215         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31216         [defined __arch64__ || defined __sparcv9]
31217         (__INO_T_MATCHES_INO64_T): New macro.
31218         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31219         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31220         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31221         * sysdeps/unix/sysv/linux/bits/dirent.h
31222         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31223         (_DIRENT_MATCHES_DIRENT64): New macro.
31225         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31226         Define lockf64 as an alias.
31227         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31228         Define fseeko64 as an alias.
31229         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31230         Define ftello64 as an alias.
31231         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31232         Define _IO_fgetpos64 and fgetpos64 as aliases.
31233         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31234         Define _IO_fsetpos64 and fsetpos64 as aliases.
31235         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31236         Conditionalize body on this.
31237         * libio/fseeko64.c: Likewise.
31238         * libio/ftello64.c: Likewise.
31239         * libio/iofgetpos64.c: Likewise.
31240         * libio/iofsetpos64.c: Likewise.
31241         * sysdeps/wordsize-64/lockf.c: File removed.
31242         * sysdeps/wordsize-64/lockf64.c: File removed.
31243         * sysdeps/wordsize-64/fseeko.c: File removed.
31244         * sysdeps/wordsize-64/fseeko64.c: File removed.
31245         * sysdeps/wordsize-64/ftello.c: File removed.
31246         * sysdeps/wordsize-64/ftello64.c: File removed.
31247         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31248         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31249         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31250         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31251         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31252         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31253         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31254         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31255         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31256         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31257         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31258         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31259         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31260         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31262         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31264         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31265         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31266         [defined __arch64__ || defined __sparcv9]
31267         (__OFF_T_MATCHES_OFF64_T): New macro.
31268         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31269         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31270         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31271         (__OFF_T_MATCHES_OFF64_T): New macro.
31273 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31275         * stdlib/secure-getenv.c (__secure_getenv): Replace
31276         GLIBC_2_16 with GLIBC_2_17.
31278 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31280         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31281         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31283 2012-08-03  David S. Miller  <davem@davemloft.net>
31285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31287 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31289         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31290         Remove.
31291         (__ASSUME_CORRECT_SI_PID): Likewise.
31292         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31293         (__ASSUME_TMPFS_NAME): Likewise.
31294         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31295         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31296         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31297         (HAVE_AUX_SECURE): Make definition unconditional.
31298         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31299         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31301 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31303         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31304         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31305         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31306         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31307         __eloop_threshold instead of SYMLOOP_MAX.
31309         * sysdeps/generic/eloop-threshold.h: New file.
31310         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31311         of MAXSYMLINKS.
31312         * elf/chroot_canon.c (chroot_canon): Likewise.
31314 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31316         [BZ #13717]
31317         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31318         Change to 2.6.0 everywhere.
31319         * sysdeps/unix/sysv/linux/configure: Regenerated.
31320         * sysdeps/unix/sysv/linux/kernel-features.h
31321         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31322         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31323         kernel versions.
31324         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31325         (__ASSUME_FUTEX_REQUEUE): Remove.
31326         (__ASSUME_STATFS64): Define unconditionally.
31327         (__ASSUME_AT_SECURE): Likewise.
31328         (__ASSUME_CORRECT_SI_PID): Likewise.
31329         (__ASSUME_TGKILL): Define without depending on kernel version for
31330         i386.
31331         (__ASSUME_UTIMES): Likewise.
31332         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31333         kernel version.
31334         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31335         (__ASSUME_TMPFS_NAME): Likewise.
31336         * README: Update reference to Linux kernel versions.
31338 2012-08-02  Marek Polacek  <polacek@redhat.com>
31340         [BZ# 14150]
31341         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31342         libc_cv_asm_type_prefix with %.
31343         * configure: Regenerated.
31344         * include/libc-symbols.h: Remove comment about
31345         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31346         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31347         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31348         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31349         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31350         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31351         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31352         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31353         * elf/tst-unique2mod1.c: Likewise.
31354         * elf/tst-unique1mod2.c: Likewise.
31355         * elf/tst-unique1mod1.c: Likewise.
31356         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31357         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31358         Replace ASM_TYPE_DIRECTIVE with .type.
31359         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31360         * sysdeps/i386/sysdep.h: Likewise.
31361         * sysdeps/x86_64/sysdep.h: Likewise.
31362         * sysdeps/sh/sysdep.h: Likewise.
31363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31364         Do not define ASM_TYPE_DIRECTIVE.
31365         * sysdeps/powerpc/sysdep.h: Likewise.
31366         * sysdeps/powerpc/powerpc32/sysdep.h:
31367         Replace ASM_TYPE_DIRECTIVE with .type.
31368         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31369         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31370         * sysdeps/i386/fpu/e_powf.S: Likewise.
31371         * sysdeps/i386/fpu/e_expl.S: Likewise.
31372         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31373         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31374         * sysdeps/i386/fpu/e_pow.S: Likewise.
31375         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31376         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31377         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31378         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31379         * sysdeps/i386/fpu/e_log2.S: Likewise.
31380         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31381         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31382         * sysdeps/i386/fpu/e_powl.S: Likewise.
31383         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31384         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31385         * sysdeps/i386/fpu/e_logl.S: Likewise.
31386         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31387         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31388         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31389         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31390         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31391         * sysdeps/i386/fpu/e_log.S: Likewise.
31392         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31393         * sysdeps/i386/fpu/e_logf.S: Likewise.
31394         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31395         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31396         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31397         * sysdeps/i386/fpu/e_log10.S: Likewise.
31398         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31399         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31400         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31401         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31402         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31403         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31404         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31405         * sysdeps/i386/i686/strtok.S: Likewise.
31406         * sysdeps/i386/i386-mcount.S: Likewise.
31407         * sysdeps/i386/strtok.S: Likewise.
31408         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31409         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31410         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31411         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31412         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31413         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31414         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31415         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31416         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31417         * sysdeps/x86_64/_mcount.S: Likewise.
31418         * sysdeps/x86_64/strtok.S: Likewise.
31419         * sysdeps/sh/_mcount.S: Likewise.
31421 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31423         * libio/iofopen.c: Include <fcntl.h>.
31424         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31425         (_IO_fopen64, fopen64): Define as aliases.
31426         * libio/iofopen64.c: Include <fcntl.h>.
31427         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31428         Conditionalize body on this.
31429         * sysdeps/wordsize-64/iofopen.c: File removed.
31430         * sysdeps/wordsize-64/iofopen64.c: File removed.
31432 2012-08-01  Marek Polacek  <polacek@redhat.com>
31434         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31435         Use dlfcn directly instead of a variable.
31436         (binfmt-subdir): Do not define.
31437         (dlfcn): Likewise.
31439 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31441         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31442         Remove all definitions.
31443         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31444         <kernel-features.h>.
31445         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31446         (miss_F_GETOWN_EX): Remove all definitions.
31447         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31448         macro definition.
31449         [!__ASSUME_FCNTL64]: Remove conditional code.
31450         [__ASSUME_FCNTL64]: Make code unconditional.
31451         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31452         <kernel-features.h>.
31453         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31454         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31455         (lockf64) [__NR_fcntl64]: Make code unconditional.
31456         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31458         * sysdeps/unix/sysv/linux/kernel-features.h
31459         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31460         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31461         Make code unconditional.
31462         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31463         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31465         [__NR_vfork]: Make code unconditional.
31466         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31467         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31469         [__NR_vfork]: Make code unconditional.
31470         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31471         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31473 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31475         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31476         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31478         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31479         Define mkstemp64 as an alias.
31480         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31481         Define mkstemps64 as an alias.
31482         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31483         Define mkostemp64 as an alias.
31484         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31485         Define mkostemps64 as an alias.
31486         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31487         Conditionalize body on this.
31488         * misc/mkostemp64.c: Likewise.
31489         * misc/mkostemps64.c: Likewise.
31490         * misc/mkstemps64.c: Likewise.
31491         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31492         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31493         * sysdeps/wordsize-64/mkostemp.c: File removed.
31494         * sysdeps/wordsize-64/mkstemp.c: File removed.
31495         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31496         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31497         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31498         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31500         [BZ #14138]
31501         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31502         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31503         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31504         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31506         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31507         compat_symbol macros from <shlib-compat.h> rather than the underlying
31508         default_symbol_version and symbol_version macros, so that DEFAULT
31509         lines in shlib-versions are respected.
31510         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31512 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31514         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31515         Declare with warn_unused_result.
31516         (setgid, setregid, setegid, setresgid): Likewise.
31517         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31518         Likewise.
31519         * WUR-REPORT: Remove set*id functions.
31521 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31523         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31525 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31527         [BZ #10191]
31528         * include/sys/socket.h (__libc_accept, __libc_accept4):
31529         Add attribute_hidden.
31530         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31532         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31533         use of PTR_MANGLE.
31534         * inet/getnetgrent_r.c (setup): Likewise.
31536         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31538 2012-07-31  David S. Miller  <davem@davemloft.net>
31540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31542 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31544         [BZ #13629]
31545         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31546         value between 1.0 and 2.0 and smaller part has absolute value less
31547         than 1.0.
31548         * math/s_clog10.c (__clog10): Likewise.
31549         * math/s_clog10f.c (__clog10f): Likewise.
31550         * math/s_clog10l.c (__clog10l): Likewise.
31551         * math/s_clogf.c (__clogf): Likewise.
31552         * math/s_clogl.c (__clogl): Likewise.
31553         * math/libm-test.inc (clog_test): Add more tests.
31554         (clog10_test): Likewise.
31555         * sysdeps/i386/fpu/libm-test-ulps: Update.
31556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31558 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31560         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31561         Exit with zero in case no suitable GID is found, and write a
31562         message to standard error.
31564 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31566         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31567         rather than to 1.
31568         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31569         (MAXPATHLEN): Removed.
31570         (NOGROUP, NODEV): New macros.
31571         (setbit, clrbit, isset, isclr): New macros.
31572         (howmany, roundup, powerof2): New macros.
31573         (DEV_BSIZE): New macro.
31575         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31576         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31578         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31579         definition on [!__NO_LONG_DOUBLE_MATH].
31581         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31582         PTR_MANGLE and PTR_DEMANGLE.
31584         * socket/accept4.c (accept4): Rename to __libc_accept4.
31585         Define accept4 as a weak alias.
31587         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31588         on [_DIRENT_HAVE_D_TYPE].
31589         * io/ftw.c (ftw_dir): Likewise.
31591         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31593         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31595         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31596         Use the BSD numbers rather than the arbitrary ones we had.
31597         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31598         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31599         (SIGXCPU, SIGXFSZ): New macros.
31600         (_NSIG): Now 32.
31602         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31603         initializer on [_LIBC_REENTRANT].
31605         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31606         definitions inside [_POSIX_MAPPED_FILES].
31608         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31610         * dirent/opendir.c: Include <fcntl.h>.
31612         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31613         (__libc_getspecific): Likewise.
31614         (__libc_key_create): Likewise.
31616         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31617         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31618         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31619         (tmpfile64): Define as alias.
31620         * sysdeps/wordsize-64/tmpfile.c: File removed.
31621         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31622         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31623         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31625         * stdio-common/vfscanf.c: Include <stdbool.h>.
31626         * nss/makedb.c: Likewise.
31627         * stdio-common/_i18n_number.h: Likewise.
31628         * argp/argp-help.c: Likewise.
31629         * posix/wordexp.c: Likewise.
31630         * sysdeps/posix/spawni.c: Likewise.
31631         * nss/nss_files/files-initgroups.c: Likewise.
31632         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31633         * nss/nss_files/files-initgroups.c: Likewise.
31634         * nss/nss_db/db-netgrp.c: Likewise.
31635         * nss/nss_db/db-initgroups.c: Likewise.
31636         * io/fchmodat.c: Include <sys/stat.h>.
31638         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31639         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31641         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31642         [HAVE_MMAP].
31644         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31645         Add multiple inclusion protection.
31647 2012-07-27  David S. Miller  <davem@davemloft.net>
31649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31651 2012-07-27  Gary Benson  <gbenson@redhat.com>
31653         [BZ #14298]
31654         * elf/rtld.c: Include <stap-probe.h>.
31655         (dl_main): Added static probes "init_start" and "init_complete".
31656         * elf/dl-load.c: Include <stap-probe.h>.
31657         (lose): Take new parameter "nsid".
31658         Added static probe "map_failed".
31659         (_dl_map_object_from_fd): Pass namespace id to lose.
31660         Added static probe "map_start".
31661         (open_verify): Pass namespace id to lose.
31662         * elf/dl-open.c: Include <stap-probe.h>.
31663         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31664         and "reloc_complete".
31665         * elf/dl-close.c: Include <stap-probe.h>.
31666         (_dl_close_worker): Added static probes "unmap_start" and
31667         "unmap_complete".
31668         * elf/rtld-debugger-interface.txt: New file documenting the above.
31670 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31672         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31673         rather than a string variable.
31674         * sunrpc/rpc_main.c (h_output): Likewise.
31675         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31677 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31679         * inet/check_native.c: New file.
31681 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31683         [BZ #13629]
31684         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31685         if larger part has absolute value 1.0.
31686         * math/s_clog10.c (__clog10): Likewise.
31687         * math/s_clog10f.c (__clog10f): Likewise.
31688         * math/s_clog10l.c (__clog10l): Likewise.
31689         * math/s_clogf.c (__clogf): Likewise.
31690         * math/s_clogl.c (__clogl): Likewise.
31691         * math/libm-test.inc (clog_test): Add more tests.
31692         (clog10_test): Likewise.
31693         * sysdeps/i386/fpu/libm-test-ulps: Update.
31694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31696         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31697         (pltexit): Likewise.
31698         (La_regs): Likewise.
31699         (La_retval): Likewise.
31700         (int_retval): Likewise.
31701         Update #error for removed macros to refer only to definitions in
31702         tst-audit.h.
31703         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31704         macro.
31705         (pltexit): Likewise.
31706         (La_regs): Likewise.
31707         (La_retval): Likewise.
31708         (int_retval): Likewise.
31709         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31710         macro.
31711         (pltexit): Likewise.
31712         (La_regs): Likewise.
31713         (La_retval): Likewise.
31714         (int_retval): Likewise.
31715         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31716         macro.
31717         (pltexit): Likewise.
31718         (La_regs): Likewise.
31719         (La_retval): Likewise.
31720         (int_retval): Likewise.
31721         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31722         macro.
31723         (pltexit): Likewise.
31724         (La_regs): Likewise.
31725         (La_retval): Likewise.
31726         (int_retval): Likewise.
31727         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31728         macro.
31729         (pltexit): Likewise.
31730         (La_regs): Likewise.
31731         (La_retval): Likewise.
31732         (int_retval): Likewise.
31733         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31734         macro.
31735         (pltexit): Likewise.
31736         (La_regs): Likewise.
31737         (La_retval): Likewise.
31738         (int_retval): Likewise.
31739         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31740         macro definitions in tst-audit.h.
31741         * sysdeps/i386/tst-audit.h: New file.
31742         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31743         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31744         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31745         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31746         * sysdeps/sh/tst-audit.h: Likewise.
31747         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31748         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31749         * sysdeps/x86_64/tst-audit.h: Likewise.
31751 2012-07-26  Andreas Jaeger  <aj@suse.de>
31753         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31754         ptrace.
31756         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31757         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31758         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31759         PTRACE_O_MASK.
31760         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31761         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31762         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31764         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31765         value.
31767         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31768         _sigsys.
31769         (si_call_addr, si_syscall, si_arch): Define new macro.
31770         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31771         _sigsys.
31772         (si_call_addr, si_syscall, si_arch): Define new marcro.
31773         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31774         _sigsys.
31775         (si_call_addr, si_syscall, si_arch): Define new macro.
31776         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31777         _sigsys.
31778         (si_call_addr, si_syscall, si_arch): Define new macro.
31780 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31782         [BZ #13717]
31783         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31784         Change to 2.4.21 where previously 2.4.1.
31785         * sysdeps/unix/sysv/linux/configure: Regenerated.
31786         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31787         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31788         Linux kernel version.
31789         (__ASSUME_STD_AUXV): Remove.
31790         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31791         kernel version.
31792         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31793         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31794         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31795         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31796         (__ASSUME_NETLINK_SUPPORT): Likewise.
31797         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31798         (__no_netlink_support): Remove conditional definition.
31799         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31800         Remove.
31801         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31802         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31803         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31804         (if_nameindex_ioctl): Remove.
31805         (if_nameindex_netlink): Do not handle __no_netlink_support.
31806         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31807         code.
31808         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31809         Remove conditional code.
31810         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31811         code.
31812         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31813         unconditional.
31814         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31815         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31816         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31817         Remove.
31818         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31819         [!__ASSUME_STD_AUXV]: Remove conditional code.
31820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31821         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31822         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31824         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31825         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31826         code.
31827         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31829         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31830         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31831         conditional code.
31832         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31834         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31835         code.
31836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31837         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31838         conditional code.
31839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31840         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31841         code unconditional.
31842         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31843         conditional code.
31844         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31845         unconditional.
31846         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31847         conditional code.
31848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31849         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31850         unconditional.
31851         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31852         conditional code.
31853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31854         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31855         code unconditional.
31856         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31857         conditional code.
31858         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31859         unconditional.
31860         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31861         conditional code.
31862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31863         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31864         code unconditional.
31865         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31866         conditional code.
31867         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31868         unconditional.
31869         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31870         conditional code.
31872 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31874         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31875         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31876         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31877         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31878         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31879         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31880         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31881         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31882         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31883         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31884         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31885         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31886         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31887         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31888         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31889         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31890         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31891         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31892         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31894         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31895         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31896         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31898 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31900         * Versions.def: Add GLIBC_2.17.
31901         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31902         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31903         Introduce __libc_secure_getenv.
31904         * stdlib/Versions (2.17): Add secure_getenv
31905         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31906         * stdlib/secure-getenv.c: Rename __secure_getenv to
31907         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31908         symbol __secure_getenv for GLIBC_2.0.
31909         * stdlib/tst-secure-getenv.c: New.
31910         * stdlib/Makefile (tests): Add testcase.
31911         * manual/startup.texi (Environment Access): Document
31912         secure_getenv.
31913         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31914         __libc_secure_getenv.
31915         * inet/ruserpass.c (ruserpass): Likewise.
31916         * malloc/mtrace.c (mtrace): Likewise.
31917         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31918         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31919         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31920         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31921         HAVE_SECURE_GETENV.
31922         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31923         __secure_getenv to __libc_secure_getenv.
31924         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31926         Likewise.
31927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31928         Likewise.
31929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31931         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31937 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31939         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31940         (struct La_i86_retval): Likewise.
31941         (struct La_x86_64_regs): Likewise.
31942         (struct La_x86_64_retval): Likewise.
31943         (struct La_x32_regs): Likewise.
31944         (struct La_x32_retval): Likewise.
31945         (struct La_ppc32_regs): Likewise.
31946         (struct La_ppc32_retval): Likewise.
31947         (struct La_ppc64_regs): Likewise.
31948         (struct La_ppc64_retval): Likewise.
31949         (struct La_sh_regs): Likewise.
31950         (struct La_sh_retval): Likewise.
31951         (struct La_s390_32_regs): Likewise.
31952         (struct La_s390_32_retval): Likewise.
31953         (struct La_s390_64_regs): Likewise.
31954         (struct La_s390_64_retval): Likewise.
31955         (struct La_sparc32_regs): Likewise.
31956         (struct La_sparc32_retval): Likewise.
31957         (struct La_sparc64_regs): Likewise.
31958         (struct La_sparc64_retval): Likewise.
31959         (struct audit_ifaces): Remove architecture-specific pltenter and
31960         pltexit members.
31961         * sysdeps/i386/ldsodefs.h: New file.
31962         * sysdeps/powerpc/ldsodefs.h: Likewise.
31963         * sysdeps/s390/ldsodefs.h: Likewise.
31964         * sysdeps/sh/ldsodefs.h: Likewise.
31965         * sysdeps/sparc/ldsodefs.h: Likewise.
31966         * sysdeps/x86_64/ldsodefs.h: Likewise.
31968 2012-07-25  Marek Polacek  <polacek@redhat.com>
31970         [BZ #6808]
31971         * math/libm-test.inc (yn_test): Add another test.
31972         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31973         to ERANGE when the result is +-Inf.
31974         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31975         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31976         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31977         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31979 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31981         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31982         equal to 0.
31983         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31984         clock_t.
31985         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31987 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31989         * configure.in <sysdeps resolving>: Correct printing
31990         Implies_before.
31991         * configure: Regenerate.
31993 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31995         * math/w_ilogb.c: Include <limits.h>.
31996         * math/w_ilogbl.c: Likewise.
31998 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32000         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32001         va_copy.  Document allowing for unavailable va_copy only as
32002         pre-C99 compatibility.
32003         * manual/string.texi (Copying and Concatenation): Use va_copy
32004         instead of __va_copy in concat example.
32006 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32008         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32009         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32010         it if not null.
32012         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32013         with O_NOLINK passed to __file_name_lookup.
32015         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32016         with O_NOLINK passed to __file_name_lookup.
32018         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32019         negative N or less than NGIDS.
32021         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32022         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32023         enough.  Use memcpy instead of strncpy.
32025 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32027         * elf/Makefile (check-data): Remove.
32028         (localplt.data): New vpath directive.
32029         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32030         instead of $(check-data).
32031         * scripts/data/localplt-generic.data: Move to ...
32032         * sysdeps/generic/localplt.data: ... here.
32033         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32034         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32035         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32037         ... here.
32038         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32040         ... here.
32041         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32043         ... here.
32044         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32046         ... here.
32047         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32049         ... here.
32050         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32052         ... here.
32054 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32056         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32057         PPC32 and PPC64 files.
32058         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32059         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32061 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32063         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32064         __makecontext_ret to ...
32065         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32066         ... here and call exit if uc_link is NULL.  New file.
32067         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32068         __makecontext_ret.S.
32069         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32070         __makecontext_ret to ...
32071         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32072         ... here and call exit if uc_link is NULL.  New file.
32073         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32074         __makecontext_ret.S.
32076 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32078         * elf/elf.h (R_390_IRELATIVE): New definition.
32079         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32080         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32081         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32082         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32083         (elf_machine_lazy_rel): Likewise.
32084         * sysdeps/s390/dl-irel.h: New file.
32085         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32086         * sysdeps/s390/s390-64/memset.S: New asm code.
32087         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32088         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32089         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32090         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32091         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32092         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32093         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32094         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32095         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32096         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32097         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32098         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32099         * sysdeps/s390/s390-32/memset.S: New asm code.
32100         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32102 2012-07-17  Marek Polacek  <polacek@redhat.com>
32104         [BZ #14349]
32105         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32106         * sysdeps/s390/s390-64/configure.in: Likewise.
32107         * sysdeps/sparc/configure.in: Likewise.
32108         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32109         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32110         * sysdeps/i386/configure.in: Likewise.
32111         * sysdeps/x86_64/configure.in: Likewise.
32112         * sysdeps/sh/configure.in: Likewise.
32113         * sysdeps/s390/s390-32/configure: Regenerated.
32114         * sysdeps/s390/s390-64/configure: Likewise.
32115         * sysdeps/x86_64/configure: Likewise.
32116         * sysdeps/sh/configure: Likewise.
32117         * sysdeps/powerpc/powerpc64/configure: Likewise.
32118         * sysdeps/powerpc/powerpc32/configure: Likewise.
32119         * sysdeps/sparc/configure: Likwise.
32120         * sysdeps/i386/configure: Likewise.
32122         * elf/dl-open.c: Comment fixes.
32124 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32126         * Makefile [CXX] (check-data): Remove.
32127         [CXX] (c++-types.data): New vpath directive.
32128         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32129         vpath.  Do not allow for C++ type data being missing.
32130         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32131         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32132         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32133         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32134         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32135         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32136         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32138         ... here.
32139         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32141         ... here.
32142         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32144         ... here.
32145         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32147         ... here.
32148         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32150         ... here.
32151         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32153         ... here.
32154         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32156         ... here.
32157         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32160         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32161         definitions to architecture-specific files.
32162         (TLS_IE): Likewise.
32163         (TLS_LD): Likewise.
32164         (TLS_GD): Likewise.
32165         * sysdeps/i386/tls-macros.h: New file.
32166         * sysdeps/powerpc/tls-macros.h: Likewise.
32167         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32168         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32169         * sysdeps/sh/tls-macros.h: Likewise.
32170         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32171         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32172         * sysdeps/x86_64/tls-macros.h: Likewise.
32174 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32176         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32177         zero value for regular exit case.
32179         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32180         (__start_context): Preserve zero value for regular exit case.
32182 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32183             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32185         * manual/setjmp.texi (setcontext): Clarify normal process
32186         termination when uc_link is the null pointer.
32187         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32188         exit call.
32190 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32192         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32193         preprocessor.  Test for each exception mask separately.
32195 2012-07-16  Andreas Jaeger  <aj@suse.de>
32197         * po/ru.po: Update from translation team.
32199 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32201         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32202         equal to 0.
32203         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32204         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32205         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32206         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32207         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32209 2012-07-13  Andreas Jaeger  <aj@suse.de>
32211         * po/fr.po: Update from translation team.
32213 2012-07-12  Marek Polacek  <polacek@redhat.com>
32215         [BZ #14173]
32216         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32218         loop condition.
32220 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32222         [BZ #13717]
32223         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32224         Change to 2.4.1 where previously 2.4.0.
32225         * sysdeps/unix/sysv/linux/configure: Regenerated.
32226         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32227         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32228         version.
32229         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32230         (__ASSUME_AT_CLKTCK): Remove.
32231         (__ASSUME_AT_PAGESIZE): Likewise.
32232         (__ASSUME_AT_XID): Likewise.
32233         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32234         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32235         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32236         unconditionally.
32237         (HAVE_AUX_PAGESIZE): Likewise.
32238         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32239         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32240         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32242 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32244         [BZ #14307]
32245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32246         the temporary buffer used to invoke __gethostbyname2_r,
32247         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32248         host_data / struct gaih_addrtuple.
32249         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32250         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32251         header file nss/nsswitch.h.
32252         * nss/nsswitch.h (global scope): Add definition of implementation
32253         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32254         resolv/nss_dns/dns-host.c).
32256 2012-07-11  Andreas Jaeger  <aj@suse.de>
32258         * po/fr.po: Update from translation team.
32260         * po/sv.po: Update from translation team
32261         * po/fr.po: Another update from translation team.
32263 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32265         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32266         for subnormals or multiply small sinh result by itself.
32267         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32270 2012-07-11  David S. Miller  <davem@davemloft.net>
32272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32274 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32276         [BZ #14347]
32277         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32278         (INTERNAL_MARK): Shift it here.
32280 2012-07-10  Marek Polacek  <polacek@redhat.com>
32282         [BZ #14151]
32283         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32284         libc_cv_asm_global_directive with .globl.
32285         * configure: Regenerated.
32286         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32287         with .globl.
32288         * sysdeps/i386/configure: Regenerated.
32289         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32290         with .globl.
32291         * sysdeps/x86_64/configure: Regenerated.
32292         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32293         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32294         * elf/tst-unique2mod2.c: Likewise.
32295         * elf/tst-unique2mod1.c: Likewise.
32296         * elf/tst-unique1mod2.c: Likewise.
32297         * elf/tst-unique1mod1.c: Likewise.
32298         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32299         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32300         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32301         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32302         * sysdeps/mach/sysdep.h: Likewise.
32303         * sysdeps/i386/sysdep.h: Likewise.
32304         * sysdeps/i386/i386-mcount.S: Likewise.
32305         * sysdeps/x86_64/_mcount.S: Likewise.
32306         * sysdeps/x86_64/sysdep.h: Likewise.
32307         * sysdeps/sh/_mcount.S: Likewise.
32308         * sysdeps/sh/sysdep.h: Likewise.
32309         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32310         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32311         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32312         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32313         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32314         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32315         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32316         * locale/localeinfo.h: Likewise.
32317         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32318         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32320 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32322         [BZ #14336]
32323         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32324         system".
32325         * manual/message.texi (The Uniforum approach): Likewise.
32326         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32327         (glibc iconv Implementation): Likewise.
32329 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32331         [BZ #14337]
32332         * math/s_clog.c (__clog): Avoid scaling a value down where that
32333         could result in underflow.
32334         * math/s_clog10.c (__clog10): Likewise.
32335         * math/s_clog10f.c (__clog10f): Likewise.
32336         * math/s_clog10l.c (__clog10l): Likewise.
32337         * math/s_clogf.c (__clogf): Likewise.
32338         * math/s_clogl.c (__clogl): Likewise.
32339         * math/libm-test.inc (clog_test): Add more tests.
32340         (clog10_test): Likewise.
32341         * sysdeps/i386/fpu/libm-test-ulps: Update.
32342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32344 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32346         [BZ #14283]
32347         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32348         by 7 not 8 to examine high bit of fractional part.
32350         [BZ #14042]
32351         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32352         for call to __mcount_internal.
32353         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32354         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32355         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32357 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32359         [BZ #14154]
32360         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32361         approximation for values within 0x1p-13f of an odd multiple of
32362         pi/4.
32363         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32364         exception.  Add more tests.
32365         * sysdeps/i386/fpu/libm-test-ulps: Update.
32367         [BZ #6778]
32368         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32369         inputs and return -1 for them.  Do not check for +Inf in case not
32370         reachable for +Inf.
32371         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32372         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32373         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32374         and return -1 for them.  Do not check for +Inf in case not
32375         reachable for +Inf.
32376         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32377         define.
32378         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32379         and return -1 for them.  Do not check for +Inf in case not
32380         reachable for +Inf.
32381         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32382         spurious underflow.
32383         * sysdeps/i386/fpu/libm-test-ulps: Update.
32384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32386 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32388         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32390 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32392         [BZ #14157]
32393         [BZ #14331]
32394         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32395         could result in spurious underflow.  Scale down values above
32396         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32397         * math/s_csqrtf.c (__csqrtf): Likewise.
32398         * math/s_csqrtl.c (__csqrtl): Likewise.
32399         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32400         spurious underflow.
32401         * sysdeps/i386/fpu/libm-test-ulps: Update.
32402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32404 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32406         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32407         xopen-msg.sed.
32408         * catgets/xopen-msg.awk: New file.
32409         * catgets/xopen-msg.sed: Removed.
32411         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32412         po2text.sed.
32413         * intl/po2test.awk: New file.
32414         * intl/po2test.sed: Removed.
32416 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32418         [BZ #14328]
32419         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32420         or multiply small sinh result by itself.
32421         * math/s_ctanf.c (__ctanf): Likewise.
32422         * math/s_ctanh.c (__ctanh): Likewise.
32423         * math/s_ctanhf.c (__ctanhf): Likewise.
32424         * math/s_ctanhl.c (__ctanhl): Likewise.
32425         * math/s_ctanl.c (__ctanl): Likewise.
32426         * math/libm-test.inc (ctan_test_tonearest): New function.
32427         (ctan_test_towardzero): Likewise.
32428         (ctan_test_downward): Likewise.
32429         (ctan_test_upward): Likewise.
32430         (ctanh_test_tonearest): Likewise.
32431         (ctanh_test_towardzero): Likewise.
32432         (ctanh_test_downward): Likewise.
32433         (ctanh_test_upward): Likewise.
32434         (main): Call these new functions.
32435         * sysdeps/i386/fpu/libm-test-ulps: Update.
32436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32438 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32440         * .gitignore: Delete /ports entry.
32442 2012-07-03  Andreas Jaeger  <aj@suse.de>
32444         * po/bg.po: Update from translation team.
32445         * po/cs.po: Likewise.
32446         * po/de.po: Likewise.
32447         * po/hr.po: Likewise.
32448         * po/nl.pl: Likewise.
32449         * po/pl.po: Likewise.
32450         * po/vi.po: Likewise.
32452 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32454         * Makeconfig [!+link] (+link-before-libc): New variable.
32455         [!+link] (+link-after-libc): Likewise.
32456         [!+link] (+link-tests): Likewise.
32457         [!+link] (+link): Define in terms of $(+link-before-libc) and
32458         $(+link-after-libc).
32459         [!+link-static] (+link-static-before-libc): New variable.
32460         [!+link-static] (+link-static-after-libc): Likewise.
32461         [!+link-static] (+link-static-tests): Likewise.
32462         [!+link-static] (+link-static): Define in terms of
32463         $(+link-static-before-libc) and $(+link-static-after-libc).
32464         [build-shared] (link-libc-before-gnulib): New variable.
32465         [build-shared] (link-libc-tests): Likewise.
32466         [build-shared] (link-libc): Define in terms of
32467         $(link-libc-before-gnulib).
32468         [!build-shared] (link-libc-tests): New variable.
32469         (link-libc-static-tests): New variable.
32470         [!gnulib] (gnulib-arch): New variable.
32471         [!gnulib] (gnulib-tests): Likewise.
32472         [!gnulib] (static-gnulib-arch): Likewise.
32473         [!gnulib] (static-gnulib-tests): Likewise.
32474         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32475         Define with "=" instead of ":=".
32476         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32477         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32478         * Rules (binaries-all-notests): New variable.
32479         (binaries-all-tests): Likewise.
32480         (binaries-static-notests): Likewise.
32481         (binaries-static-tests): Likewise.
32482         (binaries-all): Define using $(binaries-all-notests) and
32483         $(binaries-all-tests).
32484         (binaries-static): Define using $(binaries-static-notests) and
32485         $(binaries-static-tests).
32486         (binaries-shared-tests): New variable.
32487         (binaries-shared-notests): Likewise.
32488         (binaries-shared): Remove variable.
32489         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32490         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32491         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32492         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32493         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32494         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32495         * elf/Makefile (sln-modules): New variable.
32496         (extra-objs): Add $(sln-modules:=.o).
32497         (ldconfig-modules): Add static-stubs.
32498         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32499         * elf/static-stubs.c: New file.
32501         [BZ #14283]
32502         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32503         by 7 not 8 to examine high bit of fractional part.  Use volatile
32504         variables when splitting into final array of floats if
32505         __FLT_EVAL_METHOD__ != 0.
32506         * math/libm-test.inc (cos_test): Add another test.
32507         (sin_test): Likewise.
32508         * sysdeps/i386/fpu/libm-test-ulps: Update.
32510         [BZ #14273]
32511         * math/libm-test.inc (cosh_test): Add more tests.
32513         * version.h (RELEASE): Set to "development".
32514         (VERSION): Set to "2.16.90".
32516 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32518         * NEWS: Update copyright. Remove last-updated date.
32519         Mention math library bug fixes and timezone data changes.
32520         * README: Mention GNU/Hurd, x32, and HPPA support status.
32522 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32524         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32526 2012-06-27  Andreas Jaeger  <aj@suse.de>
32528         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32530 2012-06-25  Andreas Jaeger  <aj@suse.de>
32532         * sysdeps/s390/fpu/libm-test-ulps: Update.
32534 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32535             Thomas Schwinge  <thomas@codesourcery.com>
32537         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32538         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32539         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32540         fanotify_mark.
32542 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32544         * sysdeps/mach/start.c: Remove file.
32545         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32546         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32547         * sysdeps/sh/init-first.c: Likewise.
32549         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32550         registers for frame unwinding purposes, add CFI directives.
32551         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32552         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32553         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32554         Likewise.
32556         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32557         __fortify_fail returning.
32558         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32560         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32561         sysdeps/sh/____longjmp_chk.S.
32562         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32563         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32564         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32565         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32567         * sysdeps/sh/abort-instr.h: New file.
32568         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32569         process in case exit returns.
32571         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32572         initialize the GOT register before use.
32574         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32575         calculation of ARGC > 4.
32577         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32578         meaningful names to some local labels.
32580 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32581             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32583         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32584         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32585         (__arch_compare_and_exchange_val_16_acq): Likewise.
32586         (__arch_compare_and_exchange_val_32_acq): Likewise.
32587         (atomic_exchange_and_add): Fix gUSA sequence.
32588         (atomic_add): Likewise.
32589         (atomic_add_negative): Likewise.
32590         (atomic_add_zero): Likewise.
32591         (atomic_bit_test_set): Likewise.
32593 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32595         [BZ #13579]
32596         * include/link.h (struct link_map): Add l_free_initfini.
32597         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32598         l_initfini.
32599         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32600         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32601         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32602         set.
32604 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32606         * configure.in: Use AC_LANG_SOURCE.
32607         * configure: Regenerate.
32609 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32611         * configure.in (libc_cv_localstatedir): New substituted variable.
32612         * configure: Regenerated.
32613         * config.make.in (localstatedir): New variable, substituted from
32614         libc_cv_localstatedir.
32615         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32616         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32617         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32618         * sysdeps/gnu/configure: Regenerated.
32620 2012-06-21  Jeff Law  <law@redhat.com>
32622         [BZ #14277]
32623         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32624         free.  Simplify list management for _LIBC case.
32626 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32628         [BZ #14273]
32629         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32630         Clear sign bit of 64-bit integer value before comparing against
32631         overflow value.
32633         * sysdeps/mach/configure: Regenerated.
32635 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32637         [BZ #14278]
32638         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32640 2012-06-21  Jeff Law  <law@redhat.com>
32642         [BZ #13882]
32643         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32644         uint16_t for elements in the "seen" array to avoid char overflows.
32645         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32646         * elf/dl-open.c (dl_open_worker): Likewise.
32648 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32650         * scripts/list-sources.sh: Scan PORTS for translations.
32651         * po/libc.pot: Regenerated.
32653 2012-06-21  Andreas Jaeger  <aj@suse.de>
32655         [BZ #12194]
32656         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32657         warning.
32658         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32659         * bits/byteswap-16.h (__bswap_16): Likewise.
32660         * bits/byteswap.h (__bswap_constant_16): Likewise.
32662 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32664         [BZ #14117]
32665         * sysdeps/i386/fpu_control.h: Removed.
32666         * sysdeps/x86_64/fpu_control.h: Moved to ...
32667         * sysdeps/x86/fpu_control.h: Here.
32669         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32670         (_FPU_SETCW): Likewise.
32672 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32674         [BZ #14117]
32675         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32676         * sysdeps/x86/fpu/bits/mathinline.h: This.
32677         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32679         [BZ #14050]
32680         [BZ #14117]
32681         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32682         functions if __x86_64__ is defined.
32684 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32686         * string/endian.h: Add !__ASSEMBLER__ condition for including
32687         conversion interfaces.
32689 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32691         [BZ #14241]
32692         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32693         of ABS(x) in calculating zero to negative powers other than odd
32694         integers.
32695         * math/libm-test.inc (pow_test): Add more tests.
32697 2012-06-15  Andreas Jaeger  <aj@suse.de>
32699         * manual/contrib.texi (Contributors): Update entry of Liubov
32700         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32701         Machado Filho.
32703 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32705         * string/string.h: Add __wur to GNU version of strerror_r.
32707 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32709         [BZ #14229]
32710         * string/Makefile (tests): Add tst-strtok_r.
32711         * string/tst-strtok_r.c: New file.
32712         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32713         RAX_LP/RDX_LP on SAVE_PTR.
32715 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32717         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32719 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32721         * libm_test.inc (csqrt_test): Allow more spurious underflow
32722         exceptions.
32723         (j0_test): Likewise.
32724         (j1_test): Likewise.
32725         (y0_test): Likewise.
32726         (y1_test): Likewise.
32728 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32730         * po/Makefile (libc.pot): Use UTF-8 charset.
32732 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32734         [BZ #14210]
32735         Suppress sign-conversion warning from FD_SET.
32736         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32737         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32738         not unsigned long int.
32739         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32741 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32743         [BZ #14050]
32744         [BZ #14117]
32745         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32746         __extern_always_inline instead of __extern_inline.
32747         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32748         (__signbit): Likewise.
32749         (__signbitl): Support C++ namespace.
32750         (lrintf): New inline function.
32751         (lrint): Likewise.
32752         (llrintf): Likewise.
32753         (llrint): Likewise.
32754         (fmaxf): Likewise.
32755         (fmax): Likewise.
32756         (fminf): Likewise.
32757         (fmin): Likewise.
32758         (rint): Likewise.
32759         (rintf): Likewise.
32760         (ceil): Likewise.
32761         (ceilf): Likewise.
32762         (floor): Likewise.
32763         (floorf): Likewise.
32764         (nearbyint): Likewise.
32765         (nearbyintf): Likewise.
32767 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32769         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32770         non-default versions.
32772 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32774         [BZ #14218]
32775         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32777 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32779         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32780         (FE_UPWARD, FE_DOWNWARD): Don't define.
32781         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32782         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32784         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32785         reading it.
32786         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32787         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32789 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32791         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32792         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32793         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32794         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32796 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32798         [BZ #14117]
32799         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32800         * sysdeps/i386/fpu/Implies: New file.
32801         * sysdeps/x86_64/fpu/Implies: Likewise.
32802         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32803         * sysdeps/x86/fpu/bits/fenv.h: This.
32805         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32806         __SSE_MATH__.
32808 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32810         [BZ #14134]
32811         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32812         character 0xffff that matches the last element of the
32813         conversion table.
32815 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32817         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32818         fmodl commit.
32820 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32822         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32823         values higher than 25.6283.
32825 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32827         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32828         subnormal exponent extraction and add some __builtin_expect.
32829         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32830         Fix for subnormal mantissa calculation.
32832 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32834         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32835         cpu2 is -1 and errno is not ENOSYS.
32837 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32839         [BZ #14117]
32840         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32841         * sysdeps/x86/bits/string.h: This.
32842         * sysdeps/x86_64/bits/string.h: Removed.
32844         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32845         if not compiling for x86-64, but compiling for >= i486.
32847         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32848         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32850         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32851         New macro from Linux kernel 3.4.0.
32852         (FP_XSTATE_MAGIC2): Likewise.
32853         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32854         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32855         (struct _fpx_sw_bytes): New struct.
32856         (struct _xsave_hdr): Likewise.
32857         (struct _ymmh_state): Likewise.
32858         (struct _xstate): Likewise.
32860         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32861         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32862         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32863         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32864         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32865         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32867         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32868         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32869         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32870         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32871         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32872         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32874 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32876         [BZ #13743]
32877         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32878         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32879         (sysdep_headers): Include sys/platform/ppc.h.
32880         * sysdeps/powerpc/test-gettimebase.c: Test for
32881         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32882         * manual/Makefile (appendices): Include platform.texi.
32883         * manual/contrib.texi (Contributors): Update @node pointers.
32884         * manual/maint.texi (Maintenance): Likewise.
32885         (Platform): New node.
32886         * manual/platform.texi: New file.  Document the new features.
32888 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32889             Jakub Jelinek  <jakub@redhat.com>
32891         [BZ #14188]
32892         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32893         where __builtin_expect is unavailable.
32895 2012-06-03  David S. Miller  <davem@davemloft.net>
32897         * stdlib/longlong.h: Updated from GCC.
32899 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32901         [BZ #14042]
32902         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32903         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32904         __mcount_internal.
32905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32906         (GLIBC_2.16): Likewise.
32908 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32910         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32912 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32915         (default-abi): New variable.
32916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32917         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32918         variable.
32919         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32920         Likewise.
32921         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32922         Likewise.
32923         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32924         Likewise.
32926         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32927         definition.  Document in comment.
32929 2012-06-01  David S. Miller  <davem@davemloft.net>
32931         * stdlib/longlong.h: Updated from GCC.
32933 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32935         [BZ #14117]
32936         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32937         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32938         sys/debugreg.h sys/io.h here.
32939         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32940         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32941         sys/io.h.
32942         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32943         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32944         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32945         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32946         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32947         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32949         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32950         Define only if __x86_64__ is defined.
32952 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32954         [BZ #14048]
32955         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32956         Use int64_t for variable i.
32957         * math/libm-test.inc (fmod_test): Add more tests.
32959         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32960         z computation is not scheduled after fetestexcept.
32961         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32962         Use math_force_eval instead of asm to ensure calculation scheduled
32963         before exception test.
32964         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32965         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32967 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32969         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32970         computation is not scheduled after fetestexcept.
32972 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32974         [BZ #14117]
32975         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32976         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32978 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32980         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32981         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32983 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32985         [BZ #14117]
32986         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32987         <bits/wordsize.h>.
32988         (__WCHAR_MIN): Support __WORDSIZE == 64.
32989         (__WCHAR_MAX): Likewise.
32991         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32992         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32994         [BZ #14183]
32995         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32996         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32998         [BZ #14117]
32999         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33000         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33002         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33003         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33005         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33006         Defined to 1 if __x86_64__ isn't defined.
33007         (_STAT_VER_LINUX_OLD): New.
33008         (st_atime): Remove duplicate.
33009         (st_mtime): Likewise.
33010         (st_ctime): Likewise.
33012 2012-05-31  David S. Miller  <davem@davemloft.net>
33014         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33015         entries.
33017 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33019         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33020         gen-libm-test.pl.
33022         [BZ #14132]
33023         * elf/dl-reloc.c: Include <_itoa.h>.
33024         (_dl_reloc_bad_type): Remove use of INTUSE.
33025         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33026         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33027         * stdio-common/psiginfo.c (psiginfo): Likewise.
33028         * stdio-common/psignal.c (psignal): Likewise.
33029         * string/strsignal.c (strsignal): Likewise.
33030         * include/signal.h (_sys_siglist): Declare hidden proto.
33031         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33032         INTVARDEF with libc_hidden_data_def.
33033         * stdio-common/itoa-udigits.c: Likewise.
33034         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33035         (_itoa_lower_digits_internal): Remove declaration.
33036         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33037         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33038         (_sys_sigabbrev_internal): Remove aliases.
33039         (_sys_siglist): Define hidden alias.
33041 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33044         bits/sysctl.h.
33046 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33048         [BZ #14117]
33049         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33050         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33052         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33053         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33054         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33055         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33056         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33057         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33059         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33060         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33061         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33063         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33064         with __addr.
33065         (insw): Likewise.
33066         (insl): Likewise.
33067         (outsb): Likewise.
33068         (outsw): Likewise.
33069         (outsl): Likewise.
33071         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33072         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33073         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33075         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33076         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33077         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33078         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33079         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33080         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33082         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33083         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33085         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33086         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33088         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33089         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33090         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33092         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33093         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33094         to ...
33095         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33097         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33098         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33099         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33101         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33102         for x86-64.
33103         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33105 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33107         * math/math.h (M_El): Use two more decimal places.
33108         (M_LOG2El): Likewise.
33109         (M_LOG10El): Likewise.
33110         (M_LN2l): Likewise.
33111         (M_LN10l): Likewise.
33112         (M_PIl): Likewise.
33113         (M_PI_2l): Likewise.
33114         (M_PI_4l): Likewise.
33115         (M_1_PIl): Likewise.
33116         (M_2_PIl): Likewise.
33117         (M_2_SQRTPIl): Likewise.
33118         (M_SQRT2l): Likewise.
33119         (M_SQRT1_2l): Likewise.
33121 2012-05-31  David S. Miller  <davem@davemloft.net>
33123         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33124         values between float registers.
33125         * sysdeps/sparc/sparc64/memset.S: Likewise.
33126         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33128 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33130         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33131         -D_FORTIFY_SOURCE=1.
33132         (CPPFLAGS-tst-longjmp_chk.c): Define.
33133         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33134         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33135         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33136         CFLAGS-tst-wchar-h.c.
33138 2012-05-31  Marek Polacek  <polacek@redhat.com>
33140         [BZ #14132]
33141         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33142         __endmntent_internal): Remove declaration.
33143         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33144         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33145         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33147 2012-05-30  David S. Miller  <davem@davemloft.net>
33149         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33150         (___Q_simulate_exceptions): Use real FP ops rather than writing
33151         into the %fsr.
33152         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33153         Likewise.
33155 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33157         [BZ #14117]
33158         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33159         * sysdeps/x86/bits/xtitypes.h: This.
33161         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33162         * sysdeps/x86/bits/wordsize.h: This.
33164         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33165         * sysdeps/x86/bits/huge_vall.h: This.
33167         * sysdeps/i386/bits/select.h: Removed.
33168         * sysdeps/x86_64/bits/select.h: Renamed to ...
33169         * sysdeps/x86/bits/select.h: This.
33171         * sysdeps/i386/bits/setjmp.h: Removed.
33172         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33173         * sysdeps/x86/bits/setjmp.h: This.
33175         * sysdeps/i386/bits/mathdef.h: Removed.
33176         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33177         * sysdeps/x86/bits/mathdef.h: This.
33179 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33181         [BZ #14132]
33182         * include/sys/socket.h (__connect_internal)
33183         (__libc_sa_len_internal): Remove declaration.
33184         (__connect, __libc_sa_len): Declare hidden_proto.
33185         (SA_LEN): Remove use of INTUSE.
33186         * socket/connect.c: Add libc_hidden_def.
33187         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33188         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33189         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33190         alias.
33191         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33192         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33193         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33194         of adding _internal alias.
33196 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33198         [BZ #14117]
33199         * sysdeps/i386/bits/link.h: Removed.
33200         * sysdeps/i386/bits/linkmap.h: Likewise.
33201         * sysdeps/x86_64/bits/link.h: Renamed to ...
33202         * sysdeps/x86/bits/link.h: This.
33203         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33204         * sysdeps/x86/bits/linkmap.h: This.
33206         * sysdeps/i386/bits/endian.h: Removed.
33207         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33208         * sysdeps/x86/bits/endian.h: This.
33210         * sysdeps/i386/bits/byteswap.h: Removed.
33211         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33212         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33213         * sysdeps/x86/bits/byteswap.h: This.
33214         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33215         * sysdeps/x86/bits/byteswap-16.h: This.
33216         * sysdeps/i386/Implies: Add x86.
33217         * sysdeps/x86_64/Implies: Likewise.
33219 2012-05-30  David S. Miller  <davem@davemloft.net>
33221         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33222         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33223         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33224         (FP_TRAPPING_EXCEPTIONS): Define.
33225         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33226         (FP_TRAPPING_EXCEPTIONS): Define.
33227         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33228         subnormals only when inexact has been signalled or underflow
33229         exceptions are enabled.
33230         (_FP_PACK_CANONICAL): Likewise.
33232 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33234         [BZ #14183]
33235         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33236         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33238 2012-05-30  Richard Henderson  <rth@twiddle.net>
33240         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33241         with #ifndef NOT_IN_libc.
33243         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33244         marked to avoid plt entry.
33246 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33248         [BZ #14112]
33249         * Makeconfig (default-abi): New macro.
33250         (abi-includes): Likewise.
33251         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33252         $(abi-$(default-abi)-lib-soname) for soname if defined.
33253         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33254         abi-variants.
33255         * Makefile (installed-stubs): Likewise.
33256         * include/stubs-biarch.h: Removed.
33257         * scripts/lib-names.awk: Only handle one library at a time.
33258         * scripts/soversions.awk: Remove WORDSIZE support.
33259         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33260         entries.
33261         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33262         Removed.
33263         (syscall-list-default-condition): Likewise.
33264         (syscall-list-default-condition): Likewise.
33265         (syscall-list-includes): Likewise.
33266         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33267         syscall-list-* with abi-*.  Handle undefined abi-variants.
33268         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33269         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33270         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33271         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33272         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33273         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33274         Removed.
33275         (syscall-list-32-options): Likewise.
33276         (syscall-list-32-condition): Likewise.
33277         (syscall-list-64-options): Likewise.
33278         (syscall-list-64-condition): Likewise.
33279         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33280         macro.
33281         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33282         Renamed to ...
33283         (abi-*): This.
33284         (abi-64-ld-soname): New macro.
33285         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33286         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33287         Renamed to ...
33288         (abi-*): This.
33289         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33290         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33292 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33294         * sysdeps/unix/sysv/linux/kernel-features.h
33295         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33296         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33297         include <kernel-features.h>.
33298         [!__NR_ftruncate64]: Remove conditional code.
33299         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33300         [__NR_ftruncate64]: Make code unconditional.
33301         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33302         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33303         include <kernel-features.h>.
33304         [!__NR_ftruncate64]: Remove conditional code.
33305         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33306         [__NR_ftruncate64]: Make code unconditional.
33307         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33309         include <kernel-features.h>.
33310         [!__NR_ftruncate64]: Remove conditional code.
33311         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33312         [__NR_ftruncate64]: Make code unconditional.
33313         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33315         include <kernel-features.h>.
33316         [!__NR_ftruncate64]: Remove conditional code.
33317         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33318         [__NR_ftruncate64]: Make code unconditional.
33319         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33321         * configure.in (libc_cv_fpie): Weaken to a compile test using
33322         LIBC_TRY_CC_OPTION.
33323         * configure: Regenerated.
33325 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33331         Refreshed.
33332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33338         Refreshed.
33340 2012-05-27  David S. Miller  <davem@davemloft.net>
33342         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33343         (___Q_zero): New.
33344         (__Q_simulate_exceptions): Return void.  Change to simulate
33345         exceptions by writing into the %fsr.
33346         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33347         (__Qp_handle_exceptions): Likewise.
33348         (numbers): Delete.
33349         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33350         __Qp_handle_exceptions.
33351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33352         __Qp_handle_exceptions.
33353         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33354         as unused and give dummy FP_RND_NEAREST initializer.
33355         (FP_INHIBIT_RESULTS): Define.
33356         (___Q_simulate_exceptions): Update declaration.
33357         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33358         formatting.
33359         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33360         as unused and give dummy FP_RND_NEAREST initializer.
33361         (__Qp_handle_exceptions): Update declaration.
33362         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33363         formatting.
33365 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33367         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33368         the temporary FPU control word.
33369         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33370         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33371         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33372         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33373         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33374         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33375         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33376         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33377         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33378         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33379         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33381 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33383         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33384         fields.
33386 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33388         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33389         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33390         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33391         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33392         Likewise.
33393         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33394         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33395         Likewise.
33397 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33399         * po/h.po: Update from translation team.
33401 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33403         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33405         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33406         handling of denormals.
33407         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33408         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33409         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33410         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33412         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33413         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33414         Likewise.
33416 2012-05-26  Marek Polacek  <polacek@redhat.com>
33418         [BZ #14152]
33419         * math/libm-test.inc (fma_test): Don't always expect underflow
33420         exception.
33422 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33424         [BZ #12416]
33425         * elf/tst-execstack.c: Include stackinfo.h.
33426         (do_test): Adjust test case to ensure that pthread_getattr_np
33427         behaviour remains the same after marking stack executable.
33429 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33431         * sysdeps/unix/sysv/linux/kernel-features.h
33432         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33433         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33434         kernel-features.h.
33435         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33436         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33437         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33438         kernel-features.h.
33439         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33440         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33442 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33444         * configure.in: Define the default includes to being none.
33445         * configure: Regenerated.
33447 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33449         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33450         * sysdeps/x86_64/setjmp.S: Likewise.
33451         * sysdeps/i386/bsd-setjmp.S: Likewise.
33452         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33453         * sysdeps/i386/setjmp.S: Likewise.
33454         * sysdeps/i386/__longjmp.S: Likewise.
33455         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33456         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33458         * include/stap-probe.h: New file.
33459         * configure.in: Handle --enable-systemtap.
33460         * configure: Regenerated.
33461         * config.h.in (USE_STAP_PROBE): New #undef.
33462         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33463         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33464         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33466 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33468         [BZ #13717]
33469         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33470         to 2.4.0 where earlier.
33471         * sysdeps/unix/sysv/linux/configure: Regenerated.
33472         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33473         <kernel-features.h>.
33474         [__ASSUME_32BITUIDS]: Make code unconditional.
33475         [!__ASSUME_32BITUIDS]: Remove conditional code.
33476         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33477         <kernel-features.h>.
33478         [__ASSUME_32BITUIDS]: Make code unconditional.
33479         [!__ASSUME_32BITUIDS]: Remove conditional code.
33480         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33481         [__ASSUME_32BITUIDS]: Make code unconditional.
33482         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33483         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33484         <kernel-features.h>.
33485         [__ASSUME_32BITUIDS]: Make code unconditional.
33486         [!__ASSUME_32BITUIDS]: Remove conditional code.
33487         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33488         <kernel-features.h>.
33489         [__ASSUME_32BITUIDS]: Make code unconditional.
33490         [!__ASSUME_32BITUIDS]: Remove conditional code.
33491         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33492         <kernel-features.h>.
33493         [__ASSUME_32BITUIDS]: Make code unconditional.
33494         [!__ASSUME_32BITUIDS]: Remove conditional code.
33495         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33496         <kernel-features.h>.
33497         [__ASSUME_32BITUIDS]: Make code unconditional.
33498         [!__ASSUME_32BITUIDS]: Remove conditional code.
33499         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33500         <kernel-features.h>.
33501         [__ASSUME_32BITUIDS]: Make code unconditional.
33502         [!__ASSUME_32BITUIDS]: Remove conditional code.
33503         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33504         <kernel-features.h>.
33505         [__ASSUME_32BITUIDS]: Make code unconditional.
33506         [!__ASSUME_32BITUIDS]: Remove conditional code.
33507         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33508         <kernel-features.h>.
33509         [__ASSUME_32BITUIDS]: Make code unconditional.
33510         [!__ASSUME_32BITUIDS]: Remove conditional code.
33511         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33512         <kernel-features.h>.
33513         [__ASSUME_32BITUIDS]: Make code unconditional.
33514         [!__ASSUME_32BITUIDS]: Remove conditional code.
33515         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33516         <kernel-features.h>.
33517         [__ASSUME_32BITUIDS]: Make code unconditional.
33518         [!__ASSUME_32BITUIDS]: Remove conditional code.
33519         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33520         <kernel-features.h>.
33521         [__ASSUME_32BITUIDS]: Make code unconditional.
33522         [!__ASSUME_32BITUIDS]: Remove conditional code.
33523         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33524         <kernel-features.h>.
33525         [__NR_setresgid] (__setresgid): Do not declare.
33526         [__ASSUME_32BITUIDS]: Make code unconditional.
33527         [!__ASSUME_32BITUIDS]: Remove conditional code.
33528         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33529         <kernel-features.h>.
33530         [__NR_setresuid] (__setresuid): Do not declare.
33531         [__ASSUME_32BITUIDS]: Make code unconditional.
33532         [!__ASSUME_32BITUIDS]: Remove conditional code.
33533         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33534         <kernel-features.h>.
33535         [__ASSUME_32BITUIDS]: Make code unconditional.
33536         [!__ASSUME_32BITUIDS]: Remove conditional code.
33537         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33538         <kernel-features.h>.
33539         [__ASSUME_32BITUIDS]: Make code unconditional.
33540         [!__ASSUME_32BITUIDS]: Remove conditional code.
33541         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33542         <kernel-features.h>.
33543         [__ASSUME_32BITUIDS]: Make code unconditional.
33544         [!__ASSUME_32BITUIDS]: Remove conditional code.
33545         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33546         <kernel-features.h>.
33547         [__ASSUME_32BITUIDS]: Make code unconditional.
33548         [!__ASSUME_32BITUIDS]: Remove conditional code.
33549         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33550         <kernel-features.h>.
33551         [__ASSUME_32BITUIDS]: Make code unconditional.
33552         [!__ASSUME_32BITUIDS]: Remove conditional code.
33553         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33554         <kernel-features.h>.
33555         [__ASSUME_32BITUIDS]: Make code unconditional.
33556         [!__ASSUME_32BITUIDS]: Remove conditional code.
33557         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33558         <kernel-features.h>.
33559         [__ASSUME_32BITUIDS]: Make code unconditional.
33560         [!__ASSUME_32BITUIDS]: Remove conditional code.
33561         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33562         <kernel-features.h>.
33563         [__ASSUME_32BITUIDS]: Make code unconditional.
33564         [!__ASSUME_32BITUIDS]: Remove conditional code.
33565         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33566         <kernel-features.h>.
33567         [__ASSUME_32BITUIDS]: Make code unconditional.
33568         [!__ASSUME_32BITUIDS]: Remove conditional code.
33569         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33570         <kernel-features.h>.
33571         [__ASSUME_32BITUIDS]: Make code unconditional.
33572         [!__ASSUME_32BITUIDS]: Remove conditional code.
33573         * sysdeps/unix/sysv/linux/kernel-features.h
33574         (__ASSUME_SETRESUID_SYSCALL): Remove.
33575         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33576         (__ASSUME_32BITUIDS): Likewise.
33577         (__ASSUME_LDT_WORKS): Likewise.
33578         (__ASSUME_O_DIRECTORY): Likewise.
33579         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33580         architecture but not kernel version.
33581         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33582         (__ASSUME_MMAP2_SYSCALL): Likewise.
33583         (__ASSUME_STAT64_SYSCALL): Likewise.
33584         (__ASSUME_IPC64): Likewise.
33585         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33586         <kernel-features.h>.
33587         [__ASSUME_32BITUIDS]: Make code unconditional.
33588         [!__ASSUME_32BITUIDS]: Remove conditional code.
33589         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33590         <kernel-features.h>.
33591         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33592         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33593         132096]: Remove conditional code.
33594         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33595         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33596         <kernel-features.h>.
33597         [__ASSUME_32BITUIDS]: Make code unconditional.
33598         [!__ASSUME_32BITUIDS]: Remove conditional code.
33599         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33600         <kernel-features.h>.
33601         [__ASSUME_32BITUIDS]: Make code unconditional.
33602         [!__ASSUME_32BITUIDS]: Remove conditional code.
33603         * sysdeps/unix/sysv/linux/setegid.c: Do not include
33604         <kernel-features.h>.
33605         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33606         unconditional.
33607         (__setresgid): Do not declare.
33608         [__ASSUME_32BITUIDS]: Make code unconditional.
33609         [!__ASSUME_32BITUIDS]: Remove conditional code.
33610         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33611         <kernel-features.h>.
33612         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33613         unconditional.
33614         (__setresuid): Do not declare.
33615         [__ASSUME_32BITUIDS]: Make code unconditional.
33616         [!__ASSUME_32BITUIDS]: Remove conditional code.
33617         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33618         <kernel-features.h>.
33619         [__ASSUME_32BITUIDS]: Make code unconditional.
33620         [!__ASSUME_32BITUIDS]: Remove conditional code.
33621         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33622         <kernel-features.h>.
33623         [__ASSUME_32BITUIDS]: Make code unconditional.
33624         [!__ASSUME_32BITUIDS]: Remove conditional code.
33626 2012-05-25  Richard Henderson  <rth@twiddle.net>
33628         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33629         dl_hwcap to ifunc resolver.
33630         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33631         elf_ifunc_invoke.
33632         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33633         dl_hwcap to ifunc resolver.
33634         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33636 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33638         [BZ #14153]
33639         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33640         for |x| <= 2**-26, not 2**-57.
33641         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33642         exception.
33644 2012-05-24  Jeff Law  <law@redhat.com>
33646         * stdio-common/Makefile (tests): Add bug25.
33647         * stdio-common/bug25.c: New test.
33649 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33651         [BZ #13576]
33652         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33653         multiple of MALLOC_ALIGNMENT in size.
33654         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33656 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33658         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33659         Require >= 256.
33660         (FILENAME_MAX): Use macro-int-constant.
33661         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33662         (_IOFBF): Use macro-int-constant.
33663         (_IOLBF): Likewise.
33664         (_IONBF): Likewise.
33665         (SEEK_CUR): Likewise.
33666         (SEEK_END): Likewise.
33667         (SEEK_SET): Likewise.
33668         (TMP_MAX): Likewise.
33669         (EOF): Use macro-int-constant.  Require < 0.
33670         (NULL): Use macro-constant.  Require == 0.
33671         (stdin): Require type to be FILE *.
33672         (stdout): Likewise.
33673         (stderr): Likewise.
33674         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33675         macro-int-constant.
33676         (EXIT_SUCCESS): Likewise.
33677         (NULL): Use macro-constant.  Require == 0.
33678         (RAND_MAX): Use macro-int-constant.
33679         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33680         [C99-based standards] (strtof): Require function.
33681         [C99-based standards] (strtold): Likewise.
33682         [C99-based standards] (strtoll): Likewise.
33683         [C99-based standards] (strtoull): Likewise.
33684         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33685         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33686         [ISO || ISO99 || ISO11] (math.h): Likewise.
33687         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33688         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33689         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33691 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33693         [BZ #14132]
33694         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33695         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33696         * intl/dgettext.c (DCGETTEXT): Likewise.
33697         * intl/gettext.c (DCGETTEXT): Likewise.
33698         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33699         * posix/regex_internal.h (gettext): Likewise.
33700         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33701         Remove declaration.
33702         * include/argz.h (__argz_count_internal)
33703         (__argz_stringify_internal): Remove declaration.
33704         (__argz_count, __argz_stringify): Declare hidden proto.
33705         * intl/dcgettext.c: Remove use of INTDEF.
33706         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33707         * string/argz-stringify.c: Likewise.
33708         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33709         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33710         Declare hidden proto.
33711         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33712         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33713         Declare hidden proto.
33714         * include/stdio.h (__asprintf_internal): Don't declare.
33715         (__asprintf): Don't define as macro.  Declare hidden proto.
33716         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33717         (__fsetlocking): Declare hidden proto.
33718         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33719         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33720         hidden proto.
33721         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33722         (_IO_setlinebuf): Remove use of INTUSE.
33723         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33724         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33725         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33726         Remove declaration.
33727         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33728         (_IO_do_flush): Remove use of INTUSE.
33729         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33730         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33731         (_IO_adjust_column, _IO_least_wmarker)
33732         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33733         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33734         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33735         (_IO_default_doallocate, _IO_wdefault_doallocate)
33736         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33737         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33738         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33739         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33740         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33741         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33742         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33743         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33744         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33745         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33746         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33747         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33748         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33749         proto.
33750         (_IO_flush_all_internal, _IO_adjust_column_internal)
33751         (_IO_default_uflow_internal, _IO_default_finish_internal)
33752         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33753         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33754         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33755         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33756         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33757         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33758         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33759         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33760         (_IO_file_close_internal, _IO_file_close_it_internal)
33761         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33762         (_IO_file_init_internal, _IO_file_attach_internal)
33763         (_IO_file_fopen_internal, _IO_file_read_internal)
33764         (_IO_file_sync_internal, _IO_file_seek_internal)
33765         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33766         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33767         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33768         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33769         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33770         (_IO_list_all_internal, _IO_link_in_internal)
33771         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33772         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33773         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33774         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33775         (_IO_do_write_internal, _IO_padn_internal)
33776         (_IO_getline_info_internal, _IO_getline_internal)
33777         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33778         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33779         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33780         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33781         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33782         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33783         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33784         with libc_hidden_ver, remove use of INTUSE.
33785         * libio/genops.c: Likewise.
33786         * libio/freopen.c: Likewise.
33787         * libio/freopen64.c: Likewise.
33788         * libio/iofclose.c: Likewise.
33789         * libio/iofdopen.c: Likewise.
33790         * libio/iofflush.c: Likewise.
33791         * libio/iofflush_u.c: Likewise.
33792         * libio/iofgets.c: Likewise.
33793         * libio/iofgets_u.c: Likewise.
33794         * libio/iofopen.c: Likewise.
33795         * libio/iofopncook.c: Likewise.
33796         * libio/iofread.c: Likewise.
33797         * libio/iofread_u.c: Likewise.
33798         * libio/ioftell.c: Likewise.
33799         * libio/iofwrite.c: Likewise.
33800         * libio/iogetline.c: Likewise.
33801         * libio/iogets.c: Likewise.
33802         * libio/iogetwline.c: Likewise.
33803         * libio/iopadn.c: Likewise.
33804         * libio/iopopen.c: Likewise.
33805         * libio/ioseekoff.c: Likewise.
33806         * libio/ioseekpos.c: Likewise.
33807         * libio/iosetbuffer.c: Likewise.
33808         * libio/iosetvbuf.c: Likewise.
33809         * libio/ioungetc.c: Likewise.
33810         * libio/ioungetwc.c: Likewise.
33811         * libio/iovdprintf.c: Likewise.
33812         * libio/iovsprintf.c: Likewise.
33813         * libio/iovsscanf.c: Likewise.
33814         * libio/memstream.c: Likewise.
33815         * libio/obprintf.c: Likewise.
33816         * libio/oldfileops.c: Likewise.
33817         * libio/oldiofclose.c: Likewise.
33818         * libio/oldiofdopen.c: Likewise.
33819         * libio/oldiofopen.c: Likewise.
33820         * libio/oldiopopen.c: Likewise.
33821         * libio/oldstdfiles.c: Likewise.
33822         * libio/putc.c: Likewise.
33823         * libio/setbuf.c: Likewise.
33824         * libio/setlinebuf.c: Likewise.
33825         * libio/stdfiles.c: Likewise.
33826         * libio/strops.c: Likewise.
33827         * libio/vasprintf.c: Likewise.
33828         * libio/vscanf.c: Likewise.
33829         * libio/vsnprintf.c: Likewise.
33830         * libio/vswprintf.c: Likewise.
33831         * libio/wfiledoalloc.c: Likewise.
33832         * libio/wfileops.c: Likewise.
33833         * libio/wgenops.c: Likewise.
33834         * libio/wmemstream.c: Likewise.
33835         * libio/wstrops.c: Likewise.
33836         * libio/__fpurge.c: Likewise.
33837         * libio/__fsetlocking.c: Likewise.
33838         * assert/assert.c: Likewise.
33839         * debug/fgets_chk.c: Likewise.
33840         * debug/fgets_u_chk.c: Likewise.
33841         * debug/fread_chk.c: Likewise.
33842         * debug/fread_u_chk.c: Likewise.
33843         * debug/gets_chk.c: Likewise.
33844         * debug/obprintf_chk.c: Likewise.
33845         * debug/vasprintf_chk.c: Likewise.
33846         * debug/vdprintf_chk.c: Likewise.
33847         * debug/vsnprintf_chk.c: Likewise.
33848         * debug/vsprintf_chk.c: Likewise.
33849         * malloc/mtrace.c: Likewise.
33850         * misc/error.c: Likewise.
33851         * misc/syslog.c: Likewise.
33852         * stdio-common/asprintf.c: Likewise.
33853         * stdio-common/fxprintf.c: Likewise.
33854         * stdio-common/getw.c: Likewise.
33855         * stdio-common/isoc99_fscanf.c: Likewise.
33856         * stdio-common/isoc99_scanf.c: Likewise.
33857         * stdio-common/isoc99_vfscanf.c: Likewise.
33858         * stdio-common/isoc99_vscanf.c: Likewise.
33859         * stdio-common/isoc99_vsscanf.c: Likewise.
33860         * stdio-common/printf-prs.c: Likewise.
33861         * stdio-common/printf_fp.c: Likewise.
33862         * stdio-common/printf_fphex.c: Likewise.
33863         * stdio-common/printf_size.c: Likewise.
33864         * stdio-common/putw.c: Likewise.
33865         * stdio-common/scanf.c: Likewise.
33866         * stdio-common/sprintf.c: Likewise.
33867         * stdio-common/tmpfile.c: Likewise.
33868         * stdio-common/vfprintf.c: Likewise.
33869         * stdio-common/vfscanf.c: Likewise.
33870         * stdlib/strfmon_l.c: Likewise.
33871         * sunrpc/openchild.c: Likewise.
33872         * sunrpc/xdr_stdio.c: Likewise.
33873         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33874         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33876 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33878         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33880         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33881         in the third column, to generate for the shared library an IFUNC
33882         that uses _dl_vdso_vsym.
33883         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33884         * Makeconfig (object-suffixes-noshared): New variable.
33886         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33887         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33888         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33889         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33891         [BZ #14132]
33892         * include/sys/time.h (__gettimeofday): Remove macro.
33893         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33894         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33895         Remove INTDEF.
33896         (__gettimeofday): Add libc_hidden_def.
33897         (gettimeofday): Add libc_hidden_weak.
33898         * sysdeps/mach/gettimeofday.c: Likewise.
33899         * sysdeps/posix/gettimeofday.c: Likewise.
33900         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33901         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33902         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33903         (__gettimeofday_internal): Remove strong_alias.
33904         (__gettimeofday): Add libc_hidden_def.
33905         (gettimeofday): Add libc_hidden_weak.
33906         * sysdeps/unix/syscalls.list (gettimeofday):
33907         Remove __gettimeofday_internal alias.
33909 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33910             H.J. Lu  <hongjiu.lu@intel.com>
33912         [BZ #12495]
33913         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33914         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33915         (largebin_index_32_big): New.
33916         (largebin_index): Use it for 16-byte alignment.
33917         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33918         correction with front_misalign.
33920 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33924         Likewise.
33925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33926         Likewise.
33927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33928         Likewise.
33929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33930         Likewise.
33931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33932         Likewise.
33933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33934         Likewise.
33935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33936         Likewise.
33937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33938         Likewise.
33939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33940         Likewise.
33941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33942         Likewise.
33943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33944         Likewise.
33945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33946         Likewise.
33948         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33949         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33951 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33953         [BZ #10846]
33954         [BZ #14036]
33955         * math/libm-test.inc (exp_test): Add test from bug 14036.
33956         (pow_test): Add test from bug 10846.
33958         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33959         and other flags.
33960         (special_function): Do not include flags in test name.
33961         (parse_args): Likewise.
33962         * sysdeps/i386/fpu/libm-test-ulps: Update.
33963         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33964         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33965         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33968         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33969         exceptions.
33970         * math/libm-test.inc ("Philosophy"): Update comment about
33971         exception testing.
33972         (UNDERFLOW_EXCEPTION): New macro.
33973         (UNDERFLOW_EXCEPTION_OK): Likewise.
33974         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33975         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33976         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33977         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33978         (INVALID_EXCEPTION_OK): Update value.
33979         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33980         (OVERFLOW_EXCEPTION_OK): Likewise.
33981         (IGNORE_ZERO_INF_SIGN): Likewise.
33982         (test_exceptions): Handle underflow exceptions.
33983         (acos_test): Update for underflow exception expectations.
33984         (cexp_test): Likewise.
33985         (clog_test): Likewise.
33986         (clog10_test): Likewise.
33987         (csqrt_test): Likewise.
33988         (ctan_test): Likewise.
33989         (ctanh_test): Likewise.
33990         (exp_test): Likewise.
33991         (exp10_test): Likewise.
33992         (exp2_test): Likewise.
33993         (expm1_test): Likewise.
33994         (fma_test): Likewise.
33995         (j0_test): Likewise.
33996         (jn_test): Likewise.
33997         (nexttoward_test): Likewise.
33998         (pow_test): Likewise.
33999         (scalbn_test): Likewise.
34000         (scalbln_test): Likewise.
34001         (tan_test): Likewise.
34002         (y1_test): Likewise.
34003         * sysdeps/i386/fpu/libm-test-ulps: Update.
34004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34006 2012-05-23  David S. Miller  <davem@davemloft.net>
34008         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34009         (__libc_sigaction): Remove unused local variables.
34011 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34013         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34015 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34017         mktime: avoid signed integer overflow
34018         * time/mktime.c (__mktime_internal): Do not mishandle the case
34019         where diff == INT_MIN.
34021         mktime: simplify computation of average
34022         * time/mktime.c (ranged_convert): Use new time_t_avg function
34023         instead of rolling our own (probably-slower) code.
34025         mktime: do not assume signed right shift propagates sign bit
34026         * time/mktime.c (isdst_differ): New static function.
34027         (__mktime_internal): No need to normalize tm_isdst now.
34028         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34029         tm_isdst values.
34031         mktime: merge another wrapv change from gnulib
34032         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34033         from some compilers.
34035         mktime: remove incorrect attempt at unusual arithmetics
34036         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34037         The code didn't really work on such machines anyway.
34038         (TYPE_MINIMUM): Assume two's complement.
34039         (twos_complement_arithmetic): Verify that long_int and time_t
34040         are two's complement (or unsigned, in the latter case).
34042         mktime: check signed shifts on long_int and time_t, too
34043         * time/mktime.c (SHR): Check that shifts work as desired
34044         on the types long_int and time_t too, as SHR is used on
34045         such types.
34047         mktime: do not assume 'long' is wide enough
34048         * time/mktime.c (verify): Move decl up.
34049         (long_int): New type.
34050         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34051         to remove assumption in the code that 'long' is wide enough to
34052         store year values.  This assumption is not true on x32 and on
34053         some non-glibc platforms.
34055         mktime: merge wrapv change from gnulib
34056         * time/mktime.c (WRAPV): New macro.
34057         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34058         (guess_time_tm, __mktime_internal): Do not assume that signed
34059         integer overflow wraps around; modern compilers generate code
34060         where this assumption is no longer valid.
34062 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34064         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34065         Replace "jmp L(pseudo_end)" with "ret".
34066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34067         Likewise.
34069 2012-05-23  Andreas Jaeger  <aj@suse.de>
34071         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34072         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34074 2012-05-23  Andreas Jaeger  <aj@suse.de>
34075             Maximilian Attems  <max@stro.at>
34077         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34078         New macros.
34080 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34082         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34083         code so that pseudo_end is just ret and the stack pointer is
34084         correct also for static library in error case.
34086 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34088         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34089         move to syscalls.list.
34090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34095         * manual/install.texi (Running make install): Do not mention Linux
34096         kernel version for which pt_chown is not needed.
34097         (Linux): Do not mention problems with nscd with 2.0 kernels.
34098         * INSTALL: Regenerated.
34100 2012-05-23  Andreas Jaeger  <aj@suse.de>
34102         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34103         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34104         macro.
34105         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34106         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34107         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34108         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34109         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34110         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34111         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34112         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34113         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34114         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34115         * sysdeps/unix/sysv/linux/bits/in.h
34116         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34118 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34120         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34121         (PREPARE_VERSION): Just use assert instead, it will be elided
34122         under [NDEBUG] anyway.
34124 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34126         * sysdeps/unix/sysv/linux/Makefile: Include
34127         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34128         (sysdep_routines): Remove sysctl.
34129         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34130         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34131         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34132         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34133         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34135 2012-05-22  Andreas Jaeger  <aj@suse.de>
34137         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34138         that pseudo_end is just ret and the stack pointer is correct also
34139         for static library in error case.
34141 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34143         [BZ #14122]
34144         * nss/nsswitch.c (defconfig_entries): New variable.
34145         (__nss_database_lookup): Don't leak defconfig entries.
34146         (nss_parse_service_list): Don't leak on error paths.
34147         (free_database_entries): New function.
34148         (free_defconfig): New function.
34149         (free_mem): Move common code to free_database_entries.
34151 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34153         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34154         Add arch_prctl.
34155         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34157         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34158         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34160         New macro.
34161         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34162         (INTERNAL_SYSCALL_TYPES): Likewise.
34163         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34164         (LOAD_REGS_TYPES_[1-6]): Likewise.
34165         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34166         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34168 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34170         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34171         copysignl for GLIBC_2_0.
34172         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34173         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34174         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34175         logbl for GLIBC_2_0.
34176         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34177         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34179 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34181         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34182         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34184         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34185         Use "neg %eax".
34187         * time/mktime.c: Update copyright years.
34189 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34191         mktime: merge comment-quoting-style change from gnulib
34192         * time/mktime.c: Quote 'like this' in comments.
34193         The GNU coding standards suggest that we no longer quote `like this',
34194         as "`" and "'" are typically rendered asymmetrically nowadays.
34195         The typical gnulib style is to quote 'like this' when quoting
34196         code, and "like this" when quoting English.
34198         * time/mktime.c (compile-command): Add "-I.".
34200         mktime: merge mktime-internal.h change from gnulib
34201         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34203         mktime: merge time_r change from gnulib
34204         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34206         mktime: merge DEBUG change from gnulib
34207         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34208         case system <time.h> has a #define.
34210         mktime: merge <sys/types.h> change from gnulib
34211         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34212         since <time.t> is now guaranteed to define time_t.
34214         mktime: merge HAVE_CONFIG_H change from gnulib
34215         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34217 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34220         Use "neg %eax".
34222         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34223         __rlim_t cast.
34224         (struct rusage): Use anonymous union to pad each field to
34225         __syscall_slong_t.
34227 2012-05-21  David S. Miller  <davem@davemloft.net>
34229         * Makefules (o-iterator): Remove .s cases.
34230         (compile-command.s): Delete.
34231         (COMPILE.s): Delete.
34232         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34234 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34236         * configure.in (libc_cv_predef_stack_protector): Only consider
34237         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34238         * configure: Regenerated.
34240 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34243         New macro.  Use R*LP on int and pointer.
34244         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34245         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34246         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34247         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34249         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34250         [__WORDSIZE_TIME64_COMPAT32] instead of
34251         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34252         (struct utmp): Likewise.
34253         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34254         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34255         Renamed to ...
34256         (__WORDSIZE_TIME64_COMPAT32): This.
34257         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34258         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34259         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34260         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34261         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34262         (__WORDSIZE_TIME64_COMPAT32): New macro.
34264 2012-05-21  Andreas Jaeger  <aj@suse.de>
34266         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34267         only if [SHARED]. Add prototype for __wcschr_ia32.
34269 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34271         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34272         of %rbp unmolested in the jmp_buf while mangling the low bits.
34273         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34274         unmolested high bits of %rbp while demangling the low bits.
34275         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34277 2012-05-21  Andreas Jaeger  <aj@suse.de>
34279         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34280         * sunrpc/svc_simple.c: Use it for registerrpc.
34281         * sunrpc/xcrypt.c: Use it for passwd2des.
34283         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34285 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34287         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34288         Don't define if [__SYSCALL_WORDSIZE != 32].
34289         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34290         New macro.
34292 2012-05-21  Bruno Haible  <bruno@clisp.org>
34293             Andreas Jaeger  <aj@suse.de>
34295         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34296         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34297         inptr and inend for must_buffer_ch.
34298         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34299         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34300         * stdio-common/Makefile (tests): Remove bug15.
34301         (bug15-ENV): Remove macro.
34302         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34303         anymore.
34305 2012-05-19  Andreas Jaeger  <aj@suse.de>
34306             Roland McGrath  <roland@hack.frob.com>
34308         * manual/contrib.texi: Completely rewritten. It contains now an
34309         alphabetical list of contributors and their contributions.
34311 2012-05-21  Richard Henderson  <rth@twiddle.net>
34313         * misc/getauxval.c (__getauxval): Use unsigned long int.
34314         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34315         (getauxval): Use unsigned long int.
34317 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34319         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34321 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34323         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34324         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34325         __alignof__ (long double).
34327 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34331 2012-05-20  Richard Henderson  <rth@twiddle.net>
34333         * misc/getauxval.c: New file.
34334         * misc/sys/auxv.h: New file.
34335         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34336         (routines): Add getauxval.
34337         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34338         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34339         * elf/dl-sysdep.c (_dl_auxv): Remove.
34340         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34341         * elf/dl-support.c (_dl_auxv): New variable.
34342         (_dl_aux_init): Initialize it.
34343         * manual/startup.texi (Auxiliary Vector): New node.
34344         * sysdeps/generic/bits/hwcap.h: New file.
34345         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34346         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34347         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34348         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34349         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34350         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34352         Update.
34353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34356         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34362 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34366 2012-05-19  David S. Miller  <davem@davemloft.net>
34368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34370 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34372         [BZ #14123]
34373         * math/s_ccosh.c: Include <float.h>
34374         (__ccosh): Avoid internal overflow calculating sinh and cosh
34375         values before multiplying by sin and cos values.
34376         * math/s_ccoshf.c: Likewise.
34377         * math/s_ccoshl.c: Likewise.
34378         * math/s_csin.c: Likewise.
34379         * math/s_csinf.c: Likewise.
34380         * math/s_csinl.c: Likewise.
34381         * math/s_csinh.c: Likewise.
34382         * math/s_csinhf.c: Likewise.
34383         * math/s_csinhl.c: Likewise.
34384         * math/libm-test.inc (ccos_test): Add more tests.
34385         (ccosh_test): Likewise.
34386         (csin_test): Likewise.
34387         (csinh_test): Likewise.
34388         * sysdeps/i386/fpu/libm-test-ulps: Update.
34389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34391 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34393         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34394         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34396         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34398 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34400         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34401         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34402         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34403         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34404         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34405         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34406         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34407         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34408         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34409         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34410         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34411         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34412         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34413         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34414         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34415         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34416         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34417         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34418         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34419         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34420         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34421         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34422         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34423         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34424         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34425         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34426         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34427         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34428         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34429         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34430         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34432 2012-05-18  Andreas Jaeger  <aj@suse.de>
34434         * csu/.gitignore: Delete.
34436 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34438         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34439         (timex): Use __syscall_slong_t.
34441 2012-05-18  Andreas Jaeger  <aj@suse.de>
34442             Carlos O'Donell  <carlos_odonell@mentor.com>
34444         * manual/install.texi (Configuring and compiling): Update
34445         description about files modified in the source directory.
34446         * INSTALL: Regenerated.
34448 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34450         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34451         value.  Use "or" to set return value to -1.
34452         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34453         negate return value.
34455 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34457         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34458         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34459         failure if the compiler has Graphite support disabled.
34460         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34461         Likewise.
34462         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34463         (CFLAGS-memmove.c): Likewise.
34464         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34465         Likewise.
34467 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34469         * sysdeps/x86_64/x32/_itoa.h: New file.
34471         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34472         getdents system call only if kernel and user dirents have the
34473         same d_ino and d_off.
34475         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34476         LLONG_MAX != LONG_MAX.
34477         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34478         (_fitoa_word): Likewise.
34480         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34481         years.
34482         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34483         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34484         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34486         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34487         include <bits/wordsize.h>.  Check __x86_64__ instead of
34488         __WORDSIZE.
34489         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34490         if __x86_64__ is defined.  Use anonymous union on fpstate.
34492         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34493         anonymous union.
34495 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34497         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34498         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34499         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34500         Refer to _rtld_local_ro instead of _rtld_global_ro.
34501         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34502         Likewise.
34503         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34504         Likewise.
34505         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34506         Likewise.
34507         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34508         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34509         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34511         * sysdeps/powerpc/powerpc32/dl-machine.c
34512         (__elf_machine_runtime_setup) [PROF]: Don't reference
34513         _dl_prof_resolve.
34515 2012-05-18  Andreas Jaeger  <aj@suse.de>
34517         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34518         function only available for GCCs before 3.4 since GCC 3.4
34519         introduced a builtin.
34520         (lrint): Likewise.
34521         (llrintf): Likewise.
34522         (llrint): Likewise.
34523         (fmaxf): Likewise.
34524         (fmax): Likewise.
34525         (fminf): Likewise.
34526         (fmin): Likewise.
34527         (rint): Likewise.
34528         (rintf): Likewise.
34529         (nearbyint): Likewise.
34530         (nearbyintf): Likewise.
34531         (ceil): Likewise.
34532         (ceilf): Likewise.
34533         (floor): Likewise.
34534         (floorf): Likewise.
34536 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34538         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34539         on both fields and cast pointer to __syscall_ulong_t.
34541         * bits/types.h (__fsword_t): New type.
34542         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34543         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34544         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34545         (__FSWORD_T_TYPE): Likewise.
34546         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34547         (__FSWORD_T_TYPE): Likewise.
34548         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34549         (__FSWORD_T_TYPE): Likewise.
34550         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34551         (__FSWORD_T_TYPE): Likewise.
34552         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34553         __SWORD_TYPE with __fsword_t.
34554         (statfs64): Likewise.
34556 2012-05-17  David S. Miller  <davem@davemloft.net>
34558         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34560 2012-05-17  Andreas Jaeger  <aj@suse.de>
34562         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34563         warning.
34565 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34567         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34569 2012-05-17  Andreas Jaeger  <aj@suse.de>
34571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34572         when it is used.
34574 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34576         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34578 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34580         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34581         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34583 2012-05-17  Andreas Jaeger  <aj@suse.de>
34584             Carlos O'Donell  <carlos_odonell@mentor.com>
34586         [BZ #14059]
34587         * sysdeps/x86_64/multiarch/init-arch.h
34588         (bit_YMM_Usable): Rename to...
34589         (bit_AVX_Usable): ... this.
34590         (bit_FMA4_Usable): New macro.
34591         (bit_XMM_state): New macro.
34592         (bit_YMM_state): New macro.
34593         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34594         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34595         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34596         (CPUID_OSXSAVE): New macro.
34597         (CPUID_AVX): New macro.
34598         (CPUID_FMA4): New macro.
34599         (index_YMM_Usable): Rename to...
34600         (index_AVX_Usable): ... this.
34601         (HAS_AVX): Use HAS_ARCH_FEATURE.
34602         (HAS_FMA4): Likewise.
34603         (HAS_YMM_USABLE): Remove.
34604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34605         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34606         are present.
34607         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34608         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34609         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34610         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34611         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34613 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34615         * math/libm-test.c: Support platforms without multiple rounding modes.
34616         * math/bug-nextafter.c: Support platforms without FP exceptions.
34617         * math/bug-nexttoward.c: Likewise.
34618         * math/test-fenv.c: Likewise.
34619         * math/test-misc.c: Likewise.
34620         * stdlib/bug-getcontext.c: Likewise.
34622 2012-05-17  Andreas Jaeger  <aj@suse.de>
34624         * manual/examples/search.c (critter_cmp): Change signature to
34625         avoid warnings.
34626         * manual/string.texi (Collation Functions): Likewise.
34628 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34630         * bits/types.h: Fold copyright years.
34631         * bits/typesizes.h: Likewise.
34632         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34633         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34634         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34635         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34636         * time/time.h: Likewise.
34638 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34640         [BZ #208]
34641         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34642         in instead of returning them.  Return void.
34643         (__libc_mallinfo): Accumulate over all arenas.
34644         (__malloc_stats): Adjust for change in int_mallinfo interface.
34646 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34648         [BZ #10375]
34649         * configure.in (NM): Add AC_CHECK_TOOL for it.
34650         (libc_extra_cflags): New substituted variable.
34651         Check for -fstack-protector being used implicitly.
34652         * configure: Regenerated.
34653         * config.make.in (config-extra-cflags): New variable,
34654         gets @libc_extra_cflags@.
34655         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34657         [BZ #10375]
34658         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34659         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34660         * configure: Regenerated.
34661         * config.make.in (CPPUNDEFS): New substituted variable.
34662         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34663         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34664         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34666 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34668         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34669         (mq_attr): Use __syscall_slong_t.
34671 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34673         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34674         Check __x86_64__ instead of __WORDSIZE.
34675         (_STAT_VER_LINUX): Likewise.
34676         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34677         __syscall_ulong_t and __syscall_slong_t.
34678         (stat64): Likewise.
34680 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34682         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34684 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34686         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34690         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34691         __syscall_ulong_t.
34693         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34694         include <bits/wordsize.h>.  Check __x86_64__ instead of
34695         __WORDSIZE.
34696         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34697         defined.
34698         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34700         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34701         include <bits/wordsize.h>.  Check __x86_64__ instead of
34702         __WORDSIZE.
34703         (user_regs_struct): Use "__extension__ unsigned long long"
34704         instead of "unsigned long" if __x86_64__ is defined.
34705         (user): Likewise.  Pad after pointer field if __ILP32__ is
34706         defined.
34708 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34710         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34711         versions 5 to 9.
34712         * configure: Regenerated.
34713         * manual/install.texi (texinfo): Increase version requirement to
34714         4.5 or later.
34715         * INSTALL: Regenerated.
34717         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34719 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34721         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34723         * sysdeps/x86_64/x32/ffs.c: New file.
34725         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34726         __syscall_ulong_t.
34727         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34728         defined.  Use __syscall_ulong_t.
34729         (shminfo): Use __syscall_ulong_t.
34730         (shm_info): Likewise.
34732         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34733         __syscall_ulong_t.
34735         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34736         <bits/wordsize.h>.
34737         (msgqnum_t): Use __syscall_ulong_t.
34738         (msglen_t): Likewise.
34739         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34740         __syscall_ulong_t.
34742         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34743         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34745         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34747         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34748         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34750         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34751         __syscall_slong_t.
34753         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34754         include <bits/wordsize.h>.  Check __x86_64__ instead of
34755         __WORDSIZE.
34757         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34758         "unsigned long long int" if __x86_64__ is defined.
34759         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34761         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34762         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34763         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34765         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34766         <stdint.h>.
34767         (GET_PC): Cast to uintptr_t first.
34768         (GET_FRAME): Likewise.
34769         (GET_STACK): Likewise.
34771         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34772         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34773         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34774         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34775         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34776         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34777         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34778         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34779         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34780         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34781         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34782         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34783         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34784         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34785         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34786         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34787         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34788         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34789         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34790         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34791         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34792         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34793         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34794         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34795         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34796         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34797         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34798         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34799         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34801 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34803         * Makerules (+depfiles): Also collect depfiles from .oS in
34804         $(extra-objs).
34805         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34806         .oS, $(libnldbl-routines)).
34808         * Makerules (native-compile-mkdep-flags): Define.
34809         * sunrpc/Makefile (extra-objs): Add $(addprefix
34810         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34811         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34812         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34813         calling $(make-target-directory).
34815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34817         * bits/types.h (__snseconds_t): Removed.
34818         * time/time.h (struct timespec): Replace __snseconds_t with
34819         __syscall_slong_t.
34820         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34821         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34822         Likewise.
34823         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34824         (__SNSECONDS_T_TYPE): Likewise.
34825         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34826         (__SNSECONDS_T_TYPE): Likewise.
34827         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34828         (__SNSECONDS_T_TYPE): Likewise.
34830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34832         * sysdeps/mach/hurd/bits/typesizes.h
34833         (__SYSCALL_SLONG_TYPE): New macro.
34834         (__SYSCALL_ULONG_TYPE): Likewise.
34836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34838         * bits/types.h (__syscall_slong_t): New type.
34839         (__syscall_ulong_t): Likewise.
34841         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34842         (__SYSCALL_ULONG_TYPE): Likewise.
34843         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34844         (__SYSCALL_SLONG_TYPE): Likewise.
34845         (__SYSCALL_ULONG_TYPE): Likewise.
34846         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34847         (__SYSCALL_SLONG_TYPE): Likewise.
34848         (__SYSCALL_ULONG_TYPE): Likewise.
34849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34850         (__SYSCALL_SLONG_TYPE): Likewise.
34851         (__SYSCALL_ULONG_TYPE): Likewise.
34853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34855         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34856         Add sigaltstack-offsets.sym.
34857         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34858         <sigaltstack-offsets.h>.
34859         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34860         longjmp_msg pointer.
34861         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34862         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34863         signal stack.
34864         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34866 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34868         * elf/stackguard-macros.h: Remove file.
34869         * sysdeps/generic/stackguard-macros.h: New file.
34870         * sysdeps/i386/stackguard-macros.h: Likewise.
34871         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34872         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34873         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34874         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34875         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34876         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34877         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34878         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34879         <elf/stackguard-macros.h>.
34881         [BZ #14109]
34882         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34883         __aligned__ in attribute.
34884         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34885         (gregset_t): Likewise.
34887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34889         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34890         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34891         * sysdeps/x86_64/x32/Implies-after: New file.
34893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34895         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34896         and access return value for _dl_profile_fixup.  Use R10_LP to
34897         load frame size.
34899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34901         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34905         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34906         * sysdeps/x86_64/x32/sysdep.h: New file.
34908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34910         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34911         * sysdeps/x86_64/setjmp.S: Likewise.
34913 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34915         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34916         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34917         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34918         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34919         remove unused global constant.
34921 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34923         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34924         include of <not-cancel.h>.
34926 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34928         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34930 2012-05-15  Jeff Law  <law@redhat.com>
34931             Andreas Jaeger  <aj@suse.de>
34933         [BZ #13594]
34934         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34935         out from...
34936         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34937         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34938         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34939         code changing __hst_map_handle.map.
34941 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34943         * configure.in (sysnames): Look for Implies-before and Implies-after
34944         files.
34945         * configure: Regenerated.
34947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34949         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34950         8-byte data alignment with LP_SIZE alignment.
34952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34954         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34955         into R10_LP.
34957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34959         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34963         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34964         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34965         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34966         Likewise.
34967         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34971         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34972         (stackinfo_sub_sp): Likewise.
34974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34976         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34977         RAX_LP.
34979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34981         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34982         into R*_LP.
34984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34986         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34987         sizes into R*_LP.
34989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34991         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34995         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34996         into R11_LP and load __x86_64_shared_cache_size_half into
34997         R8_LP.
34999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35001         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35002         R8_LP.
35004 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35006         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35007         logb for POWER7.
35008         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35009         logbf for POWER7.
35010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35011         logbl for POWER7.
35012         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35013         powerpc32/power7/fpu/s_logb.c via #include.
35014         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35015         powerpc32/power7/fpu/s_logbf.c via #include.
35016         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35017         powerpc32/power7/fpu/s_logbl.c via #include.
35019 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35021         * README.libm: Remove file.
35023 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35025         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35026         count for x32.  Use R*_LP and omit operand-size suffix.
35028 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35030         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35031         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35032         * sysdeps/x86_64/x32/shlib-versions: New file.
35034 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35036         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35037         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35038         Use _dl_fatal_printf instead.
35040 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35042         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35043         set if not set by the user.  Do not allow for being unset.
35044         * sysdeps/unix/sysv/linux/configure: Regenerated.
35046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35048         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35049         the `q' suffix from lea and replace .quad with ASM_ADDR.
35051 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35054         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35055         instead of $17.
35056         (PTR_DEMANGLE): Likewise.
35058 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35060         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35061         (LP_OP): Likewise.
35062         (ASM_ADDR): Likewise.
35063         (RAX_LP): Likewise.
35064         (RBP_LP): Likewise.
35065         (RBX_LP): Likewise.
35066         (RCX_LP): Likewise.
35067         (RDI_LP): Likewise.
35068         (RSI_LP): Likewise.
35069         (RSP_LP): Likewise.
35070         (R8_LP): Likewise.
35071         (R9_LP): Likewise.
35072         (R10_LP): Likewise.
35073         (R10_LP): Likewise.
35074         (R11_LP): Likewise.
35075         (R12_LP): Likewise.
35076         (R13_LP): Likewise.
35077         (R14_LP): Likewise.
35078         (R15_LP): Likewise.
35080 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35082         * sysdeps/x86_64/x32/dl-machine.h: New file.
35084 2012-05-14  Andreas Jaeger  <aj@suse.de>
35086         * manual/Makefile (subdir): Remove export of subdir.
35087         (all): Remove target.
35088         (.PHONY): Remove all from list.
35089         (mkinstalldirs): Remove.
35090         (.PHONY): Remove installdirs from list.
35091         ($(inst_infodir)/libc.info): Use make-target-directory.
35092         (installdirs): Remove.
35093         (subdir_%): Remove.
35094         (glibc-targets): Remove.
35095         (lib): Remove.
35096         (stubs): Remove.
35097         ($(objpfx)stubs ../po/manual.pot): Remove.
35098         ($(objpfx)stamp%): Remove.
35099         (make-target-directory): Remove.
35100         (subdir_install): Remove.
35101         (routines): Remove.
35102         (aux): Remove.
35103         (sources): Remove.
35104         (objects): Remove.
35105         (headers): Remove.
35107         [BZ #13750]
35108         * manual/.gitignore: Remove, it's not needed anymore.
35109         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35110         all files in it.
35111         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35112         directory.
35113         (texis): Renamed to $(objpfx)texis.
35114         (texis-path): New, contains path to generated files.
35115         (chapters.%): Use texis-path for complete path, add extra argument
35116         libc-texinfo.sh.
35117         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35118         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35119         (summary,texi, stamp-summary): Use complete path of
35120         files. Generate files in build dir.
35121         (dir-add.texi): Build in build dir.
35122         (libm-err.texi,stamp-libm-err): Likewise.
35123         (version.texi, stamp-version): Likewise.
35124         (.%c.texi): Likewise.
35125         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35126         (mostlyclean): Remove target.
35127         (realclean): Remove target.
35128         (generated): Add new variable with contents from mostlyclean and
35129         realclean, remove entries duplicated in common-mostlyclean, add
35130         stamp-libm-err and stamp-version.
35131         (generated-dirs): Add libc directory.
35132         ($(inst_infodir)/libc.info): Install files from build dir.
35134         * manual/install.texi (Configuring and compiling): Adjust since
35135         the info files are not part of the tar ball anymore.
35137 2012-05-14  Andreas Jaeger  <aj@suse.de>
35139         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35140         variable.
35142 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35144         [BZ #13717]
35145         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35146         to 2.2.0 where earlier.
35147         * sysdeps/unix/sysv/linux/configure: Regenerated.
35148         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35149         Remove conditional code.
35150         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35151         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35152         Remove conditional code.
35153         [!__NR_lchown]: Likewise.
35154         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35155         [__NR_lchown]: Likewise.
35156         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35157         comment referencing __ASSUME_LCHOWN_SYSCALL.
35158         * sysdeps/unix/sysv/linux/i386/sigaction.c
35159         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35160         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35161         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35162         Remove conditional code.
35163         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35164         (__protocol_available): Remove #if 0 code.
35165         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35166         conditional code.
35167         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35168         * sysdeps/unix/sysv/linux/kernel-features.h
35169         (__ASSUME_GETCWD_SYSCALL): Don't define.
35170         (__ASSUME_REALTIME_SIGNALS): Likewise.
35171         (__ASSUME_PREAD_SYSCALL): Likewise.
35172         (__ASSUME_PWRITE_SYSCALL): Likewise.
35173         (__ASSUME_POLL_SYSCALL): Likewise.
35174         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35175         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35176         non-SPARC.
35177         (__ASSUME_SIOCGIFNAME): Don't define.
35178         (__ASSUME_MSG_NOSIGNAL): Likewise.
35179         (__ASSUME_SENDFILE): Define unconditionally.
35180         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35181         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35182         conditional code.
35183         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35184         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35185         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35186         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35187         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35188         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35189         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35191         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35192         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35194         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35195         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35197         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35198         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35200         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35201         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35203         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35204         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35206         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35209         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35210         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35212         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35214         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35215         Remove conditional code.
35216         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35217         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35218         Remove conditional code.
35219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35220         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35221         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35222         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35223         Remove conditional code.
35224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35225         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35226         Remove conditional code.
35227         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35228         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35229         Remove conditional code.
35230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35231         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35232         Remove conditional code.
35233         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35234         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35235         Remove conditional code.
35236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35237         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35238         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35239         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35240         * sysdeps/unix/sysv/linux/sigaction.c
35241         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35242         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35243         * sysdeps/unix/sysv/linux/sigpending.c
35244         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35245         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35246         * sysdeps/unix/sysv/linux/sigprocmask.c
35247         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35248         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35249         * sysdeps/unix/sysv/linux/sigsuspend.c
35250         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35251         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35252         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35253         (__libc_missing_rt_sigs): Remove.
35254         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35255         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35256         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35257         Remove conditional code.
35258         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35259         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35260         return 1.
35261         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35262         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35263         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35264         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35266 2012-05-14  Andreas Jaeger  <aj@suse.de>
35268         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35269         it's not used in glibc.
35270         (__coshm1): Likewise.
35271         (__acosh1p): Likewise.
35272         (__sgn): Likewise.
35274         * manual/string.texi (Copying and Concatenation): Add missing
35275         variable in concat example.
35276         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35278 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35280         [BZ #14103]
35281         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35282         __builtin_clzl with __builtin_clzll.
35284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35286         [BZ #14104]
35287         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35288         libc_freeres_ptr.
35290 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35292         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35293         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35294         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35295         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35297 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35299         * NEWS: Update ia64 info.
35301 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35303         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35304         used as bcopy.
35306 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35308         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35309         * sysdeps/unix/syscalls.list (dup3): Likewise.
35310         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35311         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35313 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35315         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35316         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35318 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35320         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35321         thread pointer.
35322         (TLS_IE): Use mov/add instead of movq/addq to load thread
35323         pointer.
35324         (TLS_GD_PREFIX): New.
35325         (TLS_GD): Use it.
35327 2012-05-11  David S. Miller  <davem@davemloft.net>
35329         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35330         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35331         (_FPU_SETCW): Likewise.
35333 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35335         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35336         is 32-byte aligned.
35338 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35340         [BZ #11837]
35341         * iconvdata/gb18030.c: Update tables.
35342         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35343         characters specially.
35344         (BODY for TO_LOOP): Add encoding of missing ranges.
35346 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35348         [BZ #13673]
35349         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35350         * sysdeps/mach/hurd/dup3.c: Likewise.
35351         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35352         * sysdeps/powerpc/memmove.c:: Likewise.
35354 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35356         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35357         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35359 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35361         * elf/elf.h (R_X86_64_RELATIVE64): New.
35362         (R_X86_64_NUM): Updated.
35363         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35364         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35365         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35366         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35367         tst-quad1pie tst-quad2pie
35368         (modules-names): Add tst-quadmod1 tst-quadmod2.
35369         ($(objpfx)tst-quad1): New dependency.
35370         ($(objpfx)tst-quad2): Likewise.
35371         ($(objpfx)tst-quad1pie): Likewise.
35372         ($(objpfx)tst-quad2pie): Likewise.
35373         * sysdeps/x86_64/tst-quad1.c: New file.
35374         * sysdeps/x86_64/tst-quad1pie.c: New file.
35375         * sysdeps/x86_64/tst-quad2.c: Likewise.
35376         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35377         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35378         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35379         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35380         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35384         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35385         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35386         * streams/stropts.h (t_scalar_t): Define type.
35388         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35389         (_PATH_PRESERVE): Set to "/var/lib".
35390         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35392         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35393         instead of int.
35395         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35396         if __dir_mkfile succeeded.
35398         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35399         checking for _hurd_dtablesize.  Unlock it right after having
35400         finished _hurd_dtable allocation.
35402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35404         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35405         * sysdeps/mach/hurd/configure: Regenerated.
35406         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35407         special-casing to...
35408         * sysdeps/gnu/configure.in: ... this new file.
35409         * sysdeps/unix/sysv/linux/configure: Regenerated.
35410         * sysdeps/gnu/configure: New generated file.
35412         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35413         for Linux: use nsec instead of usec, as well as:
35414         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35415         members of type struct timespec.
35416         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35417         New macros.
35418         (struct stat64): Likewise.
35419         (_STATBUF_ST_NSEC): New macro.
35420         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35422         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35423         __strtoul_internal rather than strtoul.
35425 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35427         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35428         and reject them.
35430 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35432         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35433         which preserves existing values.
35434         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35436 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35438         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35439         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35440         greater than FD_SETSIZE.
35442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35444         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35445         allocated, call __vm_protect to finish enabling the existing space, and
35446         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35447         allocate the remainder.
35449 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35451         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35452         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35454 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35456         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35457         sysdeps/mach/hurd/readlink.c.
35459         * posix/tst-sysconf.c (posix_options): Only use
35460         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35461         _POSIX_SYNCHRONIZED_IO when they are defined
35462         * sysdeps/mach/hurd/bits/posix_opt.h:
35463         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35464         (_XOPEN_REALTIME): Undefine macro.
35465         (_XOPEN_REALTIME_THREADS): Undefine macro.
35466         (_XOPEN_SHM): Undefine macro.
35467         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35468         macro to -1.
35469         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35470         macro to -1.
35471         (_POSIX_ASYNC_IO): Undefine macro.
35472         (_POSIX_PRIORITIZED_IO): Undefine macro.
35473         (_POSIX_SPIN_LOCKS): Define macro to -1.
35475         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35476         SA_NODEFER, SA_RESETHAND.
35477         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35478         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35479         F_DUPFD_CLOEXEC.
35481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35483         * elf/Makefile (pldd-modules): Define unconditionally.
35485 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35487         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35491         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35492         Return ENOENT when name is empty.
35493         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35495 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35497         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35499         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35503         Fix mlock in all cases except non-readable pages.
35504         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35505         instead of VM_PROT_ALL as parameter to __vm_wire function.
35507         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35508         (__mkdir): When path is `/', just fail with EEXIST.
35509         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35511 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35513         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35514         <sys/uio.h> (for writev).
35515         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35516         and <sys/param.h> (for MIN).
35518 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35520         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35521         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35522         if interrupted.
35524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35526         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35527         Depend on against $(link-rpcuserlibs).
35529 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35531         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35532         (__libc_stack_end): Do not use attribute_relro.
35533         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35534         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35535         to libthread-provided value.
35536         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35537         attribute_relro.
35539 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35541         [BZ #3748]
35542         * bits/libc-lock.h (__libc_once_get): New macro.
35543         * sysdeps/mach/bits/libc-lock.h: Likewise.
35544         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35545         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35546         instead of using implementation details.
35548         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35549         * libio/freopen.c: Likewise.
35550         * libio/freopen64.c: Likewise.
35551         * misc/syslog.c: Likewise.
35552         * nscd/connections.c: Likewise.
35553         * nscd/netgroupcache.c: Likewise.
35554         * sysdeps/posix/getcwd.c: Likewise.
35556 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35558         * math/w_ilogbf.c: Add #include <limits.h>.
35560 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35562         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35563         path instead of returning without unlocking.
35565         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35566         immediate-write ioctls.
35567         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35571         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35572         __builtin_frame_address instead of making assumptions about the
35573         location of the return address relative to DATA.  Force early load of
35574         the return address.
35575         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35576         __builtin_frame_address.
35578         dup3 for GNU Hurd.
35579         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35580         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35581         implement dup3 and do some further code clean-ups.
35582         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35583         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35585 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35587         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35589         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35590         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35591         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35592         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35593         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35594         d->port.lock.
35596         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35597         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35598         when handler == SIG_ERR, not when handler != SIG_ERR.
35600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35602         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35603         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35604         definitions.
35606         accept4 for GNU Hurd.
35607         * include/sys/socket.h (__libc_accept4): New prototype.
35608         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35609         to implement __libc_accept4.
35610         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35611         __libc_accept4.
35612         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35614         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35615         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35616         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35617         signal-defines.sym.
35619 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35621         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35623 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35625         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35626         assertion on O_CLOEXEC flag.
35627         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35628         * hurd/intern-fd.c: Likewise.
35629         * hurd/port2fd.c: Likewise.
35631 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35633         [BZ #3906]
35634         * bits/in.h (IPV6_PKTINFO): Define new macro.
35635         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35637 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35639         [BZ #13954]
35640         [BZ #13955]
35641         [BZ #13956]
35642         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35643         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35644         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35645         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35647         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35648         * math/libm-test.inc (logb_test) : Additional logb tests.
35650 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35651             Andreas Jaeger  <aj@suse.de>
35653         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35654         * configure: Regenerated.
35655         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35656         * config.make.in (link-obsolete-rpc): New substituted variable.
35657         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35658         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35659         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35660         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35661         so that libc.a contains the symbols.
35662         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35663         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35664         * sunrpc/auth_none.c: Likewise.
35665         * sunrpc/auth_unix.c: Likewise.
35666         * sunrpc/authdes_prot.c: Likewise.
35667         * sunrpc/authuxprot.c: Likewise.
35668         * sunrpc/clnt_gen.c: Likewise.
35669         * sunrpc/clnt_perr.c: Likewise.
35670         * sunrpc/clnt_raw.c: Likewise.
35671         * sunrpc/clnt_simp.c: Likewise.
35672         * sunrpc/clnt_tcp.c: Likewise.
35673         * sunrpc/clnt_udp.c: Likewise.
35674         * sunrpc/clnt_unix.c: Likewise.
35675         * sunrpc/des_crypt.c: Likewise.
35676         * sunrpc/des_soft.c: Likewise.
35677         * sunrpc/get_myaddr.c: Likewise.
35678         * sunrpc/key_call.c: Likewise.
35679         * sunrpc/key_prot.c: Likewise.
35680         * sunrpc/netname.c: Likewise.
35681         * sunrpc/pm_getmaps.c: Likewise.
35682         * sunrpc/pm_getport.c: Likewise.
35683         * sunrpc/pmap_clnt.c: Likewise.
35684         * sunrpc/pmap_prot.c: Likewise.
35685         * sunrpc/pmap_prot2.c: Likewise.
35686         * sunrpc/pmap_rmt.c: Likewise.
35687         * sunrpc/publickey.c: Likewise.
35688         * sunrpc/rpc_cmsg.c: Likewise.
35689         * sunrpc/rpc_common.c: Likewise.
35690         * sunrpc/rpc_dtable.c: Likewise.
35691         * sunrpc/rpc_prot.c: Likewise.
35692         * sunrpc/rpc_thread.c: Likewise.
35693         * sunrpc/rtime.c: Likewise.
35694         * sunrpc/svc.c: Likewise.
35695         * sunrpc/svc_auth.c: Likewise.
35696         * sunrpc/svc_raw.c: Likewise.
35697         * sunrpc/svc_run.c: Likewise.
35698         * sunrpc/svc_tcp.c: Likewise.
35699         * sunrpc/svc_udp.c: Likewise.
35700         * sunrpc/svc_unix.c: Likewise.
35701         * sunrpc/svcauth_des.c: Likewise.
35702         * sunrpc/xcrypt.c: Likewise.
35703         * sunrpc/xdr.c: Likewise.
35704         * sunrpc/xdr_array.c: Likewise.
35705         * sunrpc/xdr_float.c: Likewise.
35706         * sunrpc/xdr_intXX_t.c: Likewise.
35707         * sunrpc/xdr_mem.c: Likewise.
35708         * sunrpc/xdr_rec.c: Likewise.
35709         * sunrpc/xdr_ref.c: Likewise.
35710         * sunrpc/xdr_sizeof.c: Likewise.
35711         * sunrpc/xdr_stdio.c: Likewise.
35713 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35715         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35716         change.  Update copyright years.
35718 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35720         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35722 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35723             Joseph Myers  <joseph@codesourcery.com>
35724             Paul Pluzhnikov  <ppluzhnikov@google.com>
35726         [BZ #14012]
35727         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35728         requiring rpcgen.
35729         [cross-compiling] (extra-libs): Likewise.
35730         [cross-compiling] (extra-libs-others): Likewise.
35731         [cross-compiling] (librpcsvc-routines): Likewise.
35732         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35733         [cross-compiling] (omit-deps): Likewise.
35734         (sunrpc-CPPFLAGS): New variable.
35735         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35736         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35737         (cross-rpcgen-objs): New variable.
35738         (extra-objs): Append $(cross-rpcgen-objs).
35739         ($(cross-rpcgen-objs)): New rule.
35740         ($(objpfx)cross-rpcgen): Likewise.
35741         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35742         comment.
35743         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35744         ($(objpfx)x%.stmp): Likewise.
35745         * sunrpc/proto.h [IS_IN_build] (_): Define.
35746         [IS_IN_build] (_libc_intl_domainname): Likewise.
35748 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35750         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35751         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35752         and R_X86_64_TPOFF64.
35754 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35756         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35757         sysdeps/unix/sysv/syscalls.list.
35758         (stime): Likewise.
35759         (utime): Likewise.
35760         * sysdeps/unix/sysv/syscalls.list: Remove file.
35762 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35764         [BZ #3440]
35765         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35766         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35767         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35768         (__LC_IDENTIFICATION): Make these macros useful in #if
35769         expressions, as required by C99.
35771 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35773         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35774         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35775         after this.
35777 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35779         * stdlib/longlong.h: Updated from GCC.
35781 2012-05-09  Andreas Jaeger  <aj@suse.de>
35783         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35784         default is first entry.
35785         (run_mode): Set type.
35786         (main): Remove informal message about syslog.
35787         (options): Fix typo.
35789         [BZ #14053]
35790         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35791         to asm.
35792         (lrint): Likewise.
35793         (llrintf): Likewise.
35794         (llrint): Likewise.
35795         (rint): Likewise.
35796         (rintf): Likewise.
35797         (nearbyint): Likewise.
35798         (nearbyintf): Likewise.
35800 2012-05-09  Andreas Jaeger  <aj@suse.de>
35801             Pedro Alves  <palves@redhat.com>
35803         * nscd/nscd.c (run_mode): Use enum.
35804         (main): Cleanup coding style issue.
35806 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35807             Andreas Jaeger  <aj@suse.de>
35809         * nscd/nscd.c (go_background): Replaced with...
35810         (run_mode): ... this.
35811         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35812         (options): Add -F --foreground.
35813         (main): Implement it.
35814         (parse_opt): Parse it.
35816 2012-05-09  Andreas Jaeger  <aj@suse.de>
35818         [BZ #14083]
35819         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35820         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35821         -Wconversion warning.
35822         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35823         Likewise.
35825 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35827         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35828         == 0.
35829         (LC_ALL): Use macro-int-constant.
35830         (LC_COLLATE): Likewise.
35831         (LC_CTYPE): Likewise.
35832         (LC_MESSAGES): Likewise.
35833         (LC_MONETARY): Likewise.
35834         (LC_NUMERIC): Likewise.
35835         (LC_TIME): Likewise.
35836         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35837         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35838         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35839         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35840         Specify type.
35841         [C99-based standards] (float_t): Expect type.
35842         [C99-based standards] (double_t): Expect type.
35843         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35844         type.
35845         [C99-based standards] (HUGE_VALL): Likewise.
35846         [C99-based standards] (INFINITY): Likewise.
35847         [C99-based standards] (NAN): Likewise.
35848         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35849         [C99-based standards] (FP_NAN): Likewise.
35850         [C99-based standards] (FP_NORMAL): Likewise.
35851         [C99-based standards] (FP_SUBNORMAL): Likewise.
35852         [C99-based standards] (FP_ZERO): Likewise.
35853         [C99-based standards] (FP_FAST_FMA): Use
35854         optional-macro-int-constant.  Specify type.  Require == 1.
35855         [C99-based standards] (FP_FAST_FMAF): Likewise.
35856         [C99-based standards] (FP_FAST_FMAL): Likewise.
35857         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35858         [C99-based standards] (FP_ILOGBNAN): Likewise.
35859         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35860         Specify type.
35861         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35862         [C99-based standards] (math_errhandling): Specify type.
35863         [ISO99 || ISO11] (signgam): Do not allow.
35864         [non-C99-based standards] (copysignf): Do not allow.
35865         [non-C99-based standards] (exp2f): Likewise.
35866         [non-C99-based standards] (log2f): Likewise.
35867         [non-C99-based standards] (modff): Allow.
35868         [non-C99-based standards] (erff): Do not allow.
35869         [non-C99-based standards] (erfcf): Likewise.
35870         [non-C99-based standards] (gammaf): Likewise.
35871         [non-C99-based standards] (hypotf): Likewise.
35872         [non-C99-based standards] (j0f): Likewise.
35873         [non-C99-based standards] (j1f): Likewise.
35874         [non-C99-based standards] (jnf): Likewise.
35875         [non-C99-based standards] (lgammaf): Likewise.
35876         [non-C99-based standards] (tgammaf): Likewise.
35877         [non-C99-based standards] (y0f): Likewise.
35878         [non-C99-based standards] (y1f): Likewise.
35879         [non-C99-based standards] (ynf): Likewise.
35880         [non-C99-based standards] (isnanf): Likewise.
35881         [non-C99-based standards] (acoshf): Likewise.
35882         [non-C99-based standards] (asinhf): Likewise.
35883         [non-C99-based standards] (atanhf): Likewise.
35884         [non-C99-based standards] (cbrtf): Likewise.
35885         [non-C99-based standards] (expm1f): Likewise.
35886         [non-C99-based standards] (ilogbf): Likewise.
35887         [non-C99-based standards] (log1pf): Likewise.
35888         [non-C99-based standards] (logbf): Likewise.
35889         [non-C99-based standards] (nextafterf): Likewise.
35890         [non-C99-based standards] (remainderf): Likewise.
35891         [non-C99-based standards] (rintf): Likewise.
35892         [non-C99-based standards] (scalbf): Likewise.
35893         [non-C99-based standards] (copysignl): Likewise.
35894         [non-C99-based standards] (exp2l): Likewise.
35895         [non-C99-based standards] (log2l): Likewise.
35896         [non-C99-based standards] (modfl): Allow.
35897         [non-C99-based standards] (erfl): Do not allow.
35898         [non-C99-based standards] (erfcl): Likewise.
35899         [non-C99-based standards] (gammal): Likewise.
35900         [non-C99-based standards] (hypotl): Likewise.
35901         [non-C99-based standards] (j0l): Likewise.
35902         [non-C99-based standards] (j1l): Likewise.
35903         [non-C99-based standards] (jnl): Likewise.
35904         [non-C99-based standards] (lgammal): Likewise.
35905         [non-C99-based standards] (tgammal): Likewise.
35906         [non-C99-based standards] (y0l): Likewise.
35907         [non-C99-based standards] (y1l): Likewise.
35908         [non-C99-based standards] (ynl): Likewise.
35909         [non-C99-based standards] (isnanl): Likewise.
35910         [non-C99-based standards] (acoshl): Likewise.
35911         [non-C99-based standards] (asinhl): Likewise.
35912         [non-C99-based standards] (atanhl): Likewise.
35913         [non-C99-based standards] (cbrtl): Likewise.
35914         [non-C99-based standards] (expm1l): Likewise.
35915         [non-C99-based standards] (ilogbl): Likewise.
35916         [non-C99-based standards] (log1pl): Likewise.
35917         [non-C99-based standards] (logbl): Likewise.
35918         [non-C99-based standards] (nextafterl): Likewise.
35919         [non-C99-based standards] (remainderl): Likewise.
35920         [non-C99-based standards] (rintl): Likewise.
35921         [non-C99-based standards] (scalbl): Likewise.
35922         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35923         [non-C99-based standards] (FP_*): Do not allow.
35924         [C99-based standards] (FP_*): Change to
35925         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35926         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35927         allow.
35928         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35929         (SIG_ERR): Likewise.
35930         [X/Open-based standards] (SIG_HOLD): Likewise.
35931         (SIG_IGN): Likewise.
35932         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35933         positive value.
35934         (SIGFPE): Likewise.
35935         (SIGILL): Likewise.
35936         (SIGINT): Likewise.
35937         (SIGSEGV): Likewise.
35938         (SIGTER): Likewise.
35939         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35940         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35941         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35942         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35943         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35944         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35945         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35946         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35947         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35948         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35949         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35950         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35951         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35952         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35953         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35954         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35955         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35956         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35957         [X/Open-based standards] (SIGTRAP): Likewise.
35958         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35959         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35960         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35961         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35962         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35963         allow.
35965 2012-05-08  Ian Wienand  <ianw@vmware.com>
35967         [BZ #14080]
35968         * time/tzset.c (__tzset_parse_tz): Update default rules for
35969         daylight time changes in the Energy Policy Act of 2005.
35971 2012-05-09  Andreas Jaeger  <aj@suse.de>
35973         [BZ #13983]
35974         * elf/ldconfig.c (parse_conf): Change string to make clear that
35975         ldconfig only issued a warning if ld.so.conf does not exist.
35977 2012-05-08  David S. Miller  <davem@davemloft.net>
35979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35980         movxtod instead of popping the value on the stack.
35982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35984 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35986         * config.h.in: Add HAVE_ARM_PCS_VFP.
35988 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35990         [BZ #13979]
35991         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35992         checking but the checks are disabled for any reason.
35994 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35996         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35997         and ELF64_R_TYPE with ELFW(R_TYPE).
35999 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36001         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36002         (ulimit): Likewise.
36004         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36005         (settimeofday): Likewise.
36007 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36009         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36010         a struct th_u2 inside the union, and move tu_block/tu_code into
36011         a new th_u3 union of tu_block/tu_code inside of that.  Move
36012         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36013         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36014         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36015         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36016         (th_stuff): Change to th_u1.tu_stuff.
36017         (th_data): Define.
36018         (th_msg): Change to th_u1.th_u2.tu_data.
36020 2012-05-07  David S. Miller  <davem@davemloft.net>
36022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36024         [BZ #14074]
36025         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36026         (SETUP_PIC_REG): Use it.
36027         (SETUP_PIC_REG_LEAF): Use it.
36029 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36031         [BZ #13885]
36032         [BZ #13923]
36033         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36034         USE_AS_EXPM1L.
36035         (EXPL_FINITE): Likewise.
36036         (FLDLOG): Likewise.
36037         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36038         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36039         e_expl.S.
36040         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36041         USE_AS_EXPM1L.
36042         (EXPL_FINITE): Likewise.
36043         (FLDLOG): Likewise.
36044         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36045         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36046         e_expl.S.
36047         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36048         test of -max_value argument for long double.
36049         * sysdeps/i386/fpu/libm-test-ulps: Update.
36050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36052 2012-05-06  David S. Miller  <davem@davemloft.net>
36054         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36055         quad soft-float symbols whose references which are compiler
36056         generated.
36057         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36059 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36061         [BZ #13884]
36062         [BZ #13914]
36063         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36064         USE_AS_EXP10L.
36065         (EXPL_FINITE): Likewise.
36066         (FLDLOG): Likewise.
36067         (c0): Likewise.
36068         (c1): Likewise.
36069         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36070         Adjust comments for base varying.
36071         (__expl_finite): Change alias to EXPL_FINITE.
36072         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36073         e_expl.S.
36074         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36075         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36076         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36077         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36078         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36079         USE_AS_EXP10L.
36080         (EXPL_FINITE): Likewise.
36081         (FLDLOG): Likewise.
36082         (c0): Likewise.
36083         (c1): Likewise.
36084         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36085         Adjust comments for base varying.
36086         (__expl_finite): Change alias to EXPL_FINITE.
36087         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36088         tests for bugs.
36089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36091         [BZ #14064]
36092         * math/libm-test.inc (check_float_internal): Correct ulp
36093         calculation for subnormal expected results.
36095 2012-05-06  Andreas Jaeger  <aj@suse.de>
36097         * Makeconfig (+math-flags): New, set to -frounding-math.
36098         (+cflags): Add +math-flags so that all of glibc gets compiled with
36099         it.
36101         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36103 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36105         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36106         Disable one test.
36108         [BZ #13787]
36109         [BZ #13922]
36110         [BZ #14036]
36111         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36112         (__ieee754_expl): Allow for and saturate large arguments.
36113         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36114         (u_threshold): Likewise.
36115         (__exp): Call __ieee754_exp before checking for overflow and
36116         underflow.
36117         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36118         (u_threshold): Likewise.
36119         (__expf): Call __ieee754_expf before checking for overflow and
36120         underflow.
36121         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36122         (u_threshold): Likewise.
36123         (__expl): Call __ieee754_expl before checking for overflow and
36124         underflow.
36125         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36126         (__ieee754_expl): Allow for and saturate large arguments.
36127         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36128         missing overflow exception on overflow.
36129         (expm1_test): Do not allow missing overflow exception on overflow.
36131         * sysdeps/i386/fpu/e_expl.c: Move to ...
36132         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36133         rather than using inline asm.
36134         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36135         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36136         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36138         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36139         (nice): Likewise.
36140         (poll): Likewise.
36141         (signal): Likewise.
36142         (time): Likewise.
36143         (times): Likewise.
36145 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36147         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36148         sysdeps/unix/common/syscalls.list.
36149         (fchmod): Likewise.
36150         (fchown): Likewise.
36151         (ftruncate): Likewise.
36152         (getrusage): Likewise.
36153         (gettimeofday): Likewise.
36154         (setpgid): Likewise.
36155         (setregid): Likewise.
36156         (setreuid): Likewise.
36157         (sigaction): Likewise.
36158         (truncate): Likewise.
36159         (vhangup): Likewise.
36160         * sysdeps/unix/common/syscalls.list: Remove file.
36161         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36162         * sysdeps/unix/sysv/linux/Implies: Likewise.
36164 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36166         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36168         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36169         Moved to ...
36170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36171         Here.
36172         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36173         to ...
36174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36175         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36176         to ...
36177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36178         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36179         to ...
36180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36181         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36182         to ...
36183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36184         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36185         to ...
36186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36187         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36188         to ...
36189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36190         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36191         to ...
36192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36193         Here.
36194         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36195         to ...
36196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36197         Here.
36198         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36199         to ...
36200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36201         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36202         Moved to ...
36203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36204         Here.
36205         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36206         to ...
36207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36209 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36211         * sysdeps/unix/common/bits/dirent.h: Remove file.
36212         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36214         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36215         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36216         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36217         * sysdeps/unix/bsd/isatty.c: Likewise.
36218         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36219         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36220         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36222 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36224         [BZ #13563]
36225         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36226         long double comparison inaccuracies.
36227         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36230 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36232         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36233         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36235 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36237         [BZ #14049]
36238         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36239         nonzero digits before rounding a hex value.
36240         * stdlib/tst-strtod.c (tests): Add another test.
36242 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36244         * sysdeps/s390/fpu/libm-test-ulps: Update.
36246 2012-05-03  Andreas Jaeger  <aj@suse.de>
36248         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36249         does not get optimized out.
36250         (malloc_opt_barrier): New.
36252 2012-05-03  Andreas Jaeger  <aj@suse.de>
36253             Roland McGrath  <roland@hack.frob.com>
36255         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36256         intermediate file deletion.
36257         (generated): Add .symlist files.
36259 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36261         [BZ #13775]
36262         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36263         Redirect under this condition.
36264         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36265         [__USE_GNU] (__dprintf_chk): Not under this condition.
36266         [__USE_GNU] (__vdprintf_chk): Likewise.
36267         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36268         under this condition.
36269         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36270         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36271         [__USE_XOPEN2K8] (vdprintf): Likewise.
36272         [__USE_GNU] (__dprintf_chk): Not under this condition.
36273         [__USE_GNU] (__vdprintf_chk): Likewise.
36274         [__USE_GNU] (dprintf): Likewise.
36275         [__USE_GNU] (vdprintf): Likewise.
36277 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36279         * elf/Makefile (common-generated): Set this instead of generated for
36280         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36281         $(all-built-dso)-derived lists.
36283 2012-05-03  Andreas Jaeger  <aj@suse.de>
36285         * sysdeps/i386/fpu/libm-test-ulps: Update.
36287         * FAQ: Removed.
36288         * FAQ.in: Likewise.
36289         * scripts/gen-FAQ.pl: Likewise.
36290         * manual/install.texi (Installation): Point to online location of
36291         FAQ.
36292         * Makefile (files-for-dist): Remove FAQ.
36293         (FAQ): Remove.
36295 2012-05-02  Allan McRae  <allan@archlinux.org>
36297         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36298         (LDFLAGS-reldepmod5.so): Likewise.
36299         (LDFLAGS-reldep6mod1.so): Likewise.
36300         (LDFLAGS-reldep6mod4.so): Likewise.
36301         (LDFLAGS-reldep8mod3.so): Likewise.
36302         (LDFLAGS-unload4mod1.so): Likewise.
36303         (LDFLAGS-unload4mod2.so): Likewise.
36304         (LDFLAGS-tst-initorder): Likewise.
36305         (LDFLAGS-tst-initordera2.so): Likewise.
36306         (LDFLAGS-tst-initordera3.so): Likewise.
36307         (LDFLAGS-tst-initordera4.so): Likewise.
36308         (LDFLAGS-tst-initorderb2.so): Likewise.
36309         (LDFLAGS-noload): Likewise.
36310         (LDFLAGS-next): Likewise.
36311         (LDFLAGS-order2mod1.so): Likewise.
36312         (LDFLAGS-order2mod2.so): Likewise.
36313         (LDFLAGS-tst-initorder2): Likewise.
36314         (LDFLAGS-tst-initorder2a.so): Likewise.
36315         (LDFLAGS-tst-initorder2b.so): Likewise.
36316         (LDFLAGS-tst-initorder2c.so): Likewise.
36317         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36319 2012-05-02  David S. Miller  <davem@davemloft.net>
36321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36323 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36325         [BZ #14055]
36326         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36328 2012-05-02  Andreas Jaeger  <aj@suse.de>
36330         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36331         since we manipulate rounding mode.
36332         (CPPFLAGS-test-idouble.c): Likewise.
36333         (CPPFLAGS-test-ifloat.c): Likewise.
36334         (CFLAGS-test-ldouble.c): Likewise.
36335         (CFLAGS-test-double.c): Likewise.
36336         (CFLAGS-test-float.c): Likewise.
36337         (CFLAGS-test-misc.c): Likewise.
36338         (CFLAGS-test-test-fenv.c): Likewise.
36340 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36342         [BZ #2550]
36343         [BZ #2570]
36344         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36345         comparisons to determine direction to adjust input.
36347 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36349         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36350         output to the target.
36352         * scripts/localplt.awk: New file.
36353         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36354         (check-localplt-CFLAGS): Variable removed.
36355         ($(all-built-dso:=.jmprel)): New static pattern rule.
36356         (generated): Add those targets.
36357         (localplt-built-dso): New variable.
36358         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36360         * elf/check-localplt.c: File removed.
36362         * scripts/check-execstack.awk: New file.
36363         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36364         (check-execstack-CFLAGS): Variable removed.
36365         ($(objpfx)check-execstack.h): Target removed.
36366         ($(objpfx)execstack-default): New target.
36367         (generated): Add that instead of check-execstack.h.
36368         ($(all-built-dso:=.phdr)): New static pattern rule.
36369         (generated): Add those targets.
36370         * elf/check-execstack.c: File removed.
36372         * scripts/check-textrel.awk: New file.
36373         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36374         (check-textrel-CFLAGS): Variable removed.
36375         (all-built-dso): Use := to define.o
36376         ($(all-built-dso:=.dyn)): New static pattern rule.
36377         (generated): Add those targets.
36378         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36379         * config.make.in (READELF): New substituted variable.
36380         * elf/check-textrel.c: File removed.
36382 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36384         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36385         allow.
36386         * conform/data/ctype.h-data [C99-based standards] (isblank):
36387         Expect function.
36388         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36389         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36390         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36391         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36392         Specify type.  Require positive value.
36393         (EILSEQ): Likewise.
36394         (ERANGE): Likewise.
36395         [ISO || POSIX] (EILSEQ): Do not expect.
36396         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36397         Specify type.  Require positive value.
36398         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36399         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36400         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36401         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36402         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36403         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36404         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36405         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36406         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36407         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36408         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36409         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36410         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36411         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36412         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36413         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36414         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36415         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36416         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36417         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36418         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36419         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36420         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36421         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36422         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36423         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36424         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36425         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36426         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36427         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36428         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36429         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36430         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36431         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36432         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36433         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36434         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36435         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36436         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36437         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36438         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36439         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36440         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36441         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36442         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36443         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36444         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36445         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36446         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36447         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36448         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36449         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36450         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36451         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36452         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36453         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36454         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36455         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36456         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36457         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36458         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36459         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36460         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36461         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36462         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36463         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36464         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36465         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36466         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36467         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36468         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36469         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36470         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36471         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36472         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36473         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36474         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36475         Require >= 2.
36476         (FLT_ROUNDS): Expect as macro, not constant.
36477         (FLT_MANT_DIG): Use macro-int-constant.
36478         (DBL_MANT_DIG): Likewise.
36479         (LDBL_MANT_DIG): Likewise.
36480         (FLT_DIG): Likewise.
36481         (DBL_DIG): Likewise.
36482         (LDBL_DIG): Likewise.
36483         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36484         (DBL_MIN_EXP): Likewise.
36485         (LDBL_MIN_EXP): Likewise.
36486         (FLT_MAX_EXP): Use macro-int-constant.
36487         (DBL_MAX_EXP): Likewise.
36488         (LDBL_MAX_EXP): Likewise.
36489         (FLT_MAX_10_EXP): Likewise.
36490         (DBL_MAX_10_EXP): Likewise.
36491         (LDBL_MAX_10_EXP): Likewise.
36492         (FLT_MAX): Use macro-constant.
36493         (DBL_MAX): Likewise.
36494         (LDBL_MAX): Likewise.
36495         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36496         (DBL_EPSILON): Likewise.
36497         (LDBL_EPSILON): Likewise.
36498         (FLT_MIN): Likewise.
36499         (DBL_MIN): Likewise.
36500         (LDBL_MIN): Likewise.
36501         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36502         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36503         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36504         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36505         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36506         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36507         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36508         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36509         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36510         [ISO11] (FLT_TRUE_MIN): Likewise.
36511         [ISO11] (LDBL_TRUE_MIN): Likewise.
36512         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36513         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36514         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36515         (SCHAR_MAX): Likewise.
36516         (UCHAR_MAX): Likewise.
36517         (CHAR_MIN): Likewise.
36518         (CHAR_MAX): Likewise.
36519         (MB_LEN_MAX): Use macro-int-constant.
36520         (SHRT_MIN): Use macro-int-constant.  Specify type.
36521         (SHRT_MAX): Likewise.
36522         (USHRT_MAX): Likewise.
36523         (INT_MAX): Likewise.
36524         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36525         bound negative.
36526         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36527         bound with "U".
36528         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36529         bound with "L".
36530         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36531         bound negative.  Suffix upper bound with "L".
36532         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36533         bound with "UL".
36534         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36535         Specify type.
36536         [C99-based standards] (LLONG_MAX): Likewise.
36537         [C99-based standards] (ULLONG_MAX): Likewise.
36538         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36539         == 0.
36540         [ISO11] (max_align_t): Require type.
36541         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36543         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36544         from $CFLAGS, without defining away __attribute__ calls.
36545         (checknamespace): Use $CFLAGS_namespace.
36547         * conform/conformtest.pl (@keywords): Only include C99 keywords
36548         for standards based on C99 or C11.
36550         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36551         Disable tests.
36552         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36553         UNIX98]: Likewise.
36555         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36556         usability of symbols in #if.
36558         * conform/conformtest.pl: If macro or constant types start
36559         "promoted:", expect the symbol to be of the following type
36560         promoted by the integer promotions.
36562         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36563         in one place.  Also handle "macro-constant".
36565         * conform/conformtest.pl: Only accept expected macro values with
36566         "==".  Parse all "macro" lines in one place.
36567         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36569         * conform/conformtest.pl: Handle braced types on "constant" lines
36570         instead of handling "typed-constant".
36571         * conform/data/signal.h-data: Use "constant" instead of
36572         "typed-constant".
36574         * conform/conformtest.pl: Handle "optional-" at start of lines in
36575         one place rather than duplicating several cases.  Handle each
36576         format of "macro" line with initial "optional-".
36578         * conform/conformtest.pl: Only accept expected constant or
36579         optional-constant values with "==".  Parse all "constant" lines in
36580         one place.  Parse all "optional-constant" lines in one place.
36581         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36582         * conform/data/fmtmsg.h-data: Likewise.
36583         * conform/data/netinet/in.h-data: Likewise.
36584         * conform/data/tar.h-data: Likewise.
36585         * conform/data/limits.h-data: Use "==" form on "constant" and
36586         "optional-constant" lines.
36588         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36589         Use -std=c99 for XOPEN2K.
36590         (@knownproblems): Remove.
36591         (newtoken): Don't check %isknown.
36593         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36594         Do not expect macro.
36595         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36596         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36597         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36598         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36599         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36600         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36601         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36602         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36603         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36604         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36605         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36606         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36607         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36608         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36609         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36610         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36611         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36612         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36613         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36614         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36615         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36616         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36617         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36618         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36619         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36620         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36621         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36622         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36623         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36624         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36625         [XPG3] (acosh): Likewise.
36626         [XPG3] (asinh): Likewise.
36627         [XPG3] (atanh): Likewise.
36628         [XPG3] (cbrt): Likewise.
36629         [XPG3] (expm1): Likewise.
36630         [XPG3] (ilogb): Likewise.
36631         [XPG3] (log1p): Likewise.
36632         [XPG3] (logb): Likewise.
36633         [XPG3] (nextafter): Likewise.
36634         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36635         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36636         [XPG3] (remainder): Likewise.
36637         [XPG3] (rint): Likewise.
36638         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36639         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36640         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36641         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36642         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36643         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36644         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36645         [UNIX98 || XOPEN2K] (scalb): Expect.
36646         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36647         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36648         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36649         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36650         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36651         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36652         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36653         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36654         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36655         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36656         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36657         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36658         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36659         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36660         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36661         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36662         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36663         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36664         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36665         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36666         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36667         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36668         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36669         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36670         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36671         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36672         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36673         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36674         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36675         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36676         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36677         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36678         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36679         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36680         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36681         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36682         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36683         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36684         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36685         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36686         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36687         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36688         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36689         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36690         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36691         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36692         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36693         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36694         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36695         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36696         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36697         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36698         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36699         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36700         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36701         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36702         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36703         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36704         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36705         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36706         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36707         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36708         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36709         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36710         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36711         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36712         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36713         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36714         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36715         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36716         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36717         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36718         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36719         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36720         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36721         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36722         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36723         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36724         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36725         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36726         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36727         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36728         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36729         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36730         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36731         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36732         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36733         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36734         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36735         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36736         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36737         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36738         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36739         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36740         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36741         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36742         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36743         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36744         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36745         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36746         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36747         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36748         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36749         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36750         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36751         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36752         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36753         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36754         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36755         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36756         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36757         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36758         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36759         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36760         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36761         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36762         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36763         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36764         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36765         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36766         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36767         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36768         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36769         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36770         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36771         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36772         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36773         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36774         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36775         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36776         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36777         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36778         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36779         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36780         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36781         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36782         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36784         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36785         _XOPEN_SOURCE_EXTENDED for XPG4.
36787         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36789         * Makeconfig (localtime): Remove variable.
36790         (inst_localtime-file): Likewise.
36792 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36795         Update.
36796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36797         Update.
36798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36799         Update.
36800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36801         Update.
36802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36803         Update.
36804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36805         Update.
36806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36807         Update.
36808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36809         Update.
36810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36811         Update.
36813 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36815         [BZ #2550]
36816         [BZ #2570]
36817         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36818         comparisons to determine direction to adjust input.
36819         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36820         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36821         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36822         Likewise.
36823         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36824         Likewise.
36825         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36826         Likewise.
36827         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36828         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36829         Likewise.
36830         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36831         Likewise.
36832         * math/libm-test.inc (nexttoward_test): Add more tests.
36834 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36836         [BZ #14040]
36837         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36838         in version GLIBC_2.1, not GLIBC_2.0.
36839         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36840         Likewise.
36842 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36844         [BZ #13942]
36845         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36846         (1 - x) * (1 + x).
36847         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36848         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36849         * math/libm-test.inc (acos_test): Add more tests.
36850         (asin_test): Likewise.
36851         * sysdeps/i386/fpu/libm-test-ulps: Update.
36852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36854         [BZ #14034]
36855         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36856         of square root.
36857         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36858         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36859         * math/libm-test.inc (acos_test_tonearest): New function.
36860         (acos_test_towardzero): Likewise.
36861         (acos_test_downward): Likewise.
36862         (acos_test_upward): Likewise.
36863         (asin_test_tonearest): Likewise.
36864         (asin_test_towardzero): Likewise.
36865         (asin_test_downward): Likewise.
36866         (asin_test_upward): Likewise.
36867         (main): Call the new functions.
36868         * sysdeps/i386/fpu/libm-test-ulps: Update.
36869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36871         [BZ #13884]
36872         [BZ #13924]
36873         * math/e_exp10.c: Include <float.h>.
36874         (__ieee754_exp10): Handle underflow here rather than multiplying
36875         large negative argument by M_LN10.
36876         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36877         of __ieee754_expf.
36878         * math/e_exp10l.c: Include <float.h>.
36879         (__ieee754_exp10l): Handle underflow here rather than multiplying
36880         large negative argument by M_LN10l.
36881         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36882         spurious overflow exception on underflow.
36884 2012-04-29  Marek Polacek  <polacek@redhat.com>
36886         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36887         (__fortify_function): New macro.
36888         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36889         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36890         __extern_always_inline.
36891         * libio/bits/stdio2.h: Likewise.
36892         * libio/bits/stdio.h: Likewise.
36893         * string/string.h: Likewise.
36894         * string/bits/string3.h: Likewise.
36895         * include/stdio.h: Likewise.
36896         * stdlib/bits/stdlib.h: Likewise.
36897         * stdlib/stdlib.h: Likewise.
36898         * rt/bits/mqueue2.h: Likewise.
36899         * rt/mqueue.h: Likewise.
36900         * posix/bits/unistd.h: Likewise.
36901         * posix/unistd.h: Likewise.
36902         * io/bits/poll2.h: Likewise.
36903         * io/bits/fcntl2.h: Likewise.
36904         * io/fcntl.h: Likewise.
36905         * io/sys/poll.h: Likewise.
36906         * misc/bits/syslog.h: Likewise.
36907         * misc/bits/syslog-ldbl.h: Likewise.
36908         * misc/sys/syslog.h: Likewise.
36909         * socket/bits/socket2.h: Likewise.
36910         * socket/sys/socket.h: Likewise.
36911         * debug/tst-chk1.c: Likewise.
36912         * wcsmbs/bits/wchar2.h: Likewise.
36913         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36914         * wcsmbs/wchar.h: Likewise.
36916 2012-04-29  Andreas Jaeger  <aj@suse.de>
36918         * Makerules (tests): Remove enable-check-abi protection.
36919         (check-abi-warn): Remove.
36920         (check-abi-%): Remove check-abi-warn usage.
36922         * configure.in: Remove check-abi configure option.
36923         * configure: Regenerated.
36924         * config.make.in (enable-check-abi): Remove.
36926 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36928         [BZ #14033]
36929         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36930         double functions to double *_finite functions.
36932         [BZ #13941]
36933         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36934         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36935         LDBL_MIN_EXP.
36936         * stdio-common/Makefile (tests): Add tst-sprintf3.
36937         * stdio-common/tst-sprintf3.c: New file.
36939         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36940         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36942 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36944         * conform/conformtest.pl: Remove duplicate typed-constant
36945         handling.
36947 2012-04-28  David S. Miller  <davem@davemloft.net>
36949         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36950         (check-abi-%): Remove AWK script prerequisite and explicit
36951         abilist directory.
36952         (check-abi): Rewrite to just diff the symlist with the abilist.
36953         (config-tls, config-abi-config): Delete, no longer used.
36954         (update-abi-%): Remove AWK script and explicit abilist directory.
36955         (update-abi): Rewrite to simply compare and conditionally copy the
36956         symlist and the sysdep abilist file.  Remove update-abi-config
36957         checks.
36958         * abilist/ld.abilist: Remove.
36959         * abilist/libBrokenLocale.abilist: Remove.
36960         * abilist/libanl.abilist: Remove.
36961         * abilist/libcrypt.abilist: Remove.
36962         * abilist/libdl.abilist: Remove.
36963         * abilist/librt.abilist: Remove.
36964         * abilist/libthread_db.abilist: Remove.
36965         * abilist/libutil.abilist: Remove.
36966         * scripts/extract-abilist.awk: Remove.
36967         * scripts/merge-abilist.awk: Remove.
36968         * sysdeps/generic/libcidn.abilist: New file.
36969         * sysdeps/generic/libnss_compat.abilist: New file.
36970         * sysdeps/generic/libnss_db.abilist: New file.
36971         * sysdeps/generic/libnss_dns.abilist: New file.
36972         * sysdeps/generic/libnss_files.abilist: New file.
36973         * sysdeps/generic/libnss_hesiod.abilist: New file.
36974         * sysdeps/generic/libnss_nis.abilist: New file.
36975         * sysdeps/generic/libnss_nisplus.abilist: New file.
36976         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36977         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36978         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36979         file.
36980         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36981         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36982         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36983         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36984         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36985         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36986         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36987         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36988         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36989         file.
36990         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36991         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36992         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36993         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36994         file.
36995         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36996         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36997         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36998         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36999         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37000         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37001         file.
37002         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37003         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37004         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37005         file.
37006         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37007         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37008         New file.
37009         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37010         New file.
37011         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37012         New file.
37013         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37014         New file.
37015         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37016         New file.
37017         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37018         New file.
37019         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37020         New file.
37021         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37022         New file.
37023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37024         New file.
37025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37026         New file.
37027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37028         New file.
37029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37030         New file.
37031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37032         New file.
37033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37034         file.
37035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37036         New file.
37037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37038         New file.
37039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37040         file.
37041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37042         New file.
37043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37044         New file.
37045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37046         file.
37047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37048         New file.
37049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37050         New file.
37051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37052         New file.
37053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37054         New file.
37055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37056         New file.
37057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37058         New file.
37059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37061         file.
37062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37063         New file.
37064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37065         file.
37066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37067         file.
37068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37069         file.
37070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37071         file.
37072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37073         file.
37074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37075         New file.
37076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37077         file.
37078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37079         file.
37080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37081         New file.
37082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37083         file.
37084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37086         file.
37087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37088         New file.
37089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37090         file.
37091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37092         file.
37093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37094         file.
37095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37096         file.
37097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37098         file.
37099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37100         New file.
37101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37102         file.
37103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37104         file.
37105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37106         New file.
37107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37108         file.
37109         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37110         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37111         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37112         file.
37113         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37114         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37115         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37116         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37117         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37118         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37119         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37120         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37121         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37122         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37125         file.
37126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37127         New file.
37128         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37129         file.
37130         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37131         file.
37132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37133         file.
37134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37135         file.
37136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37137         file.
37138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37139         New file.
37140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37141         New file.
37142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37143         file.
37144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37145         New file.
37146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37147         file.
37148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37150         file.
37151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37152         New file.
37153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37154         file.
37155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37156         file.
37157         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37158         file.
37159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37160         file.
37161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37162         file.
37163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37164         New file.
37165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37166         New file.
37167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37168         file.
37169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37170         New file.
37171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37172         file.
37174 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37176         * conform/conformtest.pl: Fix typo in handling typed-constant from
37177         allow-header.
37179 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37181         * README: Cut down references to pre-2.6 Linux kernels and
37182         Linuxthreads.  Update lists of configurations in libc and ports
37183         and sort alphabetically.  Say "or newer" with Linux kernel version
37184         requirements.
37186         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37188 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37190         [BZ #887]
37191         * math/libm-test.inc (logb_test_downward): New test to expose
37192         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37193         rounding mode.
37195 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37197         [BZ #14027]
37198         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37199         to be done.
37200         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37201         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37203 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37205         * sysdeps/unix/i386/brk.S: Remove file.
37206         * sysdeps/unix/i386/dl-brk.S: Likewise.
37207         * sysdeps/unix/i386/pipe.S: Likewise.
37208         * sysdeps/unix/i386/sigreturn.S: Likewise.
37209         * sysdeps/unix/i386/syscall.S: Likewise.
37210         * sysdeps/unix/i386/vfork.S: Likewise.
37211         * sysdeps/unix/i386/wait.S: Likewise.
37213         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37214         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37216         * configure.in (arm*-none*): Do not allow without
37217         --enable-hacker-mode.
37218         (netbsd*): Remove case setting base_os.
37219         (386bsd*): Likewise.
37220         (freebsd*): Likewise.
37221         (bsdi*): Likewise.
37222         (osf*): Likewise.
37223         (sunos*): Likewise.
37224         (ultrix*): Likewise.
37225         (newsos*): Likewise.
37226         (dynix*): Likewise.
37227         (*bsd*): Likewise.
37228         (sysv*): Likewise.
37229         (isc*): Likewise.
37230         (esix*): Likewise.
37231         (sco*): Likewise.
37232         (minix*): Likewise.
37233         (irix4*): Likewise.
37234         (irix6*): Likewise.
37235         (solaris[2-9]*): Likewise.
37236         (none): Likewise.
37237         * configure: Regenerated.
37239 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37241         [BZ #11521]
37242         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37243         overflow or cancellation in calculating denominator.
37244         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37245         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37246         down expression to avoid unexpected rounding in newer GCCs.
37247         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37249 2012-04-26  David S. Miller  <davem@davemloft.net>
37251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37252         long-double compat symbols.
37253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37267 2012-04-25  David S. Miller  <davem@davemloft.net>
37269         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37270         HWCAP_* values only after the memory barriers have been defined.
37271         (atomic_full_barrier): Define.
37272         (atomic_read_barrier): Define.
37273         (atomic_write_barrier): Define.
37275 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37277         * shlib-versions: Add libgcc_s version information.
37278         * sysdeps/generic/libgcc_s.h: Remove.
37279         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37280         libgcc_s.h.
37281         * sysdeps/gnu/unwind-resume.c: Likewise.
37282         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37284 2012-04-25  David S. Miller  <davem@davemloft.net>
37286         * sysdeps/unix/sparc/brk.S: Delete.
37287         * sysdeps/unix/sparc/dl-brk.S: Delete.
37288         * sysdeps/unix/sparc/pipe.S: Delete.
37289         * sysdeps/unix/sparc/sysdep.S: Delete.
37290         * sysdeps/unix/sparc/sysdep.h: Delete.
37291         * sysdeps/unix/sparc/vfork.S: Delete.
37292         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37293         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37294         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37295         (ret_ERRVAL, r0, r1, MOVE): Define.
37296         (JUMPTARGET): Remove.
37297         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37298         sysdeps/unix/sparc/sysdep.h
37299         (ENTRY, END): Remove.
37300         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37302 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37304         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37305         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37306         -DIS_IN_build.
37308         * timezone/README: Update upstream location and email address for
37309         tzcode and tzdata.
37310         * timezone/zdump.c: Update from tzcode 2012b.
37311         * timezone/zic.c: Likewise.
37313         * configure.in (libc_cv_as_needed): Remove test.
37314         * configure: Regenerated.
37315         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37316         conditional definition.
37317         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37318         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37319         * config.make.in (have-as-needed): Remove variable.
37321 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37322             Paul Pluzhnikov  <ppluzhnikov@google.com>
37324         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37325         strings correctly.
37327 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37329         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37330         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37331         * sysdeps/sh/strlen.S: Likewise.
37333 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37335         * sysdeps/unix/fork.S: Remove file.
37336         * sysdeps/unix/i386/fork.S: Likewise.
37337         * sysdeps/unix/sparc/fork.S: Likewise.
37339         * sysdeps/unix/system.c: Remove file.
37340         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37342         * sysdeps/unix/getegid.S: Remove file.
37343         * sysdeps/unix/geteuid.S: Likewise.
37345 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37347         * scripts/check-localplt.awk: New file.
37348         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37349         of diff.
37350         * scripts/data/localplt-generic.data: Add a comment.
37352         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37353         NODE when __dir_mkfile failed.
37354         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37355         Reported by Ludovic Courtès <ludo@gnu.org>.
37357 2012-04-24  Andreas Jaeger  <aj@suse.de>
37359         * Makerules (common-clean): Also remove gen-as-const-headers
37360         files.
37362 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37364         * Makerules (native-compile): Do not change working directory for
37365         build.  Use $(OUTPUT_OPTION) in command.
37366         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37368 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37370         [BZ #13886]
37371         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37372         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37373         * math/libm-test.inc (floor_test): Add more tests.
37374         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37376 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37378         * sysdeps/unix/getdents.c: Remove file.
37379         * sysdeps/unix/sysv/getdents.c: Likewise.
37380         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37382         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37383         sysdeps/unix/mman/syscalls.list.
37384         (mmap): Likewise.
37385         (mprotect): Likewise.
37386         (msync): Likewise.
37387         (munmap): Likewise.
37388         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37389         * sysdeps/unix/mman/syscalls.list: Remove.
37390         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37392         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37393         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37394         * configure: Regenerated.
37395         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37396         $(libgcc_s_suffix).
37397         * config.make.in (libgcc_s_suffix): Remove variable.
37399 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37401         * sysdeps/unix/sysv/gethostname.c: Move to ...
37402         * sysdeps/posix/gethostname.c: ... here.
37404         * sysdeps/unix/execve.S: Remove file.
37406         * sysdeps/unix/_exit.S: Remove file.
37408 2012-04-23  Andreas Jaeger  <aj@suse.de>
37410         [BZ #13739]
37411         * manual/Makefile: Remove make dist support, there's no
37412         need for a stand-alone documentation tar ball.
37413         (TEXI2DVI): Define always, it's not in Makeconfig.
37414         (dist): Removed.
37415         (tar-it): Removed.
37416         (edition): Removed.
37417         (glibc-doc-$(edition).tar): Removed
37418         (%.Z): Removed.
37419         (%.gz): Removed.
37420         (%.uu): Removed.
37421         (ETAGS): Remove, it's in Makeconfig.
37422         (move-if-change): Remove, it's in Makeconfig.
37424 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37426         [BZ #13970]
37427         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37428         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37429         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37430         (strtod_l, strtof_l, strtold_l): Remove __wur.
37431         It is not necessarily an error to ignore strtol's return value.
37432         One can reliably look at the stored endptr to decide whether
37433         the number had valid syntax.
37435 2012-04-21  Andreas Jaeger  <aj@suse.de>
37437         [BZ #13739]
37438         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37440 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37442         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37443         * sysdeps/unix/sysv/Versions: Remove file.
37445 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37447         [BZ #13927]
37448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37450 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37452         [BZ #7064]
37453         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37454         version from __vm86.
37456 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37458         * sysdeps/unix/common/lxstat.c: Remove file.
37459         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37461         * sysdeps/unix/sysv/Makefile: Remove file.
37463         * sysdeps/unix/sysv/direct.h: Remove file.
37465         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37466         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37467         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37468         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37469         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37470         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37471         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37473         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37475         * sysdeps/unix/xmknod.c: Remove file.
37476         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37478         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37480         * sysdeps/unix/sysv/i386/time.S: Remove file.
37482         * sysdeps/unix/fxstat.c: Remove file.
37483         * sysdeps/unix/xstat.c: Likewise.
37484         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37486         * sysdeps/unix/sysv/sigaction.c: Remove file.
37488         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37489         (sysdep_headers): Remove variable.
37490         [termio.h not in sysdep_headers] (generated): Likewise.
37491         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37492         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37493         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37494         * sysdeps/unix/sysv/tcflow.c: Likewise.
37495         * sysdeps/unix/sysv/tcflush.c: Likewise.
37496         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37497         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37498         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37499         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37500         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37502         * sysdeps/unix/siglist.c: Remove file.
37504         * sysdeps/unix/getppid.S: Remove file.
37506         * sysdeps/unix/mkdir.c: Remove file.
37507         * sysdeps/unix/rmdir.c: Likewise.
37509 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37511         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37512         ERR_MAX value.
37513         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37514         errlist-compat value.
37516 2012-04-18  David S. Miller  <davem@davemloft.net>
37518         * sysdeps/generic/memcopy.h (reg_char): Delete.
37519         * debug/strcat_chk.c: Use char, not reg_char.
37520         * debug/strcpy_chk.c: Likewise.
37521         * debug/strncat_chk.c: Likewise.
37522         * debug/strncpy_chk.c: Likewise.
37523         * string/memchr.c: Likewise.
37524         * string/memrchr.c: Likewise.
37525         * string/rawmemchr.c: Likewise.
37526         * string/strcat.c: Likewise.
37527         * string/strchr.c: Likewise.
37528         * string/strchrnul.c: Likewise.
37529         * string/strcmp.c: Likewise.
37530         * string/strcpy.c: Likewise.
37531         * string/strncat.c: Likewise.
37532         * string/strncmp.c: Likewise.
37533         * string/strncpy.c: Likewise.
37535 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37537         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37538         __builtin_memcopy is called when src and dest ranges are known to not
37539         overlap.
37541 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37543         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37544         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37545         fwd_align_merge macro call.
37546         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37547         bwd_align_merge macro call.
37548         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37550 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37552         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37553         bwd_align_merge macros.
37554         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37555         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37556         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37558 2012-04-18  David S. Miller  <davem@davemloft.net>
37560         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37562 2012-04-18  Andreas Jaeger  <aj@suse.de>
37564         [BZ# 6794]
37565         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37566         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37567         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37569         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37570         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37571         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37573         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37574         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37575         Adjust for changed ldbl-128 files.
37577         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37578         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37579         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37581 2012-04-17  David S. Miller  <davem@davemloft.net>
37583         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37585 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37587         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37588         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37589         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37590         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37591         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37592         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37594 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37596         [BZ #6794]
37597         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37598         * math/libm-test.inc: Add ilogb errno and exception tests.
37599         * math/w_ilogb.c: New file: ilogb wrapper.
37600         * math/w_ilogbf.c: New file: ilogbf wrapper.
37601         * math/w_ilogbl.c: New file: ilogbl wrapper.
37602         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37603         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37604         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37605         exception being thrown with 0.0 as argument.
37606         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37607         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37608         exception being thrown with 0.0 as argument.
37609         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37610         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37611         exception being thrown with 0.0 as argument.
37612         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37613         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37614         exception being thrown with 0.0 as argument.
37615         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37616         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37617         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37618         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37619         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37620         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37621         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37622         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37623         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37625 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37627         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37628         with altivec.
37630 2012-04-16  Marek Polacek  <polacek@redhat.com>
37632         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37634 2012-04-16  Marek Polacek  <polacek@redhat.com>
37636         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37637         operands of fdivp instruction.
37639 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37641         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37642         * elf/tst-auditmod3b.c: Likewise.
37643         * elf/tst-auditmod4b.c: Likewise.
37644         * elf/tst-auditmod5b.c: Likewise.
37645         * elf/tst-auditmod6b.c: Likewise.
37646         * elf/tst-auditmod6c.c: Likewise.
37647         * elf/tst-auditmod7b.c: Likewise.
37648         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37649         * sysdeps/x86_64/preconfigure.in: Likewise.
37650         * sysdeps/x86_64/preconfigure: Regenerated.
37652 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37654         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37655         __ILP32__.
37657 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37659         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37660         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37662 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37664         [BZ #13973]
37665         * locale/iso-639.def: Fix gl language name. Spotted by
37666         Yaron Shahrabani.
37668 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37670         [BZ #2074]
37671         * libio/libio.h (__io_write_fn): Update comment.
37673 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37675         [BZ #2074]
37676         * stdio.texi (Hook Functions): The user provided writer function
37677         is not allowed to return -1.
37679 2012-04-11  David S. Miller  <davem@davemloft.net>
37681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37683 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37685         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37686         Add a leading slash to rtkaio.
37688 2012-04-11  Jim Meyering  <meyering@redhat.com>
37690         [BZ #11959]
37691         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37692         It is not necessarily an error to ignore fwrite's return
37693         value.  One can reliably use ferror to test for errors after
37694         the fact.
37696 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37698         * bits/types.h (__snseconds_t): New type.
37699         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37701         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37702         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37703         (__SNSECONDS_T_TYPE): Likewise.
37704         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37705         (__SNSECONDS_T_TYPE): Likewise.
37706         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37707         (__SNSECONDS_T_TYPE): Likewise.
37709 2012-04-10  Andreas Jaeger  <aj@suse.de>
37711         [BZ #2636]
37712         * manual/time.texi (Processor Time): Return type of times is
37713         elapsed real time since an arbitrary point in the past.
37714         (CPU Time): Move CLK_TCK from here...
37715         (Processor Time): ...to here.  Correct description.
37716         * manual/conf.texi (Constants for Sysconf): Correct description of
37717         _SC_CLK_TCK.
37719 2012-04-10  David S. Miller  <davem@davemloft.net>
37721         [BZ #13967]
37722         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37723         where the is a gap between DT_REL(A) and DT_JMPREL.
37725 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37727         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37728         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37729         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37731 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37733         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37734         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37735         (dl_main): Handle --inhibit-cache.
37736         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37737         _dl_inhibit_cache.
37738         * elf/dl-load.c (_dl_map_object): Use it.
37739         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37741 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37743         [BZ #13872]
37744         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37745         (__ieee754_powl): Saturate large exponents rather than testing for
37746         overflow of y*log2(x).
37747         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37748         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37749         exceptions.
37751         [BZ #11521]
37752         * math/s_ctan.c: Include <float.h>.
37753         (__ctan): Avoid internal overflow or cancellation in calculating
37754         denominator.
37755         * math/s_ctanf.c: Likewise.
37756         * math/s_ctanl.c: Likewise.
37757         * math/s_ctanh.c: Likewise.
37758         * math/s_ctanhf.c: Likewise.
37759         * math/s_ctanhl.c: Likewise.
37760         * math/libm-test.inc (ctan_test): Add more tests.
37761         (ctanh_test): Likewise.
37762         * sysdeps/i386/fpu/libm-test-ulps: Update.
37763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37765 2012-04-09  Andreas Jaeger  <aj@suse.de>
37767         [BZ #6894]
37768         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37769         is an optional BSD extension.
37771         [BZ #10254]
37772         * manual/stdio.texi (Opening Streams): Document additional fopen
37773         parameters.
37775 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37777         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37778         %eax without telling the compiler.
37780 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37782         [BZ # 13963]
37783         * manual/install.texi: Use sourceware.org.
37785 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37787         [BZ #13873]
37788         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37789         (__ieee754_pow): Generate overflow and underflow using huge*huge
37790         and tiny*tiny rather than just returning constant infinity or zero
37791         for large exponents.
37792         * math/libm-test.inc (pow_test): Require overflow exceptions for
37793         applicable cases of large exponents.
37795         [BZ #706]
37796         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37797         (__ieee754_pow): Use iterative multiplication algorithm only for
37798         integer exponents with absolute value below 1024.  Check for odd
37799         integer exponents when using algorithm for real exponents.
37800         * math/libm-test.inc (pow_test): Add more tests.
37801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37803 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37805         [BZ #13705]
37806         * math/libm-test.inc (exp_test): Do not allow overflow exception
37807         on underflow test.
37809 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37811         [BZ #13705]
37812         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37813         instead of __kernel_standard_f.
37815 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37817         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37818         * sysdeps/x86_64/memset_chk.S: Likewise.
37820 2012-04-08  Andreas Jaeger  <aj@suse.de>
37822         [BZ #10153]
37823         * manual/startup.texi (Environment Access): Describe return value
37824         for putenv and setenv.
37826         [BZ #6895]
37827         * manual/filesys.texi (Directory Entries): Add description for
37828         DT_LNK.
37830         [BZ #6890]
37831         * manual/filesys.texi (Directory Entries): Clarify that it's file
37832         system not operating system in the description of DT_UNKNOWN.
37834         [BZ #6578]
37835         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37837 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37839         [BZ #6649]
37840         * manual/llio.texi (Opening and Closing Files): Add cross
37841         reference to explain mode argument.
37843 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37845         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37846         * sysdeps/x86_64/memset_chk.S: Likewise.
37848 2012-04-07  David S. Miller  <davem@davemloft.net>
37850         * elf/elf.h (R_SPARC_WDISP10): Define.
37851         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37852         R_SPARC_SIZE32.
37853         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37854         R_SPARC_SIZE64 and R_SPARC_H34.
37856 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37858         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37859         conditions and remove no longer applicable assertion.
37861 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37863         * bits/byteswap.h: Include <features.h>.
37864         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37865         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37867 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37869         * bits/byteswap.h (__bswap_16): Removed.
37870         Include <bits/byteswap-16.h> to get __bswap_16.
37871         * sysdeps/i386/bits/byteswap.h: Likewise.
37872         * sysdeps/s390/bits/byteswap.h: Likewise.
37873         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37874         * bits/byteswap-16.h: New file.
37875         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37876         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37877         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37878         * string/Makefile (headers): Add bits/byteswap-16.h.
37880 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37882         [BZ #13895]
37883         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37884         extra indirection.
37885         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37886         * nss/tst-nss-static.c: New.
37888 2012-04-06  Robert Millan  <rmh@gnu.org>
37890         [BZ #6486]
37891         * manual/llio.texi (File Position Primitive): lseek
37892         refers to WHENCE when it really means OFFSET.
37894 2012-04-06  Andreas Jaeger  <aj@suse.de>
37896         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37897         strncmp declarations.
37899         * abilist/libc.abilist: Add __poll and __ppoll.
37901 2012-04-05  David S. Miller  <davem@davemloft.net>
37903         * scripts/check-local-headers.sh: Accept a host triplet in the
37904         path matched by the exclude regexp.
37906         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37907         definition.
37908         * sysdeps/powerpc/powerpc32/dl-machine.h
37909         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37910         * sysdeps/s390/s390-32/dl-machine.h
37911         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37912         * sysdeps/sparc/sparc32/dl-machine.h
37913         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37914         * sysdeps/sparc/sparc64/dl-machine.h
37915         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37917         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37918         lazy binding.
37919         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37920         undefined symbol errors.
37922         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37923         DT_NEEDED entries.
37925 2012-04-05  Michael Matz  <matz@suse.de>
37927         [BZ #13592]
37928         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37930 2012-04-05  Andreas Jaeger  <aj@suse.de>
37932         [BZ #13908]
37933         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37934         comment.
37936 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37938         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37939         which ROUND is no valid rounding mode.
37941 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37943         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37944         read again.
37945         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37947 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37949         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37950         an exception using FPU order intentionally.
37952 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37954         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37955         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37956         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37957         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37959 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37961         [BZ #12340]
37962         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37963         EINVAL when BUFLEN is too smal.
37965 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37967         [BZ #13553]
37968         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37969         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37971 2012-04-03  Andreas Jaeger  <aj@suse.de>
37973         [BZ #13938]
37974         * manual/setjmp.texi (System V contexts): Fix sentence.
37976         [BZ #13926]
37977         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37978         New macro for this case.
37979         [!__GNUC__] (__bswap_64): New inline function for this case.
37980         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37981         * bits/byteswap.h: Likewise.
37982         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37983         ull, guard with __GLIBC_HAVE_LONG_LONG.
37985         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37986         __GLIBC_HAVE_LONG_LONG.
37988         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37989         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37991 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37993         [BZ #13691]
37994         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37995         inptr and inend, rather than using last_ch.
37997 2012-04-02  David S. Miller  <davem@davemloft.net>
37999         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38000         * stdio-common/printf-parse.h (read_int): Change return type to
38001         'int', return -1 on INT_MAX overflow.
38002         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38003         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38004         overflows INT_MAX.  Check for overflow of in-format-string precision
38005         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38006         SIZE_MAX not INT_MAX for integer overflow test.
38007         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38008         skip the construct in the format string but do not record anything.
38009         * stdio-common/bug22.c: Adjust to test both width/prevision
38010         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38011         explicitly for proper errno values.
38013 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38015         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38016         CHAR_MAX.
38017         * string/test-strcmp.c [! WIDE]: Likewise.
38018         * time/tst-mktime2.c: Likewise for INT_MAX.
38019         * string/test-string.h: #include <sys/param.h> for MIN.
38021         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38022         * sysdeps/i386/init-first.c (init): Likewise.
38023         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38024         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38025         * sysdeps/sh/init-first.c (init): Likewise.
38027 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38029         * po/ru.po: Update from translation team.
38030         * po/vi.po: Likewise.
38032 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38034         * resolv/nss_dns/dns-host.c: Merge copyright years.
38036 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38038         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38039         Optimize memcpy with prefetch if
38040         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38041         src, dst pointers have unequal 16 byte alignments.
38043 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38045         [BZ #13928]
38046         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38047         from a CNAME entry and return the minimum ttl for the query.
38048         (gaih_getanswer_slice): Likewise.
38050 2012-03-30  Jeff Law  <law@redhat.com>
38052         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38053         due to long keys.
38054         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38055         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38057         * resolv/nss_dns/dns-host.c: Update copyright year.
38059 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38061         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38062         requests to save a system call.  Fix check that all bytes are sent.
38064         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38065         comments for sendmmsg.
38067 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38069         [BZ #13691]
38070         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38071         with only 1 character between 0x0041 and 0x01b0.
38072         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38073         * wcsmbs/tst-mbsnrtowcs.c: New file.
38075 2012-03-29  David S. Miller  <davem@davemloft.net>
38077         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38078         small copies by hand.
38080 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38082         [BZ #13761]
38083         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38084         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38085         group memberships.
38087 2012-03-28  David S. Miller  <davem@davemloft.net>
38089         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38090         that branches into memcpy.
38091         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38092         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38093         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38094         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38095         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38096         bits.
38097         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38098         implementation too.
38099         * sysdeps/sparc/mempcpy.S: New file.
38101         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38102         the IFUNC routine in the libc case.
38103         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38105         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38106         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38107         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38108         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38109         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38110         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38111         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38112         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38114         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38115         loop to 256 bytes instead of 64 bytes and fix test signedness.
38117         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38118         * sysdeps/sparc/sparc32/Makefile: rather than here...
38119         * sysdeps/sparc/sparc64/Makefile: and here.
38121 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38123         * malloc/mallocbug.c: Avoid warnings about unused variables.
38125 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38127         [BZ #13760]
38128         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38129         in the right place. Discard and retry query if response is
38130         larger than input buffer size.
38132 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38134         [BZ #369]
38135         [BZ #2678]
38136         [BZ #3866]
38137         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38138         x for large integer exponent.
38139         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38140         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38141         sign of result as needed afterwards.
38142         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38143         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38144         result for underflowing pow the same as for overflow.
38145         (__kernel_standard_l): Handle powl overflow and underflow here
38146         rather than calling __kernel_standard.
38147         * math/libm-test.inc (pow_test): Add more tests.
38149         [BZ #3868]
38150         [BZ #13879]
38151         [BZ #13910]
38152         [BZ #13911]
38153         [BZ #13912]
38154         [BZ #13913]
38155         [BZ #13915]
38156         [BZ #13916]
38157         [BZ #13917]
38158         [BZ #13918]
38159         [BZ #13919]
38160         [BZ #13920]
38161         [BZ #13921]
38162         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38163         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38164         (__kernel_standard_l): New function.
38165         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38166         __kernel_standard.
38167         * math/w_acosl.c (__acosl): Likewise.
38168         * math/w_asinl.c (__asinl): Likewise.
38169         * math/w_atan2l.c (__atan2l): Likewise.
38170         * math/w_atanhl.c (__atanhl): Likewise.
38171         * math/w_coshl.c (__coshl): Likewise.
38172         * math/w_exp10l.c (__exp10l): Likewise.
38173         * math/w_exp2l.c (__exp2l): Likewise.
38174         * math/w_fmodl.c (__fmodl): Likewise.
38175         * math/w_hypotl.c (__hypotl): Likewise.
38176         * math/w_j0l.c (__j0l, __y0l): Likewise.
38177         * math/w_j1l.c (__j1l, __y1l): Likewise.
38178         * math/w_jnl.c (__jnl, __ynl): Likewise.
38179         * math/w_lgammal.c (__lgammal): Likewise.
38180         * math/w_log10l.c (__log10l): Likewise.
38181         * math/w_log2l.c (__log2l): Likewise.
38182         * math/w_logl.c (__logl): Likewise.
38183         * math/w_powl.c (__powl): Likewise.
38184         * math/w_remainderl.c (__remainderl): Likewise.
38185         * math/w_scalbl.c (sysv_scalbl): Likewise.
38186         * math/w_sinhl.c (__sinhl): Likewise.
38187         * math/w_sqrtl.c (__sqrtl): Likewise.
38188         * math/w_tgammal.c (__tgammal): Likewise.
38189         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38190         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38191         * math/libm-test.inc (acos_test): Add more tests.
38192         (acosh_test): Likewise.
38193         (asin_test): Likewise.
38194         (atanh_test): Likewise.
38195         (exp_test): Likewise.
38196         (exp10_test): Likewise.
38197         (exp2_test): Likewise.
38198         (expm1_test): Likewise.
38199         (lgamma_test): Likewise.
38200         (log_test): Likewise.
38201         (log10_test): Likewise.
38202         (log1p_test): Likewise.
38203         (log2_test): Likewise.
38204         (pow_test): Do not allow some spurious overflow exceptions.
38205         (sqrt_test): Add more tests.
38206         (tgamma_test): Likewise.
38207         (y0_test): Likewise.
38208         (y1_test): Likewise.
38209         (yn_test): Likewise.
38211 2012-03-27  Anton Blanchard  <anton@samba.org>
38213         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38214         MAP_HUGETLB.
38215         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38216         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38217         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38219 2012-03-27  David S. Miller  <davem@davemloft.net>
38221         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38223         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38224         have-as-vis3 check.
38226 2012-03-27  Andreas Jaeger  <aj@suse.de>
38228         * sysdeps/x86_64/elf/configure.in: Moved to ...
38229         * sysdeps/x86_64/configure.in: ... here.
38230         * sysdeps/x86_64/elf/start.S: Moved to ...
38231         * sysdeps/x86_64/start.S: ... here.
38232         * sysdeps/x86_64/elf/configure: Delete.
38234         * sysdeps/x86_64/configure.in: Merge contents from
38235         sysdeps/i386/configure.in (without i686 check).
38237         * sysdeps/i386/elf/Versions: Merge into ...
38238         * sysdeps/i386/Versions: ... this.
38239         * sysdeps/i386/elf/Versions: Delete file.
38240         * sysdeps/i386/elf/start.S: Moved to ...
38241         * sysdeps/i386/start.S: ...here.
38242         * sysdeps/i386/elf/configure.in: Merge into...
38243         * sysdeps/i386/configure.in: ...here.
38244         * sysdeps/i386/elf/configure.in: Delete file.
38245         * sysdeps/i386/elf/configure: Delete file.
38247         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38248         * debug/backtracesyms.c: ... here.
38249         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38250         * debug/backtracesymsfd.c: ... here.
38251         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38252         * sysdeps/generic/ifunc-sel.h: ... here.
38254         * sysdeps/unix/i386/start.c: Delete file.
38255         * sysdeps/unix/sparc/start.c: Delete file.
38256         * sysdeps/unix/start.c: Delete file.
38258         * sysdeps/sh/elf/configure.in: Moved to ...
38259         * sysdeps/sh/configure.in: ... here.
38260         * sysdeps/sh/elf/start.S: Moved to ...
38261         * sysdeps/sh/start.S: ... here.
38262         * sysdeps/sh/elf/configure: Delete file.
38264         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38265         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38266         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38267         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38268         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38269         * sysdeps/powerpc/powerpc64/start.S: here.
38270         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38271         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38272         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38273         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38274         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38276         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38277         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38278         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38279         * sysdeps/powerpc/powerpc32/start.S: ... here.
38280         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38281         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38282         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38284         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38285         * sysdeps/powerpc/ifunc-sel.h: ... here.
38286         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38287         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38289         * sysdeps/sparc/elf/configure.in: Moved to ...
38290         * sysdeps/sparc/configure.in: ... here.
38291         * sysdeps/sparc/elf/configure: Delete file.
38292         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38293         * sysdeps/sparc/sparc32/start.S: ... here.
38294         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38295         * sysdeps/sparc/sparc64/start.S: ... here.
38296         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38297         * sysdeps/sparc/sparc32/Makefile: ... this.
38298         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38299         * sysdeps/sparc/sparc64/Makefile: ... this.
38301         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38302         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38303         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38304         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38305         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38306         * sysdeps/s390/s390-32/setjmp.S: ... here.
38307         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38308         * sysdeps/s390/s390-32/configure.in: ... here.
38309         * sysdeps/s390/s390-32/elf/configure: Delete file.
38310         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38311         * sysdeps/s390/s390-32/start.S: ... here.
38313         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38314         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38315         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38316         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38317         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38318         * sysdeps/s390/s390-64/setjmp.S: ... here.
38319         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38320         * sysdeps/s390/s390-64/configure.in: ... here
38321         * sysdeps/s390/s390-64/elf/configure: Delete file.
38322         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38323         * sysdeps/s390/s390-64/start.S: ... here.
38324         * sysdeps/s390/s390-64/elf/configure: Delete.
38326         * configure.in: Remove support for elf directories in sysdeps.
38328         * configure: Regenerated.
38329         * sysdeps/i386/configure: Regenerated.
38330         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38331         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38332         * sysdeps/s390/s390-32/configure: Regenerated.
38333         * sysdeps/s390/s390-64/configure: Regenerated.
38334         * sysdeps/sh/configure: Regenerated.
38335         * sysdeps/sparc/configure: Regenerated.
38336         * sysdeps/x86_64/configure: Regenerated.
38338 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38343         denormal result into account.
38345 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38347         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38348         Reported by Allan McRae <allan@archlinux.org>.
38350 2012-03-23  Jeff Law  <law@redhat.com>
38352         * nss/getnssent.c (__nss_getent): Fix typo.
38354 2012-03-23  David S. Miller  <davem@davemloft.net>
38356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38358 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38360         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38361         to pad to uint64_t for each field.
38362         (dl_tls_index): Replace unsigned long with uint64_t.
38364 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38365         Paul Pluzhnikov  <ppluzhnikov@google.com>
38367         [BZ #6528]
38368         * grp/Makefile (otherlibs): Don't set it.
38369         * inet/Makefile (otherlibs): Likewise.
38370         * login/Makefile (otherlibs): Likewise.
38371         * nscd/Makefile (otherlibs): Likewise.
38372         * posix/Makefile (otherlibs): Likewise.
38373         * pwd/Makefile (otherlibs): Likewise.
38374         * rt/Makefile (otherlibs): Likewise.
38375         * sunrpc/Makefile (otherlibs): Likewise.
38376         * nss/Makefile (otherlibs): Likewise.
38377         Add libnss_files to routines and static-only-routines.
38378         ($(objpfx)getent): Remove rule.
38379         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38380         static-only-routines.
38382 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38384         [BZ #13892]
38385         * math/s_cexp.c: Include <float.h>.
38386         (__cexp): Handle exp result overflowing not necessarily
38387         overflowing both real and imaginary parts of result.
38388         * math/s_cexpf.c: Likewise.
38389         * math/s_cexpl.c: Likewise.
38390         * math/libm-test.inc (cexp_test): Add more tests.
38391         * sysdeps/i386/fpu/libm-test-ulps: Update.
38392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38394 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38396         * include/link.h (ELFW): New macro.
38397         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38398         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38400 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38402         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38403         with uint64_t.
38405 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38407         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38408         declaration.
38409         (struct La_x32_retval): Likewise.
38411 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38413         * sysdeps/x86_64/preconfigure.in: New file.
38414         * sysdeps/x86_64/preconfigure: New generated file.
38416 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38418         [BZ #13824]
38419         * math/e_exp2l.c: Include <float.h>.
38420         (__ieee754_exp2l): Handle overflow and underflow cases
38421         separately.  Only pass fractional part of argument to
38422         __ieee754_expl.
38423         * math/libm-test.inc (exp2_test): Add more tests.
38425         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38426         negating x to take absolute value.
38427         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38428         Likewise.
38429         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38430         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38431         Likewise.
38432         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38433         computing low part if x was negated.
38434         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38436 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38438         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38439         la_x32_gnu_pltexit.
38440         (pltexit): Cast int_retval to ptrdiff_t.
38441         * elf/tst-auditmod3b.c: Likewise.
38442         * elf/tst-auditmod4b.c: Likewise.
38443         * elf/tst-auditmod5b.c: Likewise.
38444         * elf/tst-auditmod6b.c: Likewise.
38445         * elf/tst-auditmod6c.c: Likewise.
38446         * elf/tst-auditmod7b.c: Likewise.
38448         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38449         and x32_gnu_pltexit.
38451         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38452         __ELF_NATIVE_CLASS.
38453         (La_x32_regs): New macro.
38454         (La_x32_retval): Likewise.
38455         (la_x32_gnu_pltenter): New function prototype.
38456         (la_x32_gnu_pltexit): Likewise.
38458 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38460         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38461         exponent.
38463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38465         * configure.in (libc_cv_cc_nofma): Check for option to disable
38466         generation of FMA instructions.
38467         * configure: Regenerate.
38468         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38469         * sysdeps/ieee754/dbl-64/Makefile: New file.
38470         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38471         Remove brandred-fma4.
38472         (CFLAGS-brandred-fma4.c): Remove.
38473         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38474         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38475         define.
38476         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38477         define.
38479 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38481         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38482         LLONG_MAX != LONG_MAX.
38483         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38484         (_fitoa_word): Likewise.
38485         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38486         LLONG_MAX != LONG_MAX.
38487         * stdio-common/_itowa.h: Include <_itoa.h>.
38488         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38489         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38490         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38491         only if not defined.
38492         (_ITOA_WORD_TYPE): Likewise.
38493         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38494         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38496 2012-03-21  David S. Miller  <davem@davemloft.net>
38498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38500 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38502         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38503         of x86_64 when setting libc_cv_slibdir, libdir and
38504         libc_cv_localedir.
38505         * sysdeps/unix/sysv/linux/configure: Regenerated.
38507 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38509         * manual/lang.texi (Old Varargs): Remove section.
38510         (How Variadic): Update menu.
38511         (va_start): Do not mention varargs.h.
38513 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38514             Joseph Myers  <joseph@codesourcery.com>
38516         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38517         link test.
38518         * configure: Regenerated.
38520 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38522         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38523         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38524         conformtest.pl
38526 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38528         * NOTES: Remove.
38529         * Makefile (files-for-dist): Remove NOTES.
38530         (NOTES): Remove rule.
38531         * README: Don't refer to NOTES.
38532         * manual/creature.texi: Don't include macros.texi.
38533         * manual/intro.texi (creature.texi): Remove comment referring to
38534         NOTES.
38536         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38537         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38538         * configure: Regenerated.
38539         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38540         LIBC_TRY_CC_OPTION.
38541         (libc_cv_as_i686): Likewise.
38542         (libc_cv_cc_avx): Likewise.
38543         (libc_cv_cc_sse2avx): Likewise.
38544         (libc_cv_cc_fma4): Likewise.
38545         (libc_cv_cc_novzeroupper): Likewise.
38546         * sysdeps/i386/configure: Regenerated.
38548         [BZ #13883]
38549         * sysdeps/i386/fpu/s_cexp.S: Remove.
38550         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38551         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38552         * math/libm-test.inc (cexp_test): Add more tests.
38553         * sysdeps/i386/fpu/libm-test-ulps: Update.
38554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38556 2012-03-21  Allan McRae  <allan@archlinux.org>
38558         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38560 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38562         [BZ #13871]
38563         * math/w_exp2.c: Do not include <float.h>.
38564         (o_threshold, u_threshold): Remove.
38565         (__exp2): Calculate result before checking finiteness and calling
38566         __kernel_standard.
38567         * math/w_exp2f.c: Likewise.
38568         * math/w_exp2l.c: Likewise.
38569         * math/libm-test.inc (exp2_test): Require overflow exception for
38570         1e6 input.
38572         [BZ #3866]
38573         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38574         range of signed 64-bit integers before using fistpll.  Remove
38575         checks for whether integers fit in mantissa bits.
38576         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38577         the range of signed 32-bit integers before using fistpl.  Remove
38578         checks for whether integers fit in mantissa bits.
38579         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38580         (__ieee754_powl): Test for y outside the range of signed 64-bit
38581         integers before using fistpll.  Reduce 64-bit values to 63-bit
38582         ones as needed.
38583         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38584         divide-by-zero is raised for zero to large negative powers.
38585         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38586         (__ieee754_powl): Test for y outside the range of signed 64-bit
38587         integers before using fistpll.  Reduce 64-bit values to 63-bit
38588         ones as needed.
38589         * math/libm-test.inc (pow_test): Add more tests.
38591 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38593         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38594         <stdio-common/_itoa.h>.
38595         * debug/segfault.c: Likewise.
38596         * elf/dl-cache.c: Likewise.
38597         * elf/dl-minimal.c: Likewise.
38598         * elf/dl-misc.c: Likewise.
38599         * elf/dl-sysdep.c: Likewise.
38600         * elf/dl-version.c: Likewise.
38601         * elf/rtld.c: Likewise.
38602         * hurd/hurdsock.c: Likewise.
38603         * hurd/lookup-retry.c: Likewise.
38604         * malloc/malloc.c: Likewise.
38605         * malloc/mtrace.c: Likewise.
38606         * nscd/nscd_getgr_r.c: Likewise.
38607         * nscd/nscd_getpw_r.c: Likewise.
38608         * nscd/nscd_getserv_r.c: Likewise.
38609         * posix/getopt_init.c: Likewise.
38610         * posix/wordexp.c: Likewise.
38611         * stdio-common/_itoa.c: Likewise.
38612         * stdio-common/printf_fphex.c: Likewise.
38613         * stdio-common/vfprintf.c: Likewise.
38614         * string/_strerror.c: Likewise.
38615         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38616         * sysdeps/i386/i686/hp-timing.h: Likewise.
38617         * sysdeps/mach/_strerror.c: Likewise.
38618         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38619         * sysdeps/mach/hurd/sethostid.c: Likewise.
38620         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38621         * sysdeps/mach/xpg-strerror.c: Likewise.
38622         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38623         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38624         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38625         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38626         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38627         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38628         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38629         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38630         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38631         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38632         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38633         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38634         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38635         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38636         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38637         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38638         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38639         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38640         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38641         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38642         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38644         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38646         * stdio-common/_itoa.h: Moved to ...
38647         * sysdeps/generic/_itoa.h: Here.
38649         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38651         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38652         instead of "_itoa.h" and "_itowa.h".
38653         * stdio-common/vfprintf.: Likewise.
38655 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38657         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38658         <bits/wordsize.h>.
38659         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38660         (__signbit): Likwise.
38661         (llrintf): Likwise.
38662         (llrint): Likwise.
38664 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38666         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38667         __WORDSIZE != 64.
38669 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38671         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38672         OVERFLOW_EXCEPTION_OK.
38673         * math/libm-test.inc ("Philosophy"): Update comment about
38674         exception testing.
38675         (OVERFLOW_EXCEPTION): Define.
38676         (OVERFLOW_EXCEPTION_OK): Likewise.
38677         (INVALID_EXCEPTION_OK): Renumber.
38678         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38679         (IGNORE_ZERO_INF_SIGN): Likewise.
38680         (test_exceptions): Handle FE_OVERFLOW.
38681         (exp10_test): Expect overflow exceptions.
38682         (exp2_test): Likewise.
38683         (expm1_test): Likewise.
38684         (nextafter_test): Likewise.
38685         (pow_test): Likewise.
38686         (scalbn_test): Likewise.
38687         (scalbln_test): Likewise.
38689 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38691         * sysdeps/x86_64/bits/atomic.h
38692         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38693         64bit integer.
38694         (atomic_exchange_acq): Likewise.
38695         (__arch_exchange_and_add_body): Likewise.
38696         (__arch_add_body): Likewise.
38697         (atomic_add_negative): Likewise.
38698         (atomic_add_zero): Likewise.
38700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38702         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38703         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38705 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38707         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38708         Check __x86_64__ instead of __WORDSIZE.
38710 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38712         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38714 2012-03-19  David S. Miller  <davem@davemloft.net>
38716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38718         * sysdeps/sparc/fpu/fenv_private.h: New file.
38719         * sysdeps/sparc/fpu/math_private.h: Use it.
38720         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38721         Remove.
38722         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38723         (libc_feholdexcept_setroundl): Remove.
38724         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38725         Remove.
38726         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38727         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38729 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38731         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38732         int64_t instead of long int.
38733         (INSERT_WORDS64): Likwise.
38735 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38737         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38738         _Unwind_GetCFA return to _Unwind_Ptr first.
38740 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38742         [BZ #13629]
38743         * math/s_clog.c: Include <float.h>.
38744         (__clog): Scale large or subnormal inputs.
38745         * math/s_clogf.c: Likewise.
38746         * math/s_clogl.c: Likewise.
38747         * math/s_clog10.c: Include <float.h>.
38748         (M_LOG10_2): Define.
38749         (__clog10): Scale large or subnormal inputs.
38750         * math/s_clog10f.c: Likewise.
38751         * math/s_clog10l.c: Likewise.
38752         * math/libm-test.inc (clog_test): Add more tests.
38753         (clog10_test): Likewise.
38754         * sysdeps/i386/fpu/libm-test-ulps: Update.
38755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38757         [BZ #11451]
38758         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38759         x and y.
38760         * math/libm-test.inc (atan2_test): Add another test.
38762         * Makerules (common-objdir-compile): Remove.
38763         * sysdeps/unix/Makefile (config-generated): Do not add
38764         $(unix-generated) to variable.
38765         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38766         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38767         Remove rule.
38768         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38769         Likewise.
38770         [generic bits/local_lim.h] (before-compile): Do not append to
38771         variable.
38772         [generic bits/local_lim.h] (common-generated): Likewise.
38773         [generic sys/param.h] (before-compile): Do not append to variable.
38774         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38775         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38776         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38777         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38778         include.
38779         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38780         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38781         [generic sys/param.h] ($(addprefix
38782         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38783         [generic sys/param.h] (common-generated): Do not append to
38784         variable.
38785         [generic sys/param.h] (sysdep_headers): Likewise.
38786         [generic bits/errno.h] (before-compile): Do not append to
38787         variable.
38788         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38789         rule.
38790         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38791         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38792         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38793         [generic bits/errno.h] (common-generated): Do not append to
38794         variable.
38795         [generic bits/ioctls.h] (before-compile): Do not append to
38796         variable.
38797         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38798         rule.
38799         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38800         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38801         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38802         rule.
38803         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38804         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38805         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38806         [generic bits/ioctls.h] (common-generated): Do not append to
38807         variable.
38808         [generic sys/syscall.h] (syscall.h): Remove variable.
38809         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38810         rule.
38811         [generic sys/syscall.h] (before-compile): Do not append to
38812         variable.
38813         [generic sys/syscall.h] (common-generated): Likewise.
38814         * sysdeps/unix/errnos-tmpl.c: Remove file.
38815         * sysdeps/unix/errnos.awk: Likewise.
38816         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38817         * sysdeps/unix/ioctls.awk: Likewise.
38818         * sysdeps/unix/mk-local_lim.c: Likewise.
38819         * sysdeps/unix/snarf-ioctls: Likewise.
38821 2012-03-19  Richard Henderson  <rth@twiddle.net>
38823         * sysdeps/i386/fpu/fenv_private.h: New file.
38824         * sysdeps/i386/fpu/math_private.h: Use it.
38825         (math_opt_barrier, math_force_eval): Remove.
38826         (libc_feholdexcept_setround_53bit): Remove.
38827         (libc_feupdateenv_53bit): Remove.
38828         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38829         (math_opt_barrier, math_force_eval): Remove.
38830         (libc_feholdexcept): Remove.
38831         (libc_feholdexcept_setround): Remove.
38832         (libc_fetestexcept, libc_fesetenv): Remove.
38833         (libc_feupdateenv_test): Remove.
38834         (libc_feupdateenv, libc_feholdsetround): Remove.
38835         (libc_feresetround): Remove.
38837         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38838         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38840         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38841         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38842         (libc_feupdateenv_testl): New.
38843         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38844         (libc_feupdateenv_testf): New.
38845         (libc_feupdateenv): Use libc_feupdateenv_test.
38846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38847         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38849         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38850         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38851         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38852         (libc_feresetround_noex): New.
38853         (libc_feresetround_noexf): New.
38854         (libc_feresetround_noexl): New.
38855         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38856         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38857         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38858         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38859         SET_RESTORE_ROUND.
38860         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38861         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38862         (__cos): Likewise.
38863         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38864         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38865         SET_RESTORE_ROUND_NOEX.
38866         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38867         SET_RESTORE_ROUND_NOEXF.
38868         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38869         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38870         (libc_feholdsetroundf): New.
38871         (libc_feresetround, libc_feresetroundf): New.
38873         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38874         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38875         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38877         * sysdeps/generic/math_private.h: Include <fenv.h>.
38878         (default_libc_feholdexcept): New.
38879         (default_libc_feholdexcept_setround): New.
38880         (default_libc_fesetenv, default_libc_feupdateenv): New.
38881         (libc_feholdexcept): Only define if undefined.
38882         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38883         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38884         (libc_feholdexcept_setroundl): Likewise.
38885         (libc_feholdexcept_setround_53bit): Likewise.
38886         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38887         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38888         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38889         (libc_feupdateenv_53bit): Likewise.
38890         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38891         (libc_feholdexcept): Convert from macro to inline function.
38892         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38893         (libc_fesetenv, libc_feupdateenv): Likewise.
38895         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38896         not previously defined.
38897         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38898         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38899         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38900         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38901         * sysdeps/ieee754/flt-32/math_private.h: New file.
38902         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38903         math_private.h below SET_FLOAT_WORD.
38904         (__isnan, __isinf_ns, __finite): Remove.
38905         (__isnanf, __isinf_nsf, __finitef): Remove.
38907 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38911 2012-03-17  David S. Miller  <davem@davemloft.net>
38913         [BZ #6471]
38914         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38915         for 2.16.
38917 2012-03-16  David S. Miller  <davem@davemloft.net>
38919         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38920         warnings.
38922         [BZ #6471]
38923         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38924         properly.
38925         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38926         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38927         sysdep_routines when subdir is sysvipc.
38928         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38929         __getshmlba helper.
38931         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38933 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38935         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38936         [__LP64__].
38938 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38940         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38941         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38942         (__lround): Renamed to ...
38943         (__llround): This.  Replace long int with long long int.
38944         Define lround functions as aliases of llround functions.
38945         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38947 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38949         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38950         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38951         adresses to uintptr_t.  Replace "long int" and "unsigned long
38952         int" with "greg_t" on va_arg.
38954 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38956         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38957         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38959         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38960         Move e_machine check before EI_CLASS check.  Handle x32
38961         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38962         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38963         SKIP_EM_IA_64 and include
38964         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38966         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38967         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38968         (add_system_dir): New macro.
38970         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38971         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38973 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38975         [BZ #2551]
38976         [BZ #2552]
38977         [BZ #2553]
38978         [BZ #2554]
38979         [BZ #2562]
38980         [BZ #2563]
38981         [BZ #2565]
38982         [BZ #2566]
38983         [BZ #2576]
38984         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38985         (y0): Likewise.
38986         * math/w_j0f.c (j0f): Likewise.
38987         (y0f): Likewise.
38988         * math/w_j0l.c (__j0l): Likewise.
38989         (__y0l): Likewise.
38990         * math/w_j1.c (j1): Likewise.
38991         (y1): Likewise.
38992         * math/w_j1f.c (j1f): Likewise.
38993         (y1f): Likewise.
38994         * math/w_j1l.c (__j1l): Likewise.
38995         (__y1l): Likewise.
38996         * math/w_jn.c (jn): Likewise.
38997         (yn): Likewise.
38998         * math/w_jnf.c (jnf): Likewise.
38999         (ynf): Likewise.
39000         * math/w_jnl.c (__jnl): Likewise.
39001         (__ynl): Likewise.
39002         * math/libm-test.inc (j0_test): Add more tests.
39003         (j1_test): Likewise.
39004         (jn_test): Likewise.  Add trailing semicolon to existing test.
39005         (y0_test): Likewise.
39006         (y1_test): Likewise.
39007         * sysdeps/i386/fpu/libm-test-ulps: Update.
39008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39010         [BZ #13851]
39011         [BZ #13854]
39012         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39013         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39014         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39015         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39016         (__tanl): Set errno for infinite argument.
39017         * sysdeps/i386/fpu/mptan.c: Remove.
39018         * sysdeps/i386/fpu/s_tan.S: Likewise.
39019         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39020         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39021         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39022         * math/libm-test.inc (tan_test): Add more tests and enable more
39023         tests for double and long double.
39024         * sysdeps/i386/fpu/libm-test-ulps: Update.
39025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39027 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39029         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39030         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39032 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39034         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39035         * configure.in: Use it for both main tree and add-ons.
39036         * configure: Regenerated.
39038 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39040         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39042 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39044         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39045         in comment.
39047         [BZ #13851]
39048         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39049         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39050         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39052         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39053         infinite argument.
39054         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39055         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39056         != 0 for prec == 2.
39057         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39058         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39059         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39060         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39061         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39062         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39063         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39064         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39065         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39066         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39067         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39068         * math/libm-test.inc (cos_test): Add more tests and enable more
39069         tests for long double.
39070         (sin_test): Likewise.
39071         (sincos_test): Likewise.
39072         * sysdeps/i386/fpu/libm-test-ulps: Update.
39073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39075 2012-03-16  David S. Miller  <davem@davemloft.net>
39077         * sysdeps/sparc/fpu/math_private.h: New file.
39079 2012-03-15  David S. Miller  <davem@davemloft.net>
39081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39082         file.
39083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39085         file.
39086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39091         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39092         sysdep routines.
39093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39095         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39096         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39098         * sysdeps/sparc/sparc-ifunc.h: New file.
39099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39100         sparc-ifunc.h
39101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39103         Likewise.
39104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39105         Likewise.
39106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39110         Likewise.
39111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39116         Likewise.
39117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39118         Likewise.
39119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39123         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39125         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39126         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39137         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39138         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39139         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39140         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39141         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39142         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39144 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39146         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39147         scaling.
39148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39150 2012-03-15  Andreas Jaeger  <aj@suse.de>
39152         [BZ #13852]
39153         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39154         ieee754/flt-32 implementation for sin, cos and sincos.
39155         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39156         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39157         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39158         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39159         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39160         ieee754/flt-32 implementation for tan.
39162         * math/libm-test.inc (cos_test): Enable some large input tests for
39163         float as well
39164         (sin_test): Likewise.
39165         (sincos_test): Likewise.
39166         (tan_test): Add tests for large input.
39168         * sysdeps/i386/fpu/libm-test-ulps: Update.
39170 2012-03-15  Andreas Jaeger  <aj@suse.de>
39172         [BZ #13658]
39173         * math/libm-test.inc (cos_test): Add more test cases.
39174         (sin_test): Likewise.
39175         (sincos_test): Likewise.
39177 2012-03-15  Andreas Jaeger  <aj@suse.de>
39179         [BZ #13837]
39180         * math/libm-test.inc (cos_test): Add a test case for large input
39181         value.
39182         (sin_test): Likewise.
39183         (sincos_test): Likewise.
39185 2012-03-15  Andreas Jaeger  <aj@suse.de>
39186             Joseph Myers  <joseph@codesourcery.com>
39188         [BZ #13658]
39189         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39190         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39191         * sysdeps/i386/fpu/branred.c: Likewise.
39192         * sysdeps/i386/fpu/dosincos.c: Likewise.
39193         * sysdeps/i386/fpu/mpa.c: Likewise.
39194         * sysdeps/i386/fpu/s_cos.S: Likewise.
39195         * sysdeps/i386/fpu/s_sin.S: Likewise.
39196         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39197         * sysdeps/i386/fpu/sincos32.c: Likewise.
39199         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39200         Define.
39201         (libc_feupdateenv_53bit): Define.
39202         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39203         Define.
39204         (libc_feupdateenv_53bit): Define.
39206         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39207         53 bit (without extend i386 double precision).
39209         * math/libm-test.inc (sincos_test): Add tests for large input.
39210         (sin): Likewise.
39211         (cos): Likewise.
39213         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39215 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39219 2012-03-15  David S. Miller  <davem@davemloft.net>
39221         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39222         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39223         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39224         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39237         file.
39238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39240         file.
39241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39243         file.
39244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39246         file.
39247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39248         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39249         fmin/fmax sysdep routines.
39250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39252 2012-03-14  David S. Miller  <davem@davemloft.net>
39254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39258         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39259         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39260         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39261         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39273         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39274         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39275         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39276         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39277         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39278         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39279         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39281         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39282         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39283         routines.
39284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39285         file.
39286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39288         file.
39289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39291         file.
39292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39294         file.
39295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39297         file.
39298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39300         file.
39301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39302         file.
39303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39304         file.
39305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39306         file.
39307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39308         New file.
39309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39310         file.
39311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39312         file.
39313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39315         file.
39316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39318         file.
39319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39321         file.
39322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39324         VIS3 routines.
39326         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39327         New file.
39329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39331         * sysdeps/sparc/configure.in: New file.
39332         * sysdeps/sparc/configure: Generate.
39333         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39334         * configure: Regenerate.
39335         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39336         * config.make.in (have-as-vis3): New.
39337         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39338         available use -Av9d instead of -Av9a.
39339         * sysdeps/sparc/sparc64/Makefile: Likewise.
39340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39342         New file.
39343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39344         file.
39345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39346         New file.
39347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39348         file.
39349         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39350         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39351         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39352         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39353         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39355         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39356         fzeros/fnegs to load 0x80000000 into a float register instead of
39357         using the stack.
39358         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39360 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39362         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39363         bits/syscall.h.
39364         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39365         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39366         ($(inst_includedir)/bits/syscall.h): Remove rule.
39367         ($(objpfx)bits/syscall.d): Include instead of
39368         $(objpfx)syscall-list.d.
39369         (generated): Change syscall-list.h and syscall-list.d to
39370         bits/syscall.h and bits/syscall.d.
39372 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39374         [BZ #13846]
39375         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39377 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39379         [BZ #13841]
39380         * math/s_csqrt.c: Include <float.h>.
39381         (__csqrt): Scale large or subnormal inputs.
39382         * math/s_csqrtf.c: Likewise.
39383         * math/s_csqrtl.c: Likewise.
39384         * math/libm-test.inc (csqrt_test): Add more tests.
39385         * sysdeps/i386/fpu/libm-test-ulps: Update.
39386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39388         [BZ #13840]
39389         * math/libm-test.inc (hypot_test): Add more tests.
39391 2012-03-13  David S. Miller  <davem@davemloft.net>
39393         [BZ #13840]
39394         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39395         double-precision for the calculation instead of scaling.
39397 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39399         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39400         manipulate bits before adding and subtracting TWO52[sx].
39401         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39402         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39403         Likewise.
39404         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39406 2012-03-13  David S. Miller  <davem@davemloft.net>
39408         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39409         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39410         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39411         rtld-global-offsets.h
39412         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39414         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39415         large parameters.
39417         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39419         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39420         'err' in the ifdef scope in which it is actually used.
39422         * nss/nss_db/db-init.c: Include string.h
39424 2012-03-12  David S. Miller  <davem@davemloft.net>
39426         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39427         masking out of the most significant byte of random value used.
39428         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39429         Fix coding style in previous change.
39431         * sysdeps/unix/sysv/linux/kernel-features.h
39432         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39433         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39434         expression.
39435         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39436         later.
39438 2012-03-11  David S. Miller  <davem@davemloft.net>
39440         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39441         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39442         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39443         for 'resultvar' otherwise things get truncated on 64-bit.
39445         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39446         Fix masking out of the most significant byte of random value used.
39448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39450 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39454 2012-03-09  David S. Miller  <davem@davemloft.net>
39456         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39457         variables with appropriate CPP guards.
39458         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39459         from the frame pointer, not the stack pointer.  Correct layout
39460         comments.  Fix test on resulting framesize and the management of
39461         the outregs buffer for pltexit.  Preserve floating point return
39462         values across _dl_call_pltexit call.
39463         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39464         framesize and the management of the outregs buffer for pltexit.
39465         Preserve floating point return values across _dl_call_pltexit
39466         call.
39467         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39468         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39469         (la_sparc64_gnu_pltexit): New functions.
39470         (print_exit): Fix format string for return register value.
39472 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39474         * sunrpc/Makefile (others): Add rpcgen.
39475         ($(objpfx)rpcgen): Remove special build rule and dependency on
39476         libc.
39477         * sunrpc/rpcgen.c: New file.
39479 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39481         [BZ #13673]
39482         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39483         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39484         * sysdeps/i386/crti.S: Likewise.
39485         * sysdeps/i386/crtn.S: Likewise.
39486         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39487         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39488         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39489         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39490         * sysdeps/sh/crti.S: Likewise.
39491         * sysdeps/sh/crtn.S: Likewise.
39492         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39494         [BZ #13673]
39495         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39496         with URL.
39497         * locale/programs/locfile-kw.gperf: Likewise.
39498         * locale/programs/charmap-kw.h: Regenerated.
39499         * locale/programs/locfile-kw.h: Likewise.
39501         [BZ #13673]
39502         * intl/plural.y: Replace FSF snail mail address with URL.
39503         * intl/plural.c: Regenerated.
39505 2012-03-09  Richard Henderson  <rth@twiddle.net>
39507         * include/math_private.h: Remove file.
39508         * math/math_private.h: Move file ...
39509         * sysdeps/generic/math_private.h: ... here.
39511         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39512         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39513         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39515         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39516         and <math_private.h>.
39517         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39518         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39519         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39520         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39521         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39522         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39523         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39525         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39526         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39527         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39528         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39529         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39530         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39531         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39532         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39533         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39534         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39535         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39536         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39538         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39539         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39541         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39542         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39543         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39544         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39545         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39546         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39547         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39548         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39549         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39550         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39551         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39552         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39553         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39554         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39555         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39556         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39557         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39558         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39559         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39560         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39561         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39562         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39563         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39564         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39565         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39566         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39567         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39568         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39569         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39570         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39571         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39572         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39573         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39574         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39575         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39576         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39577         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39578         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39579         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39580         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39581         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39582         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39583         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39584         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39585         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39586         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39587         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39588         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39589         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39590         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39591         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39593         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39594         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39595         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39596         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39597         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39598         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39599         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39600         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39601         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39602         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39603         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39604         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39605         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39606         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39607         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39608         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39609         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39610         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39611         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39612         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39613         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39614         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39615         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39616         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39617         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39618         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39619         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39620         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39621         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39622         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39623         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39624         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39625         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39626         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39627         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39628         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39629         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39630         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39631         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39632         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39633         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39634         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39635         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39636         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39637         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39638         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39639         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39640         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39641         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39642         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39643         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39644         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39645         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39646         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39647         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39648         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39649         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39650         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39651         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39652         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39653         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39654         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39655         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39656         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39657         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39658         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39659         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39660         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39661         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39662         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39663         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39664         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39665         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39666         * sysdeps/ieee754/k_standard.c: Likewise.
39667         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39668         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39669         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39670         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39671         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39672         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39673         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39674         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39676         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39677         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39678         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39679         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39680         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39681         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39682         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39683         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39684         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39685         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39686         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39687         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39688         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39689         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39690         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39691         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39692         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39693         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39694         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39695         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39696         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39697         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39698         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39699         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39700         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39701         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39702         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39703         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39704         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39705         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39706         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39707         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39708         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39709         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39710         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39711         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39712         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39713         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39714         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39715         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39716         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39717         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39718         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39719         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39720         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39721         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39722         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39723         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39724         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39725         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39726         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39727         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39728         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39729         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39730         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39731         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39732         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39733         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39734         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39735         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39736         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39737         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39738         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39739         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39740         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39741         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39742         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39743         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39744         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39745         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39746         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39747         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39748         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39749         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39750         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39751         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39752         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39753         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39754         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39755         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39756         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39757         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39758         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39759         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39760         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39762         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39763         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39764         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39765         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39766         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39767         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39768         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39769         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39770         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39771         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39772         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39773         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39774         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39775         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39776         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39777         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39778         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39779         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39780         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39781         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39782         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39783         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39784         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39785         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39786         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39787         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39788         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39789         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39790         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39791         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39792         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39793         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39794         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39795         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39796         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39797         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39798         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39799         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39800         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39801         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39802         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39803         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39804         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39805         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39806         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39807         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39808         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39809         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39810         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39811         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39812         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39813         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39814         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39815         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39816         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39817         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39818         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39819         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39820         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39821         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39822         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39823         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39824         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39825         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39826         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39827         * sysdeps/ieee754/s_lib_version.c: Likewise.
39828         * sysdeps/ieee754/s_matherr.c: Likewise.
39829         * sysdeps/ieee754/s_signgam.c: Likewise.
39830         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39831         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39832         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39833         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39834         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39835         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39836         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39837         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39838         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39839         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39840         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39841         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39842         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39843         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39844         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39845         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39846         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39847         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39848         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39849         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39850         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39852 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39854         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39855         * sunrpc/rpc_main.c: Likewise.
39856         * sunrpc/rpc_svcout.c: Likewise.
39858 2012-03-09  David S. Miller  <davem@davemloft.net>
39860         * include/math_private.h: New file.
39862 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39864         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39865         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39866         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39867         from <bits/socket_type.h>.
39868         (enum __socket_type): Don't define here.
39869         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39871         bits/socket_type.h.
39873         [BZ #13566]
39874         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39875         checking __USE_GNU.
39877         * Makerules ($(inst_includedir)/%.h): New rule.
39878         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39879         (install-others): Remove variable setting.
39880         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39882 2012-03-08  Richard Henderson  <rth@twiddle.net>
39884         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39885         from macro to inline function; merge with the
39886         !__LIBC_INTERNAL_MATH_INLINES version.
39887         (__ieee754_sqrtf): Likewise.
39889         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39890         to inline function.
39891         (__rintf, __floor, __floorf): Likewise.
39893         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39894         macro to inline function.
39895         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39897         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39898         not <math/math_private.h>.
39900 2012-03-08  David S. Miller  <davem@davemloft.net>
39902         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39903         copyright year.
39904         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39906 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39908         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39909         normalization.
39910         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39911         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39913 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39915         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39916         be defined individually, they must be defined as a block.  Define
39917         S for printing a string instead of hidint the different by using a
39918         macro for adding the 'l'.
39919         * stdio-common/tst-fphex-wide.c: Adjust.
39921 2012-03-07  Marek Polacek  <polacek@redhat.com>
39923         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39925 2012-03-08  Marek Polacek  <polacek@redhat.com>
39927         [BZ #13806]
39928         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39929         * stdio-common/tst-fphex.c: Define a few macros to make the
39930         test reusable.  Use them.
39931         * stdio-common/tst-fphex-wide.c: New file.
39933 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39935         [BZ #6911]
39936         * manual/macros.texi (gnusystems): New macro.
39937         (nongnusystems): Likewise.
39938         (gnulinuxhurdsystems): Likewise.
39939         (gnuhurdsystems): Likewise..
39940         (gnulinuxsystems): Likewise.
39941         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39942         variants of the GNU system, not "GNU system".
39943         * manual/conf.texi: Likewise.
39944         * manual/errno.texi: Likewise.  Update example of errno macro
39945         expansion.
39946         * manual/filesys.texi: Likewise.
39947         (getumask): Document as specific to GNU/Hurd.
39948         * manual/install.texi: Likewise.  Reword some references to
39949         GNU/Linux.
39950         * manual/intro.texi: Likewise.
39951         * manual/io.texi: Likewise.
39952         (File Name Portability): Detail which constraints are inapplicable
39953         to all GNU systems and which are only inapplicable to GNU/Hurd.
39954         * manual/job.texi: Likewise.
39955         * manual/llio.texi: Likewise.
39956         (O_NOCTTY): Document as present on GNU/Linux.
39957         * manual/maint.texi: Likewise.
39958         * manual/memory.texi: Likewise.
39959         * manual/pattern.texi: Likewise.
39960         * manual/pipe.texi: Likewise.
39961         * manual/process.texi: Likewise.
39962         * manual/resource.texi: Likewise.
39963         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39964         child on GNU/Hurd.
39965         * manual/setjmp.texi: Likewise.
39966         * manual/signal.texi: Likewise.
39967         * manual/startup.texi: Likewise.
39968         * manual/stdio.texi: Likewise.
39969         * manual/terminal.texi: Likewise.
39970         (ONLCR): Document as POSIX.
39971         (OXTABS): Document availability on GNU/Linux as XTABS.
39972         (ONOEOT): Document availability separately from other bits.
39973         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39974         * manual/time.texi: Likewise.
39975         * manual/users.texi: Likewise.
39976         * INSTALL: Regenerated.
39977         * sysdeps/gnu/errlist.c: Regenerated.
39979         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39980         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39981         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39982         puts.
39983         * configure: Regenerated.
39985 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39987         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39988         default includes instead of AC_HEADER_CHECK.
39989         * sysdeps/i386/configure: Regenerated.
39991         [BZ #10716]
39992         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39993         * math/s_cacoshf.c (__cacoshf): Likewise.
39994         * math/s_cacoshl.c (__cacoshl): Likewise.
39995         * math/s_casinh.c (__casinh): Set signs of result from argument.
39996         * math/s_casinhf.c (__casinhf): Likewise.
39997         * math/s_casinhl.c (__casinhl): Likewise.
39998         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39999         (casinh_test): Add more tests.
40000         * sysdeps/i386/fpu/libm-test-ulps: Update.
40001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40003 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40005         * po/zh_TW.po: Update from translation team.
40007         * login/Makefile (distribute): Remove variable.
40008         * catgets/Makefile: Likewise.
40009         * mach/Makefile: Likewise.
40010         * malloc/Makefile: Likewise.
40011         * misc/Makefile: Likewise.
40012         * iconv/Makefile: Likewise.
40013         * nscd/Makefile: Likewise.
40014         * hurd/Makefile: Likewise.
40015         * manual/Makefile: Likewise.
40016         * locale/Makefile: Likewise.
40017         * intl/Makefile: Likewise.
40018         * conform/Makefile: Likewise.
40019         * nss/Makefile: Likewise.
40020         * time/Makefile: Likewise.
40021         * soft-fp/Makefile: Likewise.
40022         * dirent/Makefile: Likewise.
40023         * gmon/Makefile: Likewise.
40024         * po/Makefile: Likewise.
40025         * rt/Makefile: Likewise.
40026         * socket/Makefile: Likewise.
40027         * math/Makefile: Likewise.
40028         * signal/Makefile: Likewise.
40029         * debug/Makefile: Likewise.
40030         * elf/Makefile: Likewise.
40031         * timezone/Makefile: Likewise.
40032         * stdlib/Makefile: Likewise.
40033         * iconvdata/Makefile: Likewise.
40034         * sunrpc/Makefile: Likewise.
40035         * io/Makefile: Likewise.
40036         * argp/Makefile: Likewise.
40037         * inet/Makefile: Likewise.
40038         * hesiod/Makefile: Likewise.
40039         * grp/Makefile: Likewise.
40040         * csu/Makefile: Likewise.
40041         * wctype/Makefile: Likewise.
40042         * crypt/Makefile: Likewise.
40043         * libio/Makefile: Likewise.
40044         * string/Makefile: Likewise.
40045         * nis/Makefile: Likewise.
40046         * resolv/Makefile: Likewise.
40047         * stdio-common/Makefile: Likewise.
40048         * wcsmbs/Makefile: Likewise.
40049         * dlfcn/Makefile: Likewise.
40050         * posix/Makefile: Likewise.
40052         [BZ #6959]
40053         * timezone/Makefile: Don't install timezone files, just the programs
40054         and scripts.
40056 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40058         * nss/databases.def: Add missing gshadow entry.
40060         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40062 2012-03-06  Marek Polacek  <polacek@redhat.com>
40064         [BZ #13726]
40065         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40066         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40067         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40068         * stdio-common/tst-long-dbl-fphex.c: New file.
40070 2012-03-06  David S. Miller  <davem@davemloft.net>
40072         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40073         (set_obp_int): New function.
40074         (get_obp_int): New function.
40075         (__get_clockfreq_via_dev_openprom): Likewise.
40076         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40077         Avoid unused variable warnings on 'val' and use builtin_expect.
40078         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40079         __builtin_expect.
40080         (INLINE_CLONE_SYSCALL): Likewise.
40082 2012-03-05  David S. Miller  <davem@davemloft.net>
40084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40086 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40090         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40091         only for |x| >= 40.
40092         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40094 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40097         Replace gettimeofday with __vdso_gettimeofday.
40099         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40100         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40101         __vdso_clock_gettime and __vdso_getcpu.
40103         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40104         time with __vdso_time.
40106 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40108         * manual/lang.texi (size_t): Note types to which size_t may be
40109         equivalent with the GNU C Library, but do not describe when
40110         differences between them are significant.
40112 2012-03-05  Andreas Jaeger  <aj@suse.de>
40114         * sysdeps/i386/fpu/libm-test-ulps: Update.
40116 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40118         [BZ #3976]
40119         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40120         (__ieee754_pow): Save and restore rounding mode and use
40121         round-to-nearest for main computations.
40122         * math/libm-test.inc (pow_test_tonearest): New function.
40123         (pow_test_towardzero): Likewise.
40124         (pow_test_downward): Likewise.
40125         (pow_test_upward): Likewise.
40126         (main): Call the new functions.
40127         * sysdeps/i386/fpu/libm-test-ulps: Update.
40128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40130         [BZ #3976]
40131         * math/libm-test.inc (cosh_test_tonearest): New function.
40132         (cosh_test_towardzero): Likewise.
40133         (cosh_test_downward): Likewise.
40134         (cosh_test_upward): Likewise.
40135         (sinh_test_tonearest): Likewise.
40136         (sinh_test_towardzero): Likewise.
40137         (sinh_test_downward): Likewise.
40138         (sinh_test_upward): Likewise.
40139         (main): Call the new functions.
40140         * sysdeps/i386/fpu/libm-test-ulps: Update.
40141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40143 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40145         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40146         default stack guard is set in last bytes.
40147         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40149 2012-03-05  Kees Cook  <keescook@chromium.org>
40151         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40153         [BZ #13656]
40154         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40155         possibly allocate from heap instead of stack.
40156         * stdio-common/bug-vfprintf-nargs.c: New file.
40157         * stdio-common/Makefile (tests): Add nargs overflow test.
40159 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40163 2012-03-03  Marek Polacek  <polacek@redhat.com>
40165         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40166         * math/math_private.h: Likewise.
40167         * stdlib/tst-strtod.c: Likewise.
40168         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40169         * sysdeps/x86_64/bits/atomic.h: Likewise.
40171 2012-03-02  David S. Miller  <davem@davemloft.net>
40173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40177         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40178         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40179         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40180         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40182 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40184         [BZ #13792]
40185         * manual/examples/README: New file, says the example source files
40186         can be used under GPL>=2.
40187         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40188         line containing just "*/".
40189         * manual/examples/add.c: Add copyright header (GPL>=2).
40190         * manual/examples/argp-ex1.c: Likewise.
40191         * manual/examples/argp-ex2.c: Likewise.
40192         * manual/examples/argp-ex3.c: Likewise.
40193         * manual/examples/argp-ex4.c: Likewise.
40194         * manual/examples/atexit.c: Likewise.
40195         * manual/examples/db.c: Likewise.
40196         * manual/examples/dir.c: Likewise.
40197         * manual/examples/dir2.c: Likewise.
40198         * manual/examples/execinfo.c: Likewise.
40199         * manual/examples/filecli.c: Likewise.
40200         * manual/examples/filesrv.c: Likewise.
40201         * manual/examples/fmtmsgexpl.c: Likewise.
40202         * manual/examples/genpass.c: Likewise.
40203         * manual/examples/inetcli.c: Likewise.
40204         * manual/examples/inetsrv.c: Likewise.
40205         * manual/examples/isockad.c: Likewise.
40206         * manual/examples/longopt.c: Likewise.
40207         * manual/examples/memopen.c: Likewise.
40208         * manual/examples/memstrm.c: Likewise.
40209         * manual/examples/mkfsock.c: Likewise.
40210         * manual/examples/mkisock.c: Likewise.
40211         * manual/examples/mygetpass.c: Likewise.
40212         * manual/examples/pipe.c: Likewise.
40213         * manual/examples/popen.c: Likewise.
40214         * manual/examples/rprintf.c: Likewise.
40215         * manual/examples/search.c: Likewise.
40216         * manual/examples/select.c: Likewise.
40217         * manual/examples/setjmp.c: Likewise.
40218         * manual/examples/sigh1.c: Likewise.
40219         * manual/examples/sigusr.c: Likewise.
40220         * manual/examples/stpcpy.c: Likewise.
40221         * manual/examples/strdupa.c: Likewise.
40222         * manual/examples/strftim.c: Likewise.
40223         * manual/examples/strncat.c: Likewise.
40224         * manual/examples/subopt.c: Likewise.
40225         * manual/examples/swapcontext.c: Likewise.
40226         * manual/examples/termios.c: Likewise.
40227         * manual/examples/testopt.c: Likewise.
40228         * manual/examples/testpass.c: Likewise.
40229         * manual/examples/timeval_subtract.c: Likewise.
40231         [BZ #13792]
40232         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40233         function to ...
40234         * manual/timeval_subtract.c.texi: ... here, new file.
40236 2012-03-02  David S. Miller  <davem@davemloft.net>
40238         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40240 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40242         [BZ #3976]
40243         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40244         (__sin): Save and restore rounding mode and use round-to-nearest
40245         for all computations.
40246         (__cos): Save and restore rounding mode and use round-to-nearest
40247         for all computations.
40248         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40249         <fenv.h>.
40250         (tan): Save and restore rounding mode and use round-to-nearest for
40251         all computations.
40252         * math/libm-test.inc (cos_test_tonearest): New function.
40253         (cos_test_towardzero): Likewise.
40254         (cos_test_downward): Likewise.
40255         (cos_test_upward): Likewise.
40256         (sin_test_tonearest): Likewise.
40257         (sin_test_towardzero): Likewise.
40258         (sin_test_downward): Likewise.
40259         (sin_test_upward): Likewise.
40260         (tan_test_tonearest): Likewise.
40261         (tan_test_towardzero): Likewise.
40262         (tan_test_downward): Likewise.
40263         (tan_test_upward): Likewise.
40264         (main): Call the new functions.
40265         * sysdeps/i386/fpu/libm-test-ulps: Update.
40266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40268         [BZ #10135]
40269         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40270         small n, then large n, before computing and testing k+n.
40271         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40272         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40273         Likewise.
40274         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40275         Likewise.
40276         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40277         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40278         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40279         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40280         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40281         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40282         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40283         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40284         * math/libm-test.inc (scalbn_test): Add more tests.
40285         (scalbln_test): Likewise.
40287         * manual/filesys.texi (mode_t): Describe constraints on size and
40288         signedness, not exact equivalence to a particular type.
40289         (ino_t): Likewise.
40290         (ino64_t): Likewise.
40291         (dev_t): Likewise.
40292         (nlink_t): Likewise.
40293         (blkcnt_t): Likewise.
40294         (blkcnt64_t): Likewise.
40295         * manual/llio.texi (off_t): Likewise.
40297         [BZ #3976]
40298         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40299         (__ieee754_exp): Save and restore rounding mode and use
40300         round-to-nearest for all computations.
40301         * math/libm-test.inc (exp_test_tonearest): New function.
40302         (exp_test_towardzero): Likewise.
40303         (exp_test_downward): Likewise.
40304         (exp_test_upward): Likewise.
40305         (main): Call the new functions.
40306         * sysdeps/i386/fpu/libm-test-ulps: Update.
40307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40309 2012-03-01  Chris Demetriou  <cgd@google.com>
40311         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40312         have predictable order.
40314 2012-03-01  David S. Miller  <davem@davemloft.net>
40316         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40318         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40319         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40320         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40321         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40323         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40324         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40325         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40327         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40328         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40329         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40330         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40331         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40335         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40336         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40337         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40339         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40340         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40341         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40342         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40343         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40344         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40345         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40346         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40347         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40348         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40349         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40350         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40352         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40353         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40355         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40356         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40357         * sysdeps/sparc/elf/configure: Regenerated.
40359 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40361         * configure.in (AS, LD): Require binutils 2.20 or later.
40362         * configure: Regenerated.
40363         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40364         as required minimum version.
40365         * INSTALL: Regenerated.
40367         [BZ #2541]
40368         [BZ #4108]
40369         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40370         before squaring exponent.
40371         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40372         bottom long double and 27 bits of top long double before squaring
40373         exponent.
40374         * math/libm-test.inc (erfc_test): Add more tests.
40375         * sysdeps/i386/fpu/libm-test-ulps: Update.
40376         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40379 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40381         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40382         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40383         containing bit-fields.
40384         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40385         * soft-fp/single.h (_FP_UNION_S): Likewise.
40386         * soft-fp/double.h (_FP_UNION_D): Likewise.
40388 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40390         [BZ #13786]
40391         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40392         not include ../strcmp.S.
40393         [USE_AS_STRNCASECMP_L]: Likewise.
40394         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40395         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40396         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40397         (__strncasecmp_l_ia32): Define as alias to
40398         __strncasecmp_l_nonascii.
40400         [BZ #5794]
40401         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40402         * sysdeps/i386/fpu/libm-test-ulps: Update.
40403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40405         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40408 2012-02-29  Jeff Law  <law@redhat.com>
40410         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40411         out of bounds read.
40413 2012-02-29  Marek Polacek  <polacek@redhat.com>
40415         [BZ #13706]
40416         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40417         * elf/Makefile: Add rules to run tst-unused-dep.out.
40419 2012-02-28  David S. Miller  <davem@davemloft.net>
40421         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40422         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40423         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40424         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40425         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40426         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40428 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40430         * math/libm-test.inc (llround_test): Move one test from
40431         lround_test.  Use TEST_f_L in moved test.
40432         (lround_test): Move misplaced test to llround_test.  Add testcase
40433         from bug 2561.
40435 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40437         * sysdeps/x86_64/fpu/e_expf.S: New file.
40438         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40440 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40442         [BZ #13637]
40443         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40444         of remain_len that may cause incomplete multi-byte character and
40445         false match.
40446         * posix/bug-regex33.c: New file.
40447         * posix/Makefile (tests): Add bug-regex33.
40449 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40451         * manual/macros.texi: New file.
40452         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40453         * manual/libc.texinfo: Include macros.texi.
40454         * manual/creatute.texi: Likewise.
40455         * manual/install.texi: Likewise.
40456         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40457         @glibcadj{} in references to the GNU C Library.
40458         * manual/charset.texi: Likewise.
40459         * manual/conf.texi: Likewise.
40460         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40461         when not using those macros.
40462         * manual/creature.texi: Likewise.
40463         * manual/crypt.texi: Likewise.
40464         * manual/errno.texi: Likewise.
40465         * manual/filesys.texi: Likewise.
40466         * manual/header.texi: Likewise.
40467         * manual/install.texi: Likewise.
40468         * manual/intro.texi: Likewise.
40469         * manual/io.texi: Likewise.
40470         * manual/job.texi: Likewise.
40471         * manual/lang.texi: Likewise.
40472         * manual/libc.texiinfo: Likewise.
40473         * manual/llio.texi: Likewise.
40474         * manual/locale.texi: Likewise.
40475         * manual/maint.texi: Likewise.
40476         * manual/math.texi: Likewise.
40477         * manual/memory.texi: Likewise.
40478         * manual/message.texi: Likewise.
40479         * manual/nss.texi: Likewise.
40480         * manual/pattern.texi: Likewise.
40481         * manual/process.texi: Likewise.
40482         * manual/resource.texi: Likewise.
40483         * manual/search.texi: Likewise.
40484         * manual/setjmp.texi: Likewise.
40485         * manual/signal.texi: Likewise.
40486         * manual/socket.texi: Likewise.
40487         * manual/startup.texi: Likewise.
40488         * manual/stdio.texi: Likewise.
40489         * manual/string.texi: Likewise.
40490         * manual/sysinfo.texi: Likewise.
40491         * manual/syslog.texi: Likewise.
40492         * manual/terminal.texi: Likewise.
40493         * manual/time.texi: Likewise.
40494         * manual/users.texi: Likewise.
40495         * INSTALL: Regenerated.
40496         * NOTES: Regenerated.
40497         * sysdeps/gnu/errlist.c: Regenerated.
40499 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40501         * include/dirent.h: Include <dirstream.h> before
40502         <dirent/dirent.h>.
40504 2012-02-28  David S. Miller  <davem@davemloft.net>
40506         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40507         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40508         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40509         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40511 2012-02-27  David S. Miller  <davem@davemloft.net>
40513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40515         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40516         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40519         frame pointer instead of stack pointer relative arg slot.
40520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40521         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40522         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40524 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40526         [BZ #3992]
40527         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40529 2012-02-27  David S. Miller  <davem@davemloft.net>
40531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40535         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40536         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40537         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40538         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40540 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40542         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40543         later.  Allow versions 5-9.
40544         * configure: Regenerated.
40545         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40546         required minimum version and 4.6 as recommended version.  Do not
40547         mention bugs in GCC 2.7 and 2.8.
40548         * INSTALL: Regenerated.
40550 2012-02-27  David S. Miller  <davem@davemloft.net>
40552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40556         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40557         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40558         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40559         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40561         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40562         manipulate bits before adding and subtracting TWO112[sx].
40563         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40565 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40567         [BZ #13775]
40568         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40569         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40570         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40571         being in POSIX, because they are in 1003.1-2008.
40573         * rt/tst-aio.c: Include <fcntl.h>.
40574         * rt/tst-aio7.c: Likewise.
40575         * rt/tst-aio64.c: Likewise.
40577         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40579 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40581         * manual/install.texi (--with-headers): Describe headers as
40582         interface headers, not private headers.
40583         (Specific advice for GNU/Linux systems): Describe use of headers
40584         from "make headers_install", not private headers from older
40585         kernels.
40586         * INSTALL: Regenerated.
40587         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40588         Change to 2.6.19.
40589         * sysdeps/unix/sysv/linux/configure: Regenerated.
40591         * manual/llio.texi (fclean): Remove documentation.
40593         * manual/Makefile (libc-texi-generated): New variable.  Include
40594         version.texi.
40595         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40596         $(libc-texi-generated), not duplicated list of files.
40597         (version.texi, stamp-version): New rules.
40598         (realclean): Remove $(libc-texi-generated), not individual files
40599         from that list.  Do not remove dir-add.texinfo.
40600         * manual/libc.texinfo: Comment out uses of edition numbers and
40601         references to printed manual.  Remove last-updated dates.
40602         (EDITION): Comment out.
40603         (ISBN): Likewise.
40604         (VERSION, UPDATED): Remove.
40605         (version.texi): Include.
40607 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40609         * sysdeps/posix/spawni.c: Include <signal.h>.
40610         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40611         * sysdeps/pthread/aio_fsync.c: Likewise.
40613 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40615         * conform/Makefile (tests): Run only when not cross-compiling and
40616         when fast-check is not defined.
40618         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40619         * conform/data/limits.h-data: Fixes for POSIX2008.
40620         * conform/run-conformtest.sh: Run all tests.
40621         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40622         headers.
40623         * include/bits/dlfcn.h: Likewise.
40624         * include/langinfo.h: Likewise.
40625         * include/monetary.h: Likewise.
40626         * include/sys/poll.h: Likewise.
40628         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40629         for __USE_GNU.
40630         * posix/spawn.h: Define __need_sigset_t.
40631         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40632         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40633         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40634         to get sigevent_t only.
40635         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40636         only for __USE_GNU.
40637         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40638         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40639         process_vm_writev only for __USE_GNU.
40640         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40642         * conform/Makefile: For now ignore errors from run-conformtest.
40643         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40644         POSIX to avoid namespace pollution.  Don't prepend headers.
40645         * conform/data/aio.h-data: Fixes for POSIX testing.
40646         * conform/data/fcntl.h-data: Likewise.
40647         * conform/data/glob.h-data: Likewise.
40648         * conform/data/grp.h-data: Likewise.
40649         * conform/data/pthread.h-data: Likewise.
40650         * conform/data/pwd.h-data: Likewise.
40651         * conform/data/signal.h-data: Likewise.
40652         * conform/data/spawn.h-data: Likewise.
40653         * conform/data/stdio.h-data: Likewise.
40654         * conform/data/stdlib.h-data: Likewise.
40655         * conform/data/stropts.h-data: Likewise.
40656         * conform/data/sys/mman.h-data: Likewise.
40657         * conform/data/sys/stat.h-data: Likewise.
40658         * conform/data/sys/types.h-data: Likewise.
40659         * conform/data/sys/wait.h-data: Likewise.
40660         * conform/data/time.h-data: Likewise.
40661         * conform/data/unistd.h-data: Likewise.
40662         * conform/data/utime.h-data: Likewise.
40664         * io/sys/stat.h: fchmod was always in POSIX.
40665         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40666         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40667         * rt/aio.h: Define __need_timespec before including <time.h>.
40668         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40669         struct.  Add forward declaration of pthread_attr_t and use it in
40670         sigevent.
40671         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40673         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40674         always remove CLK_TCK definition.
40676 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40678         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40680 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40682         * conform/run-conformtest.sh: New file.
40683         * conform/Makefile: Run run-conformtest for tests.
40684         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40685         support.
40687         * conform/data/uchar.h-data: New file.
40688         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40689         * conform/data/arpa/inet.h-data: Likewise.
40690         * conform/data/assert.h-data: Likewise.
40691         * conform/data/complex.h-data: Likewise.
40692         * conform/data/cpio.h-data: Likewise.
40693         * conform/data/ctype.h-data: Likewise.
40694         * conform/data/dirent.h-data: Likewise.
40695         * conform/data/dlfcn.h-data: Likewise.
40696         * conform/data/errno.h-data: Likewise.
40697         * conform/data/fcntl.h-data: Likewise.
40698         * conform/data/float.h-data: Likewise.
40699         * conform/data/fmtmsg.h-data: Likewise.
40700         * conform/data/fnmatch.h-data: Likewise.
40701         * conform/data/ftw.h-data: Likewise.
40702         * conform/data/glob.h-data: Likewise.
40703         * conform/data/grp.h-data: Likewise.
40704         * conform/data/iconv.h-data: Likewise.
40705         * conform/data/inttypes.h-data: Likewise.
40706         * conform/data/langinfo.h-data: Likewise.
40707         * conform/data/libgen.h-data: Likewise.
40708         * conform/data/limits.h-data: Likewise.
40709         * conform/data/locale.h-data: Likewise.
40710         * conform/data/math.h-data: Likewise.
40711         * conform/data/monetary.h-data: Likewise.
40712         * conform/data/mqueue.h-data: Likewise.
40713         * conform/data/ndbm.h-data: Likewise.
40714         * conform/data/net/if.h-data: Likewise.
40715         * conform/data/netdb.h-data: Likewise.
40716         * conform/data/netinet/in.h-data: Likewise.
40717         * conform/data/nl_types.h-data: Likewise.
40718         * conform/data/poll.h-data: Likewise.
40719         * conform/data/pthread.h-data: Likewise.
40720         * conform/data/pwd.h-data: Likewise.
40721         * conform/data/regex.h-data: Likewise.
40722         * conform/data/sched.h-data: Likewise.
40723         * conform/data/search.h-data: Likewise.
40724         * conform/data/semaphore.h-data: Likewise.
40725         * conform/data/setjmp.h-data: Likewise.
40726         * conform/data/signal.h-data: Likewise.
40727         * conform/data/spawn.h-data: Likewise.
40728         * conform/data/stdarg.h-data: Likewise.
40729         * conform/data/stdio.h-data: Likewise.
40730         * conform/data/stdlib.h-data: Likewise.
40731         * conform/data/string.h-data: Likewise.
40732         * conform/data/strings.h-data: Likewise.
40733         * conform/data/stropts.h-data: Likewise.
40734         * conform/data/sys/ipc.h-data: Likewise.
40735         * conform/data/sys/mman.h-data: Likewise.
40736         * conform/data/sys/msg.h-data: Likewise.
40737         * conform/data/sys/resource.h-data: Likewise.
40738         * conform/data/sys/select.h-data: Likewise.
40739         * conform/data/sys/sem.h-data: Likewise.
40740         * conform/data/sys/shm.h-data: Likewise.
40741         * conform/data/sys/socket.h-data: Likewise.
40742         * conform/data/sys/stat.h-data: Likewise.
40743         * conform/data/sys/statvfs.h-data: Likewise.
40744         * conform/data/sys/time.h-data: Likewise.
40745         * conform/data/sys/timeb.h-data: Likewise.
40746         * conform/data/sys/times.h-data: Likewise.
40747         * conform/data/sys/types.h-data: Likewise.
40748         * conform/data/sys/uio.h-data: Likewise.
40749         * conform/data/sys/un.h-data: Likewise.
40750         * conform/data/sys/utsname.h-data: Likewise.
40751         * conform/data/sys/wait.h-data: Likewise.
40752         * conform/data/syslog.h-data: Likewise.
40753         * conform/data/tar.h-data: Likewise.
40754         * conform/data/termios.h-data: Likewise.
40755         * conform/data/utime.h-data: Likewise.
40756         * conform/data/utmpx.h-data: Likewise.
40757         * conform/data/varargs.h-data: Likewise.
40758         * conform/data/wchar.h-data: Likewise.
40759         * conform/data/wctype.h-data: Likewise.
40760         * conform/data/wordexp.h-data: Likewise.
40762         * include/stropts.h: New file.
40763         * include/uchar.h: New file.
40764         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40765         * include/assert.h: Likewise.
40766         * include/ctype.h: Likewise.
40767         * include/dirent.h: Likewise.
40768         * include/dlfcn.h: Likewise.
40769         * include/fcntl.h: Likewise.
40770         * include/fnmatch.h: Likewise.
40771         * include/glob.h: Likewise.
40772         * include/grp.h: Likewise.
40773         * include/libio.h: Likewise.
40774         * include/locale.h: Likewise.
40775         * include/math.h: Likewise.
40776         * include/net/if.h: Likewise.
40777         * include/netdb.h: Likewise.
40778         * include/netinet/in.h: Likewise.
40779         * include/pthread.h: Likewise.
40780         * include/pwd.h: Likewise.
40781         * include/regex.h: Likewise.
40782         * include/sched.h: Likewise.
40783         * include/search.h: Likewise.
40784         * include/setjmp.h: Likewise.
40785         * include/signal.h: Likewise.
40786         * include/stdio.h: Likewise.
40787         * include/stdlib.h: Likewise.
40788         * include/string.h: Likewise.
40789         * include/sys/cdefs.h: Likewise.
40790         * include/sys/mman.h: Likewise.
40791         * include/sys/msg.h: Likewise.
40792         * include/sys/resource.h: Likewise.
40793         * include/sys/select.h: Likewise.
40794         * include/sys/socket.h: Likewise.
40795         * include/sys/stat.h: Likewise.
40796         * include/sys/statvfs.h: Likewise.
40797         * include/sys/time.h: Likewise.
40798         * include/sys/times.h: Likewise.
40799         * include/sys/uio.h: Likewise.
40800         * include/sys/utsname.h: Likewise.
40801         * include/sys/wait.h: Likewise.
40802         * include/termios.h: Likewise.
40803         * include/time.h: Likewise.
40804         * include/ulimit.h: Likewise.
40805         * include/unistd.h: Likewise.
40806         * include/utime.h: Likewise.
40807         * include/wchar.h: Likewise.
40808         * include/wctype.h: Likewise.
40809         * include/wordexp.h: Likewise.
40811         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40813         * time/time.h: TIME_UTC must be a macro.
40814         Make timespec_get available for ISO C11 only as well.
40816 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40818         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40819         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40821 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40823         * configure.in: Use -o not -a in test for unsupported multi-arch.
40825 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40827         * manual/texinfo.tex: Update to version 2012-01-19.16.
40829 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40831         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40833 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40835         [BZ #13738]
40836         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40837         * manual/fdl-1.3.texi: New file.
40838         * manual/fdl-1.1.texi: File removed.
40840         [BZ #13738]
40841         * manual/libc.texinfo (FDL_VERSION): New @set.
40842         Use it for mention of FDL in cover text.
40843         (Documentation License): Use it in @include file name.
40845 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40846             Roland McGrath  <roland@hack.frob.com>
40848         [BZ #5461]
40849         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40850         (not LONG_LONG_MAX and LONG_LONG_MIN.
40851         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40852         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40853         name.
40854         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40856 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40858         [BZ #2547]
40859         [BZ #11365]
40860         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40861         manipulate bits before adding and subtracting TWO23[sx].
40862         * math/libm-test.inc (nearbyint_test): Add more tests.
40864 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40866         [BZ #2548]
40867         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40868         bits before adding and subtracting TWO23[sx].
40869         * math/libm-test.inc (rint_test): Add more tests.
40870         (rint_test_tonearest): Likewise.
40871         (rint_test_towardzero): Likewise.
40872         (rint_test_downward): Likewise.
40873         (rint_test_upward: Likewise.
40875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40877         [BZ #10110]
40878         * include/stdc-predef.h: New file.  Extracted from features.h.
40879         * include/features.h: Include stdc-predef.h.
40880         * Makefile (headers): Add stdc-predef.h.
40881         * CONFORMANCE (Compiler limitations): Update.
40883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40885         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40887 2012-02-21  David S. Miller  <davem@davemloft.net>
40889         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40890         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40892 2012-02-20  David S. Miller  <davem@davemloft.net>
40894         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40895         using a normal save/restore sequence, rather than allocating a
40896         dummy stack frame just to store a frame pointer and restore.
40897         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40899 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40901         * manual/install.texi: Fix stray word in line-wrapped comment.
40903 2012-02-20  David S. Miller  <davem@davemloft.net>
40905         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40906         both binutils and gcc support GOTDATA.
40908         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40909         "rd %pc" in the PIC register setup sequences.
40911         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40912         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40913         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40914         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40915         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40916         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40917         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40918         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40919         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40920         (SYSCALL_ERROR_HANDLER): Likewise.
40921         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40922         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40923         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40924         (SYSCALL_ERROR_HANDLER): Likewise.
40926         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40927         (HAVE_GCC_GOTDATA): New.
40928         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40929         relocation support in both binutils and gcc.
40930         * sysdeps/sparc/elf/configure: Regenerate.
40932         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40933         * sysdeps/sparc/sparc32/elf/configure: Delete.
40934         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40935         * sysdeps/sparc/sparc64/elf/configure: Delete.
40936         * sysdeps/sparc/elf/configure.in: New file.
40937         * sysdeps/sparc/elf/configure: Generate.
40939         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40940         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40941         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40942         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40943         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40945 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40947         * manual/install.texi: Do not mention specific glibc version
40948         numbers.
40949         * manual/libc.texinfo (VERSION, UPDATED): Update.
40950         (@copying): Use @copyright{} and range of years.
40952 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40954         [BZ #13695]
40955         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40956         [crti.S not in sysdirs] (generated): Do not append.
40957         [crti.S not in sysdirs] (omit-deps): Likewise.
40958         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40959         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40960         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40961         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40962         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40963         Likewise.
40964         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40965         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40966         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40967         * csu/defs.awk: Remove file.
40968         * sysdeps/generic/initfini.c: Likewise.
40969         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40970         variable.
40971         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40972         Likewise.
40974 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40976         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40977         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40978         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40979         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40980         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40981         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40982         <bits/epoll.h>.
40983         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40984         (__EPOLL_PACKED): Define to empty if not defined by
40985         <bits/epoll.h>.
40986         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40988         bits/epoll.h.
40990 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40992         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40993         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40994         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40995         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40996         <bits/timerfd.h>.
40997         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40999         bits/timerfd.h.
41001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41003         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41004         in C locale.
41005         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41006         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41007         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41010 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41012         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41013         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41015 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41017         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41018         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41019         defined.
41020         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41021         Likewise.
41022         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41023         entry for 2.16.
41025 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41027         * math/w_acos.c: Use non-signaling floating-point comparisons.
41028         * math/w_acosf.c: Likewise.
41029         * math/w_acosh.c: Likewise.
41030         * math/w_acoshf.c: Likewise.
41031         * math/w_acoshl.c: Likewise.
41032         * math/w_acosl.c: Likewise.
41033         * math/w_asin.c: Likewise.
41034         * math/w_asinf.c: Likewise.
41035         * math/w_asinl.c: Likewise.
41036         * math/w_atanh.c: Likewise.
41037         * math/w_atanhf.c: Likewise.
41038         * math/w_atanhl.c: Likewise.
41039         * math/w_exp2.c: Likewise.
41040         * math/w_exp2f.c: Likewise.
41041         * math/w_exp2l.c: Likewise.
41042         * math/w_j0.c: Likewise.
41043         * math/w_j0f.c: Likewise.
41044         * math/w_j0l.c: Likewise.
41045         * math/w_j1.c: Likewise.
41046         * math/w_j1f.c: Likewise.
41047         * math/w_j1l.c: Likewise.
41048         * math/w_jn.c: Likewise.
41049         * math/w_jnf.c: Likewise.
41050         * math/w_log.c: Likewise.
41051         * math/w_log10.c: Likewise.
41052         * math/w_log10f.c: Likewise.
41053         * math/w_log10l.c: Likewise.
41054         * math/w_log2.c: Likewise.
41055         * math/w_log2f.c: Likewise.
41056         * math/w_log2l.c: Likewise.
41057         * math/w_logf.c: Likewise.
41058         * math/w_logl.c: Likewise.
41059         * math/w_sqrt.c: Likewise.
41060         * math/w_sqrtf.c: Likewise.
41061         * math/w_sqrtl.c: Likewise.
41062         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41063         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41064         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41065         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41066         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41068 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41070         [BZ #9739]
41071         * manual/string.texi (strnlen): Use correct parameter name in
41072         equivalent expression.
41074 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41076         [BZ #11174]
41077         * manual/users.texi (seteuid): Consistently use neweuid for
41078         argument name.
41080 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41082         [BZ #13704]
41083         * manual/nss.texi (Services in the NSS configuration): Correct
41084         list of services in example configuration file.
41086 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41088         [BZ #11322]
41089         * manual/arith.texi: Remove statements about negative zero
41090         behaving identically to zero.
41092 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41094         [BZ #5993]
41095         * manual/install.texi: Do not document upgrading from libc5.
41097 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41099         [BZ #4596]
41100         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41102 2012-02-18  David S. Miller  <davem@davemloft.net>
41104         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41105         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41106         %o7 across the call.
41107         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41108         instead.
41109         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41110         SETUP_PIC_REG_LEAF.
41111         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41112         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41113         * sysdeps/sparc/crtn.S: Likewise.
41115 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41117         * aout/Makefile: Remove.
41119 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41121         [BZ #13058]
41122         * manual/examples/argp-ex1.c (main): Format definition in GNU
41123         style.
41124         * manual/examples/argp-ex2.c (main): Likewise.
41125         * manual/examples/argp-ex3.c (main): Likewise.
41126         * manual/examples/argp-ex4.c (main): Likewise.
41127         * manual/examples/longopt.c (main): Use new-style prototype
41128         definition.
41129         * manual/examples/strncat.c (main): Specify return type and use
41130         (void) for arguments.
41131         * manual/examples/subopt.c (main): Use char **argv argument.
41133 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41135         [BZ #5077]
41136         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41137         rounding modes.
41139 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41141         [BZ #6907]
41142         * manual/string.texi (strchr): Change when strchrnul is
41143         recommended.
41145 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41147         [BZ #174]
41148         * manual/locale.texi (setlocale): Document LOCPATH.
41150 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41152         [BZ #10210]
41153         * manual/process.texi (execle): Move @dots{} before last argument.
41155 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41157         [BZ #12047]
41158         * manual/charset.texi (Generic Charset Conversion): Fix typo
41159         (LC_TYPE -> LC_CTYPE).
41161 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41163         [BZ #5805]
41164         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41165         (scalbnf): Likewise.
41166         (scalbnl): Likewise.
41167         (scalbln): Likewise.
41168         (scalblnf): Likewise.
41169         (scalblnl): Likewise.
41170         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41171         (vwarnx): Likewise.
41172         (verr): Likewise.
41173         (verrx): Likewise.
41174         * manual/filesys.texi (telldir): Use braces around return type.
41175         * manual/llio.texi (mmap): Add space after comma.
41176         (mmap64): Likewise.
41177         * manual/math.texi (jn): Use @var{} on parameter names.
41178         (jnf): Likewise.
41179         (jnl): Likewise.
41180         (yn): Likewise.
41181         (ynf): Likewise.
41182         (ynl): Likewise.
41183         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41184         line.
41185         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41186         "...".
41187         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41188         (sched_get_priority_max): Likewise.
41189         * manual/signal.texi (sigvec): Add space after comma.
41190         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41191         names.
41192         (if_indextoname): Likewise.
41193         (if_freenameindex): Likewise.
41194         (sendto): Use ',' instead of '.' in prototype.
41195         * manual/startup.texi (syscall): Use @dots{} instead of literal
41196         "...".
41197         * manual/stdio.texi (__fpending): Separate initial words of
41198         paragraph from @deftypefun line.
41199         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41200         "...".
41201         (vsyslog): Use @var{} on parameter names.
41202         * manual/terminal.texi (stty): Use @var{} on parameter names.
41203         * manual/users.texi (getutmp): Use @var{} on parameter names.
41204         (getutmpx): Likewise.
41206 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41208         [BZ #6884]
41209         * manual/stdio.texi (fopen): Fix typos in description of
41210         ",ccs=STRING".
41212 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41214         [BZ #4026]
41215         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41216         get clock_id definition.
41218 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41220         [BZ #4822]
41221         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41222         (madvise): Cast every argument to void on its own.
41224 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41226         [BZ #9902]
41227         * manual/startup.texi (Exit Status): Fix typo.
41229 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41231         [BZ #10140]
41232         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41233         * manual/examples/argp-ex2.c: Likewise.
41234         * manual/examples/argp-ex3.c: Likewise.
41236 2012-02-16  Richard Henderson  <rth@redhat.com>
41238         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41239         * sysdeps/s390/s390-32/initfini.c: Remove.
41240         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41241         * sysdeps/s390/s390-64/initfini.c: Remove.
41243 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41245         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41246         compiler output for sysdeps/generic/initfini.c.
41247         * sysdeps/sh/elf/initfini.c: Remove file.
41249 2012-02-16  David S. Miller  <davem@davemloft.net>
41251         [BZ #11494]
41252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41254         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41255         * sysdeps/sparc/crti.S: New file.
41256         * sysdeps/sparc/crtn.S: New file.
41257         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41258         * sysdeps/sparc/sparc64/Makefile: Likewise.
41260 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41262         [BZ #3335]
41263         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41265 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41267         [BZ #4822]
41268         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41270         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41271         (write, read, close): Likewise.
41272         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41274 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41276         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41277         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41278         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41279         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41280         <bits/signalfd.h>.
41281         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41282         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41283         bits/signalfd.h.
41285 2012-02-14  Marek Polacek  <polacek@redhat.com>
41287         * sysdeps/x86_64/crti.S: New file.
41288         * sysdeps/x86_64/crtn.S: New file.
41289         * sysdeps/x86_64/elf/initfini.c: Remove file.
41291 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41293         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41294         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41295         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41296         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41297         <bits/inotify.h>.
41298         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41300         bits/inotify.h.
41302 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41304         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41305         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41306         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41307         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41308         <bits/eventfd.h>.
41309         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41311         bits/eventfd.h.
41313 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41315         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41316         __feraiseexcept instead of feraiseexcept.
41318         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41319         nanosleep invocations.
41320         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41321         strings, and add error checking for a nanosleep invocations.
41323 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41325         Replace FSF snail mail address with URLs, as per GNU coding standards.
41326         Most of the snail mail addresses were wrong anyway, and omitting
41327         them makes the source code easier to maintain.  Almost all of the
41328         changes are to license notices and to locale LC_IDENTIFICATION
41329         addresses, except for this one:
41330         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41331         not its snail mail address.
41333 2012-02-09  Richard Henderson  <rth@twiddle.net>
41335         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41336         of kernel-features.h.
41338         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41340 2012-02-08  Marek Polacek  <polacek@redhat.com>
41342         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41343         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41344         * sysdeps/gnu/_G_config.h: Likewise.
41345         * sysdeps/generic/_G_config.h: Likewise.
41347 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41349         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41350         tests.
41351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41353         * sysdeps/powerpc/powerpc32/crti.S: New file.
41354         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41355         * sysdeps/powerpc/powerpc64/crti.S: New file.
41356         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41358         * Makeconfig (have-initfini): Don't set.
41359         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41360         * configure.in (nopic_initfini): Don't substitute.
41361         * config.h.in (HAVE_INITFINI): Don't #undef.
41362         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41363         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41365 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41367         Support crti.S and crtn.S provided directly by architectures.
41368         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41369         [crti.S in sysdirs] (omit-deps): Likewise.
41370         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41371         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41372         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41373         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41374         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41375         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41376         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41377         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41378         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41379         compiler output for sysdeps/generic/initfini.c.
41380         * sysdeps/i386/elf/Makefile: Remove file.
41381         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41383 2012-02-07  Marek Polacek  <polacek@redhat.com>
41385         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41386         * sysdeps/gnu/_G_config.h: Likewise.
41387         * sysdeps/mach/hurd/_G_config.h: Likewise.
41389 2012-02-07  Marek Polacek  <polacek@redhat.com>
41391         * math/Makefile (tests): Add tst-CMPLX2.
41392         * math/tst-CMPLX2.c: New file.
41394 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41396         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41398         * math/libm-test.inc (jn_test): Add missing L suffix.
41400 2012-02-06  Marek Polacek  <polacek@redhat.com>
41402         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41403         * sysdeps/i386/fpu/e_powf.S: Likewise.
41404         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41405         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41406         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41407         * sysdeps/i386/fpu/e_pow.S: Likewise.
41408         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41409         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41410         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41411         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41412         * sysdeps/i386/fpu/e_log2.S: Likewise.
41413         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41414         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41415         * sysdeps/i386/fpu/e_powl.S: Likewise.
41416         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41417         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41418         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41419         * sysdeps/i386/fpu/e_logl.S: Likewise.
41420         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41421         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41422         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41423         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41424         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41425         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41426         * sysdeps/i386/fpu/e_log.S: Likewise.
41427         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41428         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41429         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41430         * sysdeps/i386/fpu/e_logf.S: Likewise.
41431         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41432         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41433         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41434         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41435         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41436         * sysdeps/i386/fpu/e_log10.S: Likewise.
41437         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41438         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41439         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41440         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41441         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41442         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41443         * sysdeps/i386/asm-syntax.h: Likewise.
41444         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41445         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41446         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41447         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41448         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41449         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41450         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41451         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41452         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41453         * sysdeps/powerpc/sysdep.h: Likewise.
41454         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41455         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41457 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41459         [BZ #411]
41460         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41462 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41464         * sysdeps/i386/sysdep.h: Include <features.h>.
41465         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41466         version.
41468 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41470         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41471         Define.
41472         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41473         LOAD_PIC_REG_STR.
41475 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41477         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41478         (SETUP_PIC_REG): Use GET_PC_THUNK.
41479         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41480         macro.
41482 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41484         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41485         for non-PIC compilation.
41486         (SETUP_PIC_REG): Add .p2align directive.
41487         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41488         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41489         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41490         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41491         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41492         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41493         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41494         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41495         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41496         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41497         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41498         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41499         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41500         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41501         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41502         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41503         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41504         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41505         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41506         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41507         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41508         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41509         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41510         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41511         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41512         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41513         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41514         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41515         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41516         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41517         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41518         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41519         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41520         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41521         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41522         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41523         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41524         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41525         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41526         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41527         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41529 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41531         * math/tst-CMPLX.c: Include <stdio.h>.
41533 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41535         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41536         float.
41537         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41538         * sysdeps/sparc/bits/mathdef.h: Likewise.
41540 2012-01-31  Marek Polacek  <polacek@redhat.com>
41542         * libio/libio.h: Don't define _PARAMS.
41543         * locale/programs/config.h: Don't define PARAMS.
41544         * stdlib/strtol_l.c: Likewise.
41545         (__strtol_l): Remove PARAMS from the prototype.
41547 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41549         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41550         names.  Just use the correct names.  Remove unnecessary wrapper
41551         functions.
41552         * malloc/arena.c: Likewise.
41553         * malloc/hooks.c: Likewise.
41555         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41556         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41557         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41559 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41561         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41562         into tail calls.
41563         (update_get_addr): New function.
41564         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41565         GET_ADDR_MODULE parameter.
41567 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41569         * crypt/cert.c: Remove __STDC__ conditionals.
41570         * crypt/crypt-entry.c: Likewise.
41571         * crypt/crypt_util.c: Likewise.
41572         * libio/filedoalloc.c: Likewise.
41573         * libio/fileops.c: Likewise.
41574         * libio/genops.c: Likewise.
41575         * libio/iofclose.c: Likewise.
41576         * libio/iofdopen.c: Likewise.
41577         * libio/iofopen.c: Likewise.
41578         * libio/iofopen64.c: Likewise.
41579         * libio/iogetdelim.c: Likewise.
41580         * libio/iopopen.c: Likewise.
41581         * libio/obprintf.c: Likewise.
41582         * libio/oldfileops.c: Likewise.
41583         * libio/oldiofclose.c: Likewise.
41584         * libio/oldiofdopen.c: Likewise.
41585         * libio/oldiofopen.c: Likewise.
41586         * libio/oldiopopen.c: Likewise.
41587         * libio/wfiledoalloc.c: Likewise.
41588         * libio/wgenops.c: Likewise.
41589         * locale/programs/xmalloc.c: Likewise.
41590         * misc/syslog.c: Likewise.
41591         * stdio-common/xbug.c: Likewise.
41592         * string/memchr.c: Likewise.
41593         * string/memcmp.c: Likewise.
41594         * string/memrchr.c: Likewise.
41595         * string/rawmemchr.c: Likewise.
41596         * sysdeps/posix/getcwd.c: Likewise.
41597         * time/strftime_l.c: Likewise.
41599 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41601         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41602         * config.make.in (config-cflags-sse2avx): Define.
41603         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41604         Fix typo.
41606 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41608         * scripts/config.guess: Update from upstream config git repository.
41609         * scripts/config.sub: Likewise.
41611 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41613         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41614         (EM_NUM): Update.
41615         (R_TILEPRO_*, R_TILEGX_*): New macros.
41617         * scripts/firstversions.awk: Fix bug in version range handling.
41619         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41621         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41623         * include/sys/epoll.h: New file.
41624         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41625         libc_hidden_def.
41627 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41629         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41630         Avoid unnecessary __WORDSIZE == 64 test.
41631         (fmaxf): Use VEX format if possible.
41632         (fmax): Likewise.
41633         (fminf): Likewise.
41634         (fmin): Likewise.
41636         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41637         * math/math_private.h: Remove libc_fegetround* and
41638         libc_fesetround*.
41639         * sysdeps/i386/configure.in: Check for -msse2avx.
41640         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41641         also if SSE2AVX is defined.
41642         Remove libc_fegetround* and libc_fesetround*.
41643         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41644         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41646         of HAS_YMM_USABLE.
41647         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41648         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41649         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41650         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41651         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41653         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41655 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41657         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41658         size is not set.
41659         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41661 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41663         [BZ #13618]
41664         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41665         relocation.
41666         * Makeconfig (libm): Define.
41667         * elf/Makefile: Add rules to build and run tst-relsort1.
41668         * elf/tst-relsort1.c: New file.
41669         * elf/tst-relsort1mod1.c: New file.
41670         * elf/tst-relsort1mod2.c: New file.
41672 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41674         * math/s_ldexp.c: Remove __STDC__ conditionals.
41675         * math/s_ldexpf.c: Likewise.
41676         * math/s_ldexpl.c: Likewise.
41677         * math/s_nextafter.c: Likewise.
41678         * math/s_nexttowardf.c: Likewise.
41679         * math/s_significand.c: Likewise.
41680         * math/s_significandf.c: Likewise.
41681         * math/s_significandl.c: Likewise.
41682         * math/w_jnl.c: Likewise.
41683         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41684         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41685         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41686         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41687         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41688         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41689         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41690         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41691         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41692         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41693         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41694         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41695         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41696         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41697         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41698         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41699         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41700         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41701         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41702         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41703         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41704         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41705         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41706         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41707         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41708         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41709         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41710         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41711         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41712         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41713         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41714         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41715         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41716         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41717         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41718         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41719         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41720         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41721         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41722         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41723         * sysdeps/ieee754/k_standard.c: Likewise.
41724         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41725         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41726         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41727         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41728         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41729         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41730         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41731         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41732         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41733         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41734         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41735         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41736         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41737         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41738         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41739         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41740         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41741         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41742         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41743         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41744         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41745         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41746         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41747         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41748         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41749         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41750         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41753         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41754         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41755         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41756         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41757         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41758         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41759         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41760         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41762         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41763         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41764         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41765         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41766         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41767         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41768         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41769         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41771         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41772         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41773         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41774         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41775         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41776         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41777         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41778         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41779         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41780         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41781         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41782         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41783         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41784         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41785         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41786         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41787         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41788         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41789         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41790         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41791         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41792         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41793         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41794         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41795         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41796         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41797         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41798         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41799         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41800         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41801         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41802         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41803         * sysdeps/ieee754/s_matherr.c: Likewise.
41804         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41805         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41806         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41807         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41809 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41811         * crypt/md5.h: Remove __STDC__ conditionals.
41812         * libio/libioP.h: Likewise.
41813         * locale/programs/config.h: Likewise.
41814         * sysdeps/generic/sysdep.h: Likewise.
41815         * sysdeps/i386/asm-syntax.h: Likewise.
41816         * sysdeps/s390/asm-syntax.h: Likewise.
41817         * sysdeps/unix/sysdep.h: Likewise.
41818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41821 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41823         * libio/libio.h: Remove __STDC__ conditionals.
41824         * malloc/obstack.h: Likewise.
41825         * math/complex.h: Likewise.
41826         * math/math.h: Likewise.
41827         * sysdeps/generic/_G_config.h: Likewise.
41828         * sysdeps/gnu/_G_config.h: Likewise.
41829         * sysdeps/mach/hurd/_G_config.h: Likewise.
41830         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41831         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41832         * sysdeps/sparc/bits/mathdef.h: Likewise.
41834 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41836         [BZ #13583]
41837         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41838         Clean up HAS_* macros.
41839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41840         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41841         possible.
41842         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41843         HAS_AVX.
41844         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41845         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41846         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41847         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41848         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41850 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41852         * elf/tst-unique3.cc (gets): Remove declaration.
41853         * elf/tst-unique3lib.cc (gets): Likewise.
41854         * elf/tst-unique3lib2.cc (gets): Likewise.
41855         * elf/tst-unique4.cc (gets): Likewise.
41857 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41859         * include/stdio.h: Add C++ protection.  Add gets declarations and
41860         definitions.
41861         * debug/tst-chk1.c: Don't declare gets here.
41862         * stdio-common/tst-gets.c: Likewise.
41864 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41866         * posix/glob: Remove directory.
41868 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41870         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41872 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41874         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41875         of the non-standard EPFNOSUPPORT.
41877 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41879         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41880         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41881         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41883 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41885         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41887 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41889         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41890         transient errors.
41891         * nscd/grpcache.c (cache_addgr): Likewise.
41892         * nscd/hstcache.c (cache_addhst): Likewise.
41893         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41894         * nscd/pwdcache.c (cache_addpw): Likewise.
41895         * nscd/servicescache.c (cache_addserv): Likewise.
41897 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41899         * malloc/malloc.c: Various cleanups.
41900         * malloc/hooks.c: Likewise.
41902         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41903         * stdlib/bug-fmtmsg1.c: New file.
41905         * stdlib/fmtmsg.c (init): Add missing unlock.
41906         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41908 2012-01-12  Marek Polacek  <polacek@redhat.com>
41910         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41911         and _GNU_SOURCE.
41913 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41915         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41916         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41917         macro to ensure uniqueness of label name.
41918         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41919         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41921 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41923         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41925         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41926         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41927         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41928         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41930 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41932         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41934         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41935         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41936         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41938         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41940         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41941         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41942         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41943         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41945         * math/bits/math-finite.h: Add ldexp support.
41947 2012-01-10  Marek Polacek  <polacek@redhat.com>
41949         * locale/programs/localedef.h (show_archive_content): Add noreturn
41950         attribute.
41952 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41954         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41956 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41958         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41960         * io/Makefile (headers): Add bits/poll2.h.
41962 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41965         typo #include statement.
41967 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41969         * include/sys/cdefs.h: Define __attribute_alloc_size.
41970         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41971         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41972         * elf/pldd.c: Likewise.
41973         * iconv/iconv_charmap.c: Likewise.
41974         * iconv/iconvconfig.c: Likewise.
41975         * iconv/strtab.c: Likewise.
41976         * locale/programs/locale.c: Likewise.
41977         * locale/programs/localedef.h: Likewise.
41978         * locale/programs/simple-hash.c: Likewise.
41979         * nscd/nscd.h: Likewise.
41980         * nss/makedb.c: Likewise.
41981         * sysdeps/generic/ldconfig.h: Likewise.
41982         * locale/programs/localedef.c: Remove xmalloc prototype.
41983         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41985 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41987         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41988         appropriate.
41990 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41992         * math/Makefile (tests): Add tst-CMPLX.
41993         * math/tst-CMPLX.c: New file.
41995         * math/complex.h (CMPLXL): Fix typo.
41997         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41998         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41999         GLIBC_2.16.
42000         * debug/tst-chk1.c: Add poll and ppoll tests.
42001         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42002         * include/sys/poll.h: Add hidden proto for ppoll.
42003         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42004         * sysdeps/mach/hurd/ppoll.c: Likewise.
42005         * io/ppoll.c: Likewise.
42006         * debug/poll_chk.c: New file.
42007         * debug/ppoll_chk.c: New file.
42008         * include/bits/poll2.h: New file.
42009         * io/bits/poll2.h: New file.
42011         [BZ #1350]
42012         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42014         * configure.in: static is always set to yes.  Remove.
42015         * config.make.in: Don't set build-static.
42016         * Makeconfig: Remove use of build-static.
42017         * dlfcn/Makefile: Likewise.
42018         * elf/Makefile: Likewise.
42019         * math/Makefile: Likewise.
42020         * misc/Makefile: Likewise.
42021         * nptl/Makefile: Likewise.
42022         * sysdeps/mach/hurd/Makefile: Likewise.
42024         * configure.in: PWD_P is not used anymore.
42025         * config.make.in: Remove PWD_P entry.
42027         * configure.in: Remove last remnants of RANLIB.
42028         No need to check for signed size_t anymore.
42029         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42030         and IA-64.
42031         Remove __builtin_expect test because we require at least gcc 3.4.
42032         * aclocal.m4: Likewise.
42034         * wcsmbs/mbrtoc16.c: Implement using towc function.
42035         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42036         * wcsmbs/wcsmbsload.c: Likewise.
42037         * iconv/gconv_simple.c: Likewise.
42038         * iconv/gconv_int.h: Likewise.
42039         * iconv/gconv_builtin.h: Likewise.
42040         * iconv/iconv_prog.c: Remove CHAR16 handling.
42042         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42044         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42046         * configure.in: Remove --with-elf and --enable-bounded options.
42047         Dont set base_machine for ia64.  More non-ELF conditions removed.
42048         Remove testing and setting of leading underscore information.
42049         * config.make.in (build-bounded): Set to no.
42050         * config.h.in: Remove NO_UNDERSCORES entry.
42051         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42052         them.
42053         * csu/start.c: Remove !NO_UNDERSCORE code.
42054         * locale/localeinfo.h: Likewise.
42055         * sysdeps/generic/machine-gmon.h: Likewise.
42056         * sysdeps/generic/sysdep.h: Likewise.
42057         * sysdeps/i386/sysdep.h: Likewise.
42058         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42059         * sysdeps/mach/sysdep.h: Likewise.
42060         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42061         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42062         * sysdeps/sh/sysdep.h: Likewise.
42063         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42064         * sysdeps/unix/i386/sysdep.S: Likewise.
42065         * sysdeps/unix/sparc/start.c: Likewise.
42066         * sysdeps/unix/sparc/sysdep.S: Likewise.
42067         * sysdeps/unix/sparc/sysdep.h: Likewise.
42068         * sysdeps/unix/start.c: Likewise.
42069         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42070         * sysdeps/x86_64/sysdep.h: Likewise.
42072 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42074         [BZ #13553]
42075         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42076         for non-gcc.
42077         * argp/argp-fmtstream.h: Use const instead __const.
42078         * argp/argp.h: Likewise.
42079         * assert/assert.h: Likewise.
42080         * bits/fenv.h: Likewise.
42081         * bits/sched.h: Likewise.
42082         * bits/sigset.h: Likewise.
42083         * bits/sigthread.h: Likewise.
42084         * catgets/nl_types.h: Likewise.
42085         * conform/data/pthread.h-data: Likewise.
42086         * crypt/crypt-private.h: Likewise.
42087         * crypt/crypt.h: Likewise.
42088         * crypt/crypt_util.c: Likewise.
42089         * ctype/ctype.h: Likewise.
42090         * debug/execinfo.h: Likewise.
42091         * debug/mbsnrtowcs_chk.c: Likewise.
42092         * debug/mbsrtowcs_chk.c: Likewise.
42093         * debug/wcsnrtombs_chk.c: Likewise.
42094         * debug/wcsrtombs_chk.c: Likewise.
42095         * debug/wcstombs_chk.c: Likewise.
42096         * dirent/dirent.h: Likewise.
42097         * dlfcn/dlfcn.h: Likewise.
42098         * elf/neededtest4.c: Likewise.
42099         * grp/grp.h: Likewise.
42100         * gshadow/gshadow.h: Likewise.
42101         * iconv/gconv.h: Likewise.
42102         * iconv/gconv_int.h: Likewise.
42103         * iconv/gconv_simple.c: Likewise.
42104         * iconv/iconv.h: Likewise.
42105         * iconv/loop.c: Likewise.
42106         * iconv/skeleton.c: Likewise.
42107         * include/aio.h: Likewise.
42108         * include/aliases.h: Likewise.
42109         * include/argz.h: Likewise.
42110         * include/arpa/inet.h: Likewise.
42111         * include/assert.h: Likewise.
42112         * include/dirent.h: Likewise.
42113         * include/dlfcn.h: Likewise.
42114         * include/execinfo.h: Likewise.
42115         * include/fcntl.h: Likewise.
42116         * include/fenv.h: Likewise.
42117         * include/glob.h: Likewise.
42118         * include/grp.h: Likewise.
42119         * include/libintl.h: Likewise.
42120         * include/mntent.h: Likewise.
42121         * include/netdb.h: Likewise.
42122         * include/pwd.h: Likewise.
42123         * include/rpc/netdb.h: Likewise.
42124         * include/sched.h: Likewise.
42125         * include/search.h: Likewise.
42126         * include/shadow.h: Likewise.
42127         * include/signal.h: Likewise.
42128         * include/stdio.h: Likewise.
42129         * include/stdlib.h: Likewise.
42130         * include/string.h: Likewise.
42131         * include/sys/socket.h: Likewise.
42132         * include/sys/stat.h: Likewise.
42133         * include/sys/statfs.h: Likewise.
42134         * include/sys/statvfs.h: Likewise.
42135         * include/sys/syslog.h: Likewise.
42136         * include/sys/time.h: Likewise.
42137         * include/sys/uio.h: Likewise.
42138         * include/time.h: Likewise.
42139         * include/unistd.h: Likewise.
42140         * include/utmp.h: Likewise.
42141         * include/wchar.h: Likewise.
42142         * include/wctype.h: Likewise.
42143         * inet/aliases.h: Likewise.
42144         * inet/arpa/inet.h: Likewise.
42145         * inet/netinet/ether.h: Likewise.
42146         * inet/netinet/in.h: Likewise.
42147         * intl/libintl.h: Likewise.
42148         * io/bits/fcntl2.h: Likewise.
42149         * io/fcntl.h: Likewise.
42150         * io/ftw.h: Likewise.
42151         * io/sys/poll.h: Likewise.
42152         * io/sys/stat.h: Likewise.
42153         * io/sys/statfs.h: Likewise.
42154         * io/sys/statvfs.h: Likewise.
42155         * io/utime.h: Likewise.
42156         * libio/bits/stdio.h: Likewise.
42157         * libio/bits/stdio2.h: Likewise.
42158         * libio/libio.h: Likewise.
42159         * libio/libioP.h: Likewise.
42160         * libio/stdio.h: Likewise.
42161         * locale/lc-ctype.c: Likewise.
42162         * locale/locale.h: Likewise.
42163         * login/utmp.h: Likewise.
42164         * malloc/arena.c: Likewise.
42165         * malloc/malloc.c: Likewise.
42166         * malloc/malloc.h: Likewise.
42167         * malloc/mcheck.c: Likewise.
42168         * malloc/mtrace.c: Likewise.
42169         * math/bits/mathcalls.h: Likewise.
42170         * math/fenv.h: Likewise.
42171         * math/math_private.h: Likewise.
42172         * misc/bits/error.h: Likewise.
42173         * misc/bits/syslog.h: Likewise.
42174         * misc/err.h: Likewise.
42175         * misc/error.h: Likewise.
42176         * misc/fstab.h: Likewise.
42177         * misc/mntent.h: Likewise.
42178         * misc/regexp.h: Likewise.
42179         * misc/search.h: Likewise.
42180         * misc/sgtty.h: Likewise.
42181         * misc/sys/mman.h: Likewise.
42182         * misc/sys/syslog.h: Likewise.
42183         * misc/sys/uio.h: Likewise.
42184         * misc/sys/xattr.h: Likewise.
42185         * misc/ttyent.h: Likewise.
42186         * nis/rpcsvc/ypclnt.h: Likewise.
42187         * nss/nss.h: Likewise.
42188         * posix/bits/unistd.h: Likewise.
42189         * posix/fnmatch.h: Likewise.
42190         * posix/glob.h: Likewise.
42191         * posix/sched.h: Likewise.
42192         * posix/spawn.h: Likewise.
42193         * posix/sys/wait.h: Likewise.
42194         * posix/unistd.h: Likewise.
42195         * posix/wordexp.h: Likewise.
42196         * pwd/pwd.h: Likewise.
42197         * resolv/netdb.h: Likewise.
42198         * resource/sys/resource.h: Likewise.
42199         * rt/aio.h: Likewise.
42200         * rt/bits/mqueue2.h: Likewise.
42201         * rt/mqueue.h: Likewise.
42202         * shadow/shadow.h: Likewise.
42203         * signal/signal.h: Likewise.
42204         * socket/send.c: Likewise.
42205         * socket/sendto.c: Likewise.
42206         * socket/sys/socket.h: Likewise.
42207         * stdio-common/printf.h: Likewise.
42208         * stdlib/bits/stdlib.h: Likewise.
42209         * stdlib/fmtmsg.h: Likewise.
42210         * stdlib/monetary.h: Likewise.
42211         * stdlib/stdlib.h: Likewise.
42212         * stdlib/ucontext.h: Likewise.
42213         * streams/stropts.h: Likewise.
42214         * string/argz.h: Likewise.
42215         * string/bits/string2.h: Likewise.
42216         * string/string.h: Likewise.
42217         * string/strings.h: Likewise.
42218         * sunrpc/rpc/auth.h: Likewise.
42219         * sunrpc/rpc/auth_des.h: Likewise.
42220         * sunrpc/rpc/clnt.h: Likewise.
42221         * sunrpc/rpc/netdb.h: Likewise.
42222         * sunrpc/rpc/pmap_clnt.h: Likewise.
42223         * sunrpc/rpc/xdr.h: Likewise.
42224         * sysdeps/generic/inttypes.h: Likewise.
42225         * sysdeps/generic/net/if.h: Likewise.
42226         * sysdeps/generic/sys/swap.h: Likewise.
42227         * sysdeps/gnu/net/if.h: Likewise.
42228         * sysdeps/gnu/utmpx.h: Likewise.
42229         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42230         * sysdeps/i386/i486/bits/string.h: Likewise.
42231         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42232         * sysdeps/s390/bits/string.h: Likewise.
42233         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42234         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42235         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42236         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42237         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42238         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42239         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42240         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42241         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42242         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42243         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42244         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42245         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42246         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42247         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42248         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42249         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42251         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42252         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42253         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42254         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42255         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42256         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42257         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42258         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42259         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42260         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42261         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42262         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42263         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42264         * sysvipc/sys/ipc.h: Likewise.
42265         * sysvipc/sys/msg.h: Likewise.
42266         * sysvipc/sys/sem.h: Likewise.
42267         * sysvipc/sys/shm.h: Likewise.
42268         * termios/termios.h: Likewise.
42269         * time/sys/time.h: Likewise.
42270         * time/time.h: Likewise.
42271         * wcsmbs/bits/wchar2.h: Likewise.
42272         * wcsmbs/uchar.h: Likewise.
42273         * wcsmbs/wchar.h: Likewise.
42274         * wctype/wctype.h: Likewise.
42276         [BZ #13551]
42277         * Makeconfig: Remove all but ELF support including AIX support.
42278         * Makerules: Likewise.
42279         * config.h.in: Likewise.
42280         * config.make.in: Likewise.
42281         * configure: Likewise.
42282         * configure.in: Likewise.
42283         * csu/Makefile: Likewise.
42284         * csu/version.c: Likewise.
42285         * debug/Makefile: Likewise.
42286         * dlfcn/Makefile: Likewise.
42287         * elf/Makefile: Likewise.
42288         * extra-lib.mk: Likewise.
42289         * iconv/Makefile: Likewise.
42290         * include/libc-symbols.h: Likewise.
42291         * include/shlib-compat.h: Likewise.
42292         * resolv/Makefile: Likewise.
42293         * resolv/res_libc.c: Likewise.
42294         * rt/Makefile: Likewise.
42295         * sysdeps/i386/asm-syntax.h: Likewise.
42296         * sysdeps/i386/sysdep.h: Likewise.
42297         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42298         * sysdeps/mach/sysdep.h: Likewise.
42299         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42300         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42301         * sysdeps/s390/asm-syntax.h: Likewise.
42302         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42303         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42304         * sysdeps/sh/sysdep.h: Likewise.
42305         * sysdeps/unix/sparc/sysdep.h: Likewise.
42306         * sysdeps/wordsize-32/divdi3.c: Likewise.
42307         * sysdeps/x86_64/sysdep.h: Likewise.
42309         * argp/Versions: Remove _argp_unlock_xxx.
42311         [BZ #13559]
42312         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42313         * abilist/libBrokenLocale.abilist: Likewise.
42314         * abilist/libanl.abilist: Likewise.
42315         * abilist/libc.abilist: Likewise.
42316         * abilist/libcrypt.abilist: Likewise.
42317         * abilist/libdl.abilist: Likewise.
42318         * abilist/libm.abilist: Likewise.
42319         * abilist/libnsl.abilist: Likewise.
42320         * abilist/libpthread.abilist: Likewise.
42321         * abilist/libresolv.abilist: Likewise.
42322         * abilist/librt.abilist: Likewise.
42323         * abilist/libthread_db.abilist: Likewise.
42324         * abilist/libutil.abilist: Likewise.
42325         * abilist/libnss_db.abilist: New file.
42327         * scripts/abilist.awk: Add support for indirect functions.
42329         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42331         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42333         * shlib-versions: Remove entries for ports architectures.
42335         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42336         files in ports.
42337         * elf/stackguard-macros.h: Remove support for IA-64.
42338         * elf/tst-auditmod1.c: Likewise.
42339         * sysdeps/generic/ldsodefs.h: Likewise.
42341         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42342         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42343         configure files.
42345         [BZ #13552]
42346         * configure.in: Remove --enable-omitfp support.
42347         * FAQ.in: Adjust.
42348         * config.make.in: Likewise.
42349         * Makeconfig: Likewise.
42350         * manual/install.texi: Likewise.
42352         In case anyone cares, the IA-64 architecture could move to ports.
42353         * sysdeps/ia64/*: Removed.
42354         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42355         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42357         [BZ #13555]
42358         * configure.in: Remove entries for unsupported architectures.
42360         [BZ #13533]
42361         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42362         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42363         routines.
42364         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42365         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42366         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42367         fall back to using wcrtomb.
42368         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42369         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42370         renaming.
42371         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42372         * wcsmbs/tst-c16c32-1.c: New file.
42374         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42375         local variable.
42377         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42379         * elf/tst-unique3.cc: Add explicit declaration of gets.
42380         * elf/tst-unique3lib.cc: Likewise.
42381         * elf/tst-unique3lib2.cc: Likewise.
42382         * elf/tst-unique4.cc: Likewise.
42384         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42386 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42388         [BZ #13566]
42389         * assert/assert.h (static_assert): Don't define for C++.
42390         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42391         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42393 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42395         * iconv/loop.c (single loop): Fix assertion in storing of
42396         remaining bytes.
42398         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42400 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42402         * posix/getconf.c: Update copyright year.
42403         * nss/getent.c: Likewise.
42404         * nss/makedb.c: Likewise.
42405         * iconv/iconvconfig.c: Likewise.
42406         * iconv/iconv_prog.c: Likewise.
42407         * elf/ldconfig.c: Likewise.
42408         * elf/pldd.c: Likewise.
42409         * elf/sotruss.ksh: Likewise.
42410         * catgets/gencat.c: Likewise.
42411         * csu/version.c: Likewise.
42412         * elf/ldd.bash.in: Likewise.
42413         * elf/sprof.c (print_version): Likewise.
42414         * locale/programs/locale.c: Likewise.
42415         * locale/programs/localedef.c: Likewise.
42416         * login/programs/pt_chown.c: Likewise.
42417         * nscd/nscd.c (print_version): Likewise.
42418         * debug/xtrace.sh: Likewise.
42419         * malloc/memusage.sh: Likewise.
42420         * malloc/mtrace.pl: Likewise.
42421         * debug/catchsegv.sh: Likewise.
42423 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42425         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42426         pure attribute.
42428 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42430         [BZ #13533]
42431         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42432         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42433         transformations.
42434         * iconv/gconv_int.h: Likewise.
42435         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42436         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42437         from libc for GLIBC_2.16.
42438         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42439         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42440         * wcsmbs/uchar.h: Really define mbstate_t.
42441         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42442         * wcsmbs/c16rtomb.c: New file.
42443         * wcsmbs/mbrtoc16.c: New file.
42444         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42445         for C/POSIX locale.
42446         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42447         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42449         * wcsmbs/wchar.h: Add missing __restrict.
42451 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42453         [BZ #13532]
42454         * time/Makefile (routines): Add timespec_get.
42455         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42456         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42457         timespec for ISO C11.
42458         * time/timespec_get.c: New file.
42459         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42460         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42462         [BZ #13531]
42463         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42464         * stdlib/stdlib.h: Declare aligned_alloc.
42465         * Versions.def: Add GLIBC_2.16 for libc.
42466         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42468         [BZ 13527]
42469         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42470         ISO C11.
42472         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42473         code.
42475         [BZ #13528]
42476         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42478         [BZ #13529]
42479         * assert/assert.h (static_assert): Define.
42481         * version.h: Update for 2.16 development version.
42483         [BZ #13526]
42484         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42485         _ISOC11_SOURCE.
42487         * version.h (RELEASE): Bump for 2.15 release.
42488         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42490         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42491         Patch by Marek Polacek <mpolacek@redhat.com>.
42493         * bits/byteswap.h: Protect long long constants with __extension__.
42494         * sysdeps/i386/bits/byteswap.h: Likewise.
42495         * sysdeps/ia64/bits/byteswap.h: Likewise.
42496         * sysdeps/s390/bits/byteswap.h: Likewise.
42497         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42499 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42501         [BZ #13540]
42502         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42503         destination buffer.
42504         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42506 2011-12-23  Marek Polacek  <polacek@redhat.com>
42508         * elf/dl-addr.c (determine_info): Add inline keyword.
42509         * elf/tst-auditmod4b.c (check_avx): Likewise.
42510         * elf/tst-auditmod6b.c (check_avx): Likewise.
42511         * elf/tst-auditmod6c.c (check_avx): Likewise.
42512         * elf/tst-auditmod7b.c (check_avx): Likewise.
42514 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42516         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42517         !__SSE_MATH__.
42519 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42521         [BZ #13540]
42522         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42523         processing for last bytes.
42525 2011-08-06  Bruno Haible  <bruno@clisp.org>
42527         [BZ #13061]
42528         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42529         U+0385, not to U+1FEE.
42531         [BZ #13062]
42532         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42533         entry for U+00A5 U+0301.
42535 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42537         [BZ #13166]
42538         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42539         buffer for the output is too small.
42541         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42542         optimization.
42544         [BZ #13185]
42545         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42546         SSE flags if possible.
42548 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42550         [BZ #13540]
42551         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42552         processing for last bytes.
42554 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42556         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42557         (syscall-list-default-options, syscall-list-default-condition)
42558         (syscall-list-includes): Define.
42559         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42560         list of ABIs and options and #if conditions for each ABI.  Do not
42561         handle common syscalls between ABIs specially.
42562         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42563         Remove.
42564         (syscall-list-variants, syscall-list-32bit-options)
42565         (syscall-list-32bit-condition, syscall-list-64bit-options)
42566         (syscall-list-64bit-condition): Define.
42567         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42568         (syscall-list-variants, syscall-list-32bit-options)
42569         (syscall-list-32bit-condition, syscall-list-64bit-options)
42570         (syscall-list-64bit-condition): Define.
42571         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42572         Remove.
42573         (syscall-list-variants, syscall-list-32bit-options)
42574         (syscall-list-32bit-condition, syscall-list-64bit-options)
42575         (syscall-list-64bit-condition): Define.
42576         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42577         Remove.
42578         (syscall-list-variants, syscall-list-32bit-options)
42579         (syscall-list-32bit-condition, syscall-list-64bit-options)
42580         (syscall-list-64bit-condition): Define.
42582 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42584         * locale/iso-639.def: Add brx entry.
42586         [BZ #13328]
42587         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42588         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42590         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42591         __feraiseexcept_renamed.
42593 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42595         [BZ #13538]
42596         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42597         EPOLLET with unsigned values.
42598         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42599         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42601         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42602         to large cancellation.
42603         * math/s_cacoshf.c: Likewise.
42604         * math/s_cacoshl.c: Likewise.
42606 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42608         [BZ #13305]
42609         [BZ #12786]
42610         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42611         * math/s_cacoshf.c: Likewise.
42612         * math/s_cacoshl.c: Likewise.
42614 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42616         [BZ #13439]
42617         * iconv/gconv.h: Define __GCONV_SWAP.
42618         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42619         * iconvdata/utf-16.c: Likewise.
42620         * iconvdata/utf-32.c: Likewise.
42622 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42624         [BZ #13524]
42625         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42626         numerator after shifting it by one limb.
42628 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42630         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42631         under [__USE_EXTERN_INLINES].
42633 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42635         [BZ #13446]
42636         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42638 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42640         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42641         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42642         optimized code.
42643         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42644         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42645         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42646         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42647         for strncasecmp/strncasecmp_l compilation.
42648         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42649         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42651 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42653         [BZ #13484]
42654         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42655         of __asm__.
42657 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42659         [BZ #13506]
42660         * time/tzfile.c (__tzfile_read): Check values from file header.
42662 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42664         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42665         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42666         * powerpc/powerpc32/dl-start.S: Likewise.
42667         * powerpc/powerpc32/elf/start.S: Likewise.
42668         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42669         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42670         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42671         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42672         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42673         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42674         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42675         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42676         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42677         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42678         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42679         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42680         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42681         * powerpc/powerpc32/memset.S: Likewise.
42682         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42683         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42684         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42685         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42686         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42687         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42688         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42689         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42690         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42691         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42692         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42693         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42694         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42696 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42698         * math/libm-test.inc: Added more nearbyint tests.
42699         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42700         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42701         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42702         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42704 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42706         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42707         FD_CLOEXEC.
42709 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42711         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42712         Add wcscpy-ssse3 wcscpy-c.
42713         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42714         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42715         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42716         * sysdeps/x86_64/wcschr.S: New file.
42717         * sysdeps/x86_64/wcsrchr.S: New file.
42718         * string/test-strcmp.c: Remove checking of wcscmp function for
42719         wrong alignments.
42720         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42721         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42722         wcsrchr-sse2 wcsrchr-c.
42723         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42724         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42725         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42726         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42727         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42728         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42729         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42730         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42731         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42732         * wcsmbc/wcschr.c (WCSCHR): New macro.
42734 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42736         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42737         * wcsmbs/test-wcsrchr.c: New file.
42738         * string/test-strrchr.c: Add wcsrchr support.
42739         (WIDE): New macro.
42740         * wcsmbs/test-wcscpy.c: New file.
42741         * string/test-strcpy.c: Add wcscpy support.
42742         (WIDE): New macro.
42744 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42746         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42747         the inner loop.
42749 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42751         [BZ #13472]
42752         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42754 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42756         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42757         Minor optimizations.
42759         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42760         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42761         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42763 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42765         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42766         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42767         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42768         for gcc to avoid warnings.
42769         * inet/Makefile (tests): Add tst-checks.
42770         * inet/tst-checks.c: New file.
42772         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42773         warning.
42775         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42776         __wmemcmp_sse2.
42778         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42779         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42781         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42783 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42785         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42786         problem.
42788         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42790 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42792         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42793         conditional on GCC version.
42794         (__arch_compare_and_exchange_val_8_acq)
42795         (__arch_compare_and_exchange_val_16_acq)
42796         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42797         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42798         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42800 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42802         * sysdeps/sh/backtrace.c: New file.
42804 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42806         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42807         parenthesis.
42809 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42811         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42812         falling back to utime.
42814 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42816         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42817         expectations for float.
42819 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42821         * locale/weight.h (findidx): Add parameter len.
42822         * locale/weightwc.h (findidx): Likewise.
42823         * posix/fnmatch_loop.c (FCT): Adjust caller.
42824         * posix/regcomp.c (build_equiv_class): Likewise.
42825         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42826         * posix/regexec.c (check_node_accept_bytes): Likewise.
42827         * string/strcoll_l.c (STRCOLL): Likewise.
42828         * string/strxfrm_l.c (STRXFRM): Likewise.
42830 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42832         * Makefile.in: Remove CVSOPT handling.
42833         * configure.in: Remove use of AC_REVISION.
42834         * iconvdata/Makefile (distribute): No need to filter out CVS.
42835         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42836         handling.
42838 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42841         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42842         [USE_AS_STRNCASECMP_L]: Likewise.
42843         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42844         NO_TLS_DIRECT_SEG_REFS.
42845         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42846         Fix argument offsets for non-PIC.
42847         [USE_AS_STRNCASECMP_L]: Likewise.
42848         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42849         NO_TLS_DIRECT_SEG_REFS.
42851 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42853         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42854         O_CLOEXEC.
42855         * locale/loadlocale.c (_nl_load_locale): Likewise.
42857 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42859         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42860         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42861         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42862         (SYSCALL_GETTIME): Set errno on error.
42864         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42865         count references to noai6ai_cached.
42867 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42869         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42871         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42872         FD_CLOEXEC for /proc/self/maps.
42874         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42875         FD_CLOEXEC for /proc/meminfo.
42877         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42878         gai.conf.
42880         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42881         FD_CLOEXEC for given file.
42883         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42885         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42886         FD_CLOEXEC for /etc/hosts.
42887         (_gethtent): Likewise.
42889         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42891         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42892         cancellation and set FD_CLOEXEC for /etc/netgroup.
42894         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42895         reading /etc/publickey.
42897         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42898         allow cancellation when reading /etc/group.
42900         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42901         cancellation.
42902         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42904         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42905         when using data file.
42907         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42909         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42910         (write_nis_obj): Use "c" and "e" in fopen.
42912         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42914         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42916         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42918         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42920         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42921         locale.alias.
42923         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42925         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42927         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42929         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42930         file parsing and set FD_CLOEXEC.
42932 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42934         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42936 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42938         * malloc/arena.c (arena_get2): Don't call reused_arena when
42939         _int_new_arena failed.
42941 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42943         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42944         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42945         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42946         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42947         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42948         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42949         to compile strcasecmp and strncasecmp.
42950         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42951         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42955 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42957         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42958         locale-defines.sym to gen-as-const-headers.
42959         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42960         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42961         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42962         to compile strcasecmp and strncasecmp.
42963         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42964         strcasecmp_l and strncasecmp_l.
42965         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42966         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42967         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42968         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42969         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42970         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42971         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42972         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42973         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42974         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42975         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42977 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42979         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42980         result of SYSDEP_GETTIME_CPU to retval.
42981         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42982         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42984         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42985         variable.
42987         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42988         mantissa words.
42989         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42991         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42992         from unused variable.
42994         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42995         DWARF definitions.
42996         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42997         for assembling.
42999         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43000         over namespaces.
43002         * sunrpc/rpc_prot.c (rejected): Fix case value.
43004         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43005         unsigned long long int to avoid warnings in shift.
43007         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43008         of use of trans.
43009         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43010         variable tmp.
43012         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43013         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43014         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43016         * nis/nis_table.c (nis_list): Use variable of correct type for
43017         result of __follow_path call.
43019 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43021         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43022         of math functions ceil, trunc, floor, round, and sqrt, when
43023         avaliable on the platform.
43024         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43025         name clash.
43026         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43027         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43028         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43030 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43032         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43033         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43035 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43037         * include/unistd.h: Fix __readlink return type.
43038         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43040 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43042         * stdlib/ucontext.h: Undo last change for makecontext.
43044 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43046         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43048         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43049         * setjmp/setjmp.h: Mark functions as non-leaf.
43050         * setjmp/bits/setjmp2.h: Likewise.
43051         * stdlib/ucontext.h: Likewise.
43053 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43055         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43056         (reused_arena): Don't check arena limit.
43057         (arena_get2): Atomically check arena limit.
43059 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43061         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43062         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43065         instructions.
43067 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43069         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43070         handler when locking.
43072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43073         Fix size of allocated buffer.
43075 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43077         [BZ #10103]
43078         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43079         declarations for long double functions.
43080         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43082         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43084 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43086         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43087         installed.
43089         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43090         is disabled.
43092 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43094         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43096 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43098         * include/alloca.h (stackinfo_alloca_round): Define.
43099         (extend_alloca): Use it.
43100         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43101         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43102         here.
43104         * scripts/check-local-headers.sh: Ignore libaudit.h.
43106         * nscd/Makefile (extra-objs): Make recursively expanded.
43108 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43110         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43111         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43113         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43114         * posix/tst-rfc3484-2.c: Likewise.
43115         * posix/tst-rfc3484-3.c: Likewise.
43117         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43118         process_vm_writev.
43119         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43120         process_vm_writev.
43121         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43122         process_vm_writev from libc using GLIBC_2.15 version.
43124         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43126 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43128         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43129         stack usage.
43131 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43133         [BZ #13367]
43134         * nss/getent.c (initgroups_keys): Show error message in case no group
43135         names are given.
43137         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43138         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43139         __bump_nl_timestamp.
43140         * nscd/connections (nscd_init): When host database is served open
43141         netlink socket and request notification about configuration changes.
43142         (main_loop_poll): Track netlink file descriptor and bump timestamp
43143         in case data becomes available.
43144         (main_loop_epoll): Likewise.
43145         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43146         (database_pers_head): Add extra_data fileds.
43147         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43148         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43149         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43150         Adjust caller.
43151         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43152         in6ai data, call __free_in6ai.
43153         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43154         Add -DHAVE_NETLINK.
43155         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43156         interface information.  Reuse previous data if netlink timestamp
43157         is not changed.
43158         (__bump_nl_timestamp): New function.
43159         (__free_in6ai): New function.
43161 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43163         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43164         close_not_cancel_no_status here.
43165         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43167 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43169         [BZ #13276]
43170         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43171         return value.
43173         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43174         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43175         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43177 2011-07-03  Andreas Jaeger  <aj@suse.de>
43179         [BZ #10709]
43180         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43181         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43182         * math/libm-test.inc (sin_test): Add test case.
43184 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43186         [BZ #13337]
43187         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43188         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43190         * elf/chroot_canon.c (chroot_canon): Cleanups.
43192         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43194         [BZ #13335]
43195         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43196         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43198         * string/test-strchr.c: Make usable for strchrnul testing.
43199         * string/test-strchrnul.c: New file.
43200         * string/Makefile (strop-tests): Add strchrnul.
43202         * po/it.po: Update from translation team.
43203         * po/es.po: Likewise.
43205 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43207         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43208         the three constants needed as parameters.  Drop the others.
43209         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43210         __m128i_strloadu_tolower.
43211         Create and initialize variable zero and use it in all the places
43212         where _mm_setzero_si128 was used.
43214         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43215         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43216         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43217         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43218         anymore.
43219         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43220         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43221         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43222         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43223         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43224         __mpranred, __mptan.
43225         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43226         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43227         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43228         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43229         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43230         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43231         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43232         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43233         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43235 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43237         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43238         redefine if SHARED.
43239         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43242         wide char related routines to wcsmbs subdir.
43244 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43246         [BZ #13344]
43247         * misc/sys/cdefs.h (__THROWNL): Define.
43248         * posix/unistd.h: Use __THREADNL instead of __THREAD
43249         for memory synchronization functions.
43251 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43253         [BZ #13349]
43254         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43255         doesn't exist.
43256         * manual/stdio.texi (Obstack Streams): Node removed.
43258 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43260         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43261         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43262         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43264         * math/math_private.h (math_force_eval): Allow non-addressable
43265         arguments.
43266         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43268 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43270         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43271         file is not needed.
43273         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43274         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43275         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43276         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43277         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43278         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43279         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43280         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43281         Add AVX variants.
43282         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43283         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43284         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43285         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43286         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43287         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43288         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43289         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43290         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43291         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43292         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43293         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43294         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43295         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43296         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43297         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43298         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43299         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43300         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43302         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43303         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43305         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43306         place.  Use VEX encoding when compiling for AVX.
43308 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43310         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43311         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43313         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43315 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43317         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43318         useless if() expression.
43319         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43320         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43321         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43322         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43323         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43324         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43325         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43326         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43327         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43328         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43329         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43330         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43331         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43332         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43333         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43334         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43335         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43336         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43337         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43339         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43341 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43343         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43344         condition.
43345         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43347 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43349         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43350         .text section.  Avoid duplicate constants.
43351         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43353         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43354         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43355         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43356         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43358         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43359         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43360         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43361         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43362         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43363         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43364         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43365         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43366         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43367         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43368         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43369         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43370         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43371         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43372         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43373         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43374         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43375         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43376         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43377         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43378         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43379         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43380         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43381         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43382         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43383         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43384         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43385         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43386         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43387         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43388         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43389         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43390         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43391         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43392         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43393         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43394         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43395         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43397 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43399         * sysdeps/x86_64/dla.h: Move to ...
43400         * sysdeps/x86_64/fpu/dla.h: ...here.
43401         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43402         situations.  Use __builtin_fma only for gcc 4.6 and up.
43404         * config.make.in: Add have-mfma4 entry.
43405         * configure.in: Substitute libc_cv_cc_fma4.
43406         * math/Makefile (dbl-only-routines): Add sincostab.
43407         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43408         Use __sincostab not sincos.
43409         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43410         name is a macro.
43411         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43415         using __copysign.
43416         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43417         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43418         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43419         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43420         and __inv.
43421         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43422         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43423         __copysign.
43424         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43425         define aliases when function name is a macro.
43426         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43427         sysdeps/ieee754/dbl-64/sincos.tbl.
43428         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43429         fma4-enabled routines.
43430         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43431         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43432         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43433         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43434         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43435         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43436         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43437         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43439         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43440         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43441         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43442         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43443         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43444         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43445         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43446         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43447         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43448         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43449         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43450         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43451         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43453         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43454         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43455         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43456         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43457         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43458         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43459         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43461         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43462         rename.
43463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43467         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43468         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43472 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43474         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43476 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43478         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43480         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43481         prediction.
43482         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43484         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43485         Remove unused variable magic_bits.
43486         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43488         * string/strnlen.c: Define and use STRNLEN macro.
43489         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43490         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43491         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43492         * wcsmbs/wcslen.c: Define and use WCSLEN.
43493         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43494         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43495         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43496         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43497         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43498         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43499         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43501 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43503         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43504         strnlen-sse2-no-bsf.
43505         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43506         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43507         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43508         Add strnlen support.
43509         (USE_AS_STRNLEN): New macro.
43510         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43511         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43512         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43513         * sysdeps/x86_64/wcslen.S: New file.
43515 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43517         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43518         XMM-moves are used for copying on small sizes.
43520 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43522         * wcsmbs/Makefile (strop-tests): Add wcschr.
43523         * wcsmbs/test-wcschr.c: New file.
43524         * string/test-strchr.c: Update.
43525         Add wcschr support.
43526         (WIDE): New macro.
43528 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43530         * wcsmbs/Makefile (strop-tests): Add wcslen.
43531         * wcsmbs/test-wcslen.c: New file.
43532         * string/test-strlen.c: Update.
43533         Add wcslen support.
43534         (WIDE): New macro.
43536 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43538         * po/it.po: Update from translation team.
43540 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43542         * sysdeps/x86_64/wcscmp.S: Update.
43543         Fix wrong comparison semantics.
43544         wcscmp shall use signed comparison not unsigned.
43545         Don't use substraction to avoid overflow bug.
43546         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43547         * wcsmbc/wcscmp.c: Likewise.
43548         * string/test-strcmp.c: Likewise.
43549         Add new tests to check cases with negative values.
43551 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43553         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43554         * sysdeps/x86_64/dla.h: ...here.  New file.
43555         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43558         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43559         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43560         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43562         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43565 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43568         __ynl_finite aliases.
43570 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43574         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43575         define DLA_FMA.
43576         [DLA_FMA] (EMULV): Use DLA_FMA.
43577         [DLA_FMA] (MUL12): Use EMULV.
43578         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43579         that are not needed.
43580         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43584         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43585         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43586         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43588 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43590         * math/s_nan.c: Undef __nan.
43591         * math/s_nanf.c: Undef __nanf.
43592         * math/s_nanl.c: Undef __nanl.
43593         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43594         "math_private.h".
43596 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43598         * math/s_catan.c: Add branch predictions.
43599         * math/s_catanf.c: Likewise.
43600         * math/s_catanh.c: Likewise.
43601         * math/s_catanhf.c: Likewise.
43602         * math/s_catanhl.c: Likewise.
43603         * math/s_catanl.c: Likewise.
43604         * math/s_cexp.c: Likewise.
43605         * math/s_cexpf.c: Likewise.
43606         * math/s_cexpl.c: Likewise.
43607         * math/s_clog.c: Likewise.
43608         * math/s_clog10.c: Likewise.
43609         * math/s_clog10f.c: Likewise.
43610         * math/s_clog10l.c: Likewise.
43611         * math/s_clogf.c: Likewise.
43612         * math/s_clogl.c: Likewise.
43613         * math/s_csqrt.c: Likewise.
43614         * math/s_csqrtf.c: Likewise.
43615         * math/s_csqrtl.c: Likewise.
43616         * math/s_ctanf.c: Likewise.
43617         * math/s_ctanh.c: Likewise.
43618         * math/s_ctanhf.c: Likewise.
43619         * math/s_ctanhl.c: Likewise.
43620         * math/s_ctanl.c: Likewise.
43622         * math/math_private.h: Define __nan, __nanf, __nanl.
43623         * math/s_cacosh.c: Include <math_private.h>.
43624         * math/s_cacoshl.c: Likewise.
43625         * math/s_casinh.c: Likewise.
43626         * math/s_casinhf.c: Likewise.
43627         * math/s_casinhl.c: Likewise.
43628         * math/s_ccos.c: Rely entire on ccosh.
43629         * math/s_ccosf.c: Rely entire on ccoshf.
43630         * math/s_ccosl.c: Rely entirely on ccoshl.
43631         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43632         Remove tests for FE_INVALID.
43633         * math/s_ccoshf.c: Likewise.
43634         * math/s_ccoshl.c: Likewise.
43635         * math/s_csin.c: Likewise.
43636         * math/s_csinf.c: Likewise.
43637         * math/s_csinh.c Likewise.
43638         * math/s_csinhf.c: Likewise.
43639         * math/s_csinhl.c: Likewise.
43640         * math/s_csinl.c: Likewise.
43641         * math/s_ctan.c: Likewise.
43642         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43643         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43644         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43646 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43649         compilation problems.
43651         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43652         __builtin_expect.
43654 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43656         * sysdeps/i386/configure.in: Test for -mfma4 option.
43657         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43658         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43659         COMMON_CPUID_INDEX_80000001.
43660         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43661         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43662         use it if FMA3 is not supported.
43663         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43665         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43666         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43668 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43670         [BZ #12892]
43671         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43672         it would create a cycle with a link time dependency.
43674 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43676         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43677         instruction.
43678         * string/Makefile (strop-tests): Add rawmemchr.
43679         * string/test-rawmemchr.c: New file.
43681         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43682         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43683         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43684         when compiling str{,n}casecmp and when AVX is available.  Hook up
43685         new optimized code in initializers.
43687 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43689         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43690         __feraiseexcept instead of feraiseexcept.
43692 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43694         * math/math_private.h: Define defaults for libc_fetestexcept and
43695         libc_feupdateenv.
43696         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43697         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43698         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43699         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43700         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43701         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43702         libc_fetestexcept and libc_feupdateenv.
43704         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43705         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43706         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43707         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43708         libc_feholdexcept_setround.
43710         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43711         Add s_nearbyint-c and s_nearbyintf-c.
43712         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43713         nearbyintf inlines.
43714         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43715         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43716         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43717         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43719         * math/math_private.h: Define defaults for libc_fegetround,
43720         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43721         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43722         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43723         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43724         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43725         standard functions.
43726         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43727         Remove comments and hacks for old compiler versions.
43728         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43729         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43730         libc_feholdexceptl.
43732 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43734         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43735         (__feraiseexcept_renamed): Add __NTH.
43736         (feraiseexcept): Add __NTH.  Rename local variables to fix
43737         namespace violations.
43739 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43741         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43743         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43745         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43746         recently added interfaces.
43747         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43749         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43750         about macro parameter expansion.
43752         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43753         __NO_MATH_INLINES is defined.  Cleanups.
43755         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43756         and __floorf is target has SSE4.1.
43757         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43758         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43759         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43760         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43762         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43763         name.
43764         (floorf): Likewise.
43766         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43768 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43770         * misc/sys/cdefs.h: Fix last change.
43772         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43773         database lookup.
43775 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43777         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43779         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43780         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43781         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43782         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43783         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43784         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43785         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43786         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43787         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43788         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43789         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43790         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43791         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43792         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43793         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43794         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43795         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43796         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43797         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43798         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43799         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43800         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43802         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43803         ceil, ceilf, floor, floorf.
43805         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43806         Perform IRELATIVE relocations last.
43808         * elf/do-rel.h: Add another parameter nrelative, replacing the
43809         local variable with the same name.  Change name of the function
43810         to end in Rel or Rela (uppercase).
43811         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43812         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43813         elf_dynamic_do_##reloc function.
43815 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43817         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43818         is sufficient, at least on modern CPUs.
43820         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43822         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43823         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43825         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43826         __expl_finite.
43827         * math/bits/math-finite.h: Add entries for exp.
43828         * math/e_expl.c: Add __*_finite alias.
43829         * sysdeps/i386/fpu/e_exp.S: Likewise.
43830         * sysdeps/i386/fpu/e_expf.S: Likewise.
43831         * sysdeps/i386/fpu/e_expl.c: Likewise.
43832         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43833         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43834         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43836         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43837         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43838         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43840         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43841         is sufficient, at least on modern CPUs.
43843         * ctype/ctype-info.c (__ctype_init): Define.
43844         * include/ctype.h (__ctype_init): Declare.
43845         (__ctype_b_loc): The variable is always initialized.
43846         (__ctype_toupper_loc): Likewise.
43847         (__ctype_tolower_loc): Likewise.
43848         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43849         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43851 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43853         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43855         * configure.in: Also look in $cxxmachine/include for C++ system
43856         headers.
43858 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43860         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43861         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43862         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43863         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43864         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43865         (USE_AS_WMEMCMP): New macro.
43866         Fixing indents.
43867         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43868         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43869         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43870         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43872         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43873         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43874         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43875         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43876         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43877         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43878         (USE_AS_WMEMCMP): New macro.
43879         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43880         * sysdeps/string/test-memcmp.c: Update.
43881         Fix simple_wmemcmp.
43882         Add new tests.
43883         * wcsmbs/wmemcmp.c: Update.
43884         (WMEMCMP): New macro.
43885         Fix overflow bug.
43887 2011-10-12  Andreas Jaeger  <aj@suse.de>
43889         [BZ #13268]
43890         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43892 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43894         * libio/iofwide.c (do_length): Avoid warning.
43896         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43898 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43900         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43902         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43903         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43904         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43905         * sysdeps/i386/i686/fpu/e_log.S: New file.
43906         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43907         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43909         * ctype/ctype.h: Add support for inlined isXXX functions when
43910         compiling C++ code.
43912 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43914         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43916         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43918 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43920         [BZ #13291]
43921         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43923 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43925         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43926         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43927         feraiseexcept.
43929         * sysdeps/x86_64/memrchr.S: Check for zero size.
43931         * string/stratcliff.c: Add memrchr tests.
43933 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43935         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43936         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43937         rawmemchr-sse2 rawmemchr-sse2-bsf.
43938         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43939         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43940         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43941         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43942         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43943         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43944         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43945         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43946         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43947         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43948         * string/memrchr.c (MEMRCHR): New macro.
43950 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43952         Add integration with gcc's -ffinite-math-only and optimize wrapper
43953         functions in libm.
43954         * Versions.def: Define GLIBC_2.15 version for libm.
43955         * math/Makefile (headers): Add bits/math-finite.h.
43956         * math/bits/math-finite.h: New file.
43957         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43958         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43959         * math/e_acoshl.c: Add __*_finite alias.
43960         * math/e_acosl.c: Likewise.
43961         * math/e_asinl.c: Likewise.
43962         * math/e_atan2l.c: Likewise.
43963         * math/e_atanhl.c: Likewise.
43964         * math/e_coshl.c: Likewise.
43965         * math/e_exp10.c: Likewise.
43966         * math/e_exp10f.c: Likewise.
43967         * math/e_exp10l.c: Likewise.
43968         * math/e_exp2l.c: Likewise.
43969         * math/e_fmodl.c: Likewise.
43970         * math/e_gammal_r.c: Likewise.
43971         * math/e_hypotl.c: Likewise.
43972         * math/e_j0l.c: Likewise.
43973         * math/e_j1l.c: Likewise.
43974         * math/e_jnl.c: Likewise.
43975         * math/e_lgammal_r.c: Likewise.
43976         * math/e_log10l.c: Likewise.
43977         * math/e_log2l.c: Likewise.
43978         * math/e_logl.c: Likewise.
43979         * math/e_powl.c: Likewise.
43980         * math/e_sinhl.c: Likewise.
43981         * math/e_sqrtl.c: Likewise.
43982         * math/e_scalb.c: Completely rewritten and optimized.
43983         * math/e_scalbf.c: Likewise.
43984         * math/e_scalbl.c: Likewise.
43985         * math/w_acos.c: Likewise.
43986         * math/w_acosf.c: Likewise.
43987         * math/w_acosl.c: Likewise.
43988         * math/w_acosh.c: Likewise.
43989         * math/w_acoshf.c: Likewise.
43990         * math/w_acoshl.c: Likewise.
43991         * math/w_asin.c: Likewise.
43992         * math/w_asinf.c: Likewise.
43993         * math/w_asinl.c: Likewise.
43994         * math/w_atan2.c: Likewise.
43995         * math/w_atan2f.c: Likewise.
43996         * math/w_atan2l.c: Likewise.
43997         * math/w_atanh.c: Likewise.
43998         * math/w_atanhf.c: Likewise.
43999         * math/w_atanhl.c: Likewise.
44000         * math/w_exp10.c: Likewise.
44001         * math/w_exp10f.c: Likewise.
44002         * math/w_exp10l.c: Likewise.
44003         * math/w_fmod.c: Likewise.
44004         * math/w_fmodf.c: Likewise.
44005         * math/w_fmodl.c: Likewise.
44006         * math/w_j0.c: Likewise.
44007         * math/w_j0f.c: Likewise.
44008         * math/w_j0l.c: Likewise.
44009         * math/w_j1.c: Likewise.
44010         * math/w_j1f.c: Likewise.
44011         * math/w_j1l.c: Likewise.
44012         * math/w_jn.c: Likewise.
44013         * math/w_jnf.c: Likewise.
44014         * math/w_log.c: Likewise.
44015         * math/w_logf.c: Likewise.
44016         * math/w_logl.c: Likewise.
44017         * math/w_log10.c: Likewise.
44018         * math/w_log10f.c: Likewise.
44019         * math/w_log10l.c: Likewise.
44020         * math/w_log2.c: Likewise.
44021         * math/w_log2f.c: Likewise.
44022         * math/w_log2l.c: Likewise.
44023         * math/w_pow.c: Likewise.
44024         * math/w_powf.c: Likewise.
44025         * math/w_powl.c: Likewise.
44026         * math/w_remainder.c: Likewise.
44027         * math/w_remainderf.c: Likewise.
44028         * math/w_remainderl.c: Likewise.
44029         * math/w_scalb.c: Likewise.
44030         * math/w_scalbf.c: Likewise.
44031         * math/w_scalbl.c: Likewise.
44032         * math/w_sqrt.c: Likewise.
44033         * math/w_sqrtf.c: Likewise.
44034         * math/w_sqrtl.c: Likewise.
44035         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44036         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44037         used.
44038         * math/math_private.h: Declare __kernel_standard_f.
44039         * math/w_cosh.c: Remove cruft and optimize a bit.
44040         * math/w_coshf.c: Likewise.
44041         * math/w_coshl.c: Likewise.
44042         * math/w_exp2.c: Likewise.
44043         * math/w_exp2f.c: Likewise.
44044         * math/w_exp2l.c: Likewise.
44045         * math/w_hypot.c: Likewise.
44046         * math/w_hypotf.c: Likewise.
44047         * math/w_hypotl.c: Likewise.
44048         * math/w_lgamma.c: Likewise.
44049         * math/w_lgamma_r.c: Likewise.
44050         * math/w_lgammaf.c: Likewise.
44051         * math/w_lgammaf_r.c: Likewise.
44052         * math/w_lgammal.c: Likewise.
44053         * math/w_lgammal_r.c: Likewise.
44054         * math/w_sinh.c: Likewise.
44055         * math/w_sinhf.c: Likewise.
44056         * math/w_sinhl.c: Likewise.
44057         * math/w_tgamma.c: Likewise.
44058         * math/w_tgammaf.c: Likewise.
44059         * math/w_tgammal.c: Likewise.
44060         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44061         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44062         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44063         Minor optimizations.  Pretty printing.  Remove cruft.
44064         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44065         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44066         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44067         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44068         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44069         * sysdeps/i386/fpu/e_asin.S: Likewise.
44070         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44071         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44072         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44073         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44074         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44075         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44076         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44077         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44078         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44079         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44080         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44081         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44082         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44083         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44084         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44085         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44086         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44087         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44088         * sysdeps/i386/fpu/e_log.S: Likewise.
44089         * sysdeps/i386/fpu/e_log10.S: Likewise.
44090         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44091         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44092         * sysdeps/i386/fpu/e_log2.S: Likewise.
44093         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44094         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44095         * sysdeps/i386/fpu/e_logf.S: Likewise.
44096         * sysdeps/i386/fpu/e_logl.S: Likewise.
44097         * sysdeps/i386/fpu/e_pow.S: Likewise.
44098         * sysdeps/i386/fpu/e_powf.S: Likewise.
44099         * sysdeps/i386/fpu/e_powl.S: Likewise.
44100         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44101         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44102         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44103         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44104         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44105         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44106         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44107         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44108         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44109         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44110         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44111         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44112         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44113         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44114         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44115         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44116         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44117         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44118         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44119         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44120         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44121         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44122         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44123         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44124         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44125         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44126         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44127         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44128         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44129         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44130         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44131         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44132         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44133         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44134         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44135         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44136         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44137         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44138         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44139         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44140         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44141         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44142         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44143         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44144         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44145         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44146         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44147         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44148         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44149         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44150         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44151         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44152         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44153         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44154         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44155         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44156         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44157         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44158         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44159         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44160         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44161         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44162         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44163         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44164         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44165         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44166         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44167         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44168         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44169         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44170         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44171         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44172         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44173         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44174         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44175         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44176         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44177         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44178         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44179         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44180         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44181         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44182         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44183         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44184         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44185         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44186         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44187         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44188         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44189         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44190         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44191         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44192         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44193         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44194         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44195         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44196         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44197         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44198         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44199         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44200         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44201         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44202         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44203         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44204         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44205         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44206         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44207         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44208         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44209         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44210         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44211         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44212         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44213         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44214         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44215         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44216         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44217         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44218         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44219         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44220         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44221         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44222         (__isnanf): Likewise.
44223         (__isinf_ns): Likewise.
44224         (__isinf_nsf): Likewise.
44225         (__finite): Likewise.
44226         (__finitef): Likewise.
44227         (__ieee754_sqrt): Define as macro.
44228         (__ieee754_sqrtf): Define as macro.
44229         (__ieee754_sqrtl): Define as macro.
44230         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44231         inlined copy.
44232         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44233         __FINITE_MATH_ONLY__ consistent.
44234         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44236 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44238         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44239         of rawmemchr.
44241         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44243 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44245         * po/ja.po: Update from translation team.
44247 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44249         * locale/programs/locarchive.c (prepare_address_space): New function.
44250         (create_archive, enlarge_archive, open_archive): Use it.
44252         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44253         inside [SHARED], where it is used.
44255         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44257         * nss/getent.c (netgroup_keys): Remove unused variable.
44258         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44260 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44262         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44263         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44264         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44265         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44266         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44267         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44268         * math/Makefile (libm-calls): Add s_isinf_ns.
44269         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44270         * math/multc3.c: Likewise.
44271         * math/s_casin.c: Likewise.
44272         * math/s_casinf.c: Likewise.
44273         * math/s_casinl.c: Likewise.
44274         * math/s_ccos.c: Likewise.
44275         * math/s_ccosf.c: Likewise.
44276         * math/s_ccosl.c: Likewise.
44277         * math/s_ctan.c: Likewise.
44278         * math/s_ctanf.c: Likewise.
44279         * math/s_ctanh.c: Likewise.
44280         * math/s_ctanhf.c: Likewise.
44281         * math/s_ctanhl.c: Likewise.
44282         * math/s_ctanl.c: Likewise.
44283         * math/w_fmod.c: Likewise.
44284         * math/w_fmodf.c: Likewise.
44285         * math/w_fmodl.c: Likewise.
44286         * math/w_remainder.c: Likewise.
44287         * math/w_remainderf.c: Likewise.
44288         * math/w_remainderl.c: Likewise.
44289         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44290         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44291         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44292         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44293         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44294         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44295         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44296         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44298         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44299         of the number.
44300         * stdio-common/printf_fphex.c: Likewise.
44301         * stdio-common/printf_size.c: Likewise.
44303         * math/e_exp10.c: Include math_private.h using <...> not "...".
44304         * math/e_exp10f.c: Likewise.
44305         * math/e_exp10l.c: Likewise.
44306         * math/e_exp2l.c: Likewise.
44307         * math/e_j0l.c: Likewise.
44308         * math/e_j1l.c: Likewise.
44309         * math/e_jnl.c: Likewise.
44310         * math/e_lgammal_r.c: Likewise.
44311         * math/e_rem_pio2l.c: Likewise.
44312         * math/e_scalb.c: Likewise.
44313         * math/e_scalbf.c: Likewise.
44314         * math/e_scalbl.c: Likewise.
44315         * math/k_cosl.c: Likewise.
44316         * math/k_sinl.c: Likewise.
44317         * math/k_tanl.c: Likewise.
44318         * math/s_cacoshf.c: Likewise.
44319         * math/s_catan.c: Likewise.
44320         * math/s_catanf.c: Likewise.
44321         * math/s_catanh.c: Likewise.
44322         * math/s_catanhf.c: Likewise.
44323         * math/s_catanhl.c: Likewise.
44324         * math/s_catanl.c: Likewise.
44325         * math/s_ccosh.c: Likewise.
44326         * math/s_ccoshf.c: Likewise.
44327         * math/s_ccoshl.c: Likewise.
44328         * math/s_cexp.c: Likewise.
44329         * math/s_cexpf.c: Likewise.
44330         * math/s_cexpl.c: Likewise.
44331         * math/s_clog.c: Likewise.
44332         * math/s_clog10.c: Likewise.
44333         * math/s_clog10f.c: Likewise.
44334         * math/s_clog10l.c: Likewise.
44335         * math/s_clogf.c: Likewise.
44336         * math/s_clogl.c: Likewise.
44337         * math/s_csin.c: Likewise.
44338         * math/s_csinf.c: Likewise.
44339         * math/s_csinh.c: Likewise.
44340         * math/s_csinhf.c: Likewise.
44341         * math/s_csinhl.c: Likewise.
44342         * math/s_csinl.c: Likewise.
44343         * math/s_csqrt.c: Likewise.
44344         * math/s_csqrtf.c: Likewise.
44345         * math/s_csqrtl.c: Likewise.
44346         * math/s_ctan.c: Likewise.
44347         * math/s_ctanf.c: Likewise.
44348         * math/s_ctanh.c: Likewise.
44349         * math/s_ctanhf.c: Likewise.
44350         * math/s_ctanhl.c: Likewise.
44351         * math/s_ctanl.c: Likewise.
44352         * math/s_ldexp.c: Likewise.
44353         * math/s_ldexpf.c: Likewise.
44354         * math/s_ldexpl.c: Likewise.
44355         * math/s_significand.c: Likewise.
44356         * math/s_significandf.c: Likewise.
44357         * math/s_significandl.c: Likewise.
44358         * math/w_acos.c: Likewise.
44359         * math/w_acosf.c: Likewise.
44360         * math/w_acosh.c: Likewise.
44361         * math/w_acoshf.c: Likewise.
44362         * math/w_acoshl.c: Likewise.
44363         * math/w_acosl.c: Likewise.
44364         * math/w_asin.c: Likewise.
44365         * math/w_asinf.c: Likewise.
44366         * math/w_asinl.c: Likewise.
44367         * math/w_atan2.c: Likewise.
44368         * math/w_atan2f.c: Likewise.
44369         * math/w_atan2l.c: Likewise.
44370         * math/w_atanh.c: Likewise.
44371         * math/w_atanhf.c: Likewise.
44372         * math/w_atanhl.c: Likewise.
44373         * math/w_cosh.c: Likewise.
44374         * math/w_coshf.c: Likewise.
44375         * math/w_coshl.c: Likewise.
44376         * math/w_dremf.c: Likewise.
44377         * math/w_exp10.c: Likewise.
44378         * math/w_exp10f.c: Likewise.
44379         * math/w_exp10l.c: Likewise.
44380         * math/w_exp2.c: Likewise.
44381         * math/w_exp2f.c: Likewise.
44382         * math/w_fmod.c: Likewise.
44383         * math/w_fmodf.c: Likewise.
44384         * math/w_fmodl.c: Likewise.
44385         * math/w_hypot.c: Likewise.
44386         * math/w_hypotf.c: Likewise.
44387         * math/w_hypotl.c: Likewise.
44388         * math/w_j0.c: Likewise.
44389         * math/w_j0f.c: Likewise.
44390         * math/w_j0l.c: Likewise.
44391         * math/w_j1.c: Likewise.
44392         * math/w_j1f.c: Likewise.
44393         * math/w_j1l.c: Likewise.
44394         * math/w_jn.c: Likewise.
44395         * math/w_jnf.c: Likewise.
44396         * math/w_jnl.c: Likewise.
44397         * math/w_lgamma.c: Likewise.
44398         * math/w_lgamma_r.c: Likewise.
44399         * math/w_lgammaf.c: Likewise.
44400         * math/w_lgammaf_r.c: Likewise.
44401         * math/w_lgammal.c: Likewise.
44402         * math/w_lgammal_r.c: Likewise.
44403         * math/w_log.c: Likewise.
44404         * math/w_log10.c: Likewise.
44405         * math/w_log10f.c: Likewise.
44406         * math/w_log10l.c: Likewise.
44407         * math/w_log2.c: Likewise.
44408         * math/w_log2f.c: Likewise.
44409         * math/w_log2l.c: Likewise.
44410         * math/w_logf.c: Likewise.
44411         * math/w_logl.c: Likewise.
44412         * math/w_pow.c: Likewise.
44413         * math/w_powf.c: Likewise.
44414         * math/w_powl.c: Likewise.
44415         * math/w_remainder.c: Likewise.
44416         * math/w_remainderf.c: Likewise.
44417         * math/w_remainderl.c: Likewise.
44418         * math/w_scalb.c: Likewise.
44419         * math/w_scalbf.c: Likewise.
44420         * math/w_scalbl.c: Likewise.
44421         * math/w_sinh.c: Likewise.
44422         * math/w_sinhf.c: Likewise.
44423         * math/w_sinhl.c: Likewise.
44424         * math/w_sqrt.c: Likewise.
44425         * math/w_sqrtf.c: Likewise.
44426         * math/w_sqrtl.c: Likewise.
44427         * math/w_tgamma.c: Likewise.
44428         * math/w_tgammaf.c: Likewise.
44429         * math/w_tgammal.c: Likewise.
44431         * po/ja.po: Update from translation team.
44433 2011-09-29  Andreas Jaeger  <aj@suse.de>
44435         [BZ #13179]
44436         * sunrpc/netname.c (netname2host): Fix logic.
44438         [BZ #6779]
44439         [BZ #6783]
44440         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44441         correctly.
44442         * math/w_remainder.c (__remainder): Likewise.
44443         * math/w_remainderf.c (__remainderf): Likewise.
44444         * math/libm-test.inc (remainder_test): Add test cases.
44446 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44448         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44449         sdiv_qrnnd.
44451 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44453         * string/test-memcmp.c: Avoid unncessary #defines.
44454         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44456 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44458         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44459         Use new sse2 version for core i3 - i7 as it's faster
44460         than sse42 version.
44461         (bit_Prefer_PMINUB_for_stringop): New.
44462         * sysdeps/x86_64/rawmemchr.S: Update.
44463         Replace with faster SSE2 version.
44464         * sysdeps/x86_64/memrchr.S: New file.
44465         * sysdeps/x86_64/memchr.S: Update.
44466         Replace with faster SSE2 version.
44468 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44470         * elf/dl-load.c (lose): Add cast to avoid warning.
44472 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44474         * po/ca.po: Update from translation team.
44476         * inet/getnetgrent_r.c: Hook up nscd.
44477         * nscd/Makefile (routines): Add nscd_netgroup.
44478         (nscd-modules): Add netgroupcache.
44479         (CFLAGS-netgroupcache.c): Define.
44480         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44481         (cache_search): Add const to second parameter.
44482         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44483         INNETGR.
44484         (dbs): Add netgrdb entry.
44485         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44486         (verify_persistent_db): Handle netgrdb.
44487         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44488         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44489         GETFDNETGR.
44490         (netgroup_response_header): Define.
44491         (innetgroup_response_header): Define.
44492         (datahead): Add netgroup_response_header and innetgroup_response_header
44493         elements.
44494         * nscd/nscd.conf: Add entries for netgroup cache.
44495         * nscd/nscd.h (dbtype): Add netgrdb.
44496         (_PATH_NSCD_NETGROUP_DB): Define.
44497         (netgroup_iov_disabled): Declare.
44498         (xmalloc, xcalloc, xrealloc): Move declarations here.
44499         (cache_search): Adjust prototype.
44500         Add netgroup-related prototypes.
44501         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44502         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44503         (__nscd_innetgr): Declare.
44504         * nscd/selinux.c (perms): Use access_vector_t as element type and
44505         add netgroup-related initializers.
44506         * nscd/netgroupcache.c: New file.
44507         * nscd/nscd_netgroup.c: New file.
44508         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44509         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44510         For four parameters use innetgr.
44511         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44512         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44513         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44514         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44516         * nscd/connections.c (register_traced_file): Don't register file
44517         for disabled databases.
44519 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44521         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44523         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44524         from tree and freeing node.
44526 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44528         * nss/nsswitch.c (__nss_database_lookup): Handle
44529         nss_parse_service_list out of memory case.
44531 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44533         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44534         out of memory case.
44536 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44538         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44539         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44540         pass it down.
44541         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44542         elf_machine_rela, elf_machine_lazy_rel.
44543         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44544         (ELF_DYNAMIC_DO_REL): Likewise.
44545         (ELF_DYNAMIC_DO_RELA): Likewise.
44546         (ELF_DYNAMIC_RELOCATE): Likewise.
44547         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44548         to ELF_DYNAMIC_DO_REL.
44549         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44550         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44551         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44552         elf_machine_rela.
44553         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44554         skip_ifunc, don't call ifunc function if non-zero.
44555         (elf_machine_rela): Likewise.
44556         (elf_machine_lazy_rel): Likewise.
44557         (elf_machine_lazy_rela): Likewise.
44558         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44559         (elf_machine_lazy_rel): Likewise.
44560         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44561         Likewise.
44562         (elf_machine_lazy_rel): Likewise.
44563         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44564         Likewise.
44565         (elf_machine_lazy_rel): Likewise.
44566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44567         (elf_machine_lazy_rel): Likewise.
44568         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44569         (elf_machine_lazy_rel): Likewise.
44570         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44571         (elf_machine_lazy_rel): Likewise.
44572         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44573         (elf_machine_lazy_rel): Likewise.
44574         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44575         (elf_machine_lazy_rel): Likewise.
44576         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44577         (elf_machine_lazy_rel): Likewise.
44579 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44581         * nss/nss_files/files-init.c (_nss_files_init): Use static
44582         initialization for all the *_traced_file variables.
44584 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44586         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44588 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44590         [BZ #13226]
44591         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44593 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44595         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44596         Reread the line before reparsing it.
44598 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44600         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44602 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44603             Maxim Kuvyrkov  <maxim@codesourcery.com>
44604             Joseph Myers  <joseph@codesourcery.com>
44606         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44607         if needed for __stack_chk_guard.
44609 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44611         * sysdeps/posix/spawni.c (script_execute): Always define it.
44612         It will be optimized away if unused.
44613         (maybe_script_execute): New function.
44614         (__spawni): Call it.
44616         * Makerules: Don't include tls.make.
44617         (config-tls): Always set to thread.
44618         * tls.make.c: File removed.
44620 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44622         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44623         * config.make.in (CPPFLAGS-config): New substituted variable.
44625 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44627         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44629         [BZ #13192]
44630         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44631         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44633 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44635         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44636         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44637         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44638         (CALL_FAIL): Likewise.
44639         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44640         (CALL_FAIL): Macro removed.
44641         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44643 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44645         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44646         for __FINITE_MATH_ONLY__ == 1.
44648 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44650         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44651         __ieee754_sqrt instead of sqrt.
44652         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44653         __ieee754_sqrtf instead of sqrtf.
44654         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44655         __floorf instead of floorf.
44656         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44657         __floorf, __truncf instead of floorf, truncf.
44659 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44661         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44663         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44664         __extern_always_inline.
44665         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44666         32-bit.
44668 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44670         * elf/rtld.c (dl_main): Also relocate in dependency order when
44671         doing symbol dependency testing.
44673 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44676         Always define `refsym'.
44678 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44680         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44681         (__FD_ELT): Renamed from __FDELT.
44682         * misc/bits/select2.h (__FD_ELT): Likewise.
44683         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44684         __FD_MASK instead of __FDELT, __FDMASK.
44685         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44686         Likewise.
44687         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44688         Likewise.
44690         * elf/Makefile (gen-ldd): Fix pattern.
44692         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44693         (init_tls): Likewise.
44695 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44699 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44701         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44702         `struct cmsghdr *' instead of `void *'.
44703         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44704         Likewise.
44706 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44708         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44709         if non-absolute.
44710         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44711         ldd_rewrite_script.
44713 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44715         * configure.in: Remove --with-tls option.
44716         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44717         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44718         out in case it is missing.
44719         * sysdeps/ia64/elf/configure.in: Likewise.
44720         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44721         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44722         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44723         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44724         * sysdeps/sh/elf/configure.in: Likewise.
44725         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44726         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44727         * sysdeps/x86_64/elf/configure.in: Likewise.
44728         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44729         * sysdeps/mach/hurd/tls.h: Likewise.
44731         [BZ #13067]
44732         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44734         [BZ #13090]
44735         * configure.in: Fix use of AC_INIT.
44737         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44739 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44741         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44742         __set_errno.
44743         * malloc/hooks.c: Likewise.
44745         [BZ #11929]
44746         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44747         variables statically.
44748         (narenas): Initialize.
44749         (list_lock): Initialize.
44750         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44751         initializtion of main_arena and list_lock.  Small cleanups.
44752         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44753         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44754         Add initializers to main_arena and mp_.
44755         (malloc_state): Remove pagesize member.  Change all users to use
44756         GLRO(dl_pagesize).
44758         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44759         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44760         is always initialized.
44762         * malloc/malloc.c: Removed unused configurations and dead code.
44763         * malloc/arena.c: Likewise.
44764         * malloc/hooks.c: Likewise.
44765         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44767         * include/tls.h: Removed.  USE___THREAD must always be defined.
44768         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44769         * elf/dl-libc.c: Likewise.
44770         * elf/dl-tsd.c: Likewise.
44771         * include/errno.h: Likewise.
44772         * include/netdb.h: Likewise.
44773         * include/resolv.h: Likewise.
44774         * inet/herrno-loc.c: Likewise.
44775         * inet/herrno.c: Likewise.
44776         * malloc/arena.c: Likewise.
44777         * malloc/hooks.c: Likewise.
44778         * malloc/malloc.c: Likewise.
44779         * resolv/res-state.c: Likewise.
44780         * resolv/res_libc.c: Likewise.
44781         * sysdeps/i386/dl-machine.h: Likewise.
44782         * sysdeps/ia64/dl-machine.h: Likewise.
44783         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44784         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44785         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44786         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44787         * sysdeps/sh/dl-machine.h: Likewise.
44788         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44789         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44790         * sysdeps/unix/i386/sysdep.S: Likewise.
44791         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44792         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44796         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44797         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44801         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44802         * sysdeps/x86_64/dl-machine.h: Likewise.
44803         * tls.make.c: Likewise.
44805         * configure.in: Remove --with-__thread option.  Make tests for
44806         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44807         tls_model attribute fail if no support is available.  Remove
44808         USE_IN_LIBIO.
44809         * Makeconfig: Adjust for dropped configure option.  All features are
44810         now mandatory.
44811         * Makerules: Likewise.
44812         * Versions.def: Likewise.
44813         * argp/argp-fmtstream.c: Likewise.
44814         * argp/argp-fmtstream.h: Likewise.
44815         * argp/argp-help.c: Likewise.
44816         * assert/assert.c: Likewise.
44817         * config.h.in: Likewise.
44818         * config.make.in: Likewise.
44819         * configure: Likewise.
44820         * configure.in: Likewise.
44821         * csu/Versions: Likewise.
44822         * csu/init.c: Likewise.
44823         * elf/tst-audit2.c: Likewise.
44824         * elf/tst-tls10.c: Likewise.
44825         * elf/tst-tls10.h: Likewise.
44826         * elf/tst-tls11.c: Likewise.
44827         * elf/tst-tls12.c: Likewise.
44828         * elf/tst-tls14.c: Likewise.
44829         * elf/tst-tlsmod11.c: Likewise.
44830         * elf/tst-tlsmod12.c: Likewise.
44831         * elf/tst-tlsmod13.c: Likewise.
44832         * elf/tst-tlsmod13a.c: Likewise.
44833         * elf/tst-tlsmod14a.c: Likewise.
44834         * elf/tst-tlsmod15b.c: Likewise.
44835         * elf/tst-tlsmod16a.c: Likewise.
44836         * elf/tst-tlsmod16b.c: Likewise.
44837         * elf/tst-tlsmod7.c: Likewise.
44838         * elf/tst-tlsmod8.c: Likewise.
44839         * elf/tst-tlsmod9.c: Likewise.
44840         * gmon/gmon.c: Likewise.
44841         * grp/fgetgrent_r.c: Likewise.
44842         * grp/putgrent.c: Likewise.
44843         * hurd/fopenport.c: Likewise.
44844         * include/libc-symbols.h: Likewise.
44845         * include/tls.h: Likewise.
44846         * intl/gettextP.h: Likewise.
44847         * intl/loadinfo.h: Likewise.
44848         * locale/global-locale.c: Likewise.
44849         * locale/localeinfo.h: Likewise.
44850         * mach/devstream.c: Likewise.
44851         * malloc/arena.c: Likewise.
44852         * malloc/set-freeres.c: Likewise.
44853         * misc/err.c: Likewise.
44854         * misc/getttyent.c: Likewise.
44855         * misc/mntent_r.c: Likewise.
44856         * posix/getopt.c: Likewise.
44857         * posix/wordexp.c: Likewise.
44858         * pwd/fgetpwent_r.c: Likewise.
44859         * resolv/Versions: Likewise.
44860         * resolv/res_hconf.c: Likewise.
44861         * shadow/fgetspent_r.c: Likewise.
44862         * shadow/putspent.c: Likewise.
44863         * stdio-common/printf_fphex.c: Likewise.
44864         * stdio-common/tmpfile.c: Likewise.
44865         * stdlib/abort.c: Likewise.
44866         * stdlib/fmtmsg.c: Likewise.
44867         * sunrpc/auth_unix.c: Likewise.
44868         * sunrpc/clnt_perr.c: Likewise.
44869         * sunrpc/clnt_tcp.c: Likewise.
44870         * sunrpc/clnt_udp.c: Likewise.
44871         * sunrpc/clnt_unix.c: Likewise.
44872         * sunrpc/openchild.c: Likewise.
44873         * sunrpc/svc_simple.c: Likewise.
44874         * sunrpc/svc_tcp.c: Likewise.
44875         * sunrpc/svc_udp.c: Likewise.
44876         * sunrpc/svc_unix.c: Likewise.
44877         * sunrpc/xdr.c: Likewise.
44878         * sunrpc/xdr_array.c: Likewise.
44879         * sunrpc/xdr_rec.c: Likewise.
44880         * sunrpc/xdr_ref.c: Likewise.
44881         * sunrpc/xdr_stdio.c: Likewise.
44883 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44885         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44887 2011-07-03  Andreas Jaeger  <aj@suse.de>
44889         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44890         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44891         regenerate with gen-libm-tests.pl.
44893 2010-05-12  Petr Baudis  <pasky@suse.cz>
44895         [BZ #11589]
44896         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44897         around j0() zero points by switching to j1().
44898         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44899         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44901         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44903 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44905         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44906         instead of 0.
44907         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44908         instead of 0.
44909         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44910         Patch in part by Pavel Roskin <proski@gnu.org>.
44912         [BZ #13138]
44913         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44914         realloc.
44915         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44916         Free memory block if necessary.
44918         [BZ #12847]
44919         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44920         be NULL.  Don't lock in this case.
44922 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44924         * elf/elf.h (ELFOSABI_GNU): New macro.
44925         (ELFOSABI_LINUX): Define to that.
44927 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44929         * string/strncat.c (strncat): Undef the symbol in case it has been
44930         defined in bits/string.h.
44932 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44934         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44936         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44937         link map.
44939 2011-08-17  Andreas Jaeger  <aj@suse.de>
44941         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44943 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44944             Ian Lance Taylor  <iant@google.com>
44946         * math/libm-test.inc (lround_test): New testcase.
44947         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44949 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44951         * Makefile: Remove support for automatic cvs check-ins.
44952         * Makerules: Likewise.
44953         * config.make.in: Likewise.
44954         * configure.in: Likewise.
44955         * intl/Makefile: Likewise.
44956         * locale/Makefile: Likewise.
44957         * po/Makefile: Likewise.
44958         * posix/Makefile: Likewise.
44959         * sysdeps/gnu/Makefile: Likewise.
44960         * sysdeps/mach/hurd/Makefile: Likewise.
44961         * sysdeps/sparc/sparc32/Makefile: Likewise.
44963         [BZ #13118]
44964         * posix/Makefile (bug-regex32-ENV): Define.
44965         Patch by John Stanley <jpsinthemix@verizon.net>.
44967         * misc/Makefile (headers): Add bits/select2.h.
44968         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44969         * misc/bits/select2.h: New file.
44970         * include/bits/select2.h: New file.
44971         * debug/Makefile (routines): Add fdelt_chk.
44972         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44973         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44974         FD_ISSET.
44975         * debug/fdelt_chk.c: New file.
44977         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44978         * wcsmbs/test-wmemcmp.c: Likewise.
44979         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44980         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44982 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44984         * string/Makefile (strop-tests): Add memcmp.
44985         * string/test-wmemcmp.c: New file.
44986         * string/test-memcmp.c: Add wmemcmp support.
44988 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44990         [BZ #13153]
44991         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44992         2011-07-19 change.
44994         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44995         garbage value in a __mach_port_mod_refs call in the cases of the
44996         task-self and thread-self ports.
44998 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45000         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45002 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45004         * elf/dl-load.c (lose): Check for non-null L.
45006 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45008         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45010         * elf/dl-libc.c (dlerror_run): Pass back error code from
45011         dl_catch_error.
45013         [BZ #13123]
45014         * elf/dl-load.c (lose): Free l_origin if it is valid.
45016         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45017         names.
45018         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45019         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45020         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45021         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45022         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45023         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45025 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45027         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45028         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45029         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45030         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45031         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45032         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45033         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45034         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45035         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45036         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45038 2011-08-15  Alan Modra  <amodra@gmail.com>
45040         [BZ #13092]
45041         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45042         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45043         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45044         ppc_mcount to static-only-routines.
45045         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45046         __mcount_internal.
45047         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45048         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45050 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45052         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45053         for finite and infinity parameters.
45055 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45057         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45058         and add nop instructions for throughput optimization.
45059         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45061 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45063         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45064         aligned copy for power7 with vector-scalar instructions.
45065         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45067 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45070         AVX check.
45072 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45074         [BZ #13144]
45075         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45076         last change.
45078 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45080         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45081         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45082         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45083         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45084         clock_gettime.
45086 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45088         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45089         Forgot to demangle the pointer.
45091         * sysdeps/i386/sysdep.h: Define atom_text_section.
45092         * sysdeps/x86_64/sysdep.h: Likewise.
45093         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45094         section with atom_text_section.
45095         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45096         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45097         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45098         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45099         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45101         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45102         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45103         already be defined.  Change to take two parameters and don't assign
45104         result to variable.  Adjust all users.
45105         Define INTERNAL_GETTIME if not already defined.
45106         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45107         call.
45108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45109         HAVE_CLOCK_GETTIME_VSYSCALL.
45110         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45112         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45113         gettimeofday vsyscall, just use time.
45115 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45117         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45118         <errno.h>.
45120 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45122         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45123         syscall on x86-64.
45124         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45125         syscall.
45126         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45127         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45128         syscall if possible.
45130 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45132         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45133         e_ident.  Don't pass to find_mapsXX.
45134         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45136 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45139         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45140         * sysdeps/x86_64/multiarch/strchr.S: Update.
45141         Check bit_slow_BSF bit.
45142         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45143         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45144         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45146 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45148         [BZ #13134]
45149         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45150         before glibc 2.15.
45151         (tryshell): Define.
45152         (__spawni): Change last parameter to be flag.  Test
45153         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45154         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45155         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45156         * posix/spawni.c: Likewise.
45157         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45158         * posix/spawnp.c: Likewise.  Change normal version to use
45159         SPAWN_XFLAGS_USE_PATH.
45160         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45161         SPAWN_XFLAGS_TRY_SHELL.
45163         [BZ #13150]
45164         * posix/glob.h: Remove gcc 1.x support.
45166         [BZ #13068]
45167         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45169 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45171         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45172         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45173         strrchr-sse2-bsf
45174         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45175         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45176         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45177         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45178         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45179         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45181 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45183         * sysdeps/x86_64/wcscmp.S: New file.
45185         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45186         wcscmp-c wcscmp-sse2
45187         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45188         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45189         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45190         * wcsmbs/wcscmp.c: Allow renaming.
45192 2011-09-05  David S. Miller  <davem@davemloft.net>
45194         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45195         stack slot, rather than the struct return pointer slot.
45196         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45197         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45199         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45201 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45203         * po/ja.po: Update from translation team.
45205         [BZ #13144]
45206         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45207         kernel in 64-bit binaries.
45209 2011-09-01  David S. Miller  <davem@davemloft.net>
45211         * elf/elf.h (HWCAP_SPARC_*): Move to..
45212         * sysdeps/sparc/sysdep.h: this new file and add new values.
45213         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45214         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45215         _DL_HWCAP_COUNT to 24.
45216         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45217         entries.
45218         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45219         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45220         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45221         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45222         instead of magic constants.
45223         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45225 2011-08-31  David S. Miller  <davem@davemloft.net>
45227         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45229         Reimplement to do errno handling inline.
45230         (SYSCALL_ERROR_HANDLER): New macro.
45231         (__SYSCALL_STRING): Do not do errno handling in asm.
45232         (__CLONE_SYSCALL_STRING): Delete.
45233         (__INTERNAL_SYSCALL_STRING): Delete.
45234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45235         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45236         (PSEUDO): Reimplement to do errno handling inline.
45237         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45238         (SYSCALL_ERROR_HANDLER): New macro.
45239         (__SYSCALL_STRING): Do not do errno handling in asm.
45240         (__CLONE_SYSCALL_STRING): Delete.
45241         (__INTERNAL_SYSCALL_STRING): Delete.
45242         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45243         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45244         i386.
45245         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45246         (inline_syscall*): Add 'err' argument.
45247         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45248         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45249         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45250         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45252         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45253         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45255 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45257         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45259 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45261         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45262         directive.
45264 2011-08-24  David S. Miller  <davem@davemloft.net>
45266         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45268 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45270         * elf/Makefile: Add rules to build and run unload8 test.
45271         * elf/unload8.c: New file.
45272         * elf/unload8mod1.c: New file.
45273         * elf/unload8mod1x.c: New file.
45274         * elf/unload8mod2.c: New file.
45275         * elf/unload8mod3.c: New file.
45277         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45278         it wasn't used.
45280 2011-08-23  David S. Miller  <davem@davemloft.net>
45282         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45283         subtract stack bias.
45284         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45285         %sp not %fp in calculations.
45286         (_JMPBUF_UNWINDS_ADJ): Likewise.
45288         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45289         (aio_suspend): Call it to force an exception region around the
45290         AIO_MISC_WAIT() invocation.
45292 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45294         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45295         backslash.
45297 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45299         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45300         protection macro.
45301         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45302         and <dl-machine.h>.
45303         (Elf64_FuncDesc): Remove.
45305 2011-08-22  David S. Miller  <davem@davemloft.net>
45307         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45308         sigaltstack check, add missing cfi directives.
45309         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45310         missing cfi directives, and sigaltstack handling.
45312 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45314         [BZ #11724]
45315         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45316         object is seen twice.
45317         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45319         * elf/Makefile (distribute): Add tst-initorder2.c.
45320         (tests): Add tst-initorder2.
45321         (modules-names): Add tst-initorder2a tst-initorder2b
45322         tst-initorder2c tst-initorder2d.  Add rules to build them.
45323         ($(objpfx)tst-initorder2.out): New rule.
45324         * elf/tst-initorder2.c: New file.
45325         * elf/tst-initorder2.exp: New file.
45327 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45329         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45331         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45332         dependencies back to end of function.
45334         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45335         $(elfobjdir)/ld.so.
45337 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45339         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45340         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45341         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45342         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45343         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45344         of __vdso_gettimeofday.
45345         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45346         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45347         attribute_hidden.
45348         (_libc_vdso_platform_setup): Remove initialization of
45349         __vdso_gettimeofday and __vdso_time.
45351 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45353         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45354         and fgetc_unlocked.
45355         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45356         getc_unlocked.
45358         * elf/dl-open.c (add_to_global): Report additions to the global scope
45359         for LD_DEBUG=scopes.
45360         (dl_open_worker): Also print scope of newly loaded dependencies.
45361         (_dl_show_scope): Indicate if there is no scope.
45363         [BZ #13114]
45364         * stdio-common/Makefile (tests): Add bug24.
45365         * stdio-common/bug24.c: New file.
45367 2011-08-19  Andreas Jaeger  <aj@suse.de>
45369         [BZ #13114]
45370         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45371         non-existant file when using close-on-exec mode.
45373 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45375         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45376         the very first instruction.
45378         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45379         the CFI state in the end.
45380         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45381         inclusion of dl-trampoline.h.
45382         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45384 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45386         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45387         expectations for long double.
45389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45390         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45392 2011-08-14  David S. Miller  <davem@davemloft.net>
45394         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45395         artificual limit depends upon the system page size.
45397 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45399         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45400         * resolv/Makefile: Define CFLAGS-libresolv.
45402 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45404         * nss/makedb.c (compute_tables): Make variables used in nested
45405         function static.
45407 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45409         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45410         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45411         if buffer was too small.
45413         * elf/pldd.c (main): Attach to all threads in the process.
45414         Rewrite /proc handling to use *at functions.
45416 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45418         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45419         specifies first scope to show.
45420         (dl_open_worker): Update callers.  Move printing scope of new
45421         object to before the relocation.
45422         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45423         * sysdeps/generic/ldsodefs.h: Update declaration.
45425         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45426         string for the scope number.
45428 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45430         * nscd/servicescache.c (cache_addserv): Make sure written is always
45431         initialized.
45433 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45435         * sysdeps/i386/i486/bits/atomic.h
45436         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45437         statement expression, so as to suppress "set but not used" warning.
45438         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45440         * string/strncat.c (STRNCAT): Use prototype definition.
45442         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45443         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45444         -Iprograms here.
45445         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45446         (localedef-modules): Add localedef.
45447         (locale-modules): Add locale.
45449         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45450         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45451         to avoid a warning.
45453 2011-08-14  David S. Miller  <davem@davemloft.net>
45455         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45456         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45458 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45460         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45461         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45462         * elf/rtld.c (dl_main): Set l_name of vDSO.
45463         Call _dl_show_scope when DL_DEBUG_SCOPES.
45464         (process_dl_debug): Recognize scopes flag and also set it for all.
45465         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45466         Declare _dl_show_scope.
45468         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45469         (do_dlopen): Pass caller_dlopen to dl_open.
45470         (__libc_dlopen_mode): Initialize caller_dlopen.
45472         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45473         of libc.  Make tolower call locale-independent.  Optimize a bit by
45474         using isdigit instead of isalnum.
45475         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45477 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45479         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45480         was a dependency or dynamically loaded.
45482 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45484         * intl/l10nflist.c: Allow architecture-specific pop function.
45485         * sysdeps/x86_64/l10nflist.c: New file.
45487         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45488         classification.
45490 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45492         * include/dirent.h: Add libc_hidden_proto for scandirat and
45493         scandirat64.  Don't declare __scandirat64.
45494         * dirent/scandirat.c: Add libc_hidden_def.
45495         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45496         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45498 2011-08-10  David S. Miller  <davem@davemloft.net>
45500         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45501         enum.
45502         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45503         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45504         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45506 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45508         * Versions.def [libc]: Add GLIBC_2.15.
45509         * dirent/Makefile (routines): Add scandirat and scandirat64.
45510         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45511         GLIBC_2.15.
45512         * dirent/dirent.h: Declare scandirat and scandirat64.
45513         * dirent/scandirat.c: New file.
45514         * dirent/scandirat64.c: New file.
45515         * sysdeps/wordsize-64/scandirat.c: New file.
45516         * sysdeps/wordsize-64/scandirat64.c: New file.
45517         * dirent/opendir.c: Define opendirat.
45518         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45519         using scandirat.
45520         * dirent/scandir64.c: Adjust for scandir.c change.
45521         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45522         __scandirat64, and __scandir_cancel_handler.
45523         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45524         additional parameter and use openat instead of open (outside of ld.so).
45525         Add new __opendir as wrapper around __opendirat.
45526         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45527         here without requiring old scandirat implementation.
45529 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45531         * dirent/scandir.c (cancel_handler): Renamed to
45532         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45533         defined.  Adjust users.
45534         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45535         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45537 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45539         * string/test-string.h (IMPL): Use __STRING to expand name and then
45540         stringify it.
45542         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45543         of cleanups.
45545 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45547         * string/Makefile: Update.
45548         (strop-tests): Append strncat.
45549         * string/test-wcscmp.c: New file.
45550         New comprehensive test for wcscmp.
45551         * string/test-strcmp.c: Update.
45552         (WIDE): New define.
45554 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45556         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45557         line.
45559 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45562         encoding to ACE if AI_IDN.
45564 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45567         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45569 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45571         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45572         Fix overflow bug in strncat.
45573         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45575         * string/test-strncat.c: Update.
45576         Add new tests for checking overflow bugs.
45578 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45580         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45581         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45582         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45583         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45584         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45585         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45586         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45587         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45588         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45590         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45591         (USE_AS_STRCAT): Define.
45592         Add strcat and strncat support.
45593         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45595 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45597         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45598         __n bigger than INT_MAX+1.
45599         (__strncmp_g): Likewise.
45601 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45603         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45604         * libio/stido.h: Likewise.
45606         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45607         (AF_NFC): Define.
45608         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45609         (AF_NFC): Define.
45611         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45612         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45613         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45614         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45617         [BZ #13021]
45618         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45619         installed.
45621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45622         typo.
45623         (_dl_x86_64_save_sse): Likewise.
45625 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45627         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45628         OSXSAVE.
45629         (_dl_x86_64_save_sse): Likewise.
45631         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45633         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45635 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45637         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45638         change.
45639         (_dl_x86_64_save_sse): Use correct AVX check.
45641 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45643         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45644         bug in strncpy/strncat.
45645         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45647 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45649         * string/tester.c (test_strcat): Add tests for different alignments
45650         of source and destination.
45651         (test_strncat): Likewise.
45653 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45655         [BZ #12852]
45656         * posix/glob.c (glob): Check passed in values before using them in
45657         expressions to avoid some overflows.
45658         (glob_in_dir): Likewise.
45660         [BZ #13007]
45661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45662         check for AVX enablement so that we don't crash with old kernels and
45663         new hardware.
45664         * elf/tst-audit4.c: Add same checks here.
45665         * elf/tst-audit6.c: Likewise.
45667         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45669 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45671         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45673 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45675         * po/cs.po: Update from translation team.
45676         * po/bg.po: Likewise.
45678 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45680         * misc/sys/cdefs.h: Add support for const attribute.
45681         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45682         to gnu_dev_{major,minor,makedev} functions.
45684 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45686         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45688 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45690         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45691         strlen results.
45693 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45695         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45696         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45697         register in order to avoid conflicts with the soft frame pointer
45698         being held in r11 when necessary.
45699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45700         (INTERNAL_VSYSCALL_NCS): Likewise.
45702 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45704         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45705         * elf/dl-fini.c (_dl_fini): Adjust caller.
45706         * elf/dl-close.c (_dl_close_worker): Likewise.
45707         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45709 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45711         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45712         "aux_cache->nlibs < 0".
45714         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45715         in the reload-count case.
45717 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45720         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45721         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45722         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45723         * sysdeps/x86_64/multiarch/strcat.S: New file.
45724         * sysdeps/x86_64/multiarch/strncat.S: New file.
45725         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45726         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45727         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45728         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45729         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45730         (USE_AS_STRCAT): Define.
45731         Add strcat and strncat support.
45732         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45733         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45734         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45735         * string/strncat.c: Update.
45736         (USE_AS_STRNCAT): Define.
45737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45738         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45739         and i7.
45740         * sysdeps/x86_64/multiarch/init-arch.h
45741         (bit_Prefer_PMINUB_for_stringop): New.
45742         (index_Prefer_PMINUB_for_stringop): Likewise.
45743         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45744         bit_Prefer_PMINUB_for_stringop.
45746 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45748         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45749         buffer64.
45750         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45751         of casting of buffer.
45752         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45753         buffer32 and buffer64.
45754         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45755         writes instead of casting of buffer.
45756         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45757         buffer32.
45758         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45759         casting of buffer.
45761 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45763         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45765 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45767         * nscd/nscd.c (termination_handler): Don't do anything for a database
45768         if it has not yet been initialized.
45770 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45772         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45774 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45776         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45778 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45780         * po/nl.po: Update from translation team.
45781         * po/sv.po: Likewise.
45783 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45785         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45786         now disallowed by GCC.
45788         * configure.in (use-default-link): Default to yes if a test -shared
45789         link meets our qualifications.
45790         * configure: Regenerated.
45792         * config.make.in (output-format): New variable.
45793         * configure.in: Check for ld --print-output-format support.
45794         * configure: Regenerated.
45795         * Makerules ($(common-objpfx)format.lds)
45796         [$(output-format) != unknown]: Just use $(output-format),
45797         instead of the linker-script munging.
45799 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45801         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45802         of $(common-objpfx)shlib.lds.
45803         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45805         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45806         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45808         * configure.in (-z relro check): Adjust test code to add a large
45809         writable data section after it.
45810         * configure: Regenerated.
45812 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45814         * configure.in (-z relro check): Fix test code to make the variable
45815         truly const.
45816         * configure: Regenerated.
45818 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45820         * nscd/nscd.h (struct traced_file): Define.
45821         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45822         elements.  Add traced_files.
45823         (inotify_fd): Declare.
45824         (register_traced_file): Declare.
45825         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45826         (inotify_fd): Export.
45827         (resolv_conf_descr): Remove.
45828         (nscd_init): Move inotify descriptor creation to main.
45829         Don't register files for notification here.
45830         (register_traced_file): New function.
45831         (invalidate_cache): Don't use reset_res to determine whether to call
45832         res_init, go through the list of registered files.
45833         (main_loop_poll): The inotify descriptors are now stored in the
45834         structures for the traced files.
45835         (main_loop_epoll): Likewise
45836         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45837         to __nss_disable_nscd.
45838         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45839         for a database anymore.  Check the records for all the registered
45840         files instead.
45841         * nss/Makefile (libnss_files-routines): Add files-init.
45842         (libnss_db-routines): Add db-init.
45843         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45844         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45845         * nss/nss_db/db-init.c: New file.
45846         * nss/nss_files/files-init.c: New file.
45847         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45848         __nss_lookup_function.
45849         (__nss_lookup_function): Call nss_load_library.
45850         (nss_load_all_libraries): New function.
45851         (__nss_disable_nscd): Take parameter with callback function for files
45852         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45853         used for the cached services.
45854         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45855         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45856         options for features to all the files in nscd.
45858         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45860 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45862         * csu/elf-init.c (__libc_csu_init): Comment typo.
45864 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45866         * po/pl.po: Update from translation team.
45867         * po/ja.po: Likewise.
45868         * po/ru.po: Likewise.
45869         * po/ko.po: Likewise.
45870         * po/fr.po: Likewise.
45872 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45874         * configure.in (.ctors/.dtors header and trailer check):
45875         Use an empirical test on a built program.
45876         * configure: Regenerated.
45878         * configure.in (-z relro check): Use an empirical test on a built DSO.
45879         Detect, but do not require, on ia64.
45880         * configure: Regenerated.
45882         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45883         Update tests that use readelf to use $READELF instead.
45884         * configure: Regenerated.
45886 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45888         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45889         if the result is not used.
45891 2011-07-05  Andreas Jaeger  <aj@suse.de>
45893         [BZ#9696]
45894         * stdlib/tst-strtod.c: Add testcase.
45896 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45898         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45899         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45900         The latter has a higher limit.  Take additional parameter to pass to
45901         the new function.
45902         (__pathconf): Pass file to __statfs_link_max.
45903         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45904         __statfs_link_max.
45905         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45906         __statfs_link_max.
45908         [BZ #12868]
45909         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45910         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45911         Handle Lustre.
45912         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45913         (__statfs_filesize_max): Likewise.
45914         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45916 2011-07-05  Andreas Jaeger  <aj@suse.de>
45918         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45920 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45922         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45923         `status' variable.
45924         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45925         Likewise.
45927 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45929         * Makefile (strop-tests): Add strncat.
45930         * string/test-strncat.c: New file.
45932 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45934         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45936 2011-06-21  Andreas Jaeger  <aj@suse.de>
45938         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45939         Copy rule from iconvdata/Makefile.
45941 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45943         [BZ #12922]
45944         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45945         but no long options are defined, just return 'W'.
45947 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45949         [BZ #9696]
45950         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45952 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45954         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45955         netgroups to read.
45956         (innetgr): Likewise.
45958 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45960         * config.make.in (install_root): Default to $(DESTDIR).
45962 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45964         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45966 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45968         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45970         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45971         containing directory rather than embedding absolute directory names.
45973         * scripts/check-local-headers.sh: Rewritten using awk.
45974         Match by word, not by line.  Print error messages for matches.
45975         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45977         * Makerules [shlib-lds-flags empty]:
45978         ($(common-objpfx)libc_pic.opts): New target.
45979         ($(common-objpfx)libc_pic.os.clean): New target.
45980         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45982         * config.make.in (OBJCOPY): New variable.
45983         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45984         * configure: Regenerated.
45986         * config.make.in (use-default-link): New variable.
45987         * configure.in (use_default_link): Grok --with-default-link to set it.
45988         * configure: Regenerated.
45989         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45990         (shlib-lds, shlib-lds-flags): Define to empty.
45992         * Makerules (shlib-lds): New variable.
45993         (shlib-lds-flags): New variable.
45994         (build-shlib, build-moduile, build-module-asneeded): Use it.
45995         ($(common-objpfx)libc.so): Use $(shlib-lds).
45996         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45997         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45999         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46000         DT_FLAGS/DT_FLAGS_1 with zero flags.
46002         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46003         linker script munging.
46005 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46007         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46008         as 128-bit value.
46009         * crypt/sha512.c (sha512_process_block): Perform total addition using
46010         128-bit if possible.
46011         (__sha512_finish_ctx): Likewise.
46012         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46013         as 64-bit value.
46014         * crypt/sha256.c (SWAP64): Define.
46015         (sha256_process_block): Perform total addition using 64-bit if
46016         possible.
46017         (__sha256_finish_ctx): Likewise.
46019 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46021         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46022         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46023         * nscd/hstcache.c (cache_addhst): Likewise.
46024         * nscd/grpcache.c (cache_addgr): Likewise.
46025         * nscd/aicache.c (addhstaiX): Likewise
46026         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46028 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46030         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46031         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46032         * nscd/hstcache.c (cache_addhst): Likewise.
46033         * nscd/grpcache.c (cache_addgr): Likewise.
46034         * nscd/aicache.c (addhstaiX): Likewise
46036 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46038         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46039         domain only when needed.
46041 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46044         is always restored.
46046 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46048         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46049         are re-adding the entry.
46050         * nscd/servicescache.c (cache_addserv): Likewise.
46052 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46054         * sysdeps/generic/dl-irel.h: fix protection against multiple
46055         inclusions.
46056         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46058 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46060         [BZ #12935]
46061         * malloc/memusage.sh: Fix quoting in message.
46062         * debug/xtrace.sh: Likewise.
46064         * configure.in: Remove support for --experimental-malloc option, make
46065         it the default.
46066         * config.make.in: Likewise.
46067         * malloc/Makefile: Likewise.
46069 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46071         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46072         two-byte characters.
46074 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46076         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46077         AC_CACHE_CHECK invocation.
46078         * configure: Regenerated.
46080         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46082 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46084         [BZ #12350]
46085         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46086         bit from old_res_options.
46088         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46090         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46091         value type for setfct.
46093 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46095         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46096         __gettimeofday instead of gettimeofday.
46098 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46100         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46102 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46104         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46106         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46107         info.
46109 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46112         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46113         strcpy-sse2-unaligned strncpy-sse2-unaligned
46114         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46115         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46116         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46117         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46118         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46119         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46120         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46121         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46122         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46123         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46124         (STRCPY): Support SSE2 and SSSE3 versions.
46126 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46128         [BZ #12874]
46129         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46130         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46131         kernels which artificially limit size of requests.
46133 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46135         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46136         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46137         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46138         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46139         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46140         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46141         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46142         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46143         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46144         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46145         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46146         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46147         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46148         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46149         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46151         Enable unaligned load optimization for Intel Core i3, i5 and i7
46152         processors.
46153         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46154         Define.
46155         (index_Fast_Unaligned_Load): Define.
46156         (HAS_FAST_UNALIGNED_LOAD): Define.
46158 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46160         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46162 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46164         [BZ #12907]
46165         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46166         until it is clear that the information is realy needed.
46167         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46169 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46173 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46175         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46176         /sys/devices/system/cpu/online if it is usable.
46178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46179         reading the information from the /proc filesystem to once a second.
46181 2011-06-21  Andreas Jaeger  <aj@suse.de>
46183         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46184         NULL after inclusion of kernel headers.
46186 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46188         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46189         calls to internal_setent.
46191         [BZ #12885]
46192         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46193         addresses using gethostbyname4_r ignore IPv4 addresses.
46195         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46196         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46198         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46200 2011-06-20  David S. Miller  <davem@davemloft.net>
46202         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46203         inclusions.
46204         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46206         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46207         (elf_irel): Use it.
46208         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46209         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46210         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46211         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46212         * sysdeps/x86_64/dl-irel.h: Likewise.
46214         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46215         * elf/dl-sym.c: Likewise.
46217 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46219         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46220         need to dereference resplen2.
46222 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46224         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46226 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46228         * Makeconfig: Define vardbdir and inst_vardbdir.
46229         * nss/Makefile: Add rules to install db-Makefile.
46231         * nss/nss_db/db-XXX.c: Cleanup.
46233         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46234         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46235         GLIBC_PRIVATE.
46236         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46237         * nss/makedb.c: Implement -g option to specify that value strings
46238         are generated and should not be added to table iterated over for
46239         get*ent calls.
46240         * nss/nss_db/db-initgroups.c: New file.
46242         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46243         interface.
46245         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46246         (internal_getgrouplist): Adjust to name change.
46247         Update use_initgroups_entry if this is not the first call.
46248         * nss/databases.def: Add initgroups entry.
46250         * nss/makedb.c (compute_tables): Check result of multiple hash table
46251         sizes to minimize maximum chain length.
46253 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46255         * Versions.def: Add entry for libnss_db.
46256         * shlib-versions: Likewise.
46257         * nss/Makefile: Add rules to build libnss_db.
46258         * nss/Versions: Add libnss_db information.  Organize libnss_files
46259         entries better.
46260         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46261         makedb progra.  Some minor improvements to generate smaller files.
46262         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46263         here from...
46264         * nss/makedb.c: ...here.
46265         Improve database format to be smaller and require less memory at
46266         runtime.
46267         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46268         db anymore.
46269         * nss/nss_db/db-netgrp.c: Likewise.
46270         * nss/nss_db/db-open.c: Likewise.
46271         * nss/nss_files/flies-XXX.x: Adjust comments.
46272         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46273         * nss/nss_files/files-grp.c: Likewise.
46274         * nss/nss_files/files-hosts.c: Likewise.
46275         * nss/nss_files/files-network.c: Likewise.
46276         * nss/nss_files/files-proto.c: Likewise.
46277         * nss/nss_files/files-pwd.c: Likewise.
46278         * nss/nss_files/files-rpc.c: Likewise.
46279         * nss/nss_files/files-service.c: Likewise.
46280         * nss/nss_files/files-sgrp.c: Likewise.
46281         * nss/nss_files/files-spwd.c: Likewise.
46282         * nss/nss_db/db-alias.c: Removed.
46283         * nss/nss_db/dummy-db.h: Removed.
46285 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46287         * nss/makedb.c: Rewritten to not use database library.
46288         * nss/Makefile: Update to build new makedb program.
46290 2011-06-14  Andreas Jaeger  <aj@suse.de>
46292         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46293         memset declaration.
46295 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46298         tmpbuf.
46300 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46302         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46303         * elf/Makefile ($(objpfx)ld.so): Likewise.
46305         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46306         Don't list ld.so twice in dependencies.
46308         * posix/bug-regex31.c: Include <stdlib.h>.
46310         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46312         * nis/nss_compat/compat-spwd.c
46313         (getspent_next_nss_netgr): Remove unused variable.
46314         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46316         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46317         nonmembers" output to use the right array.
46319         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46321         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46323         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46324         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46325         * catgets/gencat.c (read_input_file): Likewise.
46326         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46328         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46329         variable definition inside #if's controlling its use.
46331         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46333         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46335         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46337         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46338         unreachable code.
46340         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46342         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46343         * configure: Regenerated.
46345         * Makerules: Revert last change.
46346         * elf/Makefile: Likewise.
46348 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46350         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46351         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46352         (reloc-link): Likewise.
46354 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46356         * elf/Makefile: Add rules to build pldd.
46357         * elf/pldd.c: New file.
46358         * elf/pldd-xx.c: New file.
46360 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46362         * version.h: Update for 2.15 development version.
46364 2011-06-07  David S. Miller  <davem@davemloft.net>
46366         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46367         ifuncs.
46368         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46369         elf_machine_lazy_rel): Likewise.
46370         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46371         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46372         elf_machine_lazy_rel): Likewise.
46373         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46374         dl_hwcap via passed in argument.
46375         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46376         Likewise.
46378 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46380         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46382 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46384         [BZ #12849]
46385         * manual/fdl-1.1.texi: New file, verbatim from:
46386         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46387         * manual/lgpl-2.1.texi: New file, verbatim from:
46388         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46389         * manual/Makefile (licenses): New variable, list those new file names.
46390         (texis): Use it.
46391         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46393         * manual/fdl.texi: File removed.
46394         * manual/lesser.texi: File removed.
46395         * manual/libc.texinfo (Copying, Documentation License):
46396         Use new @include file names, put @appendix directive before @include.
46398 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46400         [BZ #12841]
46401         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46402         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46403         (mq_open): Add __NTH.
46405 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46408         Assume Intel Core i3/i5/i7 processor if AVX is available.
46410 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46413         typo.
46415 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46417         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46418         memory.  Use alloca_account.  Fix memory leak when retrying.
46420 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46422         * version.h (RELEASE): Bump for 2.14 release.
46423         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46425         * config.make.in (RANLIB): Remove entry.
46427 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46429         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46430         (libc.pot): Work around missing support for .ksh extension in xgettext.
46432         [BZ #12684]
46433         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46434         if both request failed.
46435         (send_dg): In case of server errors clear resplen or *resplen2.
46437         [BZ #12454]
46438         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46439         when there are multiple maps.
46440         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46441         (_dl_fini): Remove test here.
46443         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46445 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46447         [BZ #12350]
46448         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46449         bit from old_res_options.
46450         (gaih_inet): Likewise.
46452         [BZ #11099]
46453         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46454         as signed.
46456         * resolv/res_init.c (res_setoptions): Make the code more compact.
46458         [BZ #11558]
46459         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46460         set RES_USEVC.
46462         [BZ #11634]
46463         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46465         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46467         [BZ #11781]
46468         * malloc/malloc.h: Declare malloc hook variables as volatile.
46470         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46471         in last patch.
46473         [BZ #11799]
46474         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46475         raise in the comment.
46476         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46477         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46478         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46480 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46482         [BZ #12811]
46483         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46484         grow the buffers more if it already has to be sufficient.
46485         (build_wcs_upper_buffer): Likewise.
46486         * posix/regexec.c (check_matching): Likewise.
46487         (clean_state_log_if_needed): Likewise.
46488         (extend_buffers): Don't enlarge buffers beyond size of the input
46489         buffer.
46490         Patches mostly by Emil Wojak <emil@wojak.eu>.
46491         * posix/bug-regex32.c: New file.
46492         * posix/Makefile (tests): Add bug-regex32.
46494         * locale/findlocale.c (_nl_find_locale): Return right away if
46495         _nl_explode_name failed.
46496         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46498         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46500         * debug/xtrace.sh: Unify messages.
46501         * malloc/memusage.sh: Likewise.
46503         [BZ #12813]
46504         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46505         time symbol from vDSO.  Substitute with vsyscall if not available.
46506         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46507         __vdso_time.
46509         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46510         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46511         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46512         Add sendmmsg and internal_sendmmsg.
46513         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46514         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46515         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46517         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46518         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46519         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46521 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46523         [BZ #12813]
46524         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46525         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46526         available.
46527         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46528         __vdso_getcpu.
46530         [BZ #12814]
46531         * iconvdata/Makefile (tests): Add bug-iconv9.
46532         * iconvdata/bug-iconv9.c: New file.
46534 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46536         [BZ #12814]
46537         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46539 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46541         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46542         (struct user_regs_struct): Change intcs field back to cs.
46544 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46546         * po/ja.po: Update from translation team.
46548 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46550         [BZ #12795]
46551         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46552         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46554 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46556         * stdlib/longlong.h: Update from GCC.
46558 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46560         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46561         parameter name.
46562         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46563         Add parameter name.
46564         (__sysconf): Pass it down.
46566 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46568         [BZ #12671]
46569         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46570         some situations.
46571         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46572         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46573         add in in __libc_use_alloca calls.  Adjust callers.
46574         (glob): Use malloc in some situations.
46576         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46577         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46578         pltexit.
46580 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46582         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46583         and CLOCK_BOOTTIME_ALARM.
46585         [BZ #12782]
46586         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46587         is returned.
46589         * string/_strerror.c (__strerror_r): Print negative errors as signed
46590         numbers.
46592         [BZ #12777]
46593         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46594         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46595         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46597         * configure.in: Fix typo in redirection and correct removal of test
46598         files in two cases.
46600         [BZ #12788]
46601         * locale/setlocale.c (new_composite_name): Fix test to check for
46602         identical name of all categories.
46604         [BZ #12792]
46605         * libio/filedoalloc.c (local_isatty): New function.
46606         (_IO_file_doallocate): Use local_isatty.
46607         * stdio-common/perror.c (perror): In case a new stream is used
46608         forward the stream error.
46609         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46610         error flag.
46612 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46614         [BZ #11869]
46615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46616         alloca.
46617         * include/alloca.h (extend_alloca_account): Define.
46619         [BZ #11857]
46620         * posix/regex.h: Fix comments with documentation of user-accessible
46621         fields after compilation and describe correct free'ing of pattern
46622         after re_compile_pattern.
46623         Patch by Reuben Thomas <rrt@sc3d.org>.
46625 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46627         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46628         and -mno-altivec to prevent the compiler from using Altivec and/or
46629         VSX instructions when the corresponding registers are not available.
46631 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46633         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46635 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46637         * libio/freopen.c (freopen): Use __dup2, not dup2.
46638         * libio/freopen64.c (freopen64): Likewise.
46640 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46642         [BZ #12775]
46643         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46644         * math/Makefile (tests): Add test-powl.
46645         (CFLAGS-test-powl.c): Define.
46646         * math/test-powl.c: New file.
46648 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46650         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46652 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46654         [BZ #11837]
46655         * iconvdata/gb18030.c: Update to GB18020-2005.
46657 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46659         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46660         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46661         Patch by Aharon Robbins <arnold@skeeve.com>.
46663         [BZ #11892]
46664         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46665         on the stack.
46667         [BZ #11895]
46668         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46669         through underflows.
46671         [BZ #12766]
46672         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46673         point to strings before performing equality test for error_one_per_line
46674         mode.
46676         [BZ #11697]
46677         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46679         [BZ #11820]
46680         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46681         (struct user_fpregs_struct): Avoid __uint*_t types.
46683         [BZ #6420]
46684         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46685         symbol info.  Use it instead of calling _dl_addr locally.
46686         (lock_and_info): New function.
46687         (tr_freehook): Call lock_and_info and pass symbol info as additional
46688         parameter to tr_where.
46689         (tr_mallochook): Likewise.
46690         (tr_reallochook): Likewise.
46691         (tr_memalignhook): Likewise.
46693         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46694         used and couldn't be at all thread-safe.
46696 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46698         * libio/freopen.c (freopen): Don't close old file descriptor
46699         before the new one is opened.  Instead dup the new file descriptor
46700         to the old one after the new stream is created.
46701         * libio/freopen64.c (freopen64): Likewise.
46702         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46703         * libio/fileops.c (_IO_new_file_close_it): Handle new
46704         _IO_FLAGS2_NOCLOSE flag.
46705         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46706         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46707         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46708         _IO_FLAGS2_NOCLOSE flag.
46709         * include/unistd.h: Add hidden_proto for dup3.
46710         Define __have_dup3.
46711         * io/dup3.c: Define hidden symbol.
46712         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46714         [BZ #7101]
46715         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46716         when an incomplete long option is used.
46717         * posix/tst-getopt_long1.c: New file.
46718         * posix/Makefile (tests): Add tst-getopt_long1.
46720         [BZ #10138]
46721         * scripts/config.guess: Update from autoconf-2.68.
46722         * scripts/config.sub: Likewise.
46724         [BZ #10157]
46725         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46726         tests into ...
46727         (has_cpuclock): ...this.  New function.
46728         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46729         macro here based on has_cpuclock code.
46731         [BZ #10149]
46732         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46733         First byte (not low byte) is now always NUL.
46734         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46737         Use non-cancelable interfaces.
46739         [BZ #9809]
46740         * locale/iso-639.def: Add entry for Sorani.
46742         [BZ #11901]
46743         * include/stdlib.h: Move include protection to the right place.
46744         Define abort_msg_s.  Declare __abort_msg with it.
46745         * stdlib/abort.c (__abort_msg): Adjust type.
46746         * assert/assert.c (__assert_fail_base): New function.  Majority
46747         of code from __assert_fail.  Allocate memory for __abort_msg with
46748         mmap.
46749         (__assert_fail): Now call __assert_fail_base.
46750         * assert/assert-perr.c: Remove bulk of implementation.  Use
46751         __assert_fail_base.
46752         * include/assert.hL Declare __assert_fail_base.
46753         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46754         mmap.
46755         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46757 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46759         [BZ #11952]
46760         [BZ #12453]
46761         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46762         until all modules are registered in the DTV.
46763         * elf/Makefile: Add rules to build and run tst-tls19.
46764         * elf/tst-tls19.c: New file.
46765         * elf/tst-tls19mod1.c: New file.
46766         * elf/tst-tls19mod2.c: New file.
46767         * elf/tst-tls19mod3.c: New file.
46768         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46770         [BZ #12083]
46771         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46772         correctly.
46774         [BZ #12601]
46775         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46776         two-byte sequence errors.
46777         * iconvdata/Makefile (tests): Add bug-iconv8.
46778         * iconvdata/bug-iconv8.c: New file.
46780         [BZ #12626]
46781         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46782         buf2 definition.
46784         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46786         [BZ #12432]
46787         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46788         (dummy_getcfa): New function.
46789         (init): Get _Unwind_GetCFA address, use dummy if not found.
46790         (backtrace_helper): In recursion check, also check whether CFA changes.
46791         (__backtrace): Completely initialize arg.
46793         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46794         storing incomplete byte sequence in state object.  Avoid testing for
46795         guaranteed too small input if we know there is enough data available.
46797 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46799         * Makeconfig (+link-pie): Indent.
46800         * Rules (binaries-pie): Define if $(have-fpie) and
46801         $(build-shared).
46802         (binaries-shared): Also filter out $(binaries-pie).
46803         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46804         * nscd/Makefile (others-pie): Add nscd.
46805         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46806         ($(objpfx)nscd): Remove command override.
46807         * login/Makefile (others-pie): Add pt_chown.
46808         ($(objpfx)pt_chown): Remove command override.
46809         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46810         remove command overrides.
46812 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46814         * libio/tst_putwc.c: Fix error messages.
46816         [BZ #12724]
46817         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46818         currently writing and seek to current position when not.
46819         * libio/Makefile (tests): Add bug-fclose1.
46820         * libio/bug-fclose1.c: New file.
46822 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46824         [BZ #12511]
46825         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46826         don't set DF_1_NODELETE here.
46827         (do_lookup_x): When entering new entry test for copy relocation
46828         and if necessary set DF_1_NODELETE flag.
46829         * elf/tst-unique4.cc: New file.
46830         * elf/tst-unique4.h: New file.
46831         * elf/tst-unique4lib.cc: New file.
46832         * elf/Makefile: Add rules to build and run tst-unique4.
46833         Patch by Piotr Bury <pbury@goahead.com>.
46835 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46837         [BZ #12052]
46838         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46840         [BZ #12625]
46841         * misc/mntent_r.c (addmntent): Flush the stream after the output
46843         [BZ #12393]
46844         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46845         (is_trusted_path_normalize): Skip initial colon.  Append slash
46846         to empty buffer.  Duplicate is_trusted_path code but allow
46847         constructed patch to be prefix.
46848         (is_dst): Allow $ORIGIN followed by /.
46849         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46850         Correct testing of result of is_trusted_path_normalize
46851         (decompose_rpath): Fix warning.
46853 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46855         [BZ #11257]
46856         * grp/initgroups.c (internal_getgrouplist): When we found the service
46857         list through the initgroups entry in nsswitch.conf do not always
46858         continue on a successful lookup.  Don't always use the
46859         __nss_group_database value if it is set.
46860         * nss/nsswitch.conf (initgroups): Change action for successful db
46861         lookup to continue for compatibility.
46863 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46865         [BZ #11532]
46866         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46867         and CP774 modules.
46868         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46869         and CP774 modules.
46870         * iconvdata/tst-tables.sh: Likewise.
46871         * iconvdata/cp770.c: New file.
46872         * iconvdata/cp771.c: New file.
46873         * iconvdata/cp772.c: New file.
46874         * iconvdata/cp773.c: New file.
46875         * iconvdata/cp774.c: New file.
46876         * iconvdata/testdata/CP770: New file.
46877         * iconvdata/testdata/CP770..UTF8: New file.
46878         * iconvdata/testdata/CP771: New file.
46879         * iconvdata/testdata/CP771..UTF8: New file.
46880         * iconvdata/testdata/CP772: New file.
46881         * iconvdata/testdata/CP772..UTF8: New file.
46882         * iconvdata/testdata/CP773: New file.
46883         * iconvdata/testdata/CP773..UTF8: New file.
46884         * iconvdata/testdata/CP774: New file.
46885         * iconvdata/testdata/CP774..UTF8: New file.
46887         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46888         END CHARMAP line.
46889         * iconvdata/gen-8bit-gap.sh: Likewise.
46890         * iconvdata/gen-8bit.sh: Likewise.
46892         * locale/iso-639.def: Add ary entry.
46894         [BZ #11258]
46895         * locale/C-translit.h.in: Add U20A1 transliteration.
46897         [BZ #12178]
46898         * locale/iso-639.def: Add wae entry.
46899         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46901         [BZ #12545]
46902         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46903         for n.
46905         [BZ #12711]
46906         * locale/C-translit.h.in: Add entry for U20B9.
46907         Patch by pravin.d.s@gmail.com.
46909 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46911         [BZ #12713]
46912         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46913         ENAMETOOLONG use generic getcwd.
46914         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46915         in rtld.  Use *stat64.
46916         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46917         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46918         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46919         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46920         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46921         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46922         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46923         __fstatat64 macros.
46924         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46925         * dirent/rewinddir.c: Add libc_hidden_def.
46926         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46927         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46929         * include/dirent.h (__alloc_dir): Add flags parameter.
46930         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46931         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46932         __alloc_dir.
46933         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46934         from fdopendir if O_CLOEXEC is already set.
46936 2011-03-15  Alan Modra  <amodra@gmail.com>
46938         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46939         l_tls_firstbyte_offset non-zero.  Save padding offset in
46940         l_tls_firstbyte_offset for later use.
46941         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46942         freeing static tls block.
46944 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46946         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46947         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46948         being defined by the kernel headers.
46950 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46952         [BZ #12734]
46953         * resolv/resolv.h: Define RES_NOTLDQUERY.
46954         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46955         no-tld-query and set RES_NOTLDQUERY.
46956         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46957         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46958         modern BIND to search name as TLD unless forbidden.
46960 2011-05-07  Petr Baudis  <pasky@suse.cz>
46961             Ulrich Drepper  <drepper@gmail.com>
46963         [BZ #12393]
46964         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46965         (is_trusted_path): ...to here.
46966         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46967         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46968         using is_trusted_path_normalize() in setuid scripts.
46970 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46972         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46973         __BEGIN/__END_DECLS.
46975 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46977         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46978         NSS_STATUS_NOTFOUND if no record was found.
46980 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46982         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46983         (headers-not-in-tirpc): Remove rpc/netdb.h
46984         * resolv/netdb.h: Revert last change.
46986 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46988         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46989         circular dependency between libgcc.a and libc.a.
46991 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46993         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46994         * nis/Makefile: Don't install rpcsvc/*.
46995         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46996         instead of <rpc/types.h>.
46997         (MAXHOSTNAMELEN): Define.
46999 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47001         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47003 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47005         [BZ #12714]
47006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47007         gethostbyname4_r when IPv6 results are possible.
47009 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47011         [BZ #12723]
47012         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47013         _PC_PIPE_BUF handling.
47015 2011-04-30  Bruno Haible  <bruno@clisp.org>
47017         [BZ #12717]
47018         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47019         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47020         to 'int'.
47021         * inet/getnameinfo.c (getnameinfo): Likewise.
47023 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47025         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47026         to groups setting in database lookup.
47027         * nss/nsswitch.conf: Add initgroups entry.
47029 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47031         [BZ #12685]
47032         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47033         mode string.
47034         Patch by Eric Blake <eblake@redhat.com>.
47036 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47038         * sunrpc/Makefile (need-export-routines): Add svc_run.
47039         (routines): Remove svc_run.
47040         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47041         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47042         * sunrpc/svc_run.c (svc_run): Likewise.
47043         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47045 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47047         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47048         problem in reallocation in last patch.
47050 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47052         * sunrpc/Makefile: Move inclusion of Rules.
47054 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47056         * nss/nss_files/files-initgroups.c: New file.
47057         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47058         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47059         _nss_files_initgroups_dyn.
47061 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47063         * elf/elf.h (R_ARM_IRELATIVE): Define.
47065 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47067         * po/ru.po: Update from translation team.
47069 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47071         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47072         dependencies.
47074 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47076         [BZ #12653]
47077         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47078         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47079         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47080         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47081         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47083 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47085         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47086         differing bytes.
47087         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47088         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47089         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47091 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47093         [BZ #12420]
47094         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47095         storing it.
47096         * stdlib/bug-getcontext.c: New file.
47097         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47099 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47101         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47102         instructions into .machine "z9-109".
47103         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47104         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47106 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47108         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47109         between environment variables and auxiliary vector.
47111 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47113         * Makefile: Add rules to build linkobj/libc.so.
47114         * include/libc-symbols.h: Define libc_hidden_nolink.
47115         * include/rpc/auth.h: Mark functions which are to be hidden.
47116         * include/rpc/auth_des.h: Likewise.
47117         * include/rpc/auth_unix.h: Likewise.
47118         * include/rpc/clnt.h: Likewise.
47119         * include/rpc/des_crypt.h: Likewise.
47120         * include/rpc/key_prot.h: Likewise.
47121         * include/rpc/pmap_clnt.h: Likewise.
47122         * include/rpc/pmap_prot.h: Likewise.
47123         * include/rpc/pmap_rmt.h: Likewise.
47124         * include/rpc/rpc_msg.h: Likewise.
47125         * include/rpc/svc.h: Likewise.
47126         * include/rpc/svc_auth.h: Likewise.
47127         * include/rpc/xdr.h: Likewise.
47128         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47129         * nss/Makefile: Likewise.
47130         * sunrpc/Makefile: Don't install headers.  Build library with normal
47131         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47132         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47133         for the compat linking library.  Remove use of INTDEF/INTUSE.
47134         * sunrpc/auth_none.c: Likewise.
47135         * sunrpc/auth_unix.c: Likewise.
47136         * sunrpc/authdes_prot.c: Likewise.
47137         * sunrpc/authuxprot.c: Likewise.
47138         * sunrpc/clnt_gen.c: Likewise.
47139         * sunrpc/clnt_perr.c: Likewise.
47140         * sunrpc/clnt_raw.c: Likewise.
47141         * sunrpc/clnt_simp.c: Likewise.
47142         * sunrpc/clnt_tcp.c: Likewise.
47143         * sunrpc/clnt_udp.c: Likewise.
47144         * sunrpc/clnt_unix.c: Likewise.
47145         * sunrpc/des_crypt.c: Likewise.
47146         * sunrpc/des_soft.c: Likewise.
47147         * sunrpc/get_myaddr.c: Likewise.
47148         * sunrpc/key_call.c: Likewise.
47149         * sunrpc/key_prot.c: Likewise.
47150         * sunrpc/netname.c: Likewise.
47151         * sunrpc/pm_getmaps.c: Likewise.
47152         * sunrpc/pm_getport.c: Likewise.
47153         * sunrpc/pmap_clnt.c: Likewise.
47154         * sunrpc/pmap_prot.c: Likewise.
47155         * sunrpc/pmap_prot2.c: Likewise.
47156         * sunrpc/pmap_rmt.c: Likewise.
47157         * sunrpc/publickey.c: Likewise.
47158         * sunrpc/rpc_cmsg.c: Likewise.
47159         * sunrpc/rpc_common.c: Likewise.
47160         * sunrpc/rpc_dtable.c: Likewise.
47161         * sunrpc/rpc_prot.c: Likewise.
47162         * sunrpc/rpc_thread.c: Likewise.
47163         * sunrpc/rtime.c: Likewise.
47164         * sunrpc/svc.c: Likewise.
47165         * sunrpc/svc_auth.c: Likewise.
47166         * sunrpc/svc_authux.c: Likewise.
47167         * sunrpc/svc_raw.c: Likewise.
47168         * sunrpc/svc_run.c: Likewise.
47169         * sunrpc/svc_simple.c: Likewise.
47170         * sunrpc/svc_tcp.c: Likewise.
47171         * sunrpc/svc_udp.c: Likewise.
47172         * sunrpc/svc_unix.c: Likewise.
47173         * sunrpc/svcauth_des.c: Likewise.
47174         * sunrpc/xcrypt.c: Likewise.
47175         * sunrpc/xdr.c: Likewise.
47176         * sunrpc/xdr_array.c: Likewise.
47177         * sunrpc/xdr_float.c: Likewise.
47178         * sunrpc/xdr_intXX_t.c: Likewise.
47179         * sunrpc/xdr_mem.c: Likewise.
47180         * sunrpc/xdr_rec.c: Likewise.
47181         * sunrpc/xdr_ref.c: Likewise.
47182         * sunrpc/xdr_sizeof.c: Likewise.
47183         * sunrpc/xdr_stdio.c: Likewise.
47185 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47187         [BZ #12650]
47188         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47189         * sysdeps/ia64/dl-tls.h: Likewise.
47190         * sysdeps/powerpc/dl-tls.h: Likewise.
47191         * sysdeps/s390/dl-tls.h: Likewise.
47192         * sysdeps/sh/dl-tls.h: Likewise.
47193         * sysdeps/sparc/dl-tls.h: Likewise.
47194         * sysdeps/x86_64/dl-tls.h: Likewise.
47195         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47197 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47199         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47200         rpath element also skip the following colon.
47201         (expand_dynamic_string_token): Add is_path parameter and pass
47202         down to DL_DST_REQUIRED and _dl_dst_substitute.
47203         (decompose_rpath): Call expand_dynamic_string_token with
47204         non-zero is_path.  Ignore empty rpaths.
47205         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47206         with zero is_path.
47208 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47211         Make cancelable.
47213 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47215         [BZ #12655]
47216         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47217         Patch by Filipe David Manana <fdmanana@apache.org>.
47219 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47221         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47222         Maintain aligned stack.
47223         (CHECK_RSP): Remove unused macro.
47225 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47227         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47228         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47230 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47232         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47234         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47236 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47238         [BZ #12518]
47239         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47240         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47241         * sysdeps/x86_64/memmove.c: New file.
47242         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47243         (memcpy): Renamed to ...
47244         (__new_memcpy): This.
47245         (memcpy): Provide GLIBC_2_14 memcpy.
47246         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47247         (memcpy): Provide GLIBC_2_2_5 memcpy.
47249 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47251         [BZ #12631]
47252         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47254 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47256         * misc/syncfs.c: New file.
47257         * misc/Makefile (routines): Add syncfs.
47258         * posix/unistd.h: Declare syncfs.
47259         * sysdeps/unix/syscalls.list: Add syncfs.
47261 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47263         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47264         open_by_handle_at.
47265         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47266         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47267         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47268         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47269         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47270         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47271         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47273 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47276         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47277         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47279         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47280         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47283         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47284         sync_file_range.c with -fexceptions.
47285         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47286         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47287         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47288         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47289         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47290         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47291         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47292         sync_file_range as cancellation point
47293         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47294         now a wrapper around __call_sync_file_range with cancellation handling.
47295         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47296         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47297         function name to __call_sync_file_range.
47298         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47299         Add call_sync_file_range.
47301 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47304         bits/timex.h.
47306 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47308         * iconv/iconv.h: Fix typo in comment.
47309         * io/fcntl.h: Likewise.
47310         * libio/stdio.h: Likewise.
47311         * posix/spawn.h: Likewise.
47312         * posix/unistd.h: Likewise.
47313         * stdlib/stdlib.h: Likewise.
47314         * time/time.h: Likewise.
47315         * wcsmbs/wchar.h: Likewise.
47317         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47318         open_by_handle): Add.
47319         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47320         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47321         Augment a few comments.
47322         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47324         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47326         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47327         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47328         open_by_handle.
47330         * io/fcntl.h (AT_EMPTY_PATH): Define.
47332 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47334         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47335         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47336         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47337         to...
47338         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47339         * Versions.def: Add GLIBC_2.14.
47340         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47341         Export.
47343 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47345         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47346         round counter.
47347         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47349 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47351         [BZ #12597]
47352         * string/test-strncmp.c (do_page_test): New function.
47353         (check2): Likewise.
47354         (test_main): Call check2.
47355         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47357 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47359         [BZ #12587]
47360         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47361         Handle cache information in CPU leaf 4.
47362         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47364 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47366         [BZ #12583]
47367         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47368         character representation.
47369         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47371 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47373         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47374         END(__isnan) to END(__isnanf) to match function entry point/label
47375         EALIGN(__isnanf,...).
47377 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47379         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47381 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47383         [BZ #12510]
47384         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47385         copy from the symbol referenced in the relocation to initialize the
47386         used variable.
47387         Patch by Piotr Bury <pbury@goahead.com>.
47388         * elf/Makefile: Add rules to build and tst-unique3.
47389         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47390         * elf/tst-unique3.cc: New file.
47391         * elf/tst-unique3.h: New file.
47392         * elf/tst-unique3lib.cc: New file.
47393         * elf/tst-unique3lib2.cc: New file.
47395         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47397 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47399         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47400         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47401         to _start.
47403 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47405         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47406         to-be-loaded object along a path to loader is ld.so.
47408 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47409             Ulrich Drepper  <drepper@gmail.com>
47411         * sysdeps/x86_64/memset.S: After aligning destination, code
47412         branches to different locations depending on the value of
47413         misalignment, when multiarch is enabled. Fix this.
47415 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47417         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47418         Set _x86_64_preferred_memory_instruction for AMD processsors.
47419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47420         Set bit_Prefer_SSE_for_memop for AMD processors.
47422 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47424         * libio/fmemopen.c (fmemopen): Optimize a bit.
47426 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47428         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47430 2011-03-03  Roland McGrath  <roland@redhat.com>
47432         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47434 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47436         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47437         __bzero_ultra1 instead of __memset_ultra1.
47439 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47440             Ulrich Drepper  <drepper@gmail.com>
47442         [BZ #12509]
47443         * include/link.h (struct link_map): Add l_orig_initfini.
47444         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47445         returning unsuccessfully.
47446         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47447         close of a file loaded at startup, restore the original l_initfini
47448         list.
47449         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47450         list, store the pointer.
47451         * elf/Makefile ($(objpfx)noload-mem): New rule.
47452         (noload-ENV): Define.
47453         (tests): Add $(objpfx)noload-mem.
47454         * elf/noload.c: Include <memcheck.h>.
47455         (main): Call mtrace.  Close all opened handles.
47457 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47459         [BZ #12454]
47460         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47461         dependencies are missing.
47463 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47465         Fix __if_freereq crash: Unlike the generic version which uses free,
47466         Hurd needs munmap.
47467         * sysdeps/mach/hurd/ifreq.h: New file.
47469 2011-01-27  Petr Baudis  <pasky@suse.cz>
47470             Ulrich Drepper  <drepper@gmail.com>
47472         [BZ 12445]#
47473         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47474         to extend_alloca().
47475         * stdio-common/bug23.c: New file.
47476         * stdio-common/Makefile (tests): Add bug23.
47478 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47479             Ulrich Drepper  <drepper@gmail.com>
47481         [BZ #12489]
47482         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47483         before performing relro protection.  At old place add assertion
47484         to make sure nothing changed.
47486 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47487             Glauber de Oliveira Costa  <glommer@gmail.com>
47489         * elf/elf.h: Add new ARM TLS relocs.
47491 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47494         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47495         cast from r3.
47496         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47497         'tests' variable.
47498         * sysdeps/wordsize-64/tst-writev.c: New file.
47500 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47502         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47503         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47504         insns in _dl_start to prevent a TOC reference before relocs are
47505         resolved.
47507 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47509         [BZ #12469]
47510         * Makeconfig: Remove RANLIB definition.
47511         * Makerules: Don't use RANLIB.
47512         * aclocal.m4: Remove ranlib test.
47513         * configure.in: No need to check for ranlib.
47514         * elf/rtld-Rules: Don't use RANLIB.
47516 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47518         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47519         protection macro.
47520         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47521         inclusion protection macro.
47523         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47524         SIGRTMIN and SIGRTMAX and print information in that case only when
47525         SIGRTMIN is defined.
47527 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47529         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47530         arginfo fn returning -1.
47532         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47533         and thousands string is zero terminated.
47535 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47537         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47538         sysdeps/unix/sysv/linux/bits/socket.h.
47540 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47542         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47543         (__CPU_COUNT): Remove old macros.
47544         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47545         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47546         (__CPU_ALLOC, __CPU_FREE): Add macros.
47547         (__sched_cpualloc, __sched_cpufree): Add declarations.
47549 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47551         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47552         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47553         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47554         (readdhstai): Return value of addhstaiX call.
47555         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47556         (addgrbyX): Return value returned by cache_addgr.
47557         (readdgrbyname): Return value returned by addgrbyX.
47558         (readdgrbygid): Likewise.
47559         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47560         (addpwbyX): Return value returned by cache_addpw.
47561         (readdpwbyname): Return value returned by addhstbyX.
47562         (readdpwbyuid): Likewise.
47563         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47564         (addservbyX): Return value returned by cache_addserv.
47565         (readdservbyname): Return value returned by addservbyX:
47566         (readdservbyport): Likewise.
47567         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47568         (addhstbyX): Return value returned by cache_addhst.
47569         (readdhstbyname): Return value returned by addhstbyX.
47570         (readdhstbyaddr): Likewise.
47571         (readdhstbynamev6): Likewise.
47572         (readdhstbyaddrv6): Likewise.
47573         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47574         (readdinitgroups): Return value returned by addinitgroupsX.
47575         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47576         (prune_cache): Keep track of timeout value of re-added entries.
47577         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47578         * nscd/nscd.h: Adjust prototypes of readd* functions.
47580 2011-02-04  Roland McGrath  <roland@redhat.com>
47582         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47583         (nis_stats): Likewise.
47584         * nis/nis_modify.c (nis_modify): Likewise.
47585         * nis/nis_remove.c (nis_remove): Likewise.
47586         * nis/nis_add.c (nis_add): Likewise.
47588         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47590         * posix/fnmatch_loop.c: Add some consts.
47592         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47594 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47596         [BZ #12460]
47597         * config.make.in (config-cflags-novzeroupper): Define.
47598         * configure.in: Substitute libc_cv_cc_novzeroupper.
47599         * elf/Makefile (AVX-CFLAGS): Define.
47600         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47601         (CFLAGS-tst-auditmod4a.c): Likewise.
47602         (CFLAGS-tst-auditmod4b.c): Likewise.
47603         (CFLAGS-tst-auditmod6b.c): Likewise.
47604         (CFLAGS-tst-auditmod6c.c): Likewise.
47605         (CFLAGS-tst-auditmod7b.c): Likewise.
47606         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47608 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47610         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47611         function to the callback.
47612         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47614 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47616         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47617         of errno.
47619 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47621         [BZ #11724]
47622         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47623         of constructors.
47624         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47625         of destructors.
47626         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47628         [BZ #11724]
47629         * elf/Makefile: Add rules to build and run new test.
47630         * elf/tst-initorder.c: New file.
47631         * elf/tst-initorder.exp: New file.
47632         * elf/tst-initordera1.c: New file.
47633         * elf/tst-initordera2.c: New file.
47634         * elf/tst-initordera3.c: New file.
47635         * elf/tst-initordera4.c: New file.
47636         * elf/tst-initorderb1.c: New file.
47637         * elf/tst-initorderb2.c: New file.
47638         * elf/tst-order-a1.c: New file.
47639         * elf/tst-order-a2.c: New file.
47640         * elf/tst-order-a3.c: New file.
47641         * elf/tst-order-a4.c: New file.
47642         * elf/tst-order-b1.c: New file.
47643         * elf/tst-order-b2.c: New file.
47644         * elf/tst-order-main.c: New file.
47645         New test case by George Gensure <werkt0@gmail.com>.
47647 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47650         decoding ACE if AI_CANONIDN.
47652 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47654         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47656 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47658         * version.h (RELEASE): Bump for 2.13 release.
47659         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47661         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47663         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47664         MADV_NOHUGEPAGE.
47665         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47666         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47667         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47668         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47669         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47670         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47672         * posix/getconf.c: Update copyright year.
47673         * catgets/gencat.c: Likewise.
47674         * csu/version.c: Likewise.
47675         * debug/catchsegv.sh: Likewise.
47676         * debug/xtrace.sh: Likewise.
47677         * elf/ldconfig.c: Likewise.
47678         * elf/ldd.bash.in: Likewise.
47679         * elf/sprof.c (print_version): Likewise.
47680         * iconv/iconv_prog.c: Likewise.
47681         * iconv/iconvconfig.c: Likewise.
47682         * locale/programs/locale.c: Likewise.
47683         * locale/programs/localedef.c: Likewise.
47684         * malloc/memusage.sh: Likewise.
47685         * malloc/mtrace.pl: Likewise.
47686         * nscd/nscd.c (print_version): Likewise.
47687         * nss/getent.c: Likewise.
47689         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47690         PF_CAIF, and PF_ALG.
47691         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47693 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47695         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47696         (modules-names): Use them.
47697         (ifunc-test-modules, ifunc-pie-tests): Define.
47698         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47699         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47700         (test-extras): Likewise.
47701         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47702         $(compile-command.c).
47703         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47704         (all-built-dso): Define.
47705         (check-textrel.out, check-execstack.out): Depend on it.
47707         * configure.in: Don't override --enable-multi-arch.
47709 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47711         [BZ #6812]
47712         * nscd/hstcache.c (tryagain): Define.
47713         (cache_addhst): Return tryagain not notfound for temporary errors.
47714         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47715         failed.
47717 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47719         [BZ #10563]
47720         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47721         to make the syscall.
47722         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47724         [BZ #12378]
47725         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47726         and fall back to matching as normal character if the string ends before
47727         the matching ']' is found.  This is what POSIX requires.
47728         * posix/testfnm.c: Adjust test result.
47729         * posix/globtest.sh: Adjust test result.  Add new test.
47730         * posix/tst-fnmatch.input: Likewise.
47731         * posix/tst-fnmatch2.c: Add new test.
47733 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47735         * elf/Makefile (check-execstack): Revert last change.  Depend on
47736         check-execstack.h.
47737         (check-execstack.h): New target.
47738         (generated): Add check-execstack.h.
47739         * elf/check-execstack.c: Include "check-execstack.h".
47740         (main): Revert last change.
47741         (handle_file): Return zero if GNU_STACK is absent and
47742         DEFAULT_STACK_PERMS doesn't include PF_X.
47744 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47746         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47747         in child fails because the descriptor is already closed.
47748         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47749         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47750         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47752         [BZ #12397]
47753         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47754         syscall.
47756         [BZ #10484]
47757         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47758         temporary buffer used to handle multi lookups locally.
47759         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47761 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47763         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47764         loader is ld.so.
47766 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47768         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47769         alignment for SSE2.
47771 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47773         [BZ #12394]
47774         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47775         characters.  When rounding increased number of integer digits recompute
47776         number of groups.
47777         * stdio-common/tst-grouping.c: New file.
47778         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47780 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47782         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47783         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47785         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47786         void.
47787         * bits/select.h: Likewise.
47789 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47791         * po/ja.po: Update from translation team.
47793 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47795         [BZ #11155]
47796         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47797         implementation just like for lxstat, fxstatat, et al.
47799 2010-12-27  Jim Meyering  <meyering@redhat.com>
47801         [BZ #12348]
47802         * posix/regexec.c (build_trtable): Return failure indication upon
47803         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47805 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47807         [BZ #12201]
47808         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47809         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47810         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47811         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47813         [BZ #12207]
47814         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47816         [BZ #12204]
47817         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47818         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47820 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47822         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47823         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47824         script has SORT_BY_INIT_PRIORITY.
47825         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47826         NO_CTORS_DTORS_SECTIONS is defined.
47827         * elf/soinit.c: Likewise.
47828         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47829         NO_CTORS_DTORS_SECTIONS is defined.
47830         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47831         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47832         * sysdeps/sh/init-first.c: Likewise.
47833         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47835 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47837         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47838         always use the slow path.
47840 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47842         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47843         similar rule which adds the sysdep directories to the header search in
47844         order to pick up the correct platform stackinfo.h.
47845         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47846         perform test if it is, otherwise return successfully without testing.
47847         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47848         DEFAULT_STACK_PERMS define in stackinfo.h.
47849         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47850         defined in stackinfo.h.
47851         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47852         DEFAULT_STACK_PERMS defined in stackinfo.h.
47853         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47854         * sysdeps/ia64/stackinfo.h: Likewise.
47855         * sysdeps/s390/stackinfo.h: Likewise.
47856         * sysdeps/sh/stackinfo.h: Likewise.
47857         * sysdeps/sparc/stackinfo.h: Likewise.
47858         * sysdeps/x86_64/stackinfo.h: Likewise.
47859         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47860         PF_X for powerpc64.  Retain PF_X for powerpc32.
47862 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47864         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47865         accurately.
47866         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47867         GETDENTS_64BIT_ALIGNED.
47869 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47871         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47873 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47875         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47876         _GNU_SOURCE.
47878         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47879         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47880         Remove __restrict.
47881         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47882         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47884 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47886         [BZ #11655]
47887         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47888         are initialized.
47890 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47892         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47894 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47896         * po/it.po: Update from translation team.
47898 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47901         unused codes.
47903 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47905         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47907 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47909         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47910         specially.
47911         (gaih_getanswer_slice): Likewise.
47913 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47917 2010-05-31  Petr Baudis  <pasky@suse.cz>
47919         [BZ #11149]
47920         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47921         silently even in the chroot mode.
47923 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47925         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47926         last patch a bit.  Pretty printing
47928 2010-05-31  Petr Baudis <pasky@suse.cz>
47930         [BZ #10085]
47931         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47932         initialization of skip_initgroups_dyn.
47934 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47936         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47937         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47939 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47941         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47943 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47945         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47946         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47947         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47948         ($(objpfx)tst-fnmatch-mem): New rule.
47949         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47950         * posix/tst-fnmatch.c (main): Call mtrace.
47952 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47955         Support Intel processor model 6 and model 0x2c.
47957 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47959         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47960           signed comparison.
47962 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47964         [BZ #12205]
47965         * string/test-strncasecmp.c (check_result): New function.
47966         (do_one_test): Use it.
47967         (check1): New function.
47968         (test_main): Use it.
47969         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47970         Support strcasecmp and strncasecmp.
47972 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47974         [BZ #12194]
47975         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47976         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47978 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47980         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47981         IFUNC support.
47982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47983         memset-x86-64.
47984         * sysdeps/x86_64/multiarch/bzero.S: New file.
47985         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47986         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47987         * sysdeps/x86_64/multiarch/memset.S: New file.
47988         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47989         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47990         Set bit_Prefer_SSE_for_memop for Intel processors.
47991         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47992         Define.
47993         (index_Prefer_SSE_for_memop): Define.
47994         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47996 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47998         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47999         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48001 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48003         [BZ #12191]
48004         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48005         (__x86_64_raw_data_cache_size_half): Likewise.
48006         (__x86_64_raw_shared_cache_size): Likewise.
48007         (__x86_64_raw_shared_cache_size_half): Likewise.
48009         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48010         (__x86_64_raw_data_cache_size_half): Likewise.
48011         (__x86_64_raw_shared_cache_size): Likewise.
48012         (__x86_64_raw_shared_cache_size_half): Likewise.
48013         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48014         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48015         and __x86_64_raw_shared_cache_size_half.  Round
48016         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48017         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48018         to multiple of 256 bytes.
48020 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48022         [BZ #12167]
48023         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48024         of inacessible symlinks.  Verify result of symlink before returning it.
48025         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48026         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48028 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48030         * math/math.h (isinf): Fix typo in comment.
48032 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48034         * po/da.po: Update from translation team.
48036 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48038         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48039         is added to the list.
48041 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48042             Ulrich Drepper  <drepper@gmail.com>
48044         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48045         the global list here.  Move code to...
48046         (_dl_add_to_namespace_list): ...here.  New function.
48047         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48048         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48049         * elf/dl-load.c (lose): Don't remove the element from the list.
48050         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48051         (_dl_map_object): Likewise.
48053 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48055         [BZ #12159]
48056         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48057         into all bytes of SSE register.
48058         Patch by Richard Li <richardpku@gmail.com>.
48060 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48062         [BZ #12140]
48063         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48064         perturbing.
48066 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48068         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48069         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48070         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48071         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48073         submachine.
48074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48076 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48078         * include/dlfcn.h (__RTLD_SECURE): Define.
48079         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48080         mode & __RTLD_SECURE instead.
48081         (open_path): Rename preloaded parameter to secure.
48082         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48083         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48084         * elf/dl-deps.c (openaux): Likewise.
48085         * elf/rtld.c (struct map_args): Remove is_preloaded.
48086         (map_doit): Don't use it.
48087         (dl_main): Likewise.
48088         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48089         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48091 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48093         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48094         (sysd-rules-targets): Remove duplicates.
48095         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48096         rtld-%.$o dependency.
48098 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48100         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48101         _dl_map_object do it.
48103 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48105         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48106         fast fma builtins, define the macros in the C99 standard.
48107         (FP_FAST_FMAF): Likewise.
48108         (FP_FAST_FMAL): Likewise.
48109         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48111         * bits/mathdef.h: Update copyright year.
48112         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48114 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48116         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48117         builtins, define the macros in the C99 standard.
48118         (FP_FAST_FMAF): Likewise.
48119         (FP_FAST_FMAL): Likewise.
48120         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48121         multiply/add.
48122         (FP_FAST_FMAF): Likewise.
48124 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48126         [BZ #3268]
48127         * math/libm-test.inc (fma_test): Some new testcases.
48128         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48129         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48130         y and infinite z.  Do multiplication by C already in long double.
48131         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48133         y and infinite z.  Do bitwise or of inexact bit into u.d.
48134         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48135         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48136         * sysdeps/i386/fpu/s_fma.S: Removed.
48137         * sysdeps/i386/fpu/s_fmal.S: Removed.
48139 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48141         [BZ #3268]
48142         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48144         computation is not scheduled after fetestexcept.  Fix value
48145         of minimum denormal long double.
48147 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48149         [BZ #3268]
48150         * math/libm-test.inc (fma_test): Add some more tests.
48151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48152         correctly.
48154 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48156         * scripts/data/localplt-s390-linux-gnu.data: New file.
48157         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48159 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48161         [BZ #3268]
48162         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48163         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48164         instead of dbl-64.
48165         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48166         inlines.
48167         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48169         if one of x and y is very large and the other is subnormal.
48170         * sysdeps/s390/fpu/s_fmaf.c: New file.
48171         * sysdeps/s390/fpu/s_fma.c: New file.
48172         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48173         * sysdeps/powerpc/fpu/s_fma.S: New file.
48174         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48175         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48176         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48178 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48180         [BZ #3268]
48181         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48182         fma tests.
48183         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48184         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48185         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48186         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48187         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48188         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48189         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48191 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48193         [BZ #12078]
48194         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48195         * posix/bug-regex31.input: Add test case.
48197 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48199         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48200         * posix/bug-regex31.input: New file.
48202         [BZ #12078]
48203         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48204         (parse_sub_exp): Fix last change, use postorder.
48206         * posix/bug-regex31.c: New file.
48207         * posix/Makefile: Add rules to build and run bug-regex31.
48209         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48211         [BZ #12078]
48212         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48214         [BZ #12108]
48215         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48216         to have entries in sys_siglist.
48218         [BZ #12093]
48219         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48220         be NULL.
48222 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48224         [BZ #3268]
48225         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48226         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48227         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48228         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48229         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48230         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48231         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48232         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48233         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48234         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48235         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48236         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48237         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48238         * math/ftestexcept.c (fetestexcept): Likewise.
48239         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48240         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48241         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48242         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48243         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48244         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48245         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48247 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48249         [BZ #12107]
48250         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48251         newline.
48253 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48255         * string/bug-strstr1.c: New file.
48256         * string/Makefile: Add rules to build and run bug-strstr1.
48258 2010-10-05  Eric Blake  <eblake@redhat.com>
48260         [BZ #12092]
48261         * string/str-two-way.h (two_way_long_needle): Always clear memory
48262         when skipping input due to the shift table.
48264 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48266         [BZ #12005]
48267         * malloc/mcheck.c: Handle large requests.
48269         [BZ #12077]
48270         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48271         for strncmp and strncasecmp.
48272         * string/stratcliff.c: Add tests for strcmp and strncmp.
48273         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48275 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48277         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48278         __set_fpscr.
48280 2010-09-30  Andreas Jaeger  <aj@suse.de>
48282         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48283         (CGROUP_SUPER_MAGIC): Define.
48284         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48285         Handle btrfs and cgroup file systems.
48286         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48287         Likewise.
48289 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48291         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48292         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48294 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48296         [BZ #12067]
48297         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48298         trying to locate the ELF header.
48300 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48302         [BZ #11611]
48303         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48304         Mask out sign-bit copies when constructing f_fsid.
48306 2010-09-24  Petr Baudis <pasky@suse.cz>
48308         * debug/stack_chk_fail_local.c: Add missing licence exception.
48309         * debug/warning-nop.c: Likewise.
48311 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48313         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48314         implementing getdents64 using getdents syscall, set d_type if
48315         __ASSUME_GETDENTS32_D_TYPE.
48317 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48319         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48320         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48322 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48324         [BZ #12037]
48325         * posix/unistd.h: Undo change of feature selection for ftruncate from
48326         2010-01-11.
48328 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48330         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48331         detection.
48333 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48335         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48336         fanotify_mark.
48337         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48339 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48341         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48342         variables after CHECK_SP call.
48343         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48345 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48346             Ulrich Drepper  <drepper@redhat.com>
48348         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48349         re-relocationg ld.so.
48350         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48351         _dl_init_paths call.
48352         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48353         here anymore.
48355 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48357         * resolv/res_init.c (__res_vinit): Count the default server we added.
48359 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48360             Ulrich Drepper  <drepper@redhat.com>
48362         [BZ #11968]
48363         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48364         (____longjmp_chk): Use %ebx for saving value across system call.
48365         Add unwind info.
48367 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48369         * manual/Makefile: Don't mix pattern rules with normal rules.
48371 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48373         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48374         operation.
48375         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48376         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48377         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48378         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48380         Likewise.
48382 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48384         [BZ #11979]
48385         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48386         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48388 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48390         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48391         * sysdeps/x86_64/addmul_1.S: Likewise.
48392         * sysdeps/x86_64/lshift.S: Likewise.
48393         * sysdeps/x86_64/mul_1.S: Likewise.
48394         * sysdeps/x86_64/rshift.S: Likewise.
48395         * sysdeps/x86_64/sub_n.S: Likewise.
48396         * sysdeps/x86_64/submul_1.S: Likewise.
48398 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48400         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48401         Define __sched_param instead of SCHED_* and sched_param when
48402         <bits/sched.h> is included with __need_schedparam defined.
48403         * bits/sched.h [__need_schedparam]
48404         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48405         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48406         (__defined_schedparam): Define to 1.
48407         (__sched_param): New structure, identical to sched_param.
48408         (__need_schedparam): Undefine.
48410 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48412         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48413         (epoll_create1): Declare.
48415         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48417 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48419         [BZ #7066]
48420         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48421         shifting retval into place.
48423 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48425         * nis/rpcsvc/nis.h: Update copyright notice.
48426         * nis/rpcsvc/nis.x: Likewise.
48427         * nis/rpcsvc/nis_callback.h: Likewise.
48428         * nis/rpcsvc/nis_callback.x: Likewise.
48429         * nis/rpcsvc/nis_object.x: Likewise.
48430         * nis/rpcsvc/nis_tags.h: Likewise.
48431         * nis/rpcsvc/yp.h: Likewise.
48432         * nis/rpcsvc/yp.x: Likewise.
48433         * nis/rpcsvc/ypupd.h: Likewise.
48434         * nis/yp_xdr.c: Likewise.
48435         * nis/ypupdate_xdr.c: Likewise.
48437         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48438         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48439         (pmap_getport): Use __libc_rpc_getport.
48440         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48441         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48442         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48444 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48447         fanotify_mark.
48449 2010-08-27  Roland McGrath  <roland@redhat.com>
48451         * sysdeps/i386/i686/multiarch/Makefile
48452         (CFLAGS-varshift.c): New variable.
48454 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48456         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48457         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48459         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48461         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48463 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48465         * sysdeps/x86_64/strlen.S: Unroll the loop.
48466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48467         strlen-sse2 strlen-sse2-bsf.
48468         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48469         __strlen_no_bsf if bit_Slow_BSF is set.
48470         (__strlen_sse42): Removed.
48471         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48472         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48474 2010-08-25  Roland McGrath  <roland@redhat.com>
48476         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48477         * sysdeps/x86_64/multiarch/varshift.c: New file.
48478         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48479         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48480         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48481         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48483 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48485         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48486         strlen-sse2 strlen-sse2-bsf.
48487         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48488         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48489         (__strlen_sse2): Removed.
48490         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48491         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48493         bit_Slow_BSF for Atom.
48494         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48495         (index_Slow_BSF): Define.
48496         (HAS_SLOW_BSF): Define.
48498 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48500         [BZ #10851]
48501         * resolv/res_init.c (__res_vinit): When no server address at all
48502         is given default to loopback.
48504 2010-08-24  Roland McGrath  <roland@redhat.com>
48506         * configure.in: Remove config-name.h generation.
48507         * configure: Regenerated.
48508         * config-name.in: File removed.
48509         * scripts/config-uname.sh: New file.
48510         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48511         ($(objdir)config-name.h): New target.
48513         * sunrpc/rpc_parse.h: Avoid nested comment.
48515 2010-08-24  Richard Henderson  <rth@redhat.com>
48516             Ulrich Drepper  <drepper@redhat.com>
48517             H.J. Lu  <hongjiu.lu@intel.com>
48519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48520         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48521         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48522         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48523         _mm_alignr_epi8 with _mm_loadu_si128.
48524         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48525         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48526         (__m128i_shift_right): Removed.
48527         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48528         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48529         * sysdeps/x86_64/multiarch/varshift.h: New file.
48530         * sysdeps/x86_64/multiarch/varshift.S: New file.
48532 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48534         * configure.in: Move assembler checks to before sysdep dir checking.
48536 2010-08-20  Petr Baudis  <pasky@suse.cz>
48538         * LICENSES: Sync the sunrpc license.
48540 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48542         * sunrpc/auth_des.c: Update copyright notice once again.
48543         * sunrpc/auth_none.c: Likewise.
48544         * sunrpc/auth_unix.c: Likewise.
48545         * sunrpc/authdes_prot.c: Likewise.
48546         * sunrpc/authuxprot.c: Likewise.
48547         * sunrpc/bindrsvprt.c: Likewise.
48548         * sunrpc/clnt_gen.c: Likewise.
48549         * sunrpc/clnt_perr.c: Likewise.
48550         * sunrpc/clnt_raw.c: Likewise.
48551         * sunrpc/clnt_simp.c: Likewise.
48552         * sunrpc/clnt_tcp.c: Likewise.
48553         * sunrpc/clnt_udp.c: Likewise.
48554         * sunrpc/clnt_unix.c: Likewise.
48555         * sunrpc/des_crypt.c: Likewise.
48556         * sunrpc/des_soft.c: Likewise.
48557         * sunrpc/get_myaddr.c: Likewise.
48558         * sunrpc/getrpcport.c: Likewise.
48559         * sunrpc/key_call.c: Likewise.
48560         * sunrpc/key_prot.c: Likewise.
48561         * sunrpc/openchild.c: Likewise.
48562         * sunrpc/pm_getmaps.c: Likewise.
48563         * sunrpc/pm_getport.c: Likewise.
48564         * sunrpc/pmap_clnt.c: Likewise.
48565         * sunrpc/pmap_prot.c: Likewise.
48566         * sunrpc/pmap_prot2.c: Likewise.
48567         * sunrpc/pmap_rmt.c: Likewise.
48568         * sunrpc/rpc/auth.h: Likewise.
48569         * sunrpc/rpc/auth_unix.h: Likewise.
48570         * sunrpc/rpc/clnt.h: Likewise.
48571         * sunrpc/rpc/des_crypt.h: Likewise.
48572         * sunrpc/rpc/key_prot.h: Likewise.
48573         * sunrpc/rpc/netdb.h: Likewise.
48574         * sunrpc/rpc/pmap_clnt.h: Likewise.
48575         * sunrpc/rpc/pmap_prot.h: Likewise.
48576         * sunrpc/rpc/pmap_rmt.h: Likewise.
48577         * sunrpc/rpc/rpc.h: Likewise.
48578         * sunrpc/rpc/rpc_des.h: Likewise.
48579         * sunrpc/rpc/rpc_msg.h: Likewise.
48580         * sunrpc/rpc/svc.h: Likewise.
48581         * sunrpc/rpc/svc_auth.h: Likewise.
48582         * sunrpc/rpc/types.h: Likewise.
48583         * sunrpc/rpc/xdr.h: Likewise.
48584         * sunrpc/rpc_clntout.c: Likewise.
48585         * sunrpc/rpc_cmsg.c: Likewise.
48586         * sunrpc/rpc_common.c: Likewise.
48587         * sunrpc/rpc_cout.c: Likewise.
48588         * sunrpc/rpc_dtable.c: Likewise.
48589         * sunrpc/rpc_hout.c: Likewise.
48590         * sunrpc/rpc_main.c: Likewise.
48591         * sunrpc/rpc_parse.c: Likewise.
48592         * sunrpc/rpc_parse.h: Likewise.
48593         * sunrpc/rpc_prot.c: Likewise.
48594         * sunrpc/rpc_sample.c: Likewise.
48595         * sunrpc/rpc_scan.c: Likewise.
48596         * sunrpc/rpc_scan.h: Likewise.
48597         * sunrpc/rpc_svcout.c: Likewise.
48598         * sunrpc/rpc_tblout.c: Likewise.
48599         * sunrpc/rpc_util.c: Likewise.
48600         * sunrpc/rpc_util.h: Likewise.
48601         * sunrpc/rpcinfo.c: Likewise.
48602         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48603         * sunrpc/rpcsvc/key_prot.x: Likewise.
48604         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48605         * sunrpc/rpcsvc/mount.x: Likewise.
48606         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48607         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48608         * sunrpc/rpcsvc/rex.x: Likewise.
48609         * sunrpc/rpcsvc/rstat.x: Likewise.
48610         * sunrpc/rpcsvc/rusers.x: Likewise.
48611         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48612         * sunrpc/rpcsvc/spray.x: Likewise.
48613         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48614         * sunrpc/rtime.c: Likewise.
48615         * sunrpc/svc.c: Likewise.
48616         * sunrpc/svc_auth.c: Likewise.
48617         * sunrpc/svc_authux.c: Likewise.
48618         * sunrpc/svc_raw.c: Likewise.
48619         * sunrpc/svc_run.c: Likewise.
48620         * sunrpc/svc_simple.c: Likewise.
48621         * sunrpc/svc_tcp.c: Likewise.
48622         * sunrpc/svc_udp.c: Likewise.
48623         * sunrpc/svc_unix.c: Likewise.
48624         * sunrpc/svcauth_des.c: Likewise.
48625         * sunrpc/xcrypt.c: Likewise.
48626         * sunrpc/xdr.c: Likewise.
48627         * sunrpc/xdr_array.c: Likewise.
48628         * sunrpc/xdr_float.c: Likewise.
48629         * sunrpc/xdr_mem.c: Likewise.
48630         * sunrpc/xdr_rec.c: Likewise.
48631         * sunrpc/xdr_ref.c: Likewise.
48632         * sunrpc/xdr_sizeof.c: Likewise.
48633         * sunrpc/xdr_stdio.c: Likewise.
48635         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48636         handling.
48638 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48640         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48642 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48644         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48645         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48646         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48647         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48648         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48649         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48650         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48651         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48652         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48653         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48654         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48655         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48656         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48657         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48659 2010-07-26  Anton Blanchard  <anton@samba.org>
48661         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48662         * malloc/arena.c (heap_trim): Likewise.
48664 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48666         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48667         here.  Not...
48668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48669         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48671 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48673         * sysdeps/i386/elf/Makefile: New file.
48675 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48677         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48678         from fanotify_init.
48679         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48682 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48684         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48685         of strncasecmp_l.
48686         * sysdeps/multiarch/strcmp.S: Likewise.
48688 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48690         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48691         strncase_l-nonascii.
48692         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48693         Add strncase_l-ssse3.
48694         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48695         * sysdeps/x86_64/strcmp.S: Likewise.
48696         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48697         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48698         * sysdeps/x86_64/strncase.S: New file.
48699         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48700         * sysdeps/x86_64/strncase_l.S: New file.
48701         * string/Makefile (strop-tests): Add strncasecmp.
48702         * string/test-strncasecmp.c: New file.
48704         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48705         warning.
48707         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48708         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48710 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48712         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48714 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48716         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48717         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48718         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48720 2010-05-01  Alan Modra  <amodra@gmail.com>
48722         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48723         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48724         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48725         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48726         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48727         tidying.  Don't tail-call __sigjmp_save for static lib.
48728         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48729         save location.
48730         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48731         (CALL_MCOUNT): Add eh info, and nop after bl.
48732         (TAIL_CALL_SYSCALL_ERROR): New macro.
48733         (PSEUDO_RET): Use it.
48734         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48735         Correct save location of integer regs and cr.
48736         (_dl_profile_resolve): Correct cr save location.  Delete nops
48737         after bl when SHARED.  Reduce cfi size a little by better
48738         placement of cfi directives.
48739         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48740         make a stack frame.  Instead use parm save area as a temp.
48741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48742         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48744         Don't make a stack frame for parent, use parm save area.
48745         Increase child stack frame to 112 bytes.  Don't save unused reg,
48746         and adjust reg usage.  Set up cfi on error recovery and
48747         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48749         (__makecontext): Add dummy nop after jump to exit.
48750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48751         Use correct parm save area and cr save, reduce stack frame.
48752         Correct cfi for possible PSEUDO_RET frame setup.
48753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48754         Branch to local label emitted by PSEUDO_RET rather than
48755         __syscall_error.
48757 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48759         [BZ #11904]
48760         * locale/programs/locale.c (print_assignment): New function.
48761         (show_locale_vars): Use it.
48763 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48765         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48766         field.
48767         (struct statfs64): Likewise.
48768         (_STATFS_F_FLAGS): Define.
48769         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48770         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48771         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48772         (ST_VALID): Define locally.
48773         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48774         __statvfs_getflags, use the provided value.
48775         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48776         __ASSUME_STATFS_F_FLAGS.
48778         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48780         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48781         Add sys/fanotify.h.
48782         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48783         fanotify_mask for GLIBC_2.13.
48784         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48785         fanotify_init and fanotify_mark.
48786         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48787         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48789         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48790         Add prlimit.
48791         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48792         prlimit64 for GLIBC_2.13.
48793         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48794         prlimit64.
48795         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48796         syscall.
48797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48798         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48799         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48800         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48802         add prlimit alias.
48803         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48805         [BZ #11903]
48806         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48807         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48809         * nss/Makefile: Add rules to build and run tst-nss-test1.
48810         * shlib-versions: Add entry for libnss_test1.
48811         * nss/nss_test1.c: New file.
48812         * nss/tst-nss-test1.c: New file.
48814         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48815         (__nss_configure_lookup): Set appropriate entry in
48816         __nss_configure_lookup to true.
48817         * nss/nsswitch.h: Define enum with indeces of databases in
48818         databases and __nss_database_custom arrays.  Declare
48819         __nss_database_custom.
48820         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48821         to avoid using nscd when custom rules are installed.
48822         * nss/getXXbyYY_r.c: Likewise.
48823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48825         * nss/nss_files/files-parse.c: Whitespace fixes.
48827 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48829         [BZ #11883]
48830         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48831         * posix/fnmatch_loop.c: Likewise.
48833 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48835         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48836         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48837         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48838         * Versions.def [GLIBC_2.13]: Add.
48840 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48842         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48843         Also fail if tpwd after pwuid call is NULL.
48845 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48847         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48848         when converting to ms.
48850 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48852         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48853         EOPNOTSUPP errors with ENOTTY.
48854         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48855         EOPNOTSUPP errors with ENOTTY.
48857 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48859         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48860         Add strcasecmp_l-ssse3.
48861         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48862         strcasecmp.
48863         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48864         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48865         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48867 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48869         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48871         * string/Makefile (strop-tests): Add strcasecmp.
48872         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48873         strcasecmp_l-nonascii.
48874         (gen-as-const-headers): Add locale-defines.sym.
48875         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48876         * sysdeps/x86_64/strcasecmp.S: New file.
48877         * sysdeps/x86_64/strcasecmp_l.S: New file.
48878         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48879         * sysdeps/x86_64/locale-defines.sym: New file.
48880         * string/test-strcasecmp.c: New file.
48882         * string/test-strcasestr.c: Test both ends of the range of characters.
48883         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48885 2010-07-29  Roland McGrath  <roland@redhat.com>
48887         [BZ #11856]
48888         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48890 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48892         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48893         for ld.so.
48895 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48897         * manual/memory.texi (Malloc Tunable Parameters): Document
48898         M_PERTURB.
48900 2010-07-26  Roland McGrath  <roland@redhat.com>
48902         [BZ #11840]
48903         * configure.in (-fgnu89-inline check): Set and substitute
48904         gnu89_inline, not libc_cv_gnu89_inline.
48905         * configure: Regenerated.
48906         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48908 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48910         * string/test-strnlen.c: New file.
48911         * string/Makefile (strop-tests): Add strnlen.
48912         * string/tester.c (test_strnlen): Add a few more test cases.
48913         * string/tst-strlen.c: Better error reporting.
48915         * sysdeps/x86_64/strnlen.S: New file.
48917 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48919         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48920         lower-latency instructions.
48922 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48924         * string/test-strcasestr.c: New file.
48925         * string/test-strstr.c: New file.
48926         * string/Makefile (strop-tests): Add strstr and strcasestr.
48927         * string/str-two-way.h: Don't undefine MAX.
48928         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48930 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48933         strcasestr-nonascii.
48934         (CFLAGS-strcasestr-nonascii.c): Define.
48935         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48936         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48937         Remove unused attribute.
48939 2010-07-20  Roland McGrath  <roland@redhat.com>
48941         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48942         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48943         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48944         like LD_HWCAP_MASK can disable hwcaps.
48946 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48948         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48950 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48952         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48953         call in strcasestr.
48954         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48955         __strcasestr_sse42_nonascii.
48956         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48957         strcasestr-nonascii.c.
48958         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48960 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48962         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48963         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48964         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48965         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48967 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48969         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48970         fcntl.
48972 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48974         [BZ #11577]
48975         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48976         dl_signal_cerror.
48978 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48980         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48981         _PC_PIPE_BUF using F_GETPIPE_SZ.
48983 2010-07-05  Roland McGrath  <roland@redhat.com>
48985         * manual/arith.texi (Rounding Functions): Fix rint description
48986         implicit in round description.
48988 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48990         * elf/Makefile: Fix linking for a few tests to make recent linker
48991         happy.
48993 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48995         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48996         $(common-objpfx)libc_nonshared.a.
48998 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49000         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49001         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49002         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49003         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49004         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49005         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49006         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49007         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49022         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49023         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49024         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49025         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49026         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49027         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49028         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49029         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49030         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49031         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49032         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49033         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49049 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49051         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49052         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49053         * string/memmove.c (memmove): Renamed to ...
49054         (MEMMOVE): ...this.  Default to memmove.
49055         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49056         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49057         (END_CHK): Define.
49058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49059         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49060         mempcpy-ssse3-back memmove-ssse3-back.
49061         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49062         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49063         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49064         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49065         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49066         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49067         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49068         * sysdeps/x86_64/multiarch/memmove.c: New file.
49069         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49070         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49071         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49072         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49073         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49074         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49075         Define.
49076         (index_Fast_Copy_Backward): Define.
49077         (HAS_ARCH_FEATURE): Define.
49078         (HAS_FAST_REP_STRING): Define.
49079         (HAS_FAST_COPY_BACKWARD): Define.
49081 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49083         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49084         Restore proper fallback handling.
49086 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49088         [BZ #11701]
49089         * posix/group_member.c (__group_member): Correct checking loop.
49091         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49092         OOM in getpwuid_r correctly.  Return error number when the caller
49093         should return, otherwise -1.
49094         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49095         call returning > 0 value.
49096         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49098 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49100         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49101         libc_nonshared.a from targets in modules-names.
49103 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49105         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49106         requires it.
49108 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49110         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49111         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49112         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49113         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49115 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49117         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49119 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49121         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49122         and F_GETPIPE_SZ.
49123         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49124         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49125         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49127         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49128         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49130 2010-06-14  Roland McGrath  <roland@redhat.com>
49132         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49134 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49136         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49137         __REDIRECT followed by __THROW.
49138         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49139         * posix/getopt.h (getopt): Likewise.
49141 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49143         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49144         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49145         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49146         in AT_FLAGS.
49147         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49148         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49150 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49152         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49154 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49156         [BZ #11640]
49157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49158         Properly check family and model.
49160 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49162         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49164 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49166         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49168 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49170         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49171         symbol reference.
49173 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49175         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49176         symbol reference.
49178 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49180         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49181         and internal_recvmmsg.
49182         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49183         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49184         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49185         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49187         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49188         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49189         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49191 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49193         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49195 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49197         POWER7 optimizations.
49198         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49199         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49201 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49203         * version.h: Update for 2.13 development version.
49205 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49207         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49208         exceptions.  Return 0.
49210 2010-05-07  Roland McGrath  <roland@redhat.com>
49212         * elf/ldconfig.c (main): Add a const.
49214 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49216         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49217         (args_options): Add no-idn option.
49218         (ahosts_keys_int): Add idn_flags to ai_flags.
49219         (parse_option): Handle 'i' option to clear idn_flags.
49221         * malloc/malloc.c (_int_free): Possible race in the most recently
49222         added check.  Only act on the data if no current modification
49223         happened.
49225 See ChangeLog.17 for earlier changes.