Enable AVX2 optimized memset only if -mavx2 works
[glibc.git] / ChangeLog
blob725509a928b5d56b360c0f7c48b1ba86c761ab15
1 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
3         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5         config-cflags-avx2.
6         * sysdeps/x86_64/configure.ac: Likewise.
7         * sysdeps/i386/configure: Regenerated.
8         * sysdeps/x86_64/configure: Likewise.
9         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10         memset-avx2 only if config-cflags-avx2 is yes.
11         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13         defined.
14         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15         only if HAVE_AVX2_SUPPORT is defined.
16         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18 2014-07-14  Alan Modra  <amodra@gmail.com>
20         [BZ #17153]
21         * elf/elf.h (DT_PPC64_NUM): Correct value.
22         * NEWS: Add to fixed bug list.
24 2014-07-13  Jim Meyering  <meyering@fb.com>
26         [BZ 17150]
27         regex: don't deref NULL upon heap allocation failure
28         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29         failure in one more place.
30         To trigger the segfault, configure grep -with-included-regex,
31         build it, and run these commands:
32         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38 2014-07-11  Richard Henderson  <rth@redhat.com>
40         * sysdeps/aarch64/libm-test-ulps: Update.
42 2014-07-10  Florian Weimer  <fweimer@redhat.com>
44         [BZ #17135]
45         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
46         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47         (__nptl_setxid): Initialize error member.  Call
48         __nptl_setxid_error.
49         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
50         * nptl/descr.h (struct xid_command): Add error member.
51         * nptl/tst-setuid3.c: New file.
52         * nptl/Makefile (tests): Add it.
54 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
57         New define.
58         (__lll_trylock): Use __lll_base_trylock.
59         (__lll_cond_trylock): Likewise.
61 2014-07-10  Roland McGrath  <roland@hack.frob.com>
63         * nptl/pthread_create.c (start_thread): Use atomic_or and
64         lll_futex_wake directly rather than lll_robust_dead.
65         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
66         (lll_robust_dead): Macro removed.
67         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
68         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
69         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
70         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
71         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
72         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
73         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
74         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
75         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
76         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
77         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
78         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
79         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
80         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
81         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
83         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
84         Use atomic_compare_and_exchange_val_acq directly rather than
85         lll_robust_trylock.
86         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
87         (__lll_robust_trylock, lll_robust_trylock): Removed.
88         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
89         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
90         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
91         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
92         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
93         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
94         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
95         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
96         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
97         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
98         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
99         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
100         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
101         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
103 2014-07-02  Florian Weimer  <fweimer@redhat.com>
105         * manual/locale.texi (Locale Names): New section documenting
106         locale name syntax.  Adjust menu and node chaining accordingly.
107         (Choosing Locale): Reference Locale Names, Locale Categories.
108         Mention setting LC_ALL=C.  Reflect that name syntax is now
109         documented.
110         (Locale Categories): New section title.  Reference Locale Names.
111         LC_ALL is an environment variable, but not a category.
112         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
113         description, now in Locale Name.  Reference that section.  Locale
114         name syntax is now documented.
116 2014-07-02  Florian Weimer  <fweimer@redhat.com>
118         [BZ #17137]
119         * locale/findlocale.c (name_present, valid_locale_name): New
120         functions.
121         (_nl_find_locale): Use the loc_name variable to store name
122         candidates.  Call name_present and valid_locale_name to check and
123         validate locale names.  Return an error if the locale is invalid.
125 2014-07-02  Florian Weimer  <fweimer@redhat.com>
127         * locale/setlocale.c (setlocale): Use strdup for allocating
128         composite name copy.
130 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
132         Sync up with gnulib.
133         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
134         [!_LIBC && ENABLE_NLS]: Include gettext.h.
135         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
136         and _GL_ARG_NONNULL.
137         [USE_UNLOCKED_IO]: Include unlocked-io.h.
138         [!_LIBC]: Include code for Windows and Cygwin.
139         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
140         Include prototype for int strerror_r.
141         [!_LIBC] (is_open): New function.
142         (flush_stdout): New function.
143         (print_errno_message): Use it.
144         (error): Likewise.
145         (error_at_line): Likewise.
146         (error_tail) Add function attribute macros.  Use
147         __builtin_expect.
149         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
151         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
153         * io/ftw.c: Include sys/param.h unconditionally.
155         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
157         [BZ #17125]
158         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
159         libc_freeres_ptr.
160         (freecache): New function to free CACHE on exit.
162         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
163         initialization.
165 2014-07-09  David S. Miller  <davem@davemloft.net>
167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
169         * sysdeps/sparc/nptl/internaltypes.h: Delete.
170         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
171         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
172         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
173         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
174         * sysdeps/sparc/nptl/sem_init.c: Likewise.
175         * sysdeps/sparc/nptl/sem_post.c: Likewise.
176         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
177         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
178         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
179         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
180         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
181         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
183 2014-07-09  Andreas Schwab  <schwab@suse.de>
185         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
186         output.
187         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
188         (do_test): Likewise.
190         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
192 2014-07-09  Will Newton  <will.newton@linaro.org>
194         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
195         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
196         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
197         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
198         * sysdeps/hppa/start.S (_start): Likewise.
200 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
202         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
204         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
205         defined.
207 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
209         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
210         after checking that it is non-NULL.
212         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
214 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
216         * sysdeps/powerpc/memmove.c: Remove file.
217         * sysdeps/powerpc/powerpc32/power4/memcopy.h
218         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
219         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
220         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
221         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
222         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
223         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
224         string memmove instead of removed powerpc one.
226         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
227         [weak_alias]: Fix compiler warning due trailing data.
228         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
229         [weak_alias]: Likewise.
230         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
231         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
234         (__libc_ifunc_impl_list): Add memmove functions.
236 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
238         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
239         Remove code.
240         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
241         Likewise
242         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
243         Likewise
244         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
245         Likewise
246         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
247         Likewise
248         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
249         Likewise
250         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
251         Likewise
252         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
253         Likewise
254         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
255         Likewise
256         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
257         Likewise
258         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
259         Likewise
260         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
261         Likewise
262         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
263         Likewise
264         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
265         Likewise
266         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
267         Likewise
268         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
269         Likewise
270         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
271         Likewise
273 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
275         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
276         to avoid alignment traps in non-cacheable memory.
277         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
280         multiarch objects.
281         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
282         file: multiarch power7 memmove.
283         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
284         multiarch default memmove.
285         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
286         multiarch memove for powerpc32/power4.
288         * string/bcopy.c: Use full path to include memmove.c.
289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
290         multiarch objects.
291         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
292         bcopy for powerpc64.
293         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
294         bcopy for powerpc64.
295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
296         and memmove implementations.
297         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
298         optimized multiarch memmove for POWER7/powerpc64.
299         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
300         default multiarch memmove for powerpc64.
301         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
302         multiarch for powerpc64.
303         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
304         for POWER7/powerpc64.
305         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
306         memmove for POWER7/powerpc64.
308         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
309         glibc default one.
311         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
312         __ELF_NATIVE_CLASS equal to 64.
314 2014-07-07  Roland McGrath  <roland@hack.frob.com>
316         * sysdeps/nptl/lowlevellock.h: File removed.
318         * NEWS: NPTL is no longer an add-on!
319         * nptl/internaltypes.h: Moved ...
320         * sysdeps/nptl/internaltypes.h: ... here.
321         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
322         * sysdeps/nptl/fork.c: Likewise.
323         * sysdeps/nptl/gai_misc.h: Likewise.
324         * sysdeps/nptl/librt-cancellation.c: Likewise.
325         * sysdeps/nptl/jmp-unwind.c: Likewise.
326         * sysdeps/nptl/setxid.h: Likewise.
327         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
328         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
329         * sysdeps/unix/sysv/linux/arm/Implies: New file.
330         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
331         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
332         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
333         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
334         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
335         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
336         * sysdeps/unix/sysv/linux/mips/Implies: New file.
337         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
338         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
339         * sysdeps/unix/sysv/linux/sh/Implies: New file.
340         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
341         * sysdeps/unix/sysv/linux/tile/Implies: New file.
342         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
343         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
344         * nptl/Makeconfig: Moved ...
345         * sysdeps/nptl/Makeconfig: ... here.
346         * nptl/configure: File removed.
347         * nptl/ANNOUNCE: File removed.
348         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
349         * sysdeps/unix/sysv/linux/configure: Regenerated.
351         * nptl/Makefile (routines): Add libc_pthread_init,
352         libc_multiple_threads, register-atfork and unregister-atfork.
353         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
354         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
355         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
356         pthread-pi-defines.sym, structsem.sym.
357         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
358         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
359         [$(subdir) = nptl] (tests): Add tst-setgetname.
360         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
361         * sysdeps/unix/sysv/linux/sigaction.c: Just include
362         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
363         [!LIBC_SIGACTION]: Remove aliases.
364         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
365         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
366         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
367         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
368         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
369         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
370         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
371         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
372         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
373         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
374         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
375         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
376         __libc_allocate_rtsig_private.
377         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
378         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
379         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
380         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
381         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
382         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
383         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
384         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
385         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
386         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
387         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
388         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
389         * nptl/internaltypes.h: ... here.
390         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
391         * sysdeps/nptl/jmp-unwind.c: ... here.
392         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
393         * nptl/libc-lowlevellock.c: ... here.
394         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
395         * nptl/libc_multiple_threads.c: ... here.
396         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
397         * nptl/libc_pthread_init.c: ... here.
398         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
399         * nptl/lowlevelbarrier.sym: ... here.
400         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
401         * nptl/lowlevelcond.sym: ... here.
402         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
403         * nptl/lowlevellock.c: ... here.
404         * nptl/lowlevellock.h: Moved ...
405         * sysdeps/nptl/lowlevellock.h: ... here.
406         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
407         * nptl/lowlevelrobustlock.c: ... here.
408         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
409         * nptl/lowlevelrobustlock.sym: ... here.
410         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
411         * nptl/lowlevelrwlock.sym: ... here.
412         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
413         * nptl/pt-fork.c: ... here.
414         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
415         * nptl/pthread-pi-defines.sym: ... here.
416         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
417         * nptl/pthread_attr_getaffinity.c: ... here.
418         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
419         * nptl/pthread_attr_setaffinity.c: ... here.
420         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
421         * nptl/pthread_mutex_cond_lock.c: ... here.
422         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
423         Update #include.
424         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
425         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
426         * nptl/pthread_once.c: ... here, replacing old file.
427         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
428         * nptl/pthread_yield.c: ... here.
429         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
430         * nptl/register-atfork.c: ... here.
431         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
432         * nptl/sem_post.c: ... here.
433         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
434         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
435         * nptl/sem_timedwait.c: ... here.
436         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
437         * nptl/sem_trywait.c: ... here.
438         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
439         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
440         * nptl/sem_wait.c: ... here.
441         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
442         * nptl/structsem.sym: ... here.
443         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
444         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
445         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
446         * nptl/unregister-atfork.c: ... here.
447         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
448         * nptl/unwindbuf.sym: ... here.
449         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
450         * sysdeps/nptl/fork.c: ... here.
451         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
452         * sysdeps/nptl/fork.h: ... here.
453         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
454         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
455         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
456         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
457         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
458         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
459         * sysdeps/unix/sysv/linux/getpid.c: ... here.
460         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
461         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
462         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
463         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
464         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
465         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
466         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
467         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
468         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
469         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
470         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
471         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
472         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
473         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
474         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
475         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
476         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
477         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
478         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
479         * sysdeps/unix/sysv/linux/raise.c: ... here.
480         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
481         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
482         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
483         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
484         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
485         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
486         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
487         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
488         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
489         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
490         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
491         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
492         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
493         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
494         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
496 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
498         * sysdeps/generic/memcopy.h: Add comment for
499         MEMCPY_OK_FOR_FWD_MEMMOVE.
501 2014-07-04  Will Newton  <will.newton@linaro.org>
503         * string/memchr.c: Merge from gnulib.
504         [_LIBC]: Remove conditionals.
505         (__ptr_t): Remove define.
506         (LONG_MAX_32_BITS): Likewise.
507         (LONG_MAX): Likewise.
508         (MEMCHR): Use ANSI prototype and optimize algorithm.
510         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
512 2014-07-03  Roland McGrath  <roland@hack.frob.com>
514         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
515         (lll_futex_timed_wait_bitset): Fix syscall argument count.
517         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
518         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
519         in a bare environment with no <stdlib.h> installed.
520         * sysdeps/nptl/configure: Regenerated.
522         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
524         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
525         AC_EGREP_CPP for kernel header checks, so they only succeed if
526         including <linux/version.h> actually works right.
527         * sysdeps/unix/sysv/linux/configure: Regenerated.
529         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
530         value so it's not diagnosed as unused.
532         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
533         thing) with "ifeq ($(subdir),rt)".
535 2014-07-03  Richard Henderson  <rth@redhat.com>
537         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
538         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
539         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
541         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
542         (math_force_eval): New.
544         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
545         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
547         * sysdeps/alpha/fpu/s_round.c: Remove file.
548         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
550         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
551         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
552         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
553         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
554         (_dl_start, print_statistics): Likewise.
555         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
556         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
558         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
559         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
560         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
561         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
562         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
563         (HP_SMALL_TIMING_AVAIL): Define.
564         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
565         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
566         (HP_SMALL_TIMING_AVAIL): Define.
567         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
568         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
570         * sysdeps/aarch64/hp-timing.h: New file.
572         * sysdeps/generic/hp-timing.h: Remove dead comment.
573         * sysdeps/generic/hp-timing-common.h: New file.
574         * sysdeps/alpha/hp-timing.h: Include it.
575         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
576         * sysdeps/i386/i686/hp-timing.h: Likewise.
577         * sysdeps/ia64/hp-timing.h: Likewise.
578         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
579         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
580         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
581         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
582         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
583         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
584         (hp_timing_t): New.
586         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
587         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
588         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
589         * elf/rtld.c (_dl_start_final): Likewise.
590         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
591         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
592         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
593         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
594         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
595         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
596         (HP_TIMING_DIFF_INIT): Remove.
597         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
598         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
599         (HP_TIMING_DIFF_INIT): Remove.
600         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
601         * sysdeps/i386/i686/hp-timing.c: Remove file.
602         * sysdeps/x86_64/hp-timing.c: Remove file.
603         * sysdeps/ia64/hp-timing.c: Remove file.
604         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
605         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
606         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
607         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
609         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
610         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
611         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
612         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
613         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
614         (HP_TIMING_ACCUM): Remove.
615         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
616         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
617         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
619         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
620         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
621         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
622         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
623         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
624         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
625         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
626         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
628         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
630 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
632         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
634 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
636         Sync up with gettext.
637         * intl/loadmsgcat.c: Define O_BINARY if not defined.
638         [_MSC_VER]: Include malloc.h
639         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
640         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
641         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
642         TEMP_FAILURE_RETRY.  Cast return of alloca.
643         [!_LIBC] Call gl_rwlock_init.
644         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
646 2014-07-02  Roland McGrath  <roland@hack.frob.com>
648         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
649         before checking its value.
651 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
653         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
655         * debug/memcpy_chk.c: Don't include pagecopy.h.
656         * debug/mempcpy_chk.c: Likewise.
657         * string/memcpy.c: Likewise.
658         * string/memmove.c: Likewise.
659         * sysdeps/powerpc/memmove.c: Likewise.
660         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
661         definition of PAGE_COPY_FWD_MAYBE here...
662         * sysdeps/generic/pagecopy.h: ... from here.
663         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
665 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
666             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
668         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
670         optimizations.
671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
672         (__libc_ifunc_impl_list): Likewise.
673         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
674         multiarch strcat for PPC64.
675         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
676         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
678 2014-07-02  Roland McGrath  <roland@hack.frob.com>
680         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
682 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
684         * intl/loadmsgcat.c: Remove declaration of
685         get_sysdep_segment_value.
686         (get_sysdep_segment_value): Use ISO C style.
687         (_nl_load_domain): Use ISO C style.  Get rid of redundant
688         semicolon.  Fix typo and formatting in comment.
689         (_nl_unload_domain): Use ISO C style.
691         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
693 2014-07-02  Will Newton  <will.newton@linaro.org>
695         * malloc/obstack.c: Merge from gnulib master.
696         [HAVE_CONFIG_H]: Remove conditional code.
697         [!_LIBC]: Include config.h.
698         [!ELIDE_CODE]: Don't include inttypes.h, include
699         stdint.h unconditionally.
700         (print_and_abort): Mark as _Noreturn.
701         (_obstack_allocated_p): Mark as __attribute_pure__.
702         (obstack_free): Rename to __obstack_free.
703         [!__attribute__]: Remove conditional code.
704         * malloc/obstack.h: Merge from gnulib master.
705         [__cplusplus]: Move conditional down.
706         [!__attribute_pure__]: Define __attribute_pure__ here
707         if it is not already defined.
708         (_obstack_memory_used): Mark as __attribute_pure__.
709         [!__obstack_free]: Define as obstack_free.
710         [__GNUC__]: Remove check for ancient NeXT gcc.
712 2014-07-02  Will Newton  <will.newton@linaro.org>
713             Paul Eggert  <eggert@cs.ucla.edu>
715         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
717 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
719         * resolv/gethnamaddr.c: Add comment warning that the file is
720         not maintained.
722 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
724         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
725         entries.
727         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
728         entry for aio_cancel and aio_cancel64.
729         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
730         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
731         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
732         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
733         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
734         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
735         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
736         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
737         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
738         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
739         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
740         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
741         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
743 2014-07-01  Roland McGrath  <roland@hack.frob.com>
745         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
746         * nptl/pthread_mutex_lock.c: Likewise.
747         * nptl/pthread_mutex_timedlock.c: Likewise.
748         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
750 2014-07-01  Richard henderson  <rth@redhat.com>
752         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
753         (__isnan, __isnanl): Remove.
754         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
756         * sysdeps/alpha/fpu/libm-test-ulps: Update.
758 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
760         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
762 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
764         * resolv/nss_dns/dns-host.c (getanswer_r)
765         [MULTI_PTRS_ARE_ALIASES]: Remove code.
767 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
770         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
771         undefine.
772         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
773         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
775 2014-07-01  Roland McGrath <roland@hack.frob.com>
777         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
778         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
780         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
781         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
783         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
784         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
785         ... here.
786         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
787         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
789         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
790         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
791         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
792         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
794         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
795         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
796         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
797         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
798         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
799         Moved ...
800         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
801         ... here.
802         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
803         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
804         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
805         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
806         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
807         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
808         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
809         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
810         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
811         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
812         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
813         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
814         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
815         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
816         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
817         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
818         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
819         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
820         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
821         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
822         ... here.
823         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
824         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
825         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
826         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
827         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
828         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
829         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
830         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
832 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
834         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
835         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
836         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
837         Add sysdep.
839 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
843 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
845         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
846         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
848         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
850         * sysdeps/arm/libm-test-ulps: Regenerated.
852 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
853             Roland McGrath <roland@hack.frob.com>
855         * test-skeleton.c (signal_handler): Kill the whole process group
856         before killing the child individually.
857         (main): Report any failure on `setpgid'.
859 2014-06-30  Roland McGrath  <roland@hack.frob.com>
861         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
862         from _TLS_H to _ARM_NPTL_TLS_H.
863         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
864         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
866 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
868         [BZ #16539]
869         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
870         (__expm1l): Return argument unchanged when small but not
871         subnormal.
873         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
874         include macro name.
875         (_FP_UNPACK_RAW_1_P): Likewise.
876         (_FP_PACK_RAW_1): Likewise.
877         (_FP_PACK_RAW_1_P): Likewise.
878         (_FP_MUL_MEAT_1_wide): Likewise.
879         (_FP_MUL_MEAT_DW_1_hard): Likewise.
880         (_FP_MUL_MEAT_1_hard): Likewise.
881         (_FP_DIV_MEAT_1_imm): Likewise.
882         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
883         (_FP_DIV_MEAT_1_udiv): Likewise.
884         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
885         (_FP_UNPACK_RAW_2): Likewise.
886         (_FP_UNPACK_RAW_2_P): Likewise.
887         (_FP_PACK_RAW_2): Likewise.
888         (_FP_PACK_RAW_2_P): Likewise.
889         (_FP_MUL_MEAT_DW_2_wide): Likewise.
890         (_FP_MUL_MEAT_2_wide): Likewise.
891         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
892         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
893         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
894         (_FP_MUL_MEAT_2_gmp): Likewise.
895         (_FP_DIV_MEAT_2_udiv): Likewise.
896         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
897         (_FP_FRAC_SRL_4): Likewise.
898         (_FP_FRAC_SRST_4): Likewise.
899         (_FP_FRAC_SRS_4): Likewise.
900         (_FP_UNPACK_RAW_4): Likewise.
901         (_FP_UNPACK_RAW_4_P): Likewise.
902         (_FP_PACK_RAW_4): Likewise.
903         (_FP_PACK_RAW_4_P): Likewise.
904         (_FP_MUL_MEAT_DW_4_wide): Likewise.
905         (_FP_MUL_MEAT_4_wide): Likewise.
906         (_FP_MUL_MEAT_4_gmp): Likewise.
907         (umul_ppppmnnn): Likewise.
908         (_FP_DIV_MEAT_4_udiv): Likewise.
909         (__FP_FRAC_ADD_4): Likewise.
910         (__FP_FRAC_SUB_3): Likewise.
911         (__FP_FRAC_SUB_4): Likewise.
912         (__FP_FRAC_DEC_3): Likewise.
913         (__FP_FRAC_DEC_4): Likewise.
914         (__FP_FRAC_ADDI_4): Likewise.
915         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
916         (_FP_FRAC_SRL_8): Likewise.
917         (_FP_FRAC_SRS_8): Likewise.
919         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
920         include macro name.
921         (FP_UNPACK_RAW_EP): Likewise.
922         (FP_PACK_RAW_E): Likewise.
923         (FP_PACK_RAW_EP): Likewise.
924         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
925         (_FP_ISSIGNAN): Likewise.
926         (_FP_ADD_INTERNAL): Likewise.
927         (_FP_FMA): Likewise.
928         (_FP_CMP): Likewise.
929         (_FP_SQRT): Likewise.
930         (_FP_TO_INT): Likewise.
931         (_FP_FROM_INT): Likewise.
932         (FP_EXTEND): Likewise.
933         (_FP_DIV_MEAT_N_loop): Likewise.
935 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
937         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
938         throughout.
940 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
942         [BZ #17097]
943         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
944         result with correct sign in case of exponents that produce
945         overflow except for X very close to 1.
947 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
949         mktime: merge #if/#ifdef usage from glibc
950         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
951         as that works with both Glibc's and Gnulib's style.
952         See thread starting at Siddhesh Poyarekar's bug report at:
953         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
955 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
957         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
958         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
959         * sysdeps/tile/tilegx/memmove.c: Remove file.
961 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
963         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
964         abi-name definition.
965         * scripts/soversions.awk: Do not handle or generate ABI lines.
966         * shlib-versions: Remove ABI entries.
967         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
968         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
970 2014-06-27  Roland McGrath  <roland@hack.frob.com>
972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
973         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
974         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
975         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
977         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
978         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
979         Moved ...
980         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
981         ... here.
982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
983         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
985         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
987         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
989         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
991         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
993         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
995         Moved ...
996         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
998         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1000         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1001         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1002         Moved ...
1003         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1005         Moved ...
1006         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1008         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1010         Moved ...
1011         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1013         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1015         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1017         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1019         Moved ...
1020         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1022         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1023         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1024         Moved ...
1025         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1026         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1027         Moved ...
1028         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1030         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1031         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1032         Moved ...
1033         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1034         ... here.
1035         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1036         Identical file removed.
1037         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1038         Moved ...
1039         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1041         Identical file removed.
1042         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1043         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1044         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1045         Moved ...
1046         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1048         Identical file removed.
1049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1050         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1051         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1052         Identical file removed.
1053         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1054         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1055         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1056         Identical file removed.
1057         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1058         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1060         Identical file removed.
1061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1062         Moved ...
1063         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1065         Identical file removed.
1066         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1067         Moved ...
1068         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1070         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1072         Identical file removed.
1073         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1074         Moved ...
1075         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1076         ... here.
1077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1078         Identical file removed.
1079         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1080         Moved ...
1081         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1082         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1083         Identical file removed.
1084         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1085         Moved ...
1086         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1088         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1090         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1092         Moved ...
1093         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1094         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1095         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1097         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1098         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1099         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1100         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1101         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1103 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1105         [BZ #17092]
1106         * nscd/nscd.c (monitor_child): Return exit status of child
1107         instead of return value from wait syscall.
1109 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1111         * configure.ac (libc_commonpagesize): Remove variable.
1112         (libc_relro_required): Likewise.
1113         (libc_cv_z_relro): Remove configure test.
1114         * configure: Regenerated.
1115         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1116         variable.
1117         (libc_relro_required): Likewise.
1118         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1119         (libc_relro_required): Likewise.
1120         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1121         (libc_relro_required): Likewise.
1122         * sysdeps/arm/preconfigure: Regenerated.
1123         * sysdeps/ia64/preconfigure: Remove file.
1124         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1125         variable.
1126         (libc_relro_required): Likewise.
1128         [BZ #16561]
1129         [BZ #16562]
1130         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1131         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1132         recompute overflowing results in original rounding mode.
1133         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1134         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1135         recompute overflowing results in original rounding mode.
1136         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1137         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1138         recompute overflowing results in original rounding mode.
1139         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1140         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1141         recompute overflowing results in original rounding mode.
1142         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1143         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1144         recompute overflowing results in original rounding mode.
1145         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1146         (libc_feholdsetround_ctx): New macro.
1147         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1148         * sysdeps/i386/fpu/libm-test-ulps: Update.
1149         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1151 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1153         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1154         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1155         corresponding .cpsetup call.
1157 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1159         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1160         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1161         * sysdeps/arm/Makefile [$(subdir) = csu]
1162         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1163         (static-only-routines): Add aeabi_read_tp here.
1164         (shared-only-routines): Add libc-aeabi_read_tp here.
1165         (CFLAGS-libc-start.c): Add -fexceptions here.
1166         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1167         (sysdep_routines, static-only-routines, shared-only-routines):
1168         Don't add to these here.
1169         (CFLAGS-libc-start.c): Likewise.
1171         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1172         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1173         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1174         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1175         * sysdeps/arm/Makefile [$(subdir) = rt]
1176         (librt-sysdep_routines, librt-shared-only-routines):
1177         Append rt-aeabi_unwind_cpp_pr1 here.
1178         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1179         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1180         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1181         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1182         Append nptl-aeabi_unwind_cpp_pr1 here.
1183         (tests): Filter out tst-cleanupx4 here.
1184         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1185         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1186         Don't do those here.
1188 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1190         * scripts/list-sources.sh: Do not handle ports specially.
1192 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1194         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1195         * sysdeps/arm/feupdateenv.c: Likewise.
1197         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1199 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1201         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1202         trailing whitespace removed.
1203         * scripts/config.guess: Update to version 2014-03-23.
1204         * scripts/config.sub: Update to version 2014-05-01
1205         * scripts/install-sh: Update to version 2013-12-25.23.
1206         * scripts/move-if-change: Update from gnulib.
1208 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1210         * debug/memmove_chk.c: Remove pagecopy.h include.
1212 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1214         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1215         identical to gnulib mktime.
1217 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1219         * configure.ac: Do not test for machine being rs6000.  Do not test
1220         for powerpc*-*soft.
1221         * configure: Regenerated.
1223         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1224         test.
1225         * configure: Regenerated.
1226         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1227         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1228         Remove configure test.
1229         * sysdeps/arm/configure: Regenerated.
1230         * sysdeps/nptl/configure.ac: Do not check
1231         libc_cv_asm_cfi_directives.
1232         * sysdeps/nptl/configure: Regenerated.
1233         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1234         * sysdeps/x86_64/nptl/configure: Remove generated file.
1235         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1236         unconditional.
1237         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1239 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1241         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1242         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1243         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1244         it is defined.
1246         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1247         instead of whether it is defined.
1248         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1249         * sysdeps/hppa/dl-machine.h: Likewise.
1250         * sysdeps/ia64/dl-machine.h: Likewise.
1251         * sysdeps/m68k/dl-machine.h: Likewise.
1252         * sysdeps/microblaze/dl-machine.h: Likewise.
1253         * sysdeps/mips/dl-machine.: Likewise.
1254         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1255         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1256         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1257         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1258         * sysdeps/sh/dl-machine.h: Likewise.
1259         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1260         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1261         * sysdeps/tile/dl-machine.h: Likewise.
1262         * sysdeps/x86_64/dl-machine.h: Likewise.
1264         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1265         code.
1266         (verify_persistent_db): Likewise.
1268 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1271         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1273         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1275         Moved ...
1276         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1277         ... here.
1278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1279         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1281         Identical file removed.
1282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1283         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1285         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1287         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1289         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1291         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1293         Moved ...
1294         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1296         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1298         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1300         Moved ...
1301         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1303         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1305         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1307         Identical file removed.
1308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1309         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1311         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1313         Moved ...
1314         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1315         ... here.
1316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1317         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1319         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1321         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1323         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1325         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1327         Moved ...
1328         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1330         Moved ...
1331         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1333         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1335         Moved ...
1336         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1338         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1340         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1341         folded into ...
1342         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1343         * sysdeps/unix/sysv/linux/s390/Versions
1344         (libpthread: GLIBC_2.19): New version set.
1345         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1346         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1347         (librt: GLIBC_2.3.3): New version set.
1348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1349         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1350         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1351         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1352         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1353         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1354         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1355         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1356         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1357         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1358         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1359         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1360         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1361         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1362         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1363         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1364         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1365         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1366         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1367         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1368         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1369         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1370         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1371         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1372         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1373         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1374         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1375         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1376         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1377         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1378         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1379         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1380         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1383         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1384         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1385         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1386         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1388         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1390         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1391         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1392         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1394         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1395         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1396         (__libc_vfork): Define the function under this name.
1397         [!NOT_IN_libc] (__vfork): Make this an alias.
1398         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1399         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1400         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1401         (__libc_vfork): Define the function under this name.
1402         [!NOT_IN_libc] (__vfork): Make this an alias.
1403         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1404         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1405         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1407         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1408         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1410         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1411         code that was previously under [RESET_PID].
1412         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1413         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1416         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1417         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1418         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1419         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1420         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1421         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1422         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1423         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1424         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1425         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1426         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1427         Moved ...
1428         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1429         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1430         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1431         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1432         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1433         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1434         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1435         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1436         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1437         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1438         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1439         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1440         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1441         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1442         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1443         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1444         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1445         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1446         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1447         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1448         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1449         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1450         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1451         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1452         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1453         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1454         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1455         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1456         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1458 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1460         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1461         that was previously under [RESET_PID].
1462         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1464 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1466         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1467         not undefine and redefine.
1468         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1469         [O_CLOEXEC]: Make code unconditional.
1470         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1471         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1472         <kernel-features.h>.
1473         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1474         conditional variable definition.
1475         (shm_open) [O_CLOEXEC]: Make code unconditional.
1476         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1477         code.
1479         * configure.ac (USE_REGPARMS): Don't define here.
1480         * configure: Regenerated.
1481         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1482         * sysdeps/i386/configure: Regenerated.
1484         * nptl/createthread.c: Don't include kernel-features.h.
1485         * nptl/pthread_cancel.c: Likewise.
1486         * nptl/pthread_condattr_setclock.c: Likewise.
1487         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1488         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1489         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1490         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1491         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1492         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1493         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1495         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1496         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1497         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1498         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1499         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1500         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1501         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1502         * nscd/gai.c: Likewise.
1503         * nss/nss_db/db-open.c: Likewise.
1504         * sysdeps/generic/ldsodefs.h: Likewise.
1505         * sysdeps/sh/nptl/tls.h: Likewise.
1506         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1507         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1508         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1509         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1510         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1511         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1512         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1513         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1514         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1515         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1516         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1517         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1518         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1519         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1520         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1521         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1522         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1523         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1524         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1525         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1527         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1528         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1529         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1532         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1533         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1534         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1535         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1536         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1537         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1538         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1539         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1540         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1541         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1542         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1543         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1544         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1545         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1546         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1547         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1548         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1549         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1550         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1551         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1552         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1553         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1554         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1555         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1556         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1557         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1558         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1559         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1560         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1561         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1562         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1563         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1586         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1587         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1588         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1589         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1590         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1591         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1592         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1593         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1594         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1595         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1596         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1597         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1598         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1599         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1600         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1601         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1602         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1603         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1604         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1605         * sysdeps/unix/sysv/linux/system.c: Likewise.
1606         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1607         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1608         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1609         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1610         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1611         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1612         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1614         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1615         * configure: Regenerated.
1616         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1618         * configure.ac (base_machine): Do not set specially for particular
1619         machines here.
1620         * configure: Regenerated.
1621         * sysdeps/powerpc/preconfigure: Move machine and base_machine
1622         settings from configure.ac.
1623         * sysdeps/i386/preconfigure: New file.
1624         * sysdeps/s390/preconfigure: Likewise.
1625         * sysdeps/sh/preconfigure: Likewise.
1626         * sysdeps/sparc/preconfigure: Likewise.
1628 2014-06-25  Roland McGrath  <roland@hack.frob.com>
1630         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1631         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1632         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1633         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1634         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1635         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1636         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1637         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1638         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1639         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1640         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1641         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1642         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1643         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1644         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1645         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1646         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1647         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1648         * sysdeps/sparc/sparc64/Makefile: ... appended here.
1650         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1651         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1652         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1653         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1654         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1655         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1656         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1657         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1658         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1659         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1660         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1661         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1662         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1663         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1664         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1665         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1666         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1667         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1668         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1669         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1670         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1671         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1672         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1673         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1674         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1676         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1677         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1678         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1679         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1680         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1681         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1682         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1683         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1684         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1685         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1686         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1687         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1690         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1692         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1694         Moved ...
1695         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1696         ... here.
1697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1698         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1700         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1702         Moved ...
1703         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1705         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1707         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1709         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1711         Moved ...
1712         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1714         Moved ...
1715         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1717         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1719         Moved ...
1720         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1722         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1724         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1726         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1728         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1730         Moved ...
1731         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1732         ... here.
1733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1734         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1736         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1738         Moved ...
1739         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1741         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1743         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1745         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1747         Moved ...
1748         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1750         Moved ...
1751         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1753         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1755         Moved ...
1756         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1758         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1760         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1762 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1764         * timezone/checktab.awk: Update from tzcode 2014e.
1765         * timezone/private.h: Likewise.
1766         * timezone/tzfile.h: Likewise.
1767         * timezone/zdump.c: Likewise.
1768         * timezone/zic.c: Likewise.
1770         * sysdeps/unix/sysv/linux/kernel-features.h
1771         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1772         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1773         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1774         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1775         Remove conditional code.
1777 2014-06-25  Will Newton  <will.newton@linaro.org>
1779         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1780         (_dl_arm_cap_flags): Add HWCAP2 values.
1781         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1782         (_DL_HWCAP_COUNT): Increase to 37.
1783         (_DL_HWCAP_LAST): New define.
1784         (_DL_HWCAP2_LAST): New define.
1785         (_dl_procinfo): Add support for printing
1786         AT_HWCAP2 entries.
1787         (_dl_string_hwcap): Use _dl_hwcap_string.
1789 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1793 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1795         * README: Do not mention ports directory.
1797         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1798         Remove macro.
1799         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1800         <kernel-features.h>.
1801         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1802         conditional variable definition.
1803         (__futimes): Update comment.
1804         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1805         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1807         [BZ #16560]
1808         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1809         arguments close to 0.
1810         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1811         Likewise.
1812         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1813         Likewise.
1814         * math/auto-libm-test-in: Add more tests of exp10.
1815         * math/auto-libm-test-out: Regenerated.
1816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1818         * sysdeps/unix/sysv/linux/kernel-features.h
1819         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1820         * sysdeps/unix/sysv/linux/readv.c: Do not include
1821         <kernel-features.h>.
1822         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1823         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1824         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1825         unconditional.
1826         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1827         conditional code.
1828         * sysdeps/unix/sysv/linux/writev.c: Do not include
1829         <kernel-features.h>.
1830         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1831         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1832         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1833         unconditional.
1834         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1835         conditional code.
1837 2014-06-25  Will Newton  <will.newton@linaro.org>
1839         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1840         comment changes throughout the file.  Remove checks
1841         for HAVE_*_H definitions that are not required.
1842         (__gen_tempname): Call abort if an unknown kind value is
1843         passed.
1845 2014-06-25  Andreas Schwab  <schwab@suse.de>
1847         [BZ #17086]
1848         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1849         scalbln, scalblnf, scalblnl in libc.
1851 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1853         [BZ #17086]
1854         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1855         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1856         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1858 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1860         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1861         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1862         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1863         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1864         Update #include.
1865         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1866         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1867         Update #include.
1868         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1869         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1870         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1871         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1872         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1873         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1874         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1875         * sysdeps/x86/bits/semaphore.h: ... here.
1876         * sysdeps/x86/nptl/elide.h: Moved ...
1877         * sysdeps/x86/elide.h: ... here.
1878         * sysdeps/x86_64/nptl/Implies: File removed.
1879         * sysdeps/i386/nptl/Implies: File removed.
1881 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1883         [BZ #16539]
1884         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1885         return the argument for normal arguments with exponent below -64.
1886         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1887         Likewise.
1888         * math/auto-libm-test-in: Add another test of expm1.
1889         * math/auto-libm-test-out: Regenerated.
1891         [BZ #16287]
1892         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1893         calling __erfcl for arguments at least 16.
1894         * math/auto-libm-test-in: Add more tests of erf.
1895         * math/auto-libm-test-out: Regenerated.
1897         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1898         individual architectures.
1899         * sysdeps/unix/sysv/linux/configure: Regenerated.
1900         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1901         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1902         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1903         (ldd_rewrite_script): Define variable.
1904         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1906         file.
1907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1908         generated file.
1909         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1910         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1911         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1912         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1913         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1914         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1915         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1916         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1918 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1920         [BZ #17084]
1921         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1922         Rename member __data.d to __data.__elision_data.
1924 2014-06-24  Wilco  <wdijkstr@arm.com>
1926         * NEWS: Add 16918 to fixed bug list.
1928 2014-06-24  Wilco  <wdijkstr@arm.com>
1930         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1932 2014-06-24  Wilco  <wdijkstr@arm.com>
1934         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1935         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1936         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1937         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1938         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1939         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1940         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1941         Use _FPU_MASK_RM.
1943 2014-06-24  Wilco  <wdijkstr@arm.com>
1945         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1947 2014-06-24  Wilco  <wdijkstr@arm.com>
1949         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1950         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1951         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1952         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1954 2014-06-24  Wilco  <wdijkstr@arm.com>
1956         [BZ #16918]
1957         * sysdeps/arm/feupdateenv.c (feupdateenv):
1958         Rewrite to reduce FPSCR accesses and fix return value.
1960 2014-06-24  Wilco  <wdijkstr@arm.com>
1962         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1963         Optimize to avoid unnecessary FPSCR writes.
1964         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1965         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1966         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1967         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1969 2014-06-24  Wilco  <wdijkstr@arm.com>
1971         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1972         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1973         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1974         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1975         Call libc_fetestexcept_vfp.
1976         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1977         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1978         __SOFTFP__ ifdef so that they can be built for softfp.
1980 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1982         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1983         argument type signed char.
1985         * Makerules (check-abi): Dump diff of symlist if the test
1986         fails.
1988 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1990         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1991         using abort.
1993         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1994         Remove unused variable ST.
1996 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1998         [BZ #16354]
1999         [BZ #17061]
2000         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2001         small arguments before calling __expm1.
2002         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2003         small arguments before calling __expm1f.
2004         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2005         small arguments before calling __expm1l.
2006         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2007         Likewise.
2008         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2009         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2010         spurious underflow for some cosh tests.
2011         * math/auto-libm-test-out: Regenerated.
2012         * sysdeps/i386/fpu/libm-test-ulps: Update.
2014         [BZ #17050]
2015         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2016         (__ieee754_y1): Set errno if return value overflows.
2017         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2018         (__ieee754_y1f): Set errno if return value overflows.
2019         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2020         (__ieee754_y1l): Set errno if return value overflows.
2021         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2022         (__ieee754_y1l): Set errno if return value overflows.
2023         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2024         * math/auto-libm-test-out: Regenerated.
2026         * math/gen-auto-libm-tests.c: Document use of
2027         ignore-zero-inf-sign.
2028         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2029         (input_flags): Add ignore-zero-inf-sign.
2030         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2031         * math/gen-libm-test.pl (generate_testfile): Handle
2032         ignore-zero-inf-sign.
2033         * math/auto-libm-test-in: Mark some cpow tests with
2034         ignore-zero-inf-sign and some with xfail-rounding.
2035         * math/auto-libm-test-out: Regenerated.
2036         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2037         * sysdeps/i386/fpu/libm-test-ulps: Update.
2038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2040         [BZ #16315]
2041         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2042         overflowing or underflowing operations take place with sign of
2043         result.
2044         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2045         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2046         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2047         (__ieee754_pow): Recompute overflowing and underflowing results in
2048         original rounding mode.
2049         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2050         (__powl_helper): Allow negative argument X and scale negated value
2051         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2052         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2053         overflowing or underflowing operations take place with sign of
2054         result.
2055         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2056         Include <math.h>.
2057         * math/auto-libm-test-in: Add more tests of pow.
2058         * math/auto-libm-test-out: Regenerated.
2059         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2060         (pow_tonearest_test_data): Remove.
2061         (pow_test_tonearest): Likewise.
2062         (pow_towardzero_test_data): Likewise.
2063         (pow_test_towardzero): Likewise.
2064         (pow_downward_test_data): Likewise.
2065         (pow_test_downward): Likewise.
2066         (pow_upward_test_data): Likewise.
2067         (pow_test_upward): Likewise.
2068         (main): Don't call removed functions.
2069         * sysdeps/i386/fpu/libm-test-ulps: Update.
2070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2072 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2075         Moved ...
2076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2078         Moved ...
2079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2081         Moved ...
2082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2084         Moved ...
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2087         File removed.
2088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2089         File removed.
2090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2091         File removed.
2092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2093         File removed.
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2095         File removed.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2097         File removed.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2099         File removed.
2100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2101         File removed.
2102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2103         File removed.
2104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2105         File removed.
2106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2107         File removed.
2108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2109         File removed.
2110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2111         Moved ...
2112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2114         Moved ...
2115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2116         ... here.
2117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2118         Moved ...
2119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2121         Moved ...
2122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2124         Moved ...
2125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2127         Moved ...
2128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2130         Moved ...
2131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2133         Moved ...
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2136         Moved ...
2137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2140         ... here.
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2142         Moved ...
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2145         Moved ...
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2147         ... here.
2148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2149         Moved ...
2150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2151         ... here.
2152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2153         Moved ...
2154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2155         ... here.
2156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2157         Moved ...
2158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2160         Moved ...
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2165         Moved ...
2166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2167         ... here.
2168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2169         Moved ...
2170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2171         ... here.
2172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2173         Moved ...
2174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2176         Moved ...
2177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2179         Moved ...
2180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2182         Moved ...
2183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2185         Moved ...
2186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2187         ... here.
2188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2189         Moved ...
2190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2192         Moved ...
2193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2195         Moved ...
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2198         Moved ...
2199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2203         Moved ...
2204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2206         Moved ...
2207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2209         Moved ...
2210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2211         ... here.
2212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2213         Moved ...
2214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2215         ... here.
2216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2217         Moved ...
2218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2219         ... here.
2220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2221         Moved ...
2222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2224         Moved ...
2225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2227         Moved ...
2228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2230         Moved ...
2231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2232         ... here.
2233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2234         Moved ...
2235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2236         ... here.
2237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2238         Moved ...
2239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2240         ... here.
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2242         Moved ...
2243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2245         Moved ...
2246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2248 2014-06-23  Will Newton  <will.newton@linaro.org>
2249             Wilco  <wdijkstr@arm.com>
2251         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2252         implementation.  Include get-rounding-mode.h.
2253         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2254         [!libc_feholdsetround_noex_ctx]: Define
2255         libc_feholdsetround_noex_ctx.
2256         [!libc_feholdsetround_noexf_ctx]: Define
2257         libc_feholdsetround_noexf_ctx.
2258         [!libc_feholdsetround_noexl_ctx]: Define
2259         libc_feholdsetround_noexl_ctx.
2260         (libc_feholdsetround_ctx): New function.
2261         (libc_feresetround_ctx): New function.
2262         (libc_feholdsetround_noex_ctx): New function.
2263         (libc_feresetround_noex_ctx): New function.
2265 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2267         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2268         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2269         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2270         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2271         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2272         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2274         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2275         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2276         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2277         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2278         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2279         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2280         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2281         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2282         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2283         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2284         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2285         Moved ...
2286         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2287         ... here.
2288         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2289         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2290         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2291         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2292         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2293         Moved ...
2294         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2295         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2296         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2297         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2298         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2300         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2302         Moved ...
2303         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2304         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2305         Moved ...
2306         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2307         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2308         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2310         Moved ...
2311         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2312         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2313         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2314         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2315         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2316         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2317         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2318         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2319         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2320         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2321         Moved ...
2322         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2323         ... here.
2324         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2325         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2326         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2327         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2328         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2329         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2330         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2331         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2332         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2333         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2334         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2335         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2336         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2337         Moved ...
2338         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2340         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2341         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2342         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2344         Moved ...
2345         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2346         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2347         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2348         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2349         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2351         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2352         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2353         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2354         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2356         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2357         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2358         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2359         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2360         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2361         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2362         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2363         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2364         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2365         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2366         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2368         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2369         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2370         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2371         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2372         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2373         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2374         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2375         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2376         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2377         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2378         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2380 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2382         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2383         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2384         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2385         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2386         (IPV6_PMTUDISC_INTERFACE): Likewise.
2387         (IPV6_PMTUDISC_OMIT): Likewise.
2389 2014-06-23  Andreas Schwab  <schwab@suse.de>
2391         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2392         Remove unused errout label.
2394 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2396         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2397         macro: hardware supports Vector Crypto instructions.
2399 2014-06-23  Will Newton  <will.newton@linaro.org>
2401         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2402         rather than __builtin_expect.
2404         * elf/dl-lookup.c (undefined_msg): Remove variable.
2405         (_dl_lookup_symbol_x): Replace undefined_msg with string
2406         literal.
2408         * elf/dl-lookup.c (do_lookup_unique): New function.
2409         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2410         to a separate function.
2412 2014-06-23  Andreas Schwab  <schwab@suse.de>
2414         [BZ #17079]
2415         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2416         before reading the next line.
2418 2014-06-23  Will Newton  <will.newton@linaro.org>
2420         * test-skeleton.c (signal_handler): Use printf and %m
2421         rather than perror.  Use printf rather than fprintf to
2422         stderr.  Use puts rather than fputs to stderr.
2423         (main): Likewise.
2425 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2427         * nscd/nscd.c (thread_info_t): Remove typedef.
2428         (thread_info): Remove variable.
2430 2014-06-21  Allan McRae  <allan@archlinux.org>
2432         * NEWS: Mention CVE-2014-4043.
2434 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2436         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2437         * nptl/smp.h: ... here.
2439         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2441         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2442         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2443         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2444         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2446         * nptl/allocatestack.c: Include <stack-aliasing.h>.
2447         * nptl/stack-aliasing.h: New file.
2448         * sysdeps/i386/i686/stack-aliasing.h: New file.
2449         * sysdeps/i386/i686/nptl/Makefile: File removed.
2450         * sysdeps/x86_64/stack-aliasing.h: New file.
2451         * sysdeps/x86_64/nptl/Makefile
2452         (CFLAGS-pthread_create.c): Variable removed.
2454         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2455         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2456         old file.
2457         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2458         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2459         old file.
2461 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2464         (__ASSUME_SIGFRAME_V2): Remove macro.
2465         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2466         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2467         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2468         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2469         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2470         Declare as function.  Remove conditional macro definitions.
2471         (__default_rt_sa_restorer): Likewise.
2472         (__default_sa_restorer_v1): Remove declaration.
2473         (__default_sa_restorer_v2): Likewise.
2474         (__default_rt_sa_restorer_v1): Likewise.
2475         (__default_rt_sa_restorer_v2): Likewise.
2476         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2477         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2478         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2480 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2482         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2483         (libpthread-routines): Add sysdep.
2484         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2485         * sysdeps/unix/sysv/linux/sparc/Versions
2486         (libpthread: GLIBC_2.3.3): New version set.
2487         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2488         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2489         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2490         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2491         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
2492         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2493         Moved ...
2494         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2495         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2496         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2497         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2498         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2499         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2500         * sysdeps/sparc/nptl/sem_init.c: ... here.
2501         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2502         * sysdeps/sparc/nptl/sem_post.c: ... here.
2503         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2504         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2505         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2506         * sysdeps/sparc/nptl/sem_wait.c: ... here.
2507         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2508         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2509         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2510         (libpthread-routines): Add cpu_relax.
2511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2512         File removed.
2513         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2514         (librt: GLIBC_2.3.3): New version set.
2515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2516         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2517         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2518         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2521         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2523         Moved ...
2524         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2526         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2528         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2530         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2531         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2532         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2533         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2534         Moved ...
2535         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2536         Update #include.
2537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2538         Moved ...
2539         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2540         Update #include.
2541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2542         Moved ...
2543         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2544         Update #include.
2545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2546         Moved ...
2547         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2548         Update #include.
2549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2550         Moved ...
2551         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2552         Update #include.
2553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2554         Moved ...
2555         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2556         Update #include.
2557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2558         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2564         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2566         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2568         Moved ...
2569         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2571         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2573         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2575 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2577         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2578         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2579         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2580         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2581         * nscd/nscd.c: Likewise.
2582         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2583         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2584         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2585         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2587         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2588         <kernel-features.h>.
2589         (init_mq_netlink): Remove conditional have_sock_cloexec
2590         definitions.  Remove code conditional on have_sock_cloexec < 0.
2591         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2592         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2593         * sysdeps/unix/sysv/linux/opensock.c: Do not include
2594         <kernel-features.h>.
2595         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2596         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2598 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2600         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2601         Add tests for memset_chk and memset.
2603         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2604         with AVX2_Usable.
2606 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2608         [BZ #16046]
2609         * elf/tst-dl-iter-static.c: New file.
2610         * elf/Makefile (tests-static): Add tst-dl-iter-static.
2612         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2613         error.
2615 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2617         * sysdeps/unix/sysv/linux/kernel-features.h
2618         (__ASSUME_F_GETOWN_EX): Remove macro.
2619         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2620         <kernel-features.h>.
2621         (miss_F_GETOWN_EX): Remove variable or macro.
2622         (do_fcntl): Do not check miss_F_GETOWN_EX.
2623         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2625         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2626         Remove macro.
2627         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2628         [!__ASSUME_AT_RANDOM]: Remove conditional code.
2629         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2631         * sysdeps/unix/sysv/linux/kernel-features.h
2632         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2633         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2634         [ADJ_OFFSET_SS_READ]: Make code unconditional.
2635         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2637 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
2639         [BZ #17075]
2640         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2641         Fix calculation of the symbol's value.
2642         * sysdeps/arm/tst-armtlsdescloc.c: New file.
2643         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2644         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2645         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2646         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2647         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2648         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2649         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2650         (modules-names): Add `tst-armtlsdescmod',
2651         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2652         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2653         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2654         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2655         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2656         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2657         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2658         ($(objpfx)tst-armtlsdescloc): New dependency.
2659         ($(objpfx)tst-armtlsdescextnow): Likewise.
2660         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2661         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2662         TLS scheme support.
2663         * sysdeps/arm/configure: Regenerate.
2665 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2667         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2668         (__atfct_seterrno_2): Likewise.
2669         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2670         <kernel-features.h>.
2671         (__ASSUME_ATFCTS): Do not undefine and redefine.
2672         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2673         (__have_atfcts): Remove conditional definition.
2674         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2675         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2676         unreachable if [__ASSUME_ATFCTS].
2677         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2678         not undefine and redefine.
2679         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2680         <kernel-features.h>.
2681         (faccessat) [__NR_faccessat]: Make code unconditional.
2682         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2683         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2684         <kernel-features.h>.
2685         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2686         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2687         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2688         <kernel-features.h>.
2689         (fchownat) [__NR_fchownat]: Make code unconditional.
2690         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2691         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2692         <kernel-features.h>.
2693         (futimesat) [__NR_futimesat]: Make code unconditional.
2694         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2695         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2696         <kernel-features.h>.
2697         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2698         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2699         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2700         <kernel-features.h>.
2701         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2702         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2703         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2704         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2705         <kernel-features.h>.
2706         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2707         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2708         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2709         <kernel-features.h>.
2710         (linkat) [__NR_linkat]: Make code unconditional.
2711         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2712         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2713         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2714         <kernel-features.h>.
2715         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2716         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2717         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2718         <kernel-features.h>.
2719         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2720         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2721         * sysdeps/unix/sysv/linux/openat.c: Do not include
2722         <kernel-features.h>.
2723         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2724         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2725         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2726         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2727         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2728         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2729         <kernel-features.h>.
2730         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2731         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2732         result of INLINE_SYSCALL directly, not via int variable.
2733         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2734         <kernel-features.h>.
2735         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2736         (renameat) [__NR_renameat]: Make code unconditional.
2737         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2738         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2739         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2740         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2741         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2742         (__ASSUME_ATFCTS): Do not undefine and redefine.
2743         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2744         <kernel-features.h>.
2745         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2746         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2747         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2748         <kernel-features.h>.
2749         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2750         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2751         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2752         (__ASSUME_ATFCTS): Do not undefine and redefine.
2753         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2754         <kernel-features.h>.
2755         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2756         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2757         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2758         <kernel-features.h>.
2759         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2760         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2762 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2764         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2766 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2768         [BZ #17069]
2769         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2770         constructed tree before returning error.
2771         * posix/bug-regexp36.c: Expand test case.
2773 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2775         [BZ #6803]
2776         * math/libm-test.inc (scalbln_test_date):
2777         Add errno expectations.
2778         * math/w_scalblnf.c: New File.
2779         Add wrapper which checks for setting errno to ERANGE.
2780         Add weak_alias for corresponding scalbln function.
2781         * math/w_scalbln.c: Likewise.
2782         * math/w_scalblnl.c: Likewise.
2783         * math/Makefile (libm-calls): Add w_scalbln.
2784         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2785         Remove weak_alias for corresponding scalbln function.
2786         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2788         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2789         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2790         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2791         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2792         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2793         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2794         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2795         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2796         Remove long_double_symbol for scalblnl function in libm, libc.
2797         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2798         Add wrapper which checks for setting errno to ERANGE.
2799         Add long_double_symbol for scalblnl function in libm, libc.
2800         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2801         Remove long_double_symbol for scalblnl in libm.
2802         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2803         Add wrapper which checks for setting errno to ERANGE.
2804         Add long_double_symbol for scalblnl function in libm.
2805         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2806         Do not use wrapper because of own implementation.
2808 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2810         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2811         3 bytes for __pad1 for x32.
2812         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2814 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2815             H.J. Lu  <hongjiu.lu@intel.com>
2817         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2818         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2819         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2820         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2821         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2823 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2825         [BZ #17069]
2826         * posix/regcomp.c (parse_expression): Deallocate partially
2827         constructed tree before returning error.
2828         * posix/Makefile.c (tests): Add bug-regex36.
2829         (generated): Add bug-regex36.mtrace.
2830         (tests-special): Add $(objpfx)bug-regex36-mem.out
2831         (bug-regex36-ENV): New variable.
2832         ($(objpfx)bug-regex36-mem.out): New rule.
2833         * posix/bug-regex36.c: New file.
2835 2014-06-19  Will Newton  <will.newton@linaro.org>
2837         * malloc/malloc.c (systrim): If extra is zero then return
2838         early.
2840 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2842         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2844 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2846         * sysdeps/aarch64/strchr.S: New file.
2848 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2850         [BZ #17022]
2851         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2852         from arguments -2 or below.
2853         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2854         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2856 2014-06-18  Andreas Schwab  <schwab@suse.de>
2858         [BZ #17062]
2859         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2860         of a bracket expr not to run off the end of the string.
2861         * posix/Makefile (tests): Add tst-fnmatch3.
2862         * posix/tst-fnmatch3.c: New file.
2864 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2866         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2867         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2868         [$(cross-compiling) = no]: Likewise.
2869         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2870         [$(cross-compiling) = no]: Likewise.
2872 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2874         [BZ #17031]
2875         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2876         double, adjusted for any remainder from the high double.
2877         * math/libm-test.inc (nearbyint): Add tests.
2878         (rint): Likewise.
2880 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2882         * nptl/sysdeps/powerpc/Makefile: Moved ...
2883         * sysdeps/powerpc/nptl/Makefile: ... here.
2884         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2885         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2886         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2887         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2888         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2889         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2890         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2891         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2892         * nptl/sysdeps/powerpc/tls.h: Moved ...
2893         * sysdeps/powerpc/nptl/tls.h: ... here.
2895 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2897         [BZ #16681]
2898         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2899         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2900         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2901         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2902         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2903         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2904         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2905         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2906         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2908 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2910         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2912 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2914         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2915         defined operator.
2917         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2918         $TIMEOUTFACTOR.
2920 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2922         [BZ #17058]
2923         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2924         non-executed part of the test.
2926 2014-06-16  Andreas Schwab  <schwab@suse.de>
2928         * string/bits/string2.h (strdup, strndup): Update feature guard.
2930 2014-06-14  David S. Miller  <davem@davemloft.net>
2932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2934 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2936         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2937         that was previously under [RESET_PID].
2938         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2940         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2941         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2942         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2943         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2944         (__libc_vfork): New strong alias.
2945         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2947 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2949         * sysdeps/generic/elide.h: New file.
2951 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2953         * Makefile (installed-headers): Adjust path of pthread.h header.
2955 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2957         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2958         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2959         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2960         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2962         * nptl/sysdeps/s390/Makefile: Moved ...
2963         * sysdeps/s390/nptl/Makefile: ... here.
2964         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2965         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2966         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2967         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2968         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2969         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2970         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2971         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2972         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2973         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2974         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2975         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2976         * nptl/sysdeps/s390/tls.h: Moved ...
2977         * sysdeps/s390/nptl/tls.h: ... here.
2979         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2980         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2982 2014-06-13  David S. Miller  <davem@davemloft.net>
2984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2987         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2991         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2992         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2993         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2994         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2995         Remove RESET_PID cpp guards.
2996         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2997         Remove RESET_PID cpp guards.
2998         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3000 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3002         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3003         __sp to uintptr_t.
3005 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3007         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3008         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3009         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3010         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3011         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3012         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3013         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3014         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3015         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3016         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3018         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3019         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3021         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3022         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3023         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3024         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3025         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3026         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3028         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3029         (pthread_rwlock_rdlock): Add elision.
3030         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3031         (pthread_rwlock_wrlock): Add elision.
3032         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3033         (pthread_rwlock_trywrlock): Add elision.
3034         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3035         (pthread_rwlock_tryrdlock): Add elision.
3036         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3037         (pthread_rwlock_tryrdlock): Add elision unlock.
3038         * nptl/sysdeps/pthread/pthread.h:
3039         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3040         (PTHREAD_RWLOCK_INITIALIZER,
3041         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3042         Handle new elision field.
3043         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3044         * sysdeps/arm/nptl/bits/pthreadtypes.h
3045         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3046         * sysdeps/sh/nptl/bits/pthreadtypes.h
3047         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3048         * sysdeps/tile/nptl/bits/pthreadtypes.h
3049         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3050         * sysdeps/a/nptl/bits/pthreadtypes.h
3051         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3052         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3053         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3054         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3055         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3056         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3057         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3058         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3059         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3060         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3061         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3062         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3063         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3064         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3065         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3066         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3067         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3068         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3069         (elision_init): Set try_xbegin to zero when no RTM.
3070         * sysdeps/x86/nptl/bits/pthreadtypes.h
3071         (pthread_rwlock_t): Change __pad1 to __rwelision.
3072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3074 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3076         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3077         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3078         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3079         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3081 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3083         [BZ #16996]
3084         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3085         that the cached result has been set before returning it.
3087 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3089         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3090         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3091         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3092         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3093         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3094         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3096         * nptl/sysdeps/sparc/Makefile: Moved ...
3097         * sysdeps/sparc/nptl/Makefile: ... here.
3098         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3099         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3100         * nptl/sysdeps/sparc/tls.h: Moved ...
3101         * sysdeps/sparc/nptl/tls.h: ... here.
3102         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3103         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3104         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3105         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3106         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3107         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3108         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3109         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3110         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3111         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3112         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3113         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3114         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3115         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3116         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3117         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3118         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3119         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3120         Update #include.
3121         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3122         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3123         Update #include.
3124         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3126         Update #include.
3127         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3128         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3129         Update #include.
3131         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3133         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3134         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3136         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3137         (struct list_links): Type removed.
3138         (struct thread_node, struct timer_node): Replace struct list_links
3139         with struct list_head.
3140         (list_unlink_ip): Likewise.
3141         * sysdeps/pthread/timer_routines.c
3142         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3143         (list_append, list_insbefore): Likewise.
3144         (list_init): Function removed.
3145         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3146         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3147         * sysdeps/pthread/Makefile: ... here, new file.
3149         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3150         * sysdeps/nptl/Implies: ... here.
3151         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3152         * nptl/sysdeps/pthread/list.h: Moved ...
3153         * include/list.h: ... here.
3154         * nptl/sysdeps/pthread/createthread.c: Moved ...
3155         * nptl/createthread.c: ... here.
3156         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3157         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3158         * nptl/pt-longjmp.c: ... here.
3159         * nptl/sysdeps/pthread/Makefile: Moved ...
3160         * sysdeps/nptl/Makefile: ... here.
3161         * nptl/sysdeps/pthread/Subdirs: Moved ...
3162         * sysdeps/nptl/Subdirs: ... here.
3163         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3164         * sysdeps/nptl/aio_misc.h: ... here.
3165         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3166         * sysdeps/nptl/bits/libc-lock.h: ... here.
3167         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3168         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3169         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3170         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3171         * nptl/sysdeps/pthread/configure: Moved ...
3172         * sysdeps/nptl/configure: ... here.
3173         * nptl/sysdeps/pthread/configure.ac: Moved ...
3174         * sysdeps/nptl/configure.ac: ... here.
3175         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3176         * sysdeps/nptl/gai_misc.h: ... here.
3177         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3178         * sysdeps/nptl/librt-cancellation.c: ... here.
3179         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3180         * sysdeps/nptl/malloc-machine.h: ... here.
3181         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3182         * sysdeps/nptl/pthread-functions.h: ... here.
3183         * nptl/sysdeps/pthread/pthread.h: Moved ...
3184         * sysdeps/nptl/pthread.h: ... here.
3185         * nptl/sysdeps/pthread/setxid.h: Moved ...
3186         * sysdeps/nptl/setxid.h: ... here.
3187         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3188         * sysdeps/nptl/sigfillset.c: ... here.
3189         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3190         * sysdeps/nptl/tcb-offsets.h: ... here.
3191         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3192         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3193         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3194         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3195         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3196         * sysdeps/pthread/allocalim.h: ... here.
3197         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3198         * sysdeps/pthread/bits/sigthread.h: ... here.
3199         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3200         * sysdeps/pthread/flockfile.c: ... here.
3201         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3202         * sysdeps/pthread/ftrylockfile.c: ... here.
3203         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3204         * sysdeps/pthread/funlockfile.c: ... here.
3205         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3206         * sysdeps/pthread/posix-timer.h: ... here.
3207         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3208         * sysdeps/pthread/timer_create.c: ... here.
3209         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3210         * sysdeps/pthread/timer_delete.c: ... here.
3211         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3212         * sysdeps/pthread/timer_getoverr.c: ... here.
3213         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3214         * sysdeps/pthread/timer_gettime.c: ... here.
3215         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3216         * sysdeps/pthread/timer_routines.c: ... here.
3217         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3218         * sysdeps/pthread/timer_settime.c: ... here.
3219         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3220         * sysdeps/pthread/tst-timer.c: ... here.
3221         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3222         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3224         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3225         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3227         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3228         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3229         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3230         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3231         Update #include target.
3232         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3233         * sysdeps/i386/i686/nptl/Makefile: ... here.
3234         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3235         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3236         Update #include target.
3237         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3238         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3239         * nptl/sysdeps/i386/Makefile: Moved ...
3240         * sysdeps/i386/nptl/Makefile: ... here.
3241         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3242         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3243         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3244         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3245         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3246         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3247         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3248         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3249         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3250         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3251         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3252         * nptl/sysdeps/i386/tls.h: Moved ...
3253         * sysdeps/i386/nptl/tls.h: ... here.
3255         * sysdeps/sh/Makefile [$(subdir) = csu]
3256         (gen-as-const-headers): Add tcb-offsets.sym.
3257         * nptl/sysdeps/sh/Makefile: File removed.
3258         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3259         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3260         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3261         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3262         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3263         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3264         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3265         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3266         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3267         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3268         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3269         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3270         * nptl/sysdeps/sh/tls.h: Moved ...
3271         * sysdeps/sh/nptl/tls.h: ... here.
3272         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3273         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3274         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3275         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3276         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3277         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3278         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3279         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3280         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3281         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3282         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3283         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3284         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3285         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3286         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3287         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3288         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3289         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3290         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3291         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3292         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3293         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3294         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3295         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3296         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3297         Moved ...
3298         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3299         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3300         Moved ...
3301         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3302         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3303         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3304         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3305         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3306         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3307         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3308         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3309         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3310         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3311         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3312         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3313         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3314         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3315         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3316         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3317         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3318         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3319         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3321 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3323         * posix/spawn_faction_addopen.c: Include string.h.
3325 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3327         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3328         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3329         * nptl/sysdeps/x86_64/Makefile: Moved ...
3330         * sysdeps/x86_64/nptl/Makefile: ... here.
3331         * nptl/sysdeps/x86_64/configure: Moved ...
3332         * sysdeps/x86_64/nptl/configure: ... here.
3333         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3334         * sysdeps/x86_64/nptl/configure.ac: ... here.
3335         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3336         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3337         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3338         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3339         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3340         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3341         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3342         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3343         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3344         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3345         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3346         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3347         * nptl/sysdeps/x86_64/tls.h: Moved ...
3348         * sysdeps/x86_64/nptl/tls.h: ... here.
3349         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3350         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3351         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3352         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3354         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3356 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3360 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3362         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3363         type.
3364         [POSIX] (off_t): Likewise.
3365         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3366         [POSIX] (S_ISBLK): Require macro.
3367         [POSIX] (S_ISCHR): Likewise.
3368         [POSIX] (S_ISDIR): Likewise.
3369         [POSIX] (S_ISFIFO): Likewise.
3370         [POSIX] (S_ISREG): Likewise.
3371         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3372         optional-macro.
3373         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3374         type.
3375         [POSIX] (time_t): Likewise.
3376         [POSIX] (timer_t): Likewise.
3378 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3380         [BZ #17048]
3381         * posix/spawn_int.h (struct __spawn_action): Make the path string
3382         non-const to support deallocation.
3383         * posix/spawn_faction_addopen.c
3384         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3385         * posix/spawn_faction_destroy.c
3386         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3387         path in all spawn_do_open actions.
3388         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3389         posix_spawn_file_actions_addopen.
3391 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3393         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3394         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3395         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3396         conditional code always true.
3397         (__libc_vfork): New alias.
3399 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3401         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3402         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3404         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3406         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3407         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3409         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3410         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3412         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3413         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3415 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3417         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3418         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3419         multiarch strcmp for PPC64.
3420         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3421         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3423         multiarch optimizations.
3424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3425         (__libc_ifunc_impl_list): Likewise.
3427 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3429         * benchtests/scripts/validate_benchout.py: New script.
3430         * benchtests/Makefile (bench-func): Call it.
3431         * benchtests/scripts/benchout.schema.json: New file.
3433 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
3435         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3436         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3437         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3438         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3439         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3440         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3441         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3442         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3443         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3444         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3445         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3446         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3447         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3448         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3449         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3450         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3452         Moved ...
3453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3454         ... here.
3455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3456         Moved ...
3457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3459         Moved ...
3460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3461         ... here.
3462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3463         Moved ...
3464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3465         ... here.
3466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3467         Moved ...
3468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3470         Moved ...
3471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3472         ... here.
3473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3474         Moved ...
3475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3476         ... here.
3477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3478         Moved ...
3479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3481         Moved ...
3482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3483         ... here.
3484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3485         Moved ...
3486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3487         ... here.
3488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3489         Moved ...
3490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3491         ... here.
3492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3493         Moved ...
3494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3496         Moved ...
3497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3498         ... here.
3499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3500         Moved ...
3501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3502         ... here.
3503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3504         Moved ...
3505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3506         ... here.
3507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3508         Moved ...
3509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3511         Moved ...
3512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3513         ... here.
3514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3515         Moved ...
3516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3517         ... here.
3518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3519         Moved ...
3520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3522         Moved ...
3523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3524         ... here.
3525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3526         Moved ...
3527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3529         Moved ...
3530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3532         Moved ...
3533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3534         ... here.
3535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3536         Moved ...
3537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3538         ... here.
3539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3540         Moved ...
3541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3542         ... here.
3543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3544         Moved ...
3545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3547         Moved ...
3548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3549         ... here.
3550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3551         Moved ...
3552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3553         ... here.
3554         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3555         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3556         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3557         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3558         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3559         Moved ...
3560         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3561         ... here.
3562         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3563         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3564         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3565         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3566         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3567         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3568         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3569         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3570         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3571         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3572         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3573         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3574         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3575         Moved ...
3576         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3578         Moved ...
3579         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3580         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3581         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3582         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3583         Moved ...
3584         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3586         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3587         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3588         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3589         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3590         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3592 2014-06-10  Wilco  <wdijkstr@arm.com>
3594         * math/test-fenv-return.c: New file.
3595         * math/Makefile: Add new test test-fenv-return.
3597 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
3599         [BZ #17042]
3600         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3601         when x - 1 is zero.
3602         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3603         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3604         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3605         0.0L for an argument of 1.0L.
3606         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3607         Likewise.
3608         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3609         value when x - 1 is zero.
3610         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3611         * sysdeps/i386/fpu/libm-test-ulps: Update.
3612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3614 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
3616         [BZ #15119]
3617         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3619 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3621         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3622         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3624 2014-06-09  Roland McGrath  <roland@hack.frob.com>
3626         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3627         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3629         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3630         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3632         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3633         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3635         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3636         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3638         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3639         if not already defined.
3640         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3641         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3642         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3643         (TLS_INIT_TP): Use it.
3644         (TLS_DEFINE_INIT_TP): New macro.
3645         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3647 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
3649         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3650         constant.
3651         [POSIX] (IXANY): Likewise.
3652         [POSIX] (OLCUC): Likewise.
3653         [POSIX || POSIX2008] (CBAUD): Do not allow.
3654         [POSIX || POSIX2008] (DEFECHO): Likewise.
3655         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3656         [POSIX || POSIX2008] (ECHOKE): Likewise.
3657         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3658         [POSIX || POSIX2008] (EXTA): Likewise.
3659         [POSIX || POSIX2008] (EXTB): Likewise.
3660         [POSIX || POSIX2008] (FLUSHO): Likewise.
3661         [POSIX || POSIX2008] (LOBLK): Likewise.
3662         [POSIX || POSIX2008] (PENDIN): Likewise.
3663         [POSIX || POSIX2008] (SWTCH): Likewise.
3664         [POSIX || POSIX2008] (VDISCARD): Likewise.
3665         [POSIX || POSIX2008] (VDSUSP): Likewise.
3666         [POSIX || POSIX2008] (VLNEXT): Likewise.
3667         [POSIX || POSIX2008] (VREPRINT): Likewise.
3668         [POSIX || POSIX2008] (VSTATUS): Likewise.
3669         [POSIX || POSIX2008] (VWERASE): Likewise.
3670         (B*): Change to B[0123456789]*.
3671         * conform/data/time.h-data [POSIX || UNIX98]
3672         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3673         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3674         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3675         [POSIX] (tm_*): Do not allow.
3677 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3679         * Makefile (install): Don't set LANGUAGE.
3680         * Makefile.in (install): Likewise.
3681         * assert/Makefile (test-assert-ENV): Remove variable.
3682         (test-assert-perr-ENV): Likewise.
3683         * elf/Makefile (neededtest4-ENV): Likewise.
3684         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3685         [$(cross-compiling) = no]: Don't set LANGUAGE.
3686         * io/ftwtest-sh (LANG): Remove variable.
3687         * libio/Makefile (tst-widetext-ENV): Likewise.
3688         * manual/install.texi (Running make install): Don't refer to
3689         environment settings for make install.
3690         * INSTALL: Regenerated.
3691         * nptl/tst-tls6.sh: Don't set LANG.
3692         * posix/globtest.sh (LANG): Remove variable.
3693         * string/Makefile (tester-ENV): Likewise.
3694         (inl-tester-ENV): Likewise.
3695         (noinl-tester-ENV): Likewise.
3696         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3697         [$(cross-compiling) = no]: Don't set LANGUAGE.
3698         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3699         without explicit environment settings.
3701 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3703         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3704         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3705         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3706         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3708 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3710         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3711         other files in the crypt directory.
3712         * crypt/crypt.c: Remove duplicate includes.
3713         * crypt/crypt-entry.c: Likewise.
3714         * crypt/crypt_util.c: Likewise.
3716 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3718         * Makeconfig (run-program-env): New variable.
3719         (run-program-prefix-before-env): Likewise.
3720         (run-program-prefix-after-env): Likewise.
3721         (run-program-prefix): Define in terms of new variables.
3722         (built-program-cmd-before-env): New variable.
3723         (built-program-cmd-after-env): Likewise.
3724         (built-program-cmd): Define in terms of new variables.
3725         (test-program-prefix-before-env): New variable.
3726         (test-program-prefix-after-env): Likewise.
3727         (test-program-prefix): Define in terms of new variables.
3728         (test-program-cmd-before-env): New variable.
3729         (test-program-cmd-after-env): Likewise.
3730         (test-program-cmd): Define in terms of new variables.
3731         * Rules (make-test-out): Use $(run-program-env).
3732         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3733         (help): Do not mention environment variables.  Mention
3734         --timeoutfactor option.
3735         (timeoutfactor): New variable.
3736         (blacklist_exports): Remove function.
3737         (exports): Remove variable.
3738         (command): Do not include ${exports}.
3739         * manual/install.texi (Configuring and compiling): Do not mention
3740         test wrappers preserving environment variables.  Mention that last
3741         assignment to a variable must take precedence.
3742         * INSTALL: Regenerated.
3743         * benchtests/Makefile (run-bench): Use $(run-program-env).
3744         * catgets/Makefile ($(objpfx)test1.cat): Use
3745         $(built-program-cmd-before-env), $(run-program-env) and
3746         $(built-program-cmd-after-env).
3747         ($(objpfx)test2.cat): Do not specify environment variables
3748         explicitly.
3749         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3750         $(run-program-env) and $(built-program-cmd-after-env).
3751         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3752         $(run-program-env) and $(test-program-cmd-after-env).
3753         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3754         explicitly.
3755         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3756         run_program_env and test_program_cmd_after_env arguments.
3757         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3758         * elf/tst-pathopt.sh: Use run_program_env argument.
3759         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3760         $(test-wrapper-env) and $(run-program-env).
3761         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3762         run_program_env arguments.
3763         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3764         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3765         $(test-program-prefix-before-env), $(run-program-env) and
3766         $(test-program-prefix-after-env).
3767         ($(objpfx)tst-gettext2.out): Likewise.
3768         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3769         run_program_env and test_program_prefix_after_env arguments.
3770         * intl/tst-gettext2.sh: Likewise.
3771         * intl/tst-gettext4.sh: Do not set environment variables
3772         explicitly.
3773         * intl/tst-gettext6.sh: Likewise.
3774         * intl/tst-translit.sh: Likewise.
3775         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3776         $(test-program-prefix-before-env), $(run-program-env) and
3777         $(test-program-prefix-after-env).
3778         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3779         run_program_env and test_program_prefix_after_env arguments.
3780         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3781         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3782         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3783         explicitly with each use of ${test_wrapper_env}.
3784         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3785         $(test-program-prefix-before-env), $(run-program-env) and
3786         $(test-program-prefix-after-env).
3787         * posix/tst-getconf.sh: Do not set environment variables
3788         explicitly.
3789         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3790         run_program_env and test_program_prefix_after_env arguments.
3791         * stdio-common/tst-printf.sh: Do not set environment variables
3792         explicitly.
3793         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3794         $(test-program-prefix-before-env), $(run-program-env) and
3795         $(test-program-prefix-after-env).
3796         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3797         run_program_env and test_program_prefix_after_env arguments.
3798         Split $test calls into $test_pre and $test.
3799         * timezone/Makefile (build-testdata): Use
3800         $(built-program-cmd-before-env), $(run-program-env) and
3801         $(built-program-cmd-after-env).
3803 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3805         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3806         strlen for non SHARED builds.
3808 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3810         * nptl/allocatestack.c (check_list): Inlined function...
3811         (__reclaim_stacks): ... here.
3813 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3815         [BZ #15698]
3816         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3817         memory overrun.
3819 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3821         * Rules (make-test-out): Include
3822         LOCPATH=$(common-objpfx)localedata in default environment.
3823         * debug/Makefile (tst-chk1-ENV): Remove variable.
3824         (tst-chk2-ENV): Likewise.
3825         (tst-chk3-ENV): Likewise.
3826         (tst-chk4-ENV): Likewise.
3827         (tst-chk5-ENV): Likewise.
3828         (tst-chk6-ENV): Likewise.
3829         (tst-lfschk1-ENV): Likewise.
3830         (tst-lfschk2-ENV): Likewise.
3831         (tst-lfschk3-ENV): Likewise.
3832         (tst-lfschk4-ENV): Likewise.
3833         (tst-lfschk5-ENV): Likewise.
3834         (tst-lfschk6-ENV): Likewise.
3835         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3836         (tst-iconv7-ENV): Likewise.
3837         * intl/Makefile (LOCPATH-ENV): Likewise.
3838         (tst-codeset-ENV): Likewise.
3839         (tst-gettext3-ENV): Likewise.
3840         (tst-gettext5-ENV): Likewise.
3841         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3842         (tst-fopenloc-ENV): Likewise.
3843         (tst-fgetws-ENV): Remove variable.
3844         (tst-ungetwc1-ENV): Likewise.
3845         (tst-ungetwc2-ENV): Likewise.
3846         (bug-ungetwc2-ENV): Likewise.
3847         (tst-swscanf-ENV): Likewise.
3848         (bug-ftell-ENV): Likewise.
3849         (tst-fgetwc-ENV): Likewise.
3850         (tst-fseek-ENV): Likewise.
3851         (tst-ftell-partial-wide-ENV): Likewise.
3852         (tst-ftell-active-handler-ENV): Likewise.
3853         (tst-ftell-append-ENV): Likewise.
3854         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3855         (tst-regexloc-ENV): Likewise.
3856         (bug-regex1-ENV): Likewise.
3857         (tst-regex-ENV): Likewise.
3858         (tst-regex2-ENV): Likewise.
3859         (bug-regex5-ENV): Likewise.
3860         (bug-regex6-ENV): Likewise.
3861         (bug-regex17-ENV): Likewise.
3862         (bug-regex18-ENV): Likewise.
3863         (bug-regex19-ENV): Likewise.
3864         (bug-regex20-ENV): Likewise.
3865         (bug-regex22-ENV): Likewise.
3866         (bug-regex23-ENV): Likewise.
3867         (bug-regex25-ENV): Likewise.
3868         (bug-regex26-ENV): Likewise.
3869         (bug-regex30-ENV): Likewise.
3870         (bug-regex32-ENV): Likewise.
3871         (bug-regex33-ENV): Likewise.
3872         (bug-regex34-ENV): Likewise.
3873         (bug-regex35-ENV): Likewise.
3874         (tst-rxspencer-ENV): Likewise.
3875         (tst-rxspencer-no-utf8-ENV): Likewise.
3876         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3877         (tst-sscanf-ENV): Likewise.
3878         (tst-swprintf-ENV): Likewise.
3879         (tst-swscanf-ENV): Likewise.
3880         (test-vfprintf-ENV): Likewise.
3881         (scanf13-ENV): Likewise.
3882         (bug14-ENV): Likewise.
3883         (tst-grouping-ENV): Likewise.
3884         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3885         (tst-strtod3-ENV): Likewise.
3886         (tst-strtod4-ENV): Likewise.
3887         (tst-strtod5-ENV): Likewise.
3888         (testmb2-ENV): Likewise./
3889         * string/Makefile (tst-strxfrm-ENV): Likewise.
3890         (tst-strxfrm2-ENV): Likewise.
3891         (bug-strcoll1-ENV): Likewise.
3892         (test-strcasecmp-ENV): Likewise.
3893         (test-strncasecmp-ENV): Likewise.
3894         * time/Makefile (tst-strptime-ENV): Likewise.
3895         (tst-ftime_l-ENV): Likewise.
3896         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3897         (tst-mbrtowc-ENV): Likewise.
3898         (tst-wcrtomb-ENV): Likewise.
3899         (tst-mbrtowc2-ENV): Likewise.
3900         (tst-c16c32-1-ENV): Likewise.
3901         (tst-mbsnrtowcs-ENV): Likewise.
3903 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3905         * manual/resource.texi (How to get information about the memory
3906         subsystem?): Fix typo.
3907         Reported by Peon de la Parra Ivan <peon@keba.com>
3909 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3911         [BZ #16882]
3912         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3913         (pthread_spin_lock): Branch out of spin loop to proper location.
3914         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3915         (pthread_spin_lock): Likewise.
3917         * nptl/tst-spin4.c: New test.
3918         * nptl/Makefile (tests): Add tst-spin4.
3920 2014-06-03  Andreas Schwab  <schwab@suse.de>
3922         [BZ #15946]
3923         * resolv/res_send.c (send_dg): Reload file descriptor after
3924         calling reopen.
3926 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3928         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3930 2014-06-03  Richard Henderson  <rth@redhat.com>
3932         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3933         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3934         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3935         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3936         in the SAVE_PID block.
3937         (__libc_vfork): New alias.
3938         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3940         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3941         child in registers, not on the stack.  Remove RESET_PID conditionals.
3942         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3944 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3946         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3948 2014-06-03  Wilco  <wdijkstr@arm.com>
3950         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3951         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3952         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3953         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3954         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3955         Likewise.
3957 2014-06-03  Wilco  <wdijkstr@arm.com>
3959         * sysdeps/aarch64/fpu/math_private.h
3960         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3961         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3962         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3963         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3964         Fix declarations.
3966 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3968         * crypt/crypt-private.h: Include ufc-crypt.h.
3969         (__b64_from_24bit): Declare extern.
3970         * crypt/crypt_util.c(__b64_from_24bit): New function.
3971         (b64t): New static const variable.
3972         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3973         (b64t): Remove variable.
3974         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3975         * crypt/sha256-crypt.c: Include crypt-private.h.
3976         (b64t): Remove variable.
3977         (__sha256_crypt_r): Remove b64_from_24bit and replace
3978         with __b64_from_24bit.
3979         * crypt/sha512-crypt.c: Likewise.
3981 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3983         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3984         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3985         Label the code __libc_vfork rather than __vfork.
3986         [!NOT_IN_libc] (vfork): Define as weak alias.
3987         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3988         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3989         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3991 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3993         * malloc/malloc.c (malloc_info): Fix format specifier for
3994         n_mmaps.
3996 2014-06-02  Wilco  <wdijkstr@arm.com>
3998         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3999         FPCR write.
4001 2014-06-02  Wilco  <wdijkstr@arm.com>
4003         [BZ #17009]
4004         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4005         Rewrite to reduce FPCR/FPSR accesses.
4007 2014-06-01  David S. Miller  <davem@davemloft.net>
4009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4011 2014-05-31  David S. Miller  <davem@davemloft.net>
4013         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4014         to occur in round to nearest mode when |x| >= 2.0
4016 2014-05-30  Richard Henderson  <rth@twiddle.net>
4018         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4019         (PSEUDO_RET_NOERRNO): Remove.
4020         (ret): Don't redefine.
4021         (ret_NOERRNO): Define in terms of ret.
4022         (ret_ERRVAL): Likewise.
4024         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4025         use of PSEUDO_RET; perform the error check directly.
4027 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4029         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4030         with __int128_t.
4032 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4034         * malloc/malloc (malloc_info): Fix formatting.
4036 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4037             Roland McGrath  <roland@hack.frob.com>
4039         * malloc/malloc (malloc_info): Also print mmapped statistics.
4041 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4043         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4044         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4046 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4048         * malloc/malloc.c (malloc_info): Inline mi_arena.
4050 2014-05-29  Richard Henderson  <rth@twiddle.net>
4052         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4053         Remove comma before expanding ASM_ARGS_##nr.
4054         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4055         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4056         of ASM_ARGS_##nr.
4057         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4058         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4059         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4060         (ASM_ARGS_1): Add leading comma.
4062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4063         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4064         to __errno_location.
4065         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4066         Remove the expected plt for __errno_location.
4068         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4069         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4070         call to __read_tp.
4072         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4073         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4074         it and break it down.
4075         (DOCARGS_0, DOCARGS_1): Do nothing.
4076         (DOCARGS_2): Update to store into the new stack frame.
4077         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4078         (UNDOCARGS_1): Update to restore from the new stack frame.
4079         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4080         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4082         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4083         (SINGLE_THREAD_P): New parameter for result regno.
4084         (PSEUDO): Update to match; use cbz instead of beq.
4086         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4087         Use ENTRY to define the _nocancel entry point.  Share the syscall
4088         and syscall error check paths with the cancel path.
4089         (PSEUDO_END): New.
4091         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4092         whitespace; tabs before and after asm mnemonics.
4094 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4096         [BZ #15132]
4097         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4098         Call fstat64 or stat64 internally, depending on arguments passed.
4099         Replace stat buffer argument with file descriptor argument.
4100         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4101         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4102         Pass fd to __internal_statvfs instead of calling fstat64.
4103         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4104         Pass fd to __internal_statvfs64 instead of calling fstat64.
4105         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4106         Pass -1 to __internal_statvfs instead of calling stat64.
4107         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4108         Pass -1 to __internal_statvfs64 instead of calling stat64.
4110 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4112         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4113         that was previously under [RESET_PID].
4114         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4116         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4117         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4119 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4121         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4123         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4124         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4126 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4128         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4130 2014-05-27  Andreas Schwab  <schwab@suse.de>
4132         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4133         TLS_INIT_TP macro.
4134         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4135         * elf/rtld.c (init_tls, dl_main): Likewise.
4136         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4137         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4138         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4139         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4140         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4141         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4142         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4143         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4144         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4145         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4146         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4147         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4148         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4149         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4150         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4151         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4152         * sysdeps/generic/tls.h: Update description.
4154 2014-05-27  Will Newton  <will.newton@linaro.org>
4156         [BZ #16990]
4157         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4158         and restore r2 rather than just restoring.
4160 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4162         [BZ #16724]
4163         * libio/tst-ftell-append.c: New test case.
4164         * libio/Makefile (tests): Add test case.
4165         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4166         append mode.
4167         * libio/wfileops.c (do_ftell_wide): Likewise.
4169 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4173         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4174         ...
4175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4177         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4178         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4179         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4180         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4181         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4182         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4184         Moved ...
4185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4187         Moved ...
4188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4189         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4190         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4191         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4192         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4193         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4194         ...
4195         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4196         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4197         Moved ...
4198         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4199         here.
4200         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4201         ...
4202         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4203         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4204         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4206         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4207         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4208         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4209         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4211         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4212         merge into ...
4213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4215         ...
4216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4218         ...
4219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4220         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4221         Moved ...
4222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4223         here.
4224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4225         Moved ...
4226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4228         Moved ...
4229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4232         conditional [RESET_PID].
4233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4235         removed.
4236         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4237         removed.
4239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4240         <tcb-offsets.h>.
4241         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4242         (__libc_vfork): New strong alias.
4243         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4244         removed.
4245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4246         Removed.
4248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4249         <tcb-offsets.h>.
4250         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4251         (__libc_vfork): New strong alias.
4252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4253         removed.
4254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4255         removed.
4257 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4259         * malloc/malloc.c (mi_arena): New function.
4260         (malloc_info): Remove nested function mi_arena. Call non-nosted
4261         function mi_arena.
4263 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4265         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4266         by insrwi.
4267         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4268         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4269         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4270         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4271         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4272         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4273         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4275 2014-05-26  Andreas Schwab  <schwab@suse.de>
4277         [BZ #16984]
4278         * locale/programs/repertoire.c (repertoire_read): Add slash
4279         between I18NPATH element and file name.
4280         * locale/programs/locfile.c (locfile_read): Likewise.
4282 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4284         * nptl/pthread_mutexattr_settype.c
4285         (__pthread_mutexattr_settype):
4286         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4288 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4290         * nptl/tst-mutex5 (do_test):
4291         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4293 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4295         * benchtests/README: Document 'init' directive.
4296         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4297         BENCH_INIT.
4298         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4299         (parse_file): Recognize 'init' directive.
4301 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4303         [BZ #16796]
4304         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4305         alignment of struct pthread.
4307 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4309         [BZ #16878]
4310         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4311         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4312         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4313         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4315 2014-05-25  Richard Henderson  <rth@twiddle.net>
4317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4318         (SINGLE_THREAD_P_PIC): Remove.
4319         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4320         (SINGLE_THREAD_P_PIC): Remove.
4322         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4323         branch to syscall error ...
4324         (PSEUDO): ... here.
4325         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4326         from __local_syscall_error to .Lsyscall_error.
4327         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4328         (SYSCALL_ERROR): Update label name.
4330         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4331         Do not use DOARGS/UNDOARGS.
4332         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4333         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4334         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4335         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4336         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4339         block comment.
4341         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4342         define if !NOT_IN_libc.
4343         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4344         define with non-default symbol versions.
4346 2014-05-23  Richard Henderson  <rth@twiddle.net>
4348         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4349         (vfork, __vfork): Define via compat_symbol.
4351         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4352         [!HAVE_IFUNC] (vfork_compat): Remove.
4353         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4355 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4357         [BZ #16978]
4358         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4359         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4360         variable.
4362 2014-05-23  Richard Henderson  <rth@twiddle.net>
4364         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4365         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4366         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4367         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4369         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4370         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4371         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4372         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4373         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4374         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4375         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4376         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4377         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4378         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4379         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4380         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4381         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4382         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4383         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4384         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4385         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4386         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4387         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4388         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4389         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4390         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4391         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4392         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4393         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4394         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4395         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4396         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4397         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4398         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4399         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4400         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4401         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4402         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4403         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4404         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4405         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4406         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4407         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4408         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4409         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4410         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4411         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4412         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4413         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4414         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4415         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4416         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4417         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4418         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4419         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4420         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4421         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4422         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4423         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4424         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4426         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4427         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4428         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4429         before exiting on error.
4430         (__libc_vfork): New strong alias.
4431         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4432         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4434         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4435         that was previously under [RESET_PID].
4436         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4438         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4440 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4442         [BZ #16977]
4443         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4444         value when x - 1 is zero.
4445         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4446         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4447         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4448         0.0L for an argument of 1.0L.
4449         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4450         Likewise.
4451         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4452         value when x - 1 is zero.
4453         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4454         * sysdeps/i386/fpu/libm-test-ulps: Update.
4455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4457 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4459         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4460         alphasort and versionsort.
4462 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4464         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4465         macro.
4466         [copysignf]: Likewise.
4468 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4470         * crypt/md5-crypt.c: Fix formatting.
4472 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4474         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4475         (b64_from_24bit): New function.
4477 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4479         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4480         libc_hidden_builtin_def to ifunc.
4481         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4482         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4484 2014-05-21  Roland McGrath  <roland@hack.frob.com>
4486         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4487         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4489 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
4491         * nscd/Depend (linuxthreads): Remove.
4492         (nptl): Add.
4493         * resolv/Depend (linuxthreads): Remove.
4494         * rt/Depend (linuxthreads): Remove.
4496         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4497         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4498         $(common-objpfx)elf/.
4499         (link-libc-before-gnulib): Likewise.
4500         (elfobjdir): Remove variable.
4501         * Makefile (install): Use $(elf-objpfx) instead of
4502         $(common-objpfx)elf/.
4503         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4504         $(elfobjdir)/.
4505         (link-libc-deps): Likewise.
4506         ($(common-objpfx)libc.so): Likewise.
4507         ($(common-objpfx)linkobj/libc.so): Likewise.
4508         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4509         instead of $(common-objpfx)elf/.
4510         (symbolic-link-list): Likewise.
4511         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4512         [$(cross-compiling) = no]: Likewise.
4513         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4514         $(elfobjdir)/.
4515         (static-gnulib-arch): Likewise.
4516         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4517         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4518         $(common-objpfx)elf/.
4520 2014-05-21  Richard Henderson  <rth@redhat.com>
4522         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4523         (SINGLE_THREAD_P): Use the correct width load.  Fold
4524         into the ldr offset.
4526         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4527         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4529 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
4531         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4532         (libgcc_s_resume): Use __attribute_used__.
4533         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4534         Likewise.
4536 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4538         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4539         optimization when used with float constants.
4541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4543 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
4545         [BZ #16915]
4546         * locale/nl_langinfo_l.c: Make direct reference to every
4547         _nl_current_CATEGORY symbol.
4548         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4549         (tests-static): Add tst-langinfo-static.
4550         (tests-special): Add tst-langinfo-static.out.
4551         ($(objpfx)tst-langinfo.out): Redirect output.
4552         ($(objpfx)tst-langinfo-static.out): New.
4553         * localedata/tst-langinfo.sh: Send output to stdout.
4554         * localedata/tst-langinfo-static.c: New file.
4556         [BZ #16965]
4557         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4558         when the shift amount is modulo the limb size.
4560 2014-05-20  Richard Henderson  <rth@redhat.com>
4562         [BZ #16967]
4563         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4564         Change type of sa_flags from unsigned int to int.
4566         [BZ #16966]
4567         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4569         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4571 2014-05-20  Will Newton  <will.newton@linaro.org>
4573         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4574         Test the return value of the system call in the nocancel case.
4576 2014-05-20  Will Newton  <will.newton@linaro.org>
4577             Yvan Roux  <yvan.roux@linaro.org>
4579         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4580         #include of asm/ptrace.h.
4581         (PTRACE_GET_THREAD_AREA): Remove #undef.
4582         (PTRACE_GETHBPREGS): Likewise.
4583         (PTRACE_SETHBPREGS): Likewise.
4584         (struct user_regs_struct): New structure.
4585         (struct user_fpsimd_struct): New structure.
4586         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4587         #include of asm/ptrace.h and second #include of sys/user.h.
4588         (PTRACE_GET_THREAD_AREA): Remove #undef.
4589         (PTRACE_GETHBPREGS): Likewise.
4590         (PTRACE_SETHBPREGS): Likewise.
4591         (ELF_NGREG): Use new struct user_regs_struct.
4592         (elf_fpregset_t): Use new struct user_fpsimd_struct.
4594 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4597         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4599 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
4601         [BZ #16958]
4602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4603         membar to avoid block loads/stores to overlap previous stores.
4605 2014-05-17  Richard Henderson  <rth@redhat.com>
4607         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4608         Create the __##syscall_name##_nocancel entry point.
4609         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4610         Remove; let the sysdep-cancel.h code create it.
4612 2014-05-17  David S. Miller  <davem@davemloft.net>
4614         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4615         Protect with __USE_GNU.
4616         (TIOCSET_TEMPT): Likewise.
4617         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4618         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4619         these are already provided in bits/ioctl-types.h
4621 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4623         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4624         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4626         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4627         Use wait4 regardless of [__NR_waitpid].
4629 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4631         PR libgcc/60166
4632         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4633         (_FP_NANSIGN_Q): Set the quiet bit.
4635 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
4637         * benchtests/Makefile
4638         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4639         not $(common-objpfx)math/libm.so.
4640         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4641         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4642         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4643         $(common-objpfx)dlfcn/libdl.so.
4644         ($(objpfx)tst-audit8): Depend on $(libm), not
4645         $(common-objpfx)math/libm.so.
4646         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4647         not $(common-objpfx)dlfcn/libdl.so.
4648         * math/Makefile
4649         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4650         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
4651         [$(build-shared) = yes].
4652         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4653         $(common-objpfx)nptl/libpthread.so.
4654         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4655         $(common-objpfx)math/libm.so$(libm.so-version) or
4656         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4657         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4658         $(common-objpfx)dlfcn/libdl.so.
4659         * setjmp/Makefile (link-libm): Remove variable.
4660         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4661         * stdio-common/Makefile (link-libm): Remove variable.
4662         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4663         * stdlib/Makefile (link-libm): Remove variable.
4664         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4665         ($(objpfx)tst-strtod-round): Likewise.
4666         ($(objpfx)tst-tininess): Likewise.
4667         ($(objpfx)tst-strtod-underflow): Likewise.
4668         ($(objpfx)tst-strtod6): Likewise.
4669         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4670         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4671         $(common-objpfx)dlfcn/libdl.so.
4673 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4675         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4676         BSD terminal modes definitions.
4678 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4680         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4681         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4683         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4684         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4685         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4686         Don't do #include_next.
4687         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4688         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4689         Don't do #include_next.
4690         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4691         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4692         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4693         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4695 2014-05-16  Allan McRae  <allan@archlinux.org>
4697         * po/sv.po: Update Swedish translation from translation project.
4699         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4700         in sed expression.
4702 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4704         [BZ #16917]
4705         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4706         errno if the TIOCGPTN ioctl fails with an error different than
4707         EINVAL.
4708         * login/tst-ptsname.c: New file.
4709         * login/Makefile (tests): Add tst-ptsname.
4711         [BZ #16943]
4712         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4713         and prlimit64.
4715 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4717         [BZ #16849]
4718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4719         herrno to return EAI_AGAIN.
4721 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4723         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4724         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4725         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4726         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4727         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4728         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4729         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4730         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4731         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4732         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4733         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4734         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4735         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4736         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4737         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4738         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4739         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4740         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4741         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4742         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4743         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4744         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4745         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4746         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4747         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4748         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4749         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4750         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4751         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4752         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4754         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4756         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4758         Moved ...
4759         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4761         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4763         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4765         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4767         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4769         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4771         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4773         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4775         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4777         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4779         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4781         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4783         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4785         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4787         Moved ...
4788         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4790         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4792         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4794         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4796         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4798         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4800         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4802         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4804         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4806         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4808         Moved ...
4809         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4811         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4813         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4814         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4815         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4816         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4817         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4818         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4819         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4820         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4821         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4822         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4823         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4824         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4825         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4826         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4827         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4828         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4829         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4830         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4831         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4832         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4833         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4834         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4835         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4836         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4837         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4838         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4839         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4840         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4841         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4842         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4843         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4845         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4846         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4848         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4849         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4850         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4851         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4852         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4853         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4854         Moved ...
4855         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4856         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4857         Moved ...
4858         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4859         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4860         Moved ...
4861         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4862         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4863         Moved ...
4864         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4865         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4866         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4867         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4868         Moved ...
4869         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4870         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4871         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4872         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4873         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4874         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4875         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4876         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4877         Moved ...
4878         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4879         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4880         Moved ...
4881         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4882         ... here.
4883         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4884         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4885         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4886         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4888         Moved ...
4889         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4890         ... here.
4891         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4892         Moved ...
4893         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4894         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4895         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4896         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4897         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4898         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4899         Moved ...
4900         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4901         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4902         Moved ...
4903         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4904         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4905         Moved ...
4906         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4907         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4908         Moved ...
4909         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4910         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4911         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4912         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4913         Moved ...
4914         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4915         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4916         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4917         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4918         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4919         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4920         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4921         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4922         Moved ...
4923         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4924         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4925         Moved ...
4926         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4927         ... here.
4928         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4929         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4930         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4931         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4933         Moved ...
4934         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4935         ... here.
4936         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4937         Moved ...
4938         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4939         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4940         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4941         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4942         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4943         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4944         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4945         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4946         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4947         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4948         Moved ...
4949         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4950         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4951         Moved ...
4952         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4954         Moved ...
4955         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4956         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4957         Moved ...
4958         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4959         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4960         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4961         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4962         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4963         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4964         Moved ...
4965         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4966         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4967         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4968         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4969         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4970         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4971         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4972         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4973         Moved ...
4974         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4975         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4976         Moved ...
4977         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4978         ... here.
4979         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4980         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4981         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4982         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4984         Moved ...
4985         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4986         ... here.
4987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4988         Moved ...
4989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4990         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4991         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4992         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4993         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4994         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4995         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4996         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4997         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4998         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4999         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5001         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5002         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5004         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5005         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5007         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5008         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5009         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5010         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5011         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5012         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5013         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5014         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5015         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5016         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5017         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5018         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5019         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5020         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5021         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5022         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5023         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5024         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5025         Moved ...
5026         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5027         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5028         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5029         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5030         Moved ...
5031         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5032         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5033         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5035         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5036         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5037         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5038         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5039         Moved ...
5040         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5042         Moved ...
5043         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5045         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5047         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5048         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5049         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5050         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5051         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5052         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5053         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5054         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5055         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5056         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5057         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5058         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5059         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5061         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5062         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5063         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5064         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5065         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5067         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5068         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5069         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5070         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5071         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5072         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5073         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5074         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5075         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5076         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5081         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5082         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5083         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5084         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5085         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5086         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5087         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5088         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5089         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5090         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5091         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5092         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5093         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5094         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5096         Update #include.
5097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5098         Likewise.
5099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5100         Likewise.
5101         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5102         Likewise.
5103         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5104         Likewise.
5105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5106         Likewise.
5107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5108         Likewise.
5109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5110         Likewise.
5111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5112         Likewise.
5113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5114         Likewise.
5115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5116         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5118         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5119         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5120         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5121         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5122         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5123         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5124         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5127         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5128         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5129         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5131         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5132         that was previously under [RESET_PID].
5133         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5134         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5135         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5137         * sysdeps/i386/nptl/Implies: New file.
5138         * sysdeps/x86_64/nptl/Implies: New file.
5139         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5140         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5141         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5142         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5144         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5145         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5146         (__libc_vfork): New strong alias.
5147         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5148         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5150         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5151         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5152         (__libc_vfork): New strong alias.
5153         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5154         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5156         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5157         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5158         (__libc_vfork): New strong alias.
5159         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5160         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5161         * nptl/pt-vfork.c: New file.
5162         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5163         (libpthread: GLIBC_2.20): New version set (empty).
5165 2014-05-14  Will Newton  <will.newton@linaro.org>
5167         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5168         rather than #if.
5170 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5172         [BZ #16564]
5173         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5174         arguments with exponent 65 or above.
5175         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5176         arguments 0x1p113L or above.
5177         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5178         to arguments 0x1p107L or above.
5179         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5180         positive arguments with exponent 65 or above.
5181         * math/auto-libm-test-in: Add more tests of log1p.
5182         * math/auto-libm-test-out: Regenerated.
5184         [BZ #16928]
5185         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5186         non-finite arguments is +0.
5187         * math/s_cacosf.c (__cacosf): Likewise.
5188         * math/s_cacosl.c (__cacosl): Likewise.
5189         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5190         * sysdeps/i386/fpu/libm-test-ulps: Update.
5191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5193         [BZ #16927]
5194         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5195         value.
5196         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5197         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5198         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5199         for explicit high bit of mantissa when testing for argument equal
5200         to 1.
5201         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5202         * sysdeps/i386/fpu/libm-test-ulps: Update.
5203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5205         [BZ #16516]
5206         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5207         (__erf): Scale by 16 instead of 8 in potentially underflowing
5208         case.  Ensure exception if result actually underflows.
5209         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5210         (__erff): Scale by 16 instead of 8 in potentially underflowing
5211         case.  Ensure exception if result actually underflows.
5212         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5213         (efx8): Remove variable.
5214         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5215         case.  Ensure exception if result actually underflows.
5216         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5217         (efx8): Remove variable.
5218         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5219         case.  Ensure exception if result actually underflows.
5220         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5221         (efx8): Remove variable.
5222         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5223         case.  Ensure exception if result actually underflows.
5224         * math/auto-libm-test-in: Add more tests of erf.
5225         * math/auto-libm-test-out: Regenerated.
5227 2014-05-14  Andreas Schwab  <schwab@suse.de>
5229         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5230         Remove code conditionalized on USE___THREAD.
5232         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5233         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5234         not definedness.
5236 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5238         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5239         Define unconditionally.
5240         (__ASSUME_O_CLOEXEC): Likewise.
5241         (__ASSUME_SOCK_CLOEXEC): Likewise.
5242         (__ASSUME_IN_NONBLOCK): Likewise.
5243         (__ASSUME_PIPE2): Likewise.
5244         (__ASSUME_EVENTFD2): Likewise.
5245         (__ASSUME_SIGNALFD4): Likewise.
5246         (__ASSUME_DUP3): Likewise.
5247         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5248         (__ASSUME_DUP3): Do not define.
5249         (__ASSUME_EVENTFD2): Likewise.
5250         (__ASSUME_IN_NONBLOCK): Likewise.
5251         (__ASSUME_O_CLOEXEC): Likewise.
5252         (__ASSUME_PIPE2): Likewise.
5253         (__ASSUME_SIGNALFD4): Likewise.
5254         (__ASSUME_SOCK_CLOEXEC): Likewise.
5255         (__ASSUME_UTIMES): Undefine.
5256         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5257         (__ASSUME_UTIMES): Do not define.
5258         (__ASSUME_O_CLOEXEC): Likewise.
5259         (__ASSUME_SOCK_CLOEXEC): Likewise.
5260         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5261         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5262         0x020621].
5263         (__ASSUME_PIPE2): Likewise.
5264         (__ASSUME_EVENTFD2): Likewise.
5265         (__ASSUME_SIGNALFD4): Likewise.
5266         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5267         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5268         Do not define.
5269         (__ASSUME_EVENTFD2): Likewise.
5270         (__ASSUME_SIGNALFD4): Likewise.
5271         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5272         (__ASSUME_32BITUIDS): Likewise.
5273         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5274         (__ASSUME_IPC64): Likewise.
5275         (__ASSUME_ST_INO_64_BIT): Likewise.
5276         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5277         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5278         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5279         (__ASSUME_UTIMES): Do not define.
5280         (__ASSUME_PSELECT): Likewise.
5281         (__ASSUME_PPOLL): Likewise.
5282         (__ASSUME_O_CLOEXEC): Likewise.
5283         (__ASSUME_SOCK_CLOEXEC): Likewise.
5284         (__ASSUME_IN_NONBLOCK): Likewise.
5285         (__ASSUME_PIPE2): Likewise.
5286         (__ASSUME_EVENTFD2): Likewise.
5287         (__ASSUME_SIGNALFD4): Likewise.
5288         (__ASSUME_DUP3): Likewise.
5289         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5290         (__ASSUME_UTIMES): Likewise.
5291         (__ASSUME_O_CLOEXEC): Likewise.
5292         (__ASSUME_SOCK_CLOEXEC): Likewise.
5293         (__ASSUME_IN_NONBLOCK): Likewise.
5294         (__ASSUME_PIPE2): Likewise.
5295         (__ASSUME_EVENTFD2): Likewise.
5296         (__ASSUME_SIGNALFD4): Likewise.
5297         (__ASSUME_DUP3): Likewise.
5298         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5299         (__ASSUME_UTIMES): Likewise.
5300         (__ASSUME_O_CLOEXEC): Likewise.
5301         (__ASSUME_SOCK_CLOEXEC): Likewise.
5302         (__ASSUME_IN_NONBLOCK): Likewise.
5303         (__ASSUME_PIPE2): Likewise.
5304         (__ASSUME_EVENTFD2): Likewise.
5305         (__ASSUME_SIGNALFD4): Likewise.
5306         (__ASSUME_DUP3): Likewise.
5307         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5308         Likewise.
5309         (__ASSUME_UTIMES): Likewise.
5310         (__ASSUME_EVENTFD2): Likewise.
5311         (__ASSUME_SIGNALFD4): Likewise.
5312         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5313         (__ASSUME_O_CLOEXEC): Likewise.
5314         (__ASSUME_SOCK_CLOEXEC): Likewise.
5315         (__ASSUME_IN_NONBLOCK): Likewise.
5316         (__ASSUME_PIPE2): Likewise.
5317         (__ASSUME_EVENTFD2): Likewise.
5318         (__ASSUME_SIGNALFD4): Likewise.
5319         (__ASSUME_DUP3): Likewise.
5320         (__ASSUME_UTIMES): Undefine.
5322         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5323         feclearexcept.  Remove symbol versioning code.
5324         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5325         symbol versioning code.
5326         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5327         symbol versioning code.
5328         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5329         feupdateenv.  Remove symbol versioning code.
5330         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5331         fegetexceptflag.  Remove symbol versioning code.
5332         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5333         fesetexceptflag.  Remove symbol versioning code.
5334         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5335         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5336         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5337         (__posix_fadvise64_l32): Remove prototype.
5338         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5339         code.
5341 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5343         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5344         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5345         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5346         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5348 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5350         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5351         current working directory
5353 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5355         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5356         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5357         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5358         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5359         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5360         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5361         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5362         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5363         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5364         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5365         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5366         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5367         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5368         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5369         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5370         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5371         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5372         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5373         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5374         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5375         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5376         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5377         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5378         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5379         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5380         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5381         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5382         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5383         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5384         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5385         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5386         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5387         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5388         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5389         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5390         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5391         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5392         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5393         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5394         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5395         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5396         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5398         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5399         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5401         * sysdeps/unix/sysv/linux/arm/Makefile
5402         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5403         Add rt-aeabi_unwind_cpp_pr1.
5404         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5405         Add nptl-aeabi_unwind_cpp_pr1.
5406         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5407         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5408         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5409         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5410         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5411         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5413         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5414         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5415         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5416         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5418         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5419         Deconditionalize the code that was previously under [RESET_PID].
5420         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5422         * sysdeps/generic/exit-thread.h: New file.
5423         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5424         * include/unistd.h (__exit_thread): Remove declaration.
5425         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5426         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5427         * csu/libc-start.c: Include <exit-thread.h>.
5428         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5429         * nptl/pthread_create.c: Include <exit-thread.h>.
5430         (start_thread): Call __exit_thread in place of __exit_thread_inline.
5431         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5432         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5433         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5434         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5435         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5436         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5437         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5438         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5439         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5440         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5441         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5442         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5443         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5444         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5445         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5446         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5448 2014-05-13  Andreas Schwab  <schwab@suse.de>
5450         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5452 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
5454         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5455         (__ASSUME_UTIMES): Do not condition on kernel version.
5456         (__ASSUME_PSELECT): Define unconditionally.
5457         (__ASSUME_PPOLL): Likewise.
5458         (__ASSUME_ATFCTS): Likewise.
5459         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5460         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5461         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5462         (__ASSUME_UTIMENSAT): Define unconditionally.
5463         (__ASSUME_PRIVATE_FUTEX): Likewise.
5464         (__ASSUME_FALLOCATE): Likewise.
5465         (__ASSUME_O_CLOEXEC): Likewise.
5466         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5467         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5468         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5469         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5470         (__ASSUME_IN_NONBLOCK): Likewise.
5471         (__ASSUME_PIPE2): Likewise.
5472         (__ASSUME_EVENTFD2): Likewise.
5473         (__ASSUME_SIGNALFD4): Likewise.
5474         (__ASSUME_DUP3): Likewise.
5475         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5476         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5477         (__ASSUME_AT_RANDOM): Likewise.
5478         (__ASSUME_PREADV): Likewise.
5479         (__ASSUME_PWRITEV): Likewise.
5480         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5481         (__ASSUME_F_GETOWN_EX): Define unconditionally.
5482         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5483         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5484         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5485         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5486         (__ASSUME_O_CLOEXEC): Define unconditionally.
5487         (__ASSUME_PSELECT): Do not undefine conditionally.
5488         (__ASSUME_PPOLL): Likewise.
5489         (__ASSUME_ATFCTS): Likewise.
5490         (__ASSUME_SET_ROBUST_LIST): Likewise.
5491         (__ASSUME_UTIMENSAT): Likewise.
5492         (__ASSUME_FDATASYNC): Define unconditionally.
5493         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5494         (__ASSUME_SIGFRAME_V2): Likewise.
5495         )__ASSUME_EVENTFD2): Likewise.
5496         (__ASSUME_SIGNALFD4): Likewise.
5497         (__ASSUME_PSELECT): Do not undefine conditionally.
5498         (__ASSUME_PPOLL): Likewise.
5499         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5500         (__ASSUME_PSELECT): Define unconditionally.
5501         (__ASSUME_PPOLL): Likewise.
5502         (__ASSUME_O_CLOEXEC): Likewise.
5503         (__ASSUME_SOCK_CLOEXEC): Likewise.
5504         (__ASSUME_IN_NONBLOCK): Likewise.
5505         (__ASSUME_PIPE2): Likewise.
5506         (__ASSUME_EVENTFD2): Likewise.
5507         (__ASSUME_SIGNALFD4): Likewise.
5508         (__ASSUME_DUP3): Likewise.
5509         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5510         (__ASSUME_O_CLOEXEC): Likewise.
5511         (__ASSUME_SOCK_CLOEXEC): Likewise.
5512         (__ASSUME_IN_NONBLOCK): Likewise.
5513         (__ASSUME_PIPE2): Likewise.
5514         (__ASSUME_EVENTFD2): Likewise.
5515         (__ASSUME_SIGNALFD4): Likewise.
5516         (__ASSUME_DUP3): Likewise.
5517         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5518         (__ASSUME_EVENTFD2): Likewise.
5519         (__ASSUME_SIGNALFD4): Likewise.
5520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5522 2014-05-12  Andreas Schwab  <schwab@suse.de>
5524         [BZ #16932]
5525         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5526         (_nss_nis_gethostbyname4_r): Return error if item length is larger
5527         than maximum RPC packet size.
5528         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5529         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5530         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5531         (_nss_nis_getservbyport_r): Likewise.
5533 2014-05-12  Will Newton  <will.newton@linaro.org>
5535         * malloc/Makefile (tests): Add tst-mallopt.
5536         * malloc/tst-mallopt.c: New file.
5538 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5540         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5541         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5543 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5545         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5546         (tst-tlsmod6.so): Likewise.
5548 2014-05-09  Roland McGrath  <roland@hack.frob.com>
5550         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5552 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
5554         [BZ #16064]
5555         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5556         and <dl-procinfo.h>.
5557         (__fegetenv): Save SSE state in envp->__eip if supported.
5558         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5559         envp->__eip if supported.
5560         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5561         and <dl-procinfo.h>.
5562         (__fesetenv): Always set __eip, __cs_selector, __opcode,
5563         __data_offset and __data_selector in environment to 0.  Set SSE
5564         state if supported.
5565         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5566         test-fenv-sse.
5567         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5568         -mfpmath=sse.
5569         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5571 2014-05-09  Will Newton  <will.newton@linaro.org>
5573         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5574         and libc_relro_required for ARM.
5575         * sysdeps/arm/preconfigure: Regenerate.
5577 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
5578             Stefan Liebler  <stli@linux.vnet.ibm.com>
5580         * config.make.in (enable-lock-elision): New Makefile variable.
5581         * configure.ac: Likewise.
5582         * configure: Regenerate.
5583         * sysdeps/s390/configure.ac:
5584         Add check for gcc transactions support.
5585         * sysdeps/s390/configure: Regenerate.
5586         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5587         Build elision files if enabled.
5588         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5589         Add lock elision support for s390.
5590         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5591         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5592         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5593         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5594         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5595         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5596         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5597         Likewise.
5598         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5599         Likewise.
5600         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5601         Likewise.
5602         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5603         Likewise.
5604         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5605         (__lll_timedlock_elision, __lll_lock_elision)
5606         (__lll_unlock_elision, __lll_trylock_elision)
5607         (lll_timedlock_elision, lll_lock_elision)
5608         (lll_unlock_elision, lll_trylock_elision): Add.
5609         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5610         (pthread_mutex_t): Add lock elision support for s390.
5612 2014-05-14  Wilco  <wdijkstr@arm.com>
5614         * sysdeps/arm/fclrexcpt.c: Cleanup.
5615         * sysdeps/arm/fedisblxcpt.c: Cleanup.
5616         * sysdeps/arm/feenablxcpt.c: Cleanup.
5617         * sysdeps/arm/fegetenv.c: Cleanup.
5618         * sysdeps/arm/fegetexcept.c: Cleanup.
5619         * sysdeps/arm/fegetround.c: Cleanup.
5620         * sysdeps/arm/feholdexcpt.c: Cleanup.
5621         * sysdeps/arm/fesetenv.c: Cleanup.
5622         * sysdeps/arm/fesetround.c: Cleanup.
5623         * sysdeps/arm/feupdateenv.c: Cleanup.
5624         * sysdeps/arm/fgetexcptflg.c: Cleanup.
5625         * sysdeps/arm/fraiseexcpt.c: Cleanup.
5626         * sysdeps/arm/fsetexcptflg.c: Cleanup.
5627         * sysdeps/arm/ftestexcept.c: Cleanup.
5628         * sysdeps/arm/get-rounding-mode.h: Cleanup.
5629         * sysdeps/arm/setfpucw.c: Cleanup.
5631 2014-05-09  Will Newton  <will.newton@linaro.org>
5633         * sysdeps/arm/armv7/strcmp.S: New file.
5634         * NEWS: Mention addition of ARMv7 optimized strcmp.
5636 2014-05-08  Roland McGrath  <roland@hack.frob.com>
5638         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5639         look for %.ac rather than %.in.
5641         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5642         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5643         * sysdeps/mach/hurd/configure: Regenerated.
5644         * sysdeps/unix/sysv/linux/configure: Regenerated.
5646         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5648 2014-05-07  Steve Ellcey  <sellcey@mips.com>
5650         [BZ# 16922]
5651         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5652         (LONG_SUB): Ditto.
5653         (PTR_SUB): Ditto.
5655 2014-05-07  Andreas Schwab  <schwab@suse.de>
5657         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5658         when skipping over non-matching result from nscd.
5660 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5662         [BZ #16876]
5663         * nptl/sockperf.c (client): Check socket return value.
5665         [BZ #16877]
5666         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5667         nscd security class.
5669 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5671         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5672         * sysdeps/arm/unwind.h: ... here.
5674 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5676         [BZ# 16916]
5677         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5678         Define.
5680 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5682         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5683         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5684         multiarch strncpy for PPC64.
5685         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5686         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5688         multiarch optimizations.
5689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5690         (__libc_ifunc_impl_list): Likewise.
5691         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5692         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5693         multiarch stpncpy for PPC64.
5694         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5695         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5697 2014-05-06  Andreas Schwab  <schwab@suse.de>
5699         [BZ #16912]
5700         * gmon/mcount.c (_MCOUNT_DECL): Use
5701         atomic_compare_and_exchange_bool_acq instead of
5702         catomic_compare_and_exchange_bool_acq.
5704 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5706         * elf/Makefile (others, install-bin): Remove pldd.
5707         (pldd-modules): Variable removed.
5708         ($(objpfx)pldd): Target removed.
5709         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5710         (others, install-bin): Append pldd here.
5711         ($(objpfx)pldd): New target.
5713         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5714         to 0, so the first #if test emitted later doesn't see it undefined.
5715         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5716         * sysdeps/gnu/errlist.c: Regenerated.
5718 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5720         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5721         [libc_hidden_builtin_def]: Define to empty value.
5722         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5723         [libc_hidden_builtin_def]: Likewise.
5724         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5725         [libc_hidden_builtin_def]: Likewise.
5726         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5727         [libc_hidden_builtin_def]: Likewise.
5728         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5729         __redirect_memcpy and define ifunc as default hidden symbol.
5730         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5731         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5733 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5735         * locale/iso-4217.def: Reintroduce XDR currency.
5737 2014-05-04  Allan McRae  <allan@archlinux.org>
5739         * po/eo.po: Update Esperanto translation from translation project.
5741 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5743         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5744         and FEATURE_INDEX_MAX to 1.
5745         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5747 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5749         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5750         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5751         * iconvdata/big5.c (ONE_DIRECTION): Define.
5752         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5753         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5754         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5755         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5756         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5757         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5758         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5759         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5760         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5761         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5762         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5763         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5764         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5765         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5766         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5767         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5768         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5769         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5770         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5771         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5772         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5773         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5774         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5775         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5776         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5777         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5778         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5779         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5780         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5781         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5782         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5783         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5784         * iconvdata/johab.c (ONE_DIRECTION): Define.
5785         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5786         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5787         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5788         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5789         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5790         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5791         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5792         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5793         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5794         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5796 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5798         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5799         (_IO_JUMPS_OFFSET): Define to 0.
5801         * nptl/sysdeps/pthread/bits/libc-lock.h
5802         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5803         (__libc_lock_define_initialized_recursive): Always define using
5804         initializer.  Modern compilers treat uninitialized (implicit zero) and
5805         explicit zero initializers the same (i.e. put the datum in bss).
5807 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5809         * nscd/nscd-client.h: Include <string.h>.
5811 2014-05-01  David S. Miller  <davem@davemloft.net>
5813         [BZ #16885]
5814         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5815         multiple zero bytes exist at the end of a string.
5816         Reported by Aurelien Jarno <aurelien@aurel32.net>
5818         * string/test-strcmp.c (check): Add explicit test for situations where
5819         there are multiple zero bytes after the first.
5821 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5823         [BZ #16890]
5824         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5825         when compiling wprintf.
5826         * stdio-common/tstdiomisc.c (t3): New function.
5827         (main): Call it.
5829 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5831         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5832         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5833         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5834         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5836 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5838         * stdlib/longlong.h: Updated from GCC.
5840 2014-05-01  Will Newton  <will.newton@linaro.org>
5841             Bernard Ogden  <bernie.ogden@linaro.org>
5843         * NEWS: Update fixed bug list.
5845         [BZ #15119]
5846         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5848 2014-04-30  David S. Miller  <davem@davemloft.net>
5850         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5851         (libc_feholdexcept_setround_sparc_ctx): New function.
5852         (libc_fesetenv_sparc_ctx): Likewise.
5853         (libc_feupdateenv_sparc_ctx): Likewise.
5854         (libc_feholdsetround_sparc_ctx): Likewise.
5855         (libc_feholdexcept_setround_ctx): Define.
5856         (libc_feholdexcept_setroundf_ctx): Likewise.
5857         (libc_feholdexcept_setroundl_ctx): Likewise.
5858         (libc_fesetenv_ctx): Likewise.
5859         (libc_fesetenvf_ctx): Likewise.
5860         (libc_fesetenvl_ctx): Likewise.
5861         (libc_feupdateenv_ctx): Likewise.
5862         (libc_feupdateenvf_ctx): Likewise.
5863         (libc_feupdateenvl_ctx): Likewise.
5864         (libc_feresetround_ctx): Likewise.
5865         (libc_feresetroundf_ctx): Likewise.
5866         (libc_feresetroundl_ctx): Likewise.
5867         (libc_feholdsetround_ctx): Likewise.
5868         (libc_feholdsetroundf_ctx): Likewise.
5869         (libc_feholdsetroundl_ctx): Likewise.
5871         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5872         with __USE_GNU instead of XOPEN cpp guards.
5874         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5875         0.
5877         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5878         with XOPEN cpp guards.
5880 2014-04-30  Julian Brown  <julian@codesourcery.com>
5882         [BZ #16888]
5883         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5884         handling.
5886 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5888         [BZ #9894]
5889         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5890         Change to 2.6.32.
5891         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5892         * sysdeps/unix/sysv/linux/configure: Regenerated.
5893         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5894         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5895         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5896         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5897         * README: Update reference to required Linux kernel version.
5898         * manual/install.texi (Linux): Update reference to required Linux
5899         kernel headers version.
5900         * INSTALL: Regenerated.
5902         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5903         header inclusion.
5904         [POSIX] (limits.h): Likewise.
5905         [POSIX] (math.h): Likewise.
5906         [POSIX] (sys/wait.h): Likewise.
5907         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5908         function.
5909         [POSIX] (stddef.h): Do not allow header inclusion.
5911 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5913         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5915 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5917         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5918         Return immediately after lll_futex_wake.
5920 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5922         [BZ #16791]
5923         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5924         structure.
5925         (datahead_init_pos): Call datahead_init_common early.
5926         (datahead_init_neg): Likewise.
5928         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5929         datahead_init_neg): New functions.
5930         * nscd/aicache.c (addhstaiX): Use them.
5931         * nscd/grpcache.c (cache_addgr): Likewise.
5932         * nscd/hstcache.c (cache_addhst): Likewise.
5933         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5934         * nscd/netgroupcache.c (do_notfound): Likewise.
5935         (addgetnetgrentX): Likewise.
5936         (addinnetgrX): Likewise.
5937         * nscd/pwdcache.c (cache_addpw): Likewise.
5938         * nscd/servicescache.c (cache_addserv): Likewise.
5940 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5941             Atsushi Onoe  <atsushi@onoe.org>
5943         [BZ #14308]
5944         [BZ #12994]
5945         [BZ #13651]
5946         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5947         one response is valid.
5948         * resolv/res_send.c (send_dg): Check for validity of other
5949         response if the current response is a referral.
5951 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5953         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5955 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5957         [BZ #16823]
5958         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5959         Always divide by positive zero when computing -Inf result.
5960         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5961         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5963 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5965         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5966         FPSCR if value do not change.
5967         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5968         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5969         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5970         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5971         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5972         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5973         function.
5975 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5977         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5978         * sysdeps/unix/sysv/linux/hppa: Move directory from
5979         ports/systeps/unix/sysv/linux/hppa.
5980         * README: Update listing for hppa-*-linux-gnu.
5982 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5984         [BZ #16754]
5985         * manual/stdio.texi (Hook functions): Fix types of stream hook
5986         functions.
5987         [BZ #16854]
5988         * socket/sys/socket.h: Fix typo in comment.
5990 2014-04-28  Wilco  <wdijkstr@arm.com>
5992         * sysdeps/arm/fenv_private.h: New file.
5993         * sysdeps/arm/math_private.h: New file.
5994         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5996 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5998         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5999         with __int128_t.
6000         (La_x86_64_retval): Likewise.
6002 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6004         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6005         fpsr if value didn't change.
6006         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6007         to fpcr if value didn't change.
6008         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6009         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6010         fpsr or fpcr if value didn't change.
6011         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6012         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6013         fpcr if value didn't change.
6014         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6015         to fpsr if value didn't change.
6017 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6019         * nptl/tst-sem3.c: Use test-skeleton.c
6020         (main): Rename to do_test.  Use return instead of
6021         exit.
6022         * nptl/tst-sem4.c: Use test-skeleton.c
6023         (main): Rename to do_test.
6025 2014-04-22  David S. Miller  <davem@davemloft.net>
6027         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6028         (struct sigaction): New struct member __glibc_reserved0, change
6029         type of sa_flags to int.
6031 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6033         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6034         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6036 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6038         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6039         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6041 2014-04-22  Will Newton  <will.newton@linaro.org>
6042             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6044         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6045         (__longjmp): Add longjmp and longjmp_target SystemTap
6046         probes.
6047         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6048         (__sigsetjmp): Add setjmp SystemTap probe.
6050 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6052         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6053         match manual order.
6055 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6057         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6059         * sysdeps/powerpc/fpu/fenv_private.h
6060         (libc_feholdexcept_setroundl_ctx): Define to
6061         libc_feholdexcept_setround_ppc_ctx.
6062         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6063         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6064         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6065         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6067 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6069         * sysdeps/aarch64/math-tests.h: New file.
6071 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6073         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6074         New.
6075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6076         Check and set bit_AVX2_Usable.
6077         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6078         macro.
6079         (bit_AVX2): Likewise.
6080         (index_AVX2_Usable): Likewise.
6081         (CPUID_AVX2): Likewise.
6082         (HAS_AVX2): Likewise.
6084 2014-04-17  Will Newton  <will.newton@linaro.org>
6086         * manual/setjmp.texi (System V contexts): Add note that
6087         calling setcontext on a context created by a call to a
6088         signal handler is undefined.  Update text to note that
6089         setcontext from a signal handler is possible but not
6090         recommended.
6092         [BZ #16629]
6093         * stdlib/tst-setcontext.c: Include signal.h.
6094         (main): Check that the signal stack before and
6095         after swapcontext is the same.
6097         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6098         Re-implement to restore registers in user code and avoid
6099         rt_sigreturn system call.
6101 2014-04-17  Wilco  <wdijkstr@arm.com>
6103         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6104         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6105         * math/test-fenv.c: Skip exception trap tests on targets which only
6106         support non-stop mode.
6108 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6109             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6111         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6112         (libc_feholdsetround_aarch64_ctx)
6113         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6114         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6115         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6116         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6117         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6118         (libc_feresetround_noexl_ctx): Define.
6120 2014-04-16  Richard Henderson  <rth@redhat.com>
6122         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6124         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6125         unwind tables.
6127         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6128         const from the non-libc, non-ldso copy.
6130         * sysdeps/alpha/libm-test-ulps: Regenerate.
6132 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6133             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6135         * sysdeps/aarch64/fpu/math_private.h: New file.
6137 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6139         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6141 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6143         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6144         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6145         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6146         Intel MPX bound registers before _dl_profile_fixup.
6147         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6148         registers after _dl_profile_fixup.  Save and restore bound
6149         registers bnd0/bnd1 when calling _dl_call_pltexit.
6150         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6151         (LR_BND_OFFSET): Likewise.
6152         (LRV_BND0_OFFSET): Likewise.
6153         (LRV_BND1_OFFSET): Likewise.
6155 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6157         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6158         to...
6159         * sysdeps/mach/hurd/i386/tls.h: ... here.
6160         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6161         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6162         fields.
6164 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6166         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6168 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6170         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6172 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6174         [BZ #14770]
6175         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6176         * sysdeps/s390/configure: Regenerate.
6178         [BZ #16824]
6179         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6180         Set round-to-nearest internally to reduce error accumulation.
6182 2014-04-16  Alan Modra  <amodra@gmail.com>
6184         [BZ #16740]
6185         [BZ #16619]
6186         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6187         * math/libm-test.inc (frexp_test_data): Add tests.
6188         * NEWS: Update fixed bug list.
6190 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6192         * benchtests/Makefile: Depend on libraries in build directory.
6193         (bench-math): Separate out math tests.
6194         (bench-pthread): Separate out pthread tests.
6195         (bench): Include math and pthread tests.
6197 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6199         [BZ #16831]
6200         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6201         _dl_debug_initialize.
6203         * configure.ac: Remove SELinux header check.
6204         * configure: Regenerate.
6205         * nscd/selinux.c (perms): Array of const char* to permission names.
6206         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6207         default policy. Call string_to_security_class and string_to_av_perm to
6208         translate strings. Enforce default policy and call avs_has_perm with
6209         results of translated strings.
6211 2014-04-13  David S. Miller  <davem@davemloft.net>
6213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6215 2014-04-12  Allan McRae  <allan@archlinux.org>
6217         [BZ #16838]
6218         * manual/string.texi (Collation Functions): Fix qsort argument
6219         order in example.
6220         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6222 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6224         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6225         Make the test a no-op if there are no exceptions defined.
6227 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6229         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6230         enable-hardcoded-path-in-tests
6232 2014-04-11  Will Newton  <will.newton@linaro.org>
6234         * benchtests/Makefile (extra-objs): Add json-lib.o.
6235         (bench-func): Tidy up JSON output.
6236         * benchtests/bench-skeleton.c: Include json-lib.h.
6237         (main): Use JSON library functions to do output of
6238         benchmark results.
6239         * benchtests/bench-timing-type.c (main): Output the
6240         timing type simply, leaving formatting to the user.
6241         * benchtests/json-lib.c: New file.
6242         * benchtests/json-lib.h: Likewise.
6244 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6246         [BZ #15215]
6247         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6248         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6249         memory barriers.  Add comments.
6250         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6251         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6252         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6253         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6254         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6255         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6257 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6259         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6260         * sysdeps/s390/s390-64/configure.ac: ... this ...
6261         * sysdeps/s390/configure.ac: ... to here.
6262         * sysdeps/s390/s390-32/configure: Delete file.
6263         * sysdeps/s390/s390-64/configure: Delete file.
6264         * sysdeps/s390/configure: Regenerate.
6266 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6268         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6270 2014-04-11  Will Newton  <will.newton@linaro.org>
6272         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6273         to zero if it is not defined elsewhere.  (mtrim): Test
6274         the value of MALLOC_DEBUG with #if rather than #ifdef.
6276 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6278         * benchtests/pthread_once-inputs: New file.
6279         * benchtests/pthread_once-source.c: New file.
6280         * benchtests/README: Update documentation.
6282 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6283             H.J. Lu  <hongjiu.lu@intel.com>
6285         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6286         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6287         * sysdeps/x86_64/configure: Regenerated.
6288         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6289         macro.
6290         (REGISTER_SAVE_RAX): Likewise.
6291         (REGISTER_SAVE_RCX): Likewise.
6292         (REGISTER_SAVE_RDX): Likewise.
6293         (REGISTER_SAVE_RSI): Likewise.
6294         (REGISTER_SAVE_RDI): Likewise.
6295         (REGISTER_SAVE_R8): Likewise.
6296         (REGISTER_SAVE_R9): Likewise.
6297         (REGISTER_SAVE_BND0): Likewise.
6298         (REGISTER_SAVE_BND1): Likewise.
6299         (REGISTER_SAVE_BND2): Likewise.
6300         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6301         bound registers when calling _dl_fixup.
6303 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6305         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6306         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6307         of its definition.
6308         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6309         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6310         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6311         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6312         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6313         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6314         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6316 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6318         [BZ #15514]
6319         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6320         pathconf(_PC_NAME_MAX).
6322 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6324         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6325         Remove macro usage.
6326         (__PTHREAD_SPINS): Move definition to ...
6327         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6328         (__PTHREAD_SPINS): ... here.
6329         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6330         (__PTHREAD_SPIN): Likewise.
6331         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6332         (__PTHREAD_SPIN): Likewise.
6333         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6334         (__PTHREAD_SPIN): Likewise.
6335         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6336         (__PTHREAD_SPIN): Likewise.
6337         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6338         (__PTHREAD_SPIN): Likewise.
6339         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6340         (__PTHREAD_SPIN): Likewise.
6341         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6342         (__PTHREAD_SPIN): Likewise.
6343         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6344         (__PTHREAD_SPIN): Likewise.
6345         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6346         (__PTHREAD_SPIN): Likewise.
6347         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6348         (__PTHREAD_SPIN): Likewise.
6349         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6350         (__PTHREAD_SPIN): Likewise.
6351         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6352         (__PTHREAD_SPIN): Likewise.
6354         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6355         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6356         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6357         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6358         imply folder.
6359         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6360         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6361         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6362         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6363         correct imply path.
6364         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6365         strlen symbol for non multi-arch builds.
6366         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6367         missing hidden_def and weak_alias.
6369 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6371         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6373 2014-04-07  Will Newton  <will.newton@linaro.org>
6375         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6376         and contents.  [!_LIBC] Remove #ifndef and contents.
6377         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6378         * string/memccpy.c (__memccpy): Use ANSI prototype.
6379         * string/memfrob.c (memfrob): Likewise.
6380         * string/strcoll.c (STRCOLL): Likewise.
6381         * string/strlen.c (strlen): Likewise.
6382         * string/strtok.c (STRTOK): Likewise.
6383         * string/strcat.c: Remove unused #include of memcopy.h.
6384         (strcat): Use ANSI prototype.
6385         * string/strchr.c: Remove unused #include of memcopy.h.
6386         (strchr): Use ANSI prototype.
6387         * string/strcmp.c: Remove unused #include of memcopy.h.
6388         (strcmp): Use ANSI prototype.
6389         * string/strcpy.c: Remove unused #include of memcopy.h.
6390         (strcpy): Use ANSI prototype.
6392 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6394         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6395         * config.make.in (config-extra-cppflags): Set it from
6396         libc_extra_cppflags.
6397         * configure.ac (libc_extra_cflags): Make it accumulate over
6398         configure fragments.
6399         (libc_extra_cppflags): New flag.
6400         * configure. Regenerate.
6401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6402         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6403         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6406         [BZ #16815]
6407         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6408         result for FE_DOWNWARD rounding mode.
6409         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6410         Likewise.
6411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6413 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6415         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6416         in function argument name.
6418 2014-04-03  David Svoboda  <svoboda@cert.org>
6420         [BZ #5666]
6421         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6422         explicitly.
6424 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6426         * elf/dl-unmap-segments.h: New file.
6427         * sysdeps/generic/ldsodefs.h
6428         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6429         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6430         * elf/dl-fptr.c: Likewise.
6431         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6432         * sysdeps/aarch64/tlsdesc.c: Likewise.
6433         * sysdeps/arm/tlsdesc.c: Likewise.
6434         * sysdeps/i386/tlsdesc.c: Likewise.
6435         * sysdeps/tile/dl-runtime.c: Likewise.
6436         * sysdeps/x86_64/tlsdesc.c: Likewise.
6437         * elf/dl-load.h: New file.
6438         * elf/dl-load.c: Include it.
6439         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6440         Macros moved to dl-load.h.
6441         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6442         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6443         Use _dl_unmap_segments in place of __munmap.
6444         Break out segment-mapping loop into ...
6445         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6447 2014-04-03  Will Newton  <will.newton@linaro.org>
6449         * elf/dl-lookup.c (do_lookup_x): Remove comment
6450         referring to nested function and move variable
6451         declarations down to before first use.
6453 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
6455         [BZ #16799]
6456         [BZ #16800]
6457         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6458         with 0 numerator.
6459         * math/s_catanf.c (__catanf): Likewise.
6460         * math/s_catanh.c (__catanh): Likewise.
6461         * math/s_catanhf.c (__catanhf): Likewise.
6462         * math/s_catanhl.c (__catanhl): Likewise.
6463         * math/s_catanl.c (__catanl): Likewise.
6464         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6465         by positive zero when computing -Inf result.
6466         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6467         (catanh_test): Likewise.
6468         * sysdeps/i386/fpu/libm-test-ulps: Update.
6469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6471         [BZ #16789]
6472         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6473         instead of using underflowing value in computing result.
6474         * math/s_clog10.c (__clog10): Likewise.
6475         * math/s_clog10f.c (__clog10f): Likewise.
6476         * math/s_clog10l.c (__clog10l): Likewise.
6477         * math/s_clogf.c (__clogf): Likewise.
6478         * math/s_clogl.c (__clogl): Likewise.
6479         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6480         (clog10_test): Likewise.
6481         * sysdeps/i386/fpu/libm-test-ulps: Update.
6482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6484 2014-04-02  Alan Modra  <amodra@gmail.com>
6486         [BZ #16739]
6487         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6488         output when value is near a power of two.  Use int64_t for lx and
6489         remove casts.  Use decimal rather than hex exponent constants.
6490         Don't use long double multiplication when double will suffice.
6491         * math/libm-test.inc (nextafter_test_data): Add tests.
6492         * NEWS: Add 16739 and 16786 to bug list.
6494         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6496         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6498 2014-04-01  Will Newton  <will.newton@linaro.org>
6500         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6501         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
6503 2014-04-01  Florian Weimer  <fweimer@redhat.com>
6505         [BZ #13347]
6506         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6507         * nptl/tst-setuid2.c: New file.
6508         * nptl/Makefile (xtests): Add tst-setuid2.
6510 2014-04-01  Alan Modra  <amodra@gmail.com>
6512         [BZ #16786]
6513         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6515 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6517         [BZ #6803]
6518         [BZ #6804]
6519         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6520         set errno as appropriate.
6521         * math/w_scalbf.c (__scalbf): Likewise.
6522         * math/w_scalbl.c (__scalbl): Likewise.
6523         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6524         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6525         * math/libm-test.inc (scalb_test_data): Add errno expectations.
6526         Add more NaN tests.
6528         [BZ #16349]
6529         * math/w_atan2.c: Include <errno.h>.
6530         (__atan2): Set errno for result underflowing to zero.
6531         * math/w_atan2f.c: Include <errno.h>.
6532         (__atan2f): Set errno for result underflowing to zero.
6533         * math/w_atan2l.c: Include <errno.h>.
6534         (__atan2l): Set errno for result underflowing to zero.
6535         * math/auto-libm-test-in: Don't allow missing errno for some atan2
6536         tests.
6537         * math/auto-libm-test-out: Regenerated.
6539 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6541         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6542         Encode instruction correctly in little endian.
6543         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6544         Likewise.
6545         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6546         Likewise.
6547         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6548         Likewise.
6549         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6550         Likewise.
6552 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
6554         [BZ #9894]
6555         * sysdeps/unix/sysv/linux/kernel-features.h
6556         [__sparc__ && !__arch64__ && !__sparc_v9__]
6557         (__ASSUME_SET_ROBUST_LIST): Do not define.
6558         [__sparc__ && !__arch64__ && !__sparc_v9__]
6559         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6560         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6561         Likewise.
6562         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6563         (__ASSUME_FUTEX_LOCK_PI): Undefine.
6564         (__ASSUME_REQUEUE_PI): Likewise.
6565         (__ASSUME_SET_ROBUST_LIST): Likewise.
6566         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6567         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6568         Undefine.
6569         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6570         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6571         Likewise.
6572         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6573         Likewise.
6574         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6575         Likewise.
6576         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6577         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6578         Undefine.
6579         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6580         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6581         Likewise.
6583         [BZ #16648]
6584         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6586         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6588 2014-03-31  Will Newton  <will.newton@linaro.org>
6590         * benchtests/Makefile (bench): Add ffs and ffsll to list
6591         of tests.
6592         * benchtests/ffs-inputs: New file.
6593         * benchtests/ffsll-inputs: Likewise.
6595 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
6597         [BZ #16770]
6598         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6599         too large before casting to int.
6600         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6601         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6602         * math/libm-test.inc (scalb_test_data): Add more tests.
6604 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6606         * benchtests/Makefile (DETAILED_OPT): New make option.
6607         (bench-func): Run benchmark program with -d if DETAILED_OPT is
6608         set.
6609         * benchtests/bench-skeleton.c: Include stdbool.h.
6610         (main): Store and print timings per input.
6611         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6612         member to each argument value.
6613         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6614         (_print_arg_data): Initialize per-input timing to 0.
6616         * benchtests/Makefile (timing-type): New binary.
6617         (bench-clean): Also remove bench-timing-type.
6618         (bench): New target for timing-type.
6619         (bench-func): Print output in JSON format.
6620         * benchtests/bench-skeleton.c (main): Print output in JSON
6621         format.
6622         * benchtests/bench-timing-type.c: New file.
6623         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6624         (TIMING_PRINT_STATS): Remove.
6625         * benchtests/scripts/bench.py (_print_arg_data): Store variant
6626         name separately.
6628         * benchtests/bench-modf.c: Remove.
6629         * benchtests/modf-inputs: New inputs file.
6631 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
6633         [BZ #16362]
6634         * math/s_clog10.c (M_PI_LOG10E): New macro.
6635         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6636         imaginary parts are 0.
6637         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6638         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6639         imaginary parts are 0.
6640         * math/s_clog10l.c (M_PI_LOG10El): New macro.
6641         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6642         imaginary parts are 0.
6643         * math/libm-test.inc (clog10_test_data): Update expected results
6644         for when real and imaginary parts are 0.
6646 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
6648         * elf/dl-load.c: Finish conversion of __builtin_expect into
6649         __glibc_{un}likely.
6651 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6653         [BZ #16348]
6654         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6655         1+x for argument with exponent below -67.
6656         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6657         Likewise.
6658         * math/auto-libm-test-in: Add more tests of exp.
6659         * math/auto-libm-test-out: Regenerated.
6661 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6663         [BZ #16759]
6664         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6665         (nscd_getnetgrent): Use it.
6667         [BZ #16760]
6668         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6669         of stpcpy.
6671 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6673         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6674         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6675         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6676         (lll_robust_unlock): Remove out of line section. Use cfi
6677         intrinsics.
6678         (LLL_STUB_UNWIND_INFO*): Remove.
6679         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6680         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6681         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6682         (lll_robust_unlock): Remove out of line section. Use cfi
6683         intrinsics.
6684         (LLL_STUB_UNWIND_INFO*): Remove.
6686 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6688         [BZ #16758]
6689         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6690         blank values.
6692 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6694         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6696 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6698         [BZ #16198]
6699         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6700         fnstenv.
6701         * math/test-fenv-preserve.c: New file.
6702         * math/Makefile (tests): Add test-fenv-preserve.
6704 2014-03-26  Will Newton <will.newton@linaro.org>
6706         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6708 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6710         * scripts/versionlist.awk: Partition the version sets and emit all
6711         GLIBC_* (sorted) before all others (sorted).
6713 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6715         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6716         GLIBC_2.2.5 version.
6718 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6720         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6721         calls.
6723         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6724         previous change.
6726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6728 2014-03-25  Andreas Schwab  <schwab@suse.de>
6730         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6731         label to be used after in6ailist is initialized.
6733 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6735         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6736         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6738 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6740         [BZ #16357]
6741         [BZ #16599]
6742         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6743         min_plus_half.
6744         (fp_formats): Update initializers.
6745         (init_fp_formats): Initialize new field.
6746         (output_for_one_input_case): Allow underflow for results up to
6747         min_plus_half.
6748         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6749         * math/auto-libm-test-in: Don't mark some underflows from asin and
6750         atanh as spurious.
6751         * math/auto-libm-test-out: Regenerated.
6752         * sysdeps/i386/fpu/libm-test-ulps: Update.
6753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6755 2014-03-25  Andreas Schwab  <schwab@suse.de>
6757         * libio/Makefile (tst-ftell-partial-wide-ENV)
6758         (tst-ftell-active-handler-ENV): Define.
6760 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6762         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6764 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6766         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6768 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6770         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6771         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6772         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6774 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6776         [BZ #16634]
6777         * elf/dl-load.c (open_verify): Add mode parameter.
6778         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6779         (open_path): Change from boolean 'secure' to complete flag 'mode'
6780         (_dl_map_object): Adjust.
6781         * elf/Makefile (tests): Add tst-dlopen-aout.
6782         * elf/tst-dlopen-aout.c: New test.
6784 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6786         [BZ #16714]
6787         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6788         (struct stat): Rename member pad0 to __glibc_reserved0.
6790         [BZ #16712]
6791         * sysdeps/s390/s390-32/bits/wordsize.h
6792         (__WORDSIZE32_SIZE_ULONG): New define.
6793         * sysdeps/s390/s390-64/bits/wordsize.h
6794         (__WORDSIZE32_SIZE_ULONG): Likewise.
6795         * sysdeps/generic/stdint.h (SIZE_MAX):
6796         Define as UL if __WORDSIZE32_SIZE_ULONG.
6798         [BZ #16713]
6799         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6800         (__glibc_reserved0): New variable.
6801         (sa_flags): Change type to int.
6803         * posix/Makefile (before-compile): Use += before-compile instead
6804         of a :=.
6806         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6807         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6809 2014-03-20  Andreas Schwab  <schwab@suse.de>
6811         [BZ #16743]
6812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6813         non-matching result from nscd.
6815 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6817         * scripts/bench.py: Moved to ...
6818         * benchtests/scripts/bench.py: ... here.
6819         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6821 2014-03-24  Andreas Schwab  <schwab@suse.de>
6823         [BZ #16002]
6824         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6825         alloca_account and account alloca use for struct in6ailist.
6827 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6829         [BZ #16284]
6830         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6831         rounding mode to recompute results that overflow to infinity or
6832         underflow to zero.
6833         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6834         bug 16284.
6835         * math/auto-libm-test-out: Regenerated.
6836         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6837         (ccosh_test): Likewise.
6838         (csin_test_data): Use plus_oflow.
6839         (csin_test): Use ALL_RM_TEST.
6840         (csinh_test_data): Use plus_oflow.
6841         (csinh_test): Use ALL_RM_TEST.
6842         * sysdeps/i386/fpu/libm-test-ulps: Update.
6843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6845 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6847         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6848         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6849         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6851         [BZ #16731]
6852         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6853         when x - 1 is zero.
6854         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6855         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6856         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6857         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6858         argument is 1.
6859         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6860         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6861         zero.
6862         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6863         * sysdeps/i386/fpu/libm-test-ulps: Update.
6864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6866 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6868         * scripts/bench.pl: Remove file.
6869         * scripts/bench.py: New benchmark script.
6870         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6871         * benchtests/README: Mention python dependency.
6872         * scripts/pylintrc: New file.
6873         * scripts/pylint: New file.
6875         * bits/mathdef.h: Use #ifdef instead of #if.
6876         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6877         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6878         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6879         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6880         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6881         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6883 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6884             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6886         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6888         and strpbrk-ppc64 objects.
6889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6890         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6891         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6892         multiarch strpbrk for POWER7.
6893         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6894         multiarch strpbrk for PPC64.
6895         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6896         ifunc selector.
6897         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6898         strpbrk for POWER7.
6900 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6902         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6903         (atan_test): Likewise.
6904         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6905         (atanh_test): Use ALL_RM_TEST.
6906         (atan2_test_data): Likewise.
6907         (cabs_test): Likewise.
6908         (cacosh_test): Likewise.
6909         (carg_test): Likewise.
6910         (casin_test): Likewise.
6911         (casinh_test): Likewise.
6912         (cbrt_test): Likewise.
6913         (csqrt_test): Likewise.
6914         (erf_test): Likewise.
6915         (erfc_test): Likewise.
6916         (pow10_test): Likewise.
6917         (exp2_test): Likewise.
6918         (hypot_test): Likewise.
6919         (j0_test): Likewise.
6920         (j1_test): Likewise.
6921         (lgamma_test): Likewise.
6922         (gamma_test): Likewise.
6923         (sincos_test): Likewise.
6924         (tanh_test): Likewise.
6925         (y0_test): Likewise.
6926         (y1_test): Likewise.
6927         * sysdeps/i386/fpu/libm-test-ulps: Update.
6928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6930 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6932         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6934         and strcspn-ppc64 objects.
6935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6936         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6937         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6938         multiarch strcspn for POWER7.
6939         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6940         multiarch strcspn for PPC64.
6941         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6942         ifunc selector.
6943         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6944         strcspn for POWER7.
6946 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6948         * math/gen-libm-test.pl (generate_testfile): Expect only function
6949         name as argument to AUTO_TESTS_* and pass results for all rounding
6950         modes to parse_args.
6951         (parse_auto_input): Separate inputs of automatic tests from
6952         outputs before storing in %auto_tests.
6953         * math/libm-test.inc (acos_test_data): Update call to
6954         AUTO_TESTS_f_f.
6955         (acos_test): Use ALL_RM_TEST.
6956         (acos_tonearest_test_data): Remove.
6957         (acos_test_tonearest): Likewise.
6958         (acos_towardzero_test_data): Likewise.
6959         (acos_test_towardzero): Likewise.
6960         (acos_downward_test_data): Likewise.
6961         (acos_test_downward): Likewise.
6962         (acos_upward_test_data): Likewise.
6963         (acos_test_upward): Likewise.
6964         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6965         (asin_test_data): Likewise.
6966         (asin_test): Use ALL_RM_TEST.
6967         (asin_tonearest_test_data): Remove.
6968         (asin_test_tonearest): Likewise.
6969         (asin_towardzero_test_data): Likewise.
6970         (asin_test_towardzero): Likewise.
6971         (asin_downward_test_data): Likewise.
6972         (asin_test_downward): Likewise.
6973         (asin_upward_test_data): Likewise.
6974         (asin_test_upward): Likewise.
6975         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6976         (atan_test_data): Likewise.
6977         (atanh_test_data): Likewise.
6978         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6979         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6980         (carg_test_data): Likewise.
6981         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6982         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6983         (ccosh_test_data): Likewise.
6984         (cexp_test_data): Likewise.
6985         (clog_test_data): Likewise.
6986         (clog10_test_data): Likewise.
6987         (cos_test_data): Update call to AUTO_TESTS_f_f.
6988         (cos_test): Use ALL_RM_TEST.
6989         (cos_tonearest_test_data): Remove.
6990         (cos_test_tonearest): Likewise.
6991         (cos_towardzero_test_data): Likewise.
6992         (cos_test_towardzero): Likewise.
6993         (cos_downward_test_data): Likewise.
6994         (cos_test_downward): Likewise.
6995         (cos_upward_test_data): Likewise.
6996         (cos_test_upward): Likewise.
6997         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6998         (cosh_test): Use ALL_RM_TEST.
6999         (cosh_tonearest_test_data): Remove.
7000         (cosh_test_tonearest): Likewise.
7001         (cosh_towardzero_test_data): Likewise.
7002         (cosh_test_towardzero): Likewise.
7003         (cosh_downward_test_data): Likewise.
7004         (cosh_test_downward): Likewise.
7005         (cosh_upward_test_data): Likewise.
7006         (cosh_test_upward): Likewise.
7007         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7008         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7009         (ctan_test_data): Likewise.
7010         (ctan_test): Use ALL_RM_TEST.
7011         (ctan_tonearest_test_data): Remove.
7012         (ctan_test_tonearest): Likewise.
7013         (ctan_towardzero_test_data): Likewise.
7014         (ctan_test_towardzero): Likewise.
7015         (ctan_downward_test_data): Likewise.
7016         (ctan_test_downward): Likewise.
7017         (ctan_upward_test_data): Likewise.
7018         (ctan_test_upward): Likewise.
7019         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7020         (ctanh_test): Use ALL_RM_TEST.
7021         (ctanh_tonearest_test_data): Remove.
7022         (ctanh_test_tonearest): Likewise.
7023         (ctanh_towardzero_test_data): Likewise.
7024         (ctanh_test_towardzero): Likewise.
7025         (ctanh_downward_test_data): Likewise.
7026         (ctanh_test_downward): Likewise.
7027         (ctanh_upward_test_data): Likewise.
7028         (ctanh_test_upward): Likewise.
7029         (erf_test_data): Update call to AUTO_TESTS_f_f.
7030         (erfc_test_data): Likewise.
7031         (exp_test_data): Likewise.
7032         (exp_test): Use ALL_RM_TEST.
7033         (exp_tonearest_test_data): Remove.
7034         (exp_test_tonearest): Likewise.
7035         (exp_towardzero_test_data): Likewise.
7036         (exp_test_towardzero): Likewise.
7037         (exp_downward_test_data): Likewise.
7038         (exp_test_downward): Likewise.
7039         (exp_upward_test_data): Likewise.
7040         (exp_test_upward): Likewise.
7041         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7042         (exp10_test): Use ALL_RM_TEST.
7043         (exp10_tonearest_test_data): Remove.
7044         (exp10_test_tonearest): Likewise.
7045         (exp10_towardzero_test_data): Likewise.
7046         (exp10_test_towardzero): Likewise.
7047         (exp10_downward_test_data): Likewise.
7048         (exp10_test_downward): Likewise.
7049         (exp10_upward_test_data): Likewise.
7050         (exp10_test_upward): Likewise.
7051         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7052         (expm1_test_data): Likewise.
7053         (expm1_test): Use ALL_RM_TEST.
7054         (expm1_tonearest_test_data): Remove.
7055         (expm1_test_tonearest): Likewise.
7056         (expm1_towardzero_test_data): Likewise.
7057         (expm1_test_towardzero): Likewise.
7058         (expm1_downward_test_data): Likewise.
7059         (expm1_test_downward): Likewise.
7060         (expm1_upward_test_data): Likewise.
7061         (expm1_test_upward): Likewise.
7062         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7063         (fma_test): Use ALL_RM_TEST.
7064         (fma_towardzero_test_data): Remove.
7065         (fma_test_towardzero): Likewise.
7066         (fma_downward_test_data): Likewise.
7067         (fma_test_downward): Likewise.
7068         (fma_upward_test_data): Likewise.
7069         (fma_test_upward): Likewise.
7070         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7071         (j0_test_data): Update call to AUTO_TESTS_f_f.
7072         (j1_test_data): Likewise.
7073         (jn_test_data): Update call to AUTO_TESTS_if_f.
7074         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7075         (log_test_data): Update call to AUTO_TESTS_f_f.
7076         (log10_test_data): Likewise.
7077         (log1p_test_data): Likewise.
7078         (log2_test_data): Likewise.
7079         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7080         (pow_tonearest_test_data): Likewise.
7081         (sin_test_data): Update call to AUTO_TESTS_f_f.
7082         (sin_test): Use ALL_RM_TEST.
7083         (sin_tonearest_test_data): Remove.
7084         (sin_test_tonearest): Likewise.
7085         (sin_towardzero_test_data): Likewise.
7086         (sin_test_towardzero): Likewise.
7087         (sin_downward_test_data): Likewise.
7088         (sin_test_downward): Likewise.
7089         (sin_upward_test_data): Likewise.
7090         (sin_test_upward): Likewise.
7091         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7092         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7093         (sinh_test): Use ALL_RM_TEST.
7094         (sinh_tonearest_test_data): Remove.
7095         (sinh_test_tonearest): Likewise.
7096         (sinh_towardzero_test_data): Likewise.
7097         (sinh_test_towardzero): Likewise.
7098         (sinh_downward_test_data): Likewise.
7099         (sinh_test_downward): Likewise.
7100         (sinh_upward_test_data): Likewise.
7101         (sinh_test_upward): Likewise.
7102         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7103         (sqrt_test): Use ALL_RM_TEST.
7104         (sqrt_tonearest_test_data): Remove.
7105         (sqrt_test_tonearest): Likewise.
7106         (sqrt_towardzero_test_data): Likewise.
7107         (sqrt_test_towardzero): Likewise.
7108         (sqrt_downward_test_data): Likewise.
7109         (sqrt_test_downward): Likewise.
7110         (sqrt_upward_test_data): Likewise.
7111         (sqrt_test_upward): Likewise.
7112         (tan_test_data): Update call to AUTO_TESTS_f_f.
7113         (tan_test): Use ALL_RM_TEST.
7114         (tan_tonearest_test_data): Remove.
7115         (tan_test_tonearest): Likewise.
7116         (tan_towardzero_test_data): Likewise.
7117         (tan_test_towardzero): Likewise.
7118         (tan_downward_test_data): Likewise.
7119         (tan_test_downward): Likewise.
7120         (tan_upward_test_data): Likewise.
7121         (tan_test_upward): Likewise.
7122         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7123         (tgamma_test_data): Likewise.
7124         (y0_test_data): Likewise.
7125         (y1_test_data): Likewise.
7126         (yn_test_data): Update call to AUTO_TESTS_if_f.
7127         (main): Do not call removed functions.
7129 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7131         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7132         (ldexp_test_data): Remove.
7133         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7134         scalbn_test_data.
7135         (scalb_test): Use ALL_RM_TEST.
7137 2014-03-19  Andreas Schwab  <schwab@suse.de>
7139         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7141 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7143         [BZ #16649]
7144         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7145         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7146         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7147         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7148         (__ASSUME_PREADV): Undefine.
7149         (__ASSUME_PWRITEV): Likewise.
7151 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7153         * bits/mman-linux.h: Add comment about non-Linux use.
7154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7155         bits/mman-linux.h resting place.
7157         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7158         * bits/mman-linux.h: ... here.
7160 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7162         * conform/conformtest.pl: Add standard definition when calling C
7163         preprocessor on data files.
7164         (checknamespace): Remove unused variable.
7166 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7168         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7169         minus_oflow, plus_uflow and minus_uflow in expected results.
7170         * math/libm-test.inc (scalbn_test_data): Add more tests of
7171         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7172         minus_uflow.
7173         (scalbn_test): Use ALL_RM_TEST.
7174         (scalbln_test_data): Add more tests of negative arguments.  Use
7175         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7176         (scalbln_test): Use ALL_RM_TEST.
7178 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7180         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7182 2014-03-18  Will Newton  <will.newton@linaro.org>
7184         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7185         inaccurate comment.
7187 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7189         * Makerules [!subdir] (check-abi): Exit with error status if a
7190         test failed.
7192 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7194         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7195         for rint.  Include results for all rounding modes.
7196         (nearbyint_test): Use ALL_RM_TEST.
7197         (rint_test_data): Include all tests used for nearbyint.
7199 2014-03-17  Will Newton  <will.newton@linaro.org>
7201         * nptl/sysdeps/pthread/pthread.h: Revert previous
7202         change.
7204         * sysdeps/generic/ldsodefs.h: Revert previous
7205         change.
7207         * libio/genops.c: Revert previous change.
7208         * libio/libioP.h: Likewise.
7209         * stdio-common/vfprintf.c: Likewise.
7211         * sysdeps/generic/math_private.h: Revert previous
7212         change.
7214         * sysdeps/generic/math_private.h: Check whether
7215         HAVE_RM_CTX is defined with #ifdef rather
7216         than #if.
7218         * argp/argp-fmtstream.h: Check whether
7219         __STRICT_ANSI__ is defined with #ifdef rather
7220         than #if.
7221         * argp/argp.h: Likewise.
7223         * libio/genops.c: Check whether
7224         _IO_JUMPS_OFFSET is defined with #ifdef rather
7225         than #if.
7226         * libio/libioP.h: Likewise.
7227         * stdio-common/vfprintf.c: Likewise.
7229         * sysdeps/generic/ldsodefs.h: Check whether
7230         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7231         than #if.
7233         * nptl/sysdeps/pthread/pthread.h: Check
7234         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7235         its value.
7237 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7239         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7240         setting O_APPEND.
7241         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7242         test case.
7244         [BZ #16680]
7245         * libio/fileops.c (_IO_file_open): Seek to end of file but
7246         don't cache the offset.
7247         (get_file_offset): Remove function.
7248         (do_ftell): Use cached offset when available.
7249         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7250         don't cache the offset.
7251         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7252         case.
7253         (do_one_test): Call it.
7254         (do_ftell_test): Fix up expected old offset for a+ mode.
7255         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7256         available.
7258         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7259         up test status with function return status.
7260         (do_write_test): Likewise.
7261         (do_append_test): Likewise.
7263         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7264         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7265         Remove.
7267 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7269         * math/gen-libm-test.pl (parse_args): Handle results specified for
7270         each rounding mode separately.
7271         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7272         tests and results from lrint_tonearest_test_data,
7273         lrint_towardzero_test_data, lrint_downward_test_data and
7274         lrint_upward_test_data.
7275         (lrint_test): Use ALL_RM_TEST.
7276         (lrint_tonearest_test_data): Remove.
7277         (lrint_test_tonearest): Likewise.
7278         (lrint_towardzero_test_data): Likewise.
7279         (lrint_test_towardzero): Likewise.
7280         (lrint_downward_test_data): Likewise.
7281         (lrint_test_downward): Likewise.
7282         (lrint_upward_test_data): Likewise.
7283         (lrint_test_upward): Likewise.
7284         (llrint_test_data): Merge in per-rounding-mode tests and results
7285         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7286         llrint_downward_test_data and llrint_upward_test_data.
7287         (llrint_test): Use ALL_RM_TEST.
7288         (llrint_tonearest_test_data): Remove.
7289         (llrint_test_tonearest): Likewise.
7290         (llrint_towardzero_test_data): Likewise.
7291         (llrint_test_towardzero): Likewise.
7292         (llrint_downward_test_data): Likewise.
7293         (llrint_test_downward): Likewise.
7294         (llrint_upward_test_data): Likewise.
7295         (llrint_test_upward): Likewise.
7296         (rint_test_data): Merge in per-rounding-mode tests and results
7297         from rint_tonearest_test_data, rint_towardzero_test_data,
7298         rint_downward_test_data and rint_upward_test_data.  Add
7299         per-rounding-mode results for tests not in those arrays.
7300         (rint_test): Use ALL_RM_TEST.
7301         (rint_tonearest_test_data): Remove.
7302         (rint_test_tonearest): Likewise.
7303         (rint_towardzero_test_data): Likewise.
7304         (rint_test_towardzero): Likewise.
7305         (rint_downward_test_data): Likewise.
7306         (rint_test_downward): Likewise.
7307         (rint_upward_test_data): Likewise.
7308         (rint_test_upward): Likewise.
7309         (main): Don't call removed functions.
7311 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7313         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7314         "Compiled on ..." crapola.  It is anti-useful.
7316 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7318         * scripts/evaluate-test.sh: Handle fourth argument to determine
7319         whether test run should stop on failure.
7320         * Makeconfig (stop-on-test-failure): New variable.
7321         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7322         $(stop-on-test-failure).
7323         * Makefile (tests): Give a summary of results from testing and
7324         exit with failure status if they include an ERROR or FAIL.
7325         (xtests): Likewise.
7326         * manual/install.texi (Configuring and compiling): Mention
7327         stop-on-test-failure=y.
7328         * INSTALL: Regenerated.
7330 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7332         * scripts/versionlist.awk: New file.
7333         * Makerules [$(build-shared) = yes]
7334         (postclean-generated): Add Versions.def, not Versions.def.v and
7335         Versions.def.v.i.
7336         ($(common-objpfx)Versions.def.v.i): Target removed.
7337         ($(common-objpfx)Versions.def): New target.
7338         ($(common-objpfx)Versions.all): Depend on that rather that
7339         $(common-objpfx)Versions.def.v.
7340         * Versions.def: File removed.
7342         * Makeconfig (+gccwarn): Add -Wundef.
7343         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7344         a dl-sysdep.h breaking its contract.
7345         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7346         * include/stackinfo.h: New file.
7347         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7348         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7349         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7350         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7351         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7352         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7353         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7354         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7355         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7356         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7357         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7358         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7359         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7360         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7361         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7363 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7365         [BZ #16707]
7366         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7367         implementation.
7368         * math/libm-test.inc (round_test_data): Add more tests.
7370         [BZ #16706]
7371         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7372         implementation.
7373         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7375         [BZ #16701]
7376         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7377         implementation.
7378         * math/libm-test.inc (ceil_test_data): Add more tests.
7380         * math/libm-test.inc (trunc_test_data): Add more tests related to
7381         BZ#16414.
7383 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7385         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7386         with #if rather than #ifdef.
7387         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7389 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7391         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7392         first.  Disable AVX-512 GCC support if assembler doesn't support
7393         it.
7394         * sysdeps/x86_64/configure: Regenerated.
7396 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7398         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7399         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7400         (__old_pthread_attr_setstack): Likewise.
7401         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7402         [!_STACK_GROWS_DOWN]: Likewise.
7404 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7406         * config.make.in (have-bash2): Delete.
7407         * configure.ac (libc_cv_have_bash2): Delete.
7408         * configure: Regenerate.
7409         * elf/Makefile (common-ldd-rewrite): Rename to ...
7410         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7411         (sh-ldd-rewrite): Delete.
7412         (bash-ldd-rewrite): Delete.
7413         (have-bash2): Delete checks.
7414         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7415         ldd-rewrite.
7417         * config.make.in (have-ksh): Delete.
7418         (KSH): Delete.
7419         * configure.ac (libc_cv_have_ksh): Delete.
7420         * configure: Regenerate.
7422         * elf/Makefile: Delete $(have-ksh) check.
7423         ($(objpfx)sotruss): Change KSH to BASH.
7424         * elf/sotruss.ksh: Rename to ...
7425         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7426         function style to match POSIX.  Drop ksh vim mode setting.
7428         * manual/time.texi (Specifying the Time Zone with TZ): Change
7429         Tuesday to Thursday.
7431         * debug/tst-longjmp_chk2.c: Update header comment.
7432         (stackoverflow_handler): Add comment.  Call assert on pass value.
7434 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
7436         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7437         (HAVE_AVX512_ASM_SUPPORT): Likewise.
7438         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7439         (La_x86_64_vector): Add zmm.
7440         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7441         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7442         ($(objpfx)tst-audit10): New target.
7443         ($(objpfx)tst-audit10.out): Likewise.
7444         (tst-audit10-ENV): New.
7445         (AVX512-CFLAGS): Likewise.
7446         (CFLAGS-tst-audit10.c): Likewise.
7447         (CFLAGS-tst-auditmod10a.c): Likewise.
7448         (CFLAGS-tst-auditmod10b.c): Likewise.
7449         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7450         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7451         * sysdeps/x86_64/configure: Regenerated.
7452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7453         AVX-512 zmm register support.
7454         (_dl_x86_64_save_sse): Likewise.
7455         (_dl_x86_64_restore_sse): Likewise.
7456         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7457         size vector registers.
7458         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7459         (ZMM_SIZE): Likewise.
7460         * sysdeps/x86_64/tst-audit10.c: New file.
7461         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7462         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7464 2014-03-13  Roland McGrath  <roland@hack.frob.com>
7466         * configure.ac (HAVE_EHDR_START): New check.
7467         * configure: Regenerated.
7468         * config.h.in (HAVE_EHDR_START): New #undef.
7469         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7470         assuming the lowest-addressed segment maps the start of the file.
7472 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
7474         * INSTALL: Regenerated.
7476 2014-03-13  Will Newton  <will.newton@linaro.org>
7478         * manual/setjmp.texi (System V contexts): Improve
7479         clarity and grammar of documentation.
7481 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7483         [BZ #16381]
7484         * elf/Makefile (tests): Add tst-pie2.
7485         (tests-pie): Add tst-pie2.
7486         * elf/tst-pie2.c: New file.
7487         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7488         for ET_EXEC.
7489         * elf/rtld.c (map_doit): Load executable as lt_executable.
7490         (dl_main): Likewise.
7492 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
7494         [BZ #16642]
7495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7496         (__ASSUME_PSELECT): Undefine.
7498 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7500         [BZ #16689]
7501         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7502         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7503         static build.
7504         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7505         selector for static builds.
7507 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7509         [BZ #16695]
7510         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7511         key in the buffer.
7513 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7515         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7516         IFUNC selector for static builds.
7518 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
7520         * sysdeps/mips/math_private.h [__mips_hard_float]
7521         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7522         libc_feresetround_mips_ctx.
7523         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7524         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7525         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7527         [BZ #16677]
7528         * math/s_nextafter.c (__nextafter): Do not return value from
7529         overflowing computation.
7530         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7531         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7532         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7533         Likewise.
7534         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7535         Likewise.
7536         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7537         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7539 2014-03-11  Roland McGrath  <roland@hack.frob.com>
7541         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7542         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7543         Move sfi_sp use from the load-multiple (that no longer sets sp) to
7544         the new mov targetting sp.
7546 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7548         [BZ #16683]
7549         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7550         Define it for static builds as well.
7551         (NO_BZERO_IMPL): Likewise.
7553 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7555         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7556         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7557         multiarch strspn for PPC64.
7558         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7559         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7561         (__libc_ifunc_impl_list): Likewise.
7562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7563         multiarch optimizations
7564         * string/strspn.c (strspn): Using macro to redefine symbol name.
7566 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7567             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7569         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7570         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7571         multiarch strncat for PPC64.
7572         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7573         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7575         (__libc_ifunc_impl_list): Likewise.
7576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7577         multiarch optimizations
7579 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7581         [BZ #16639]
7582         * nscd/nscd.service: Make service type forking.
7584 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7586         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7587         sign in non default rounding modes.
7588         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7590 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
7592         * math/libm-test.inc (ALL_RM_TEST): New macro.
7593         (ceil_test): Use ALL_RM_TEST.
7594         (cimag_test): Likewise.
7595         (conj_test): Likewise.
7596         (copysign_test): Likewise.
7597         (cproj_test): Likewise.
7598         (creal_test): Likewise.
7599         (fabs_test): Likewise.
7600         (floor_test): Likewise.
7601         (fmax_test): Likewise.
7602         (fmin_test): Likewise.
7603         (fmod_test): Likewise.
7604         (fpclassify_test): Likewise.
7605         (frexp_test): Likewise.
7606         (ilogb_test): Likewise.
7607         (isfinite_test): Likewise.
7608         (finite_test): Likewise.
7609         (isgreater_test): Likewise.
7610         (isgreaterequal_test): Likewise.
7611         (isinf_test): Likewise.
7612         (isless_test): Likewise.
7613         (islessequal_test): Likewise.
7614         (islessgreater_test): Likewise.
7615         (isnan_test): Likewise.
7616         (isnormal_test): Likewise.
7617         (issignaling_test): Likewise.
7618         (isunordered_test): Likewise.
7619         (logb_test): Likewise.
7620         (logb_downward_test_data): Remove.
7621         (logb_test_downward): Likewise.
7622         (lround_test): Use ALL_RM_TEST.
7623         (llround_test): Likewise.
7624         (modf_test): Likewise.
7625         (nexttoward_test): Likewise.
7626         (remainder_test): Likewise.
7627         (drem_test): Likewise.
7628         (remainder_tonearest_test_data): Likewise.
7629         (remainder_test_tonearest): Likewise.
7630         (drem_test_tonearest): Likewise.
7631         (remainder_towardzero_test_data): Likewise.
7632         (remainder_test_towardzero): Likewise.
7633         (drem_test_towardzero): Likewise.
7634         (remainder_downward_test_data): Likewise.
7635         (remainder_test_downward): Likewise.
7636         (drem_test_downward): Likewise.
7637         (remainder_upward_test_data): Likewise.
7638         (remainder_test_upward): Likewise.
7639         (drem_test_upward): Likewise.
7640         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
7641         (round_test): Use ALL_RM_TEST.
7642         (signbit_test): Likewise.
7643         (trunc_test): Likewise.
7644         (significand_test): Likewise.
7645         (main): Don't call removed functions.
7647 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7649         [BZ #16674]
7650         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7651         || __USE_XOPEN2K8].
7652         (ILL_ILLOPN): Likewise.
7653         (ILL_ILLADR): Likewise.
7654         (ILL_ILLTRP): Likewise.
7655         (ILL_PRVOPC): Likewise.
7656         (ILL_PRVREG): Likewise.
7657         (ILL_COPROC): Likewise.
7658         (ILL_BADSTK): Likewise.
7659         (FPE_INTDIV): Likewise.
7660         (FPE_INTOVF): Likewise.
7661         (FPE_FLTDIV): Likewise.
7662         (FPE_FLTOVF): Likewise.
7663         (FPE_FLTUND): Likewise.
7664         (FPE_FLTRES): Likewise.
7665         (FPE_FLTINV): Likewise.
7666         (FPE_FLTSUB): Likewise.
7667         (SEGV_MAPERR): Likewise.
7668         (SEGV_ACCERR): Likewise.
7669         (BUS_ADRALN): Likewise.
7670         (BUS_ADRERR): Likewise.
7671         (BUS_OBJERR): Likewise.
7672         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7673         (TRAP_TRACE): Likewise.
7674         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7675         __USE_XOPEN2K8].
7676         (CLD_KILLED): Likewise.
7677         (CLD_DUMPED): Likewise.
7678         (CLD_TRAPPED): Likewise.
7679         (CLD_STOPPED): Likewise.
7680         (CLD_CONTINUED): Likewise.
7681         (POLL_IN): Likewise.
7682         (POLL_OUT): Likewise.
7683         (POLL_MSG): Likewise.
7684         (POLL_ERR): Likewise.
7685         (POLL_PRI): Likewise.
7686         (POLL_HUP): Likewise.
7687         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7688         Likewise.
7689         (ILL_ILLOPN): Likewise.
7690         (ILL_ILLADR): Likewise.
7691         (ILL_ILLTRP): Likewise.
7692         (ILL_PRVOPC): Likewise.
7693         (ILL_PRVREG): Likewise.
7694         (ILL_COPROC): Likewise.
7695         (ILL_BADSTK): Likewise.
7696         (FPE_INTDIV): Likewise.
7697         (FPE_INTOVF): Likewise.
7698         (FPE_FLTDIV): Likewise.
7699         (FPE_FLTOVF): Likewise.
7700         (FPE_FLTUND): Likewise.
7701         (FPE_FLTRES): Likewise.
7702         (FPE_FLTINV): Likewise.
7703         (FPE_FLTSUB): Likewise.
7704         (SEGV_MAPERR): Likewise.
7705         (SEGV_ACCERR): Likewise.
7706         (BUS_ADRALN): Likewise.
7707         (BUS_ADRERR): Likewise.
7708         (BUS_OBJERR): Likewise.
7709         (BUS_MCEERR_AR): Likewise.
7710         (BUS_MCEERR_AO): Likewise.
7711         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7712         (TRAP_TRACE): Likewise.
7713         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7714         __USE_XOPEN2K8].
7715         (CLD_KILLED): Likewise.
7716         (CLD_DUMPED): Likewise.
7717         (CLD_TRAPPED): Likewise.
7718         (CLD_STOPPED): Likewise.
7719         (CLD_CONTINUED): Likewise.
7720         (POLL_IN): Likewise.
7721         (POLL_OUT): Likewise.
7722         (POLL_MSG): Likewise.
7723         (POLL_ERR): Likewise.
7724         (POLL_PRI): Likewise.
7725         (POLL_HUP): Likewise.
7726         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7727         (ILL_ILLOPN): Likewise.
7728         (ILL_ILLADR): Likewise.
7729         (ILL_ILLTRP): Likewise.
7730         (ILL_PRVOPC): Likewise.
7731         (ILL_PRVREG): Likewise.
7732         (ILL_COPROC): Likewise.
7733         (ILL_BADSTK): Likewise.
7734         (FPE_INTDIV): Likewise.
7735         (FPE_INTOVF): Likewise.
7736         (FPE_FLTDIV): Likewise.
7737         (FPE_FLTOVF): Likewise.
7738         (FPE_FLTUND): Likewise.
7739         (FPE_FLTRES): Likewise.
7740         (FPE_FLTINV): Likewise.
7741         (FPE_FLTSUB): Likewise.
7742         (SEGV_MAPERR): Likewise.
7743         (SEGV_ACCERR): Likewise.
7744         (BUS_ADRALN): Likewise.
7745         (BUS_ADRERR): Likewise.
7746         (BUS_OBJERR): Likewise.
7747         (BUS_MCEERR_AR): Likewise.
7748         (BUS_MCEERR_AO): Likewise.
7749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7750         (TRAP_TRACE): Likewise.
7751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7752         __USE_XOPEN2K8].
7753         (CLD_KILLED): Likewise.
7754         (CLD_DUMPED): Likewise.
7755         (CLD_TRAPPED): Likewise.
7756         (CLD_STOPPED): Likewise.
7757         (CLD_CONTINUED): Likewise.
7758         (POLL_IN): Likewise.
7759         (POLL_OUT): Likewise.
7760         (POLL_MSG): Likewise.
7761         (POLL_ERR): Likewise.
7762         (POLL_PRI): Likewise.
7763         (POLL_HUP): Likewise.
7764         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7765         Likewise.
7766         (ILL_ILLOPN): Likewise.
7767         (ILL_ILLADR): Likewise.
7768         (ILL_ILLTRP): Likewise.
7769         (ILL_PRVOPC): Likewise.
7770         (ILL_PRVREG): Likewise.
7771         (ILL_COPROC): Likewise.
7772         (ILL_BADSTK): Likewise.
7773         (ILL_BADIADDR): Likewise.
7774         (ILL_BREAK): Likewise.
7775         (FPE_INTDIV): Likewise.
7776         (FPE_INTOVF): Likewise.
7777         (FPE_FLTDIV): Likewise.
7778         (FPE_FLTOVF): Likewise.
7779         (FPE_FLTUND): Likewise.
7780         (FPE_FLTRES): Likewise.
7781         (FPE_FLTINV): Likewise.
7782         (FPE_FLTSUB): Likewise.
7783         (FPE_DECOVF): Likewise.
7784         (FPE_DECDIV): Likewise.
7785         (FPE_DECERR): Likewise.
7786         (FPE_INVASC): Likewise.
7787         (FPE_INVDEC): Likewise.
7788         (SEGV_MAPERR): Likewise.
7789         (SEGV_ACCERR): Likewise.
7790         (SEGV_PSTKOVF): Likewise.
7791         (BUS_ADRALN): Likewise.
7792         (BUS_ADRERR): Likewise.
7793         (BUS_OBJERR): Likewise.
7794         (BUS_MCEERR_AR): Likewise.
7795         (BUS_MCEERR_AO): Likewise.
7796         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7797         (TRAP_TRACE): Likewise.
7798         (TRAP_BRANCH): Likewise.
7799         (TRAP_HWBKPT): Likewise.
7800         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7801         __USE_XOPEN2K8].
7802         (CLD_KILLED): Likewise.
7803         (CLD_DUMPED): Likewise.
7804         (CLD_TRAPPED): Likewise.
7805         (CLD_STOPPED): Likewise.
7806         (CLD_CONTINUED): Likewise.
7807         (POLL_IN): Likewise.
7808         (POLL_OUT): Likewise.
7809         (POLL_MSG): Likewise.
7810         (POLL_ERR): Likewise.
7811         (POLL_PRI): Likewise.
7812         (POLL_HUP): Likewise.
7813         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7814         (ILL_ILLOPN): Likewise.
7815         (ILL_ILLADR): Likewise.
7816         (ILL_ILLTRP): Likewise.
7817         (ILL_PRVOPC): Likewise.
7818         (ILL_PRVREG): Likewise.
7819         (ILL_COPROC): Likewise.
7820         (ILL_BADSTK): Likewise.
7821         (FPE_INTDIV): Likewise.
7822         (FPE_INTOVF): Likewise.
7823         (FPE_FLTDIV): Likewise.
7824         (FPE_FLTOVF): Likewise.
7825         (FPE_FLTUND): Likewise.
7826         (FPE_FLTRES): Likewise.
7827         (FPE_FLTINV): Likewise.
7828         (FPE_FLTSUB): Likewise.
7829         (SEGV_MAPERR): Likewise.
7830         (SEGV_ACCERR): Likewise.
7831         (BUS_ADRALN): Likewise.
7832         (BUS_ADRERR): Likewise.
7833         (BUS_OBJERR): Likewise.
7834         (BUS_MCEERR_AR): Likewise.
7835         (BUS_MCEERR_AO): Likewise.
7836         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7837         (TRAP_TRACE): Likewise.
7838         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7839         __USE_XOPEN2K8].
7840         (CLD_KILLED): Likewise.
7841         (CLD_DUMPED): Likewise.
7842         (CLD_TRAPPED): Likewise.
7843         (CLD_STOPPED): Likewise.
7844         (CLD_CONTINUED): Likewise.
7845         (POLL_IN): Likewise.
7846         (POLL_OUT): Likewise.
7847         (POLL_MSG): Likewise.
7848         (POLL_ERR): Likewise.
7849         (POLL_PRI): Likewise.
7850         (POLL_HUP): Likewise.
7851         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7852         (ILL_ILLOPN): Likewise.
7853         (ILL_ILLADR): Likewise.
7854         (ILL_ILLTRP): Likewise.
7855         (ILL_PRVOPC): Likewise.
7856         (ILL_PRVREG): Likewise.
7857         (ILL_COPROC): Likewise.
7858         (ILL_BADSTK): Likewise.
7859         (FPE_INTDIV): Likewise.
7860         (FPE_INTOVF): Likewise.
7861         (FPE_FLTDIV): Likewise.
7862         (FPE_FLTOVF): Likewise.
7863         (FPE_FLTUND): Likewise.
7864         (FPE_FLTRES): Likewise.
7865         (FPE_FLTINV): Likewise.
7866         (FPE_FLTSUB): Likewise.
7867         (SEGV_MAPERR): Likewise.
7868         (SEGV_ACCERR): Likewise.
7869         (BUS_ADRALN): Likewise.
7870         (BUS_ADRERR): Likewise.
7871         (BUS_OBJERR): Likewise.
7872         (BUS_MCEERR_AR): Likewise.
7873         (BUS_MCEERR_AO): Likewise.
7874         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7875         (TRAP_TRACE): Likewise.
7876         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7877         __USE_XOPEN2K8].
7878         (CLD_KILLED): Likewise.
7879         (CLD_DUMPED): Likewise.
7880         (CLD_TRAPPED): Likewise.
7881         (CLD_STOPPED): Likewise.
7882         (CLD_CONTINUED): Likewise.
7883         (POLL_IN): Likewise.
7884         (POLL_OUT): Likewise.
7885         (POLL_MSG): Likewise.
7886         (POLL_ERR): Likewise.
7887         (POLL_PRI): Likewise.
7888         (POLL_HUP): Likewise.
7889         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7890         (ILL_ILLOPN): Likewise.
7891         (ILL_ILLADR): Likewise.
7892         (ILL_ILLTRP): Likewise.
7893         (ILL_PRVOPC): Likewise.
7894         (ILL_PRVREG): Likewise.
7895         (ILL_COPROC): Likewise.
7896         (ILL_BADSTK): Likewise.
7897         (FPE_INTDIV): Likewise.
7898         (FPE_INTOVF): Likewise.
7899         (FPE_FLTDIV): Likewise.
7900         (FPE_FLTOVF): Likewise.
7901         (FPE_FLTUND): Likewise.
7902         (FPE_FLTRES): Likewise.
7903         (FPE_FLTINV): Likewise.
7904         (FPE_FLTSUB): Likewise.
7905         (SEGV_MAPERR): Likewise.
7906         (SEGV_ACCERR): Likewise.
7907         (BUS_ADRALN): Likewise.
7908         (BUS_ADRERR): Likewise.
7909         (BUS_OBJERR): Likewise.
7910         (BUS_MCEERR_AR): Likewise.
7911         (BUS_MCEERR_AO): Likewise.
7912         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7913         (TRAP_TRACE): Likewise.
7914         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7915         __USE_XOPEN2K8].
7916         (CLD_KILLED): Likewise.
7917         (CLD_DUMPED): Likewise.
7918         (CLD_TRAPPED): Likewise.
7919         (CLD_STOPPED): Likewise.
7920         (CLD_CONTINUED): Likewise.
7921         (POLL_IN): Likewise.
7922         (POLL_OUT): Likewise.
7923         (POLL_MSG): Likewise.
7924         (POLL_ERR): Likewise.
7925         (POLL_PRI): Likewise.
7926         (POLL_HUP): Likewise.
7927         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7928         (ILL_ILLOPN): Likewise.
7929         (ILL_ILLADR): Likewise.
7930         (ILL_ILLTRP): Likewise.
7931         (ILL_PRVOPC): Likewise.
7932         (ILL_PRVREG): Likewise.
7933         (ILL_COPROC): Likewise.
7934         (ILL_BADSTK): Likewise.
7935         (ILL_DBLFLT): Likewise.
7936         (ILL_HARDWALL): Likewise.
7937         (FPE_INTDIV): Likewise.
7938         (FPE_INTOVF): Likewise.
7939         (FPE_FLTDIV): Likewise.
7940         (FPE_FLTOVF): Likewise.
7941         (FPE_FLTUND): Likewise.
7942         (FPE_FLTRES): Likewise.
7943         (FPE_FLTINV): Likewise.
7944         (FPE_FLTSUB): Likewise.
7945         (SEGV_MAPERR): Likewise.
7946         (SEGV_ACCERR): Likewise.
7947         (BUS_ADRALN): Likewise.
7948         (BUS_ADRERR): Likewise.
7949         (BUS_OBJERR): Likewise.
7950         (BUS_MCEERR_AR): Likewise.
7951         (BUS_MCEERR_AO): Likewise.
7952         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7953         (TRAP_TRACE): Likewise.
7954         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7955         __USE_XOPEN2K8].
7956         (CLD_KILLED): Likewise.
7957         (CLD_DUMPED): Likewise.
7958         (CLD_TRAPPED): Likewise.
7959         (CLD_STOPPED): Likewise.
7960         (CLD_CONTINUED): Likewise.
7961         (POLL_IN): Likewise.
7962         (POLL_OUT): Likewise.
7963         (POLL_MSG): Likewise.
7964         (POLL_ERR): Likewise.
7965         (POLL_PRI): Likewise.
7966         (POLL_HUP): Likewise.
7967         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7968         (ILL_ILLOPN): Likewise.
7969         (ILL_ILLADR): Likewise.
7970         (ILL_ILLTRP): Likewise.
7971         (ILL_PRVOPC): Likewise.
7972         (ILL_PRVREG): Likewise.
7973         (ILL_COPROC): Likewise.
7974         (ILL_BADSTK): Likewise.
7975         (FPE_INTDIV): Likewise.
7976         (FPE_INTOVF): Likewise.
7977         (FPE_FLTDIV): Likewise.
7978         (FPE_FLTOVF): Likewise.
7979         (FPE_FLTUND): Likewise.
7980         (FPE_FLTRES): Likewise.
7981         (FPE_FLTINV): Likewise.
7982         (FPE_FLTSUB): Likewise.
7983         (SEGV_MAPERR): Likewise.
7984         (SEGV_ACCERR): Likewise.
7985         (BUS_ADRALN): Likewise.
7986         (BUS_ADRERR): Likewise.
7987         (BUS_OBJERR): Likewise.
7988         (BUS_MCEERR_AR): Likewise.
7989         (BUS_MCEERR_AO): Likewise.
7990         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7991         (TRAP_TRACE): Likewise.
7992         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7993         __USE_XOPEN2K8].
7994         (CLD_KILLED): Likewise.
7995         (CLD_DUMPED): Likewise.
7996         (CLD_TRAPPED): Likewise.
7997         (CLD_STOPPED): Likewise.
7998         (CLD_CONTINUED): Likewise.
7999         (POLL_IN): Likewise.
8000         (POLL_OUT): Likewise.
8001         (POLL_MSG): Likewise.
8002         (POLL_ERR): Likewise.
8003         (POLL_PRI): Likewise.
8004         (POLL_HUP): Likewise.
8005         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8006         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8008         [BZ #16670]
8009         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8010         before #include of <time.h>.
8011         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8012         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8013         (test-xfail-UNIX98/sched.h/conform): Likewise.
8015 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8017         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8018         error absence of trapping exception support.
8019         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8021 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8023         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8024         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8025         * timezone/Makefile (testdata): Move definition above include of
8026         Rules.
8027         (test-zones): New variable.
8028         (tests-special): Add zone files.
8029         (build-testdata): Use $(evaluate-test).
8031         * elf/Makefile (tests-special): Rename tests to end with .out.
8032         ($(objpfx)noload-mem): Likewise.
8033         ($(objpfx)tst-leaks1-mem): Likewise.
8034         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8035         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8036         $(objpfx)test-iconvconfig.out.
8037         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8038         set -e inside subshell and redirect output to file.
8039         * iconvdata/Makefile (generated): Rename tests to end with .out.
8040         Correct type.
8041         (tests-special): Rename tests to end with .out.
8042         ($(objpfx)mtrace-tst-loading): Likewise.
8043         * intl/Makefile (generated): Likewise.
8044         (tests-special): Likewise.
8045         ($(objpfx)mtrace-tst-gettext): Likewise.
8046         * misc/Makefile (generated): Likewise.
8047         (tests-special): Likewise.
8048         ($(objpfx)tst-error1-mem): Likewise.
8049         * nptl/Makefile (tests-special): Likewise.
8050         ($(objpfx)tst-stack3-mem): Likewise.
8051         (generated): Likewise.
8052         * posix/Makefile (generated): Likewise.
8053         (tests-special): Likewise.
8054         (xtests-special): Likewise.
8055         ($(objpfx)tst-fnmatch-mem): Likewise.
8056         ($(objpfx)bug-regex2-mem): Likewise.
8057         ($(objpfx)bug-regex14-mem): Likewise.
8058         ($(objpfx)bug-regex21-mem): Likewise.
8059         ($(objpfx)bug-regex31-mem): Likewise.
8060         ($(objpfx)tst-vfork3-mem): Likewise.
8061         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8062         ($(objpfx)tst-pcre-mem): Likewise.
8063         ($(objpfx)tst-boost-mem): Likewise.
8064         ($(objpfx)bug-ga2-mem): Likewise.
8065         ($(objpfx)bug-glob2-mem): Likewise.
8066         * resolv/Makefile (generate): Likewise.
8067         (tests-special): Likewise.
8068         (xtests-special): Likewise.
8069         (generated): Likewise.
8070         ($(objpfx)mtrace-tst-leaks): Likewise.
8071         ($(objpfx)mtrace-tst-leaks2): Likewise.
8073         * scripts/merge-test-results.sh: New file.
8074         * Makefile (tests-special-notdir): New variable.
8075         (tests): Run merge-test-results.sh.
8076         (xtests): Likewise.
8077         * Rules (tests-special-notdir): New variable.
8078         (xtests-special-notdir): Likewise.
8079         (tests): Run merge-test-results.sh
8080         (xtests): Likewise.
8082         * Makeconfig (test-xfail-name): New variable.
8083         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8084         compute variable name for expected failures.
8085         * conform/Makefile (conformtest-headers-data): New variable.
8086         (conformtest-standards): Likewise.
8087         (conformtest-headers-ISO): Likewise.
8088         (conformtest-headers-ISO99): Likewise.
8089         (conformtest-headers-ISO11): Likewise.
8090         (conformtest-headers-POSIX): Likewise.
8091         (conformtest-headers-XPG3): Likewise.
8092         (conformtest-headers-XPG4): Likewise.
8093         (conformtest-headers-UNIX98): Likewise.
8094         (conformtest-headers-XOPEN2K): Likewise.
8095         (conformtest-headers-POSIX2008): Likewise.
8096         (conformtest-headers-XOPEN2K8): Likewise.
8097         (conformtest-header-list-base): Likewise.
8098         (conformtest-header-list-tests): Likewise.
8099         (conformtest-header-base): Likewise.
8100         (conformtest-header-tests): Likewise.
8101         (tests-special): Add $(conformtest-header-list-tests).  If
8102         [$(fast-check) && !$(cross-compiling)], add
8103         $(conformtest-header-tests) instead of
8104         $(objpfx)run-conformtest.out.
8105         (generated): Add $(conformtest-header-list-base).  If
8106         [$(fast-check) && !$(cross-compiling)], add
8107         $(conformtest-header-base).  Remove previous setting.
8108         ($(conformtest-header-list-tests)): New target.
8109         (test-xfail-run-conformtest): Remove variable.
8110         ($(objpfx)run-conformtest.out): Remove target.
8111         (test-xfail-ISO11/complex.h/conform): New variable.
8112         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8113         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8114         (test-xfail-XPG3/varargs.h/conform): Likewise.
8115         (test-xfail-XPG4/varargs.h/conform): Likewise.
8116         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8117         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8118         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8119         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8120         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8121         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8122         (test-xfail-XPG3/ftw.h/conform): Likewise.
8123         (test-xfail-XPG3/grp.h/conform): Likewise.
8124         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8125         (test-xfail-XPG3/limits.h/conform): Likewise.
8126         (test-xfail-XPG3/pwd.h/conform): Likewise.
8127         (test-xfail-XPG3/search.h/conform): Likewise.
8128         (test-xfail-XPG3/signal.h/conform): Likewise.
8129         (test-xfail-XPG3/stdio.h/conform): Likewise.
8130         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8131         (test-xfail-XPG3/string.h/conform): Likewise.
8132         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8133         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8134         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8135         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8136         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8137         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8138         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8139         (test-xfail-XPG3/termios.h/conform): Likewise.
8140         (test-xfail-XPG3/time.h/conform): Likewise.
8141         (test-xfail-XPG3/unistd.h/conform): Likewise.
8142         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8143         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8144         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8145         (test-xfail-XPG4/netdb.h/conform): Likewise.
8146         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8147         (test-xfail-XPG4/signal.h/conform): Likewise.
8148         (test-xfail-XPG4/stdio.h/conform): Likewise.
8149         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8150         (test-xfail-XPG4/stropts.h/conform): Likewise.
8151         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8152         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8153         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8154         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8155         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8156         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8157         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8158         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8159         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8160         (test-xfail-XPG4/termios.h/conform): Likewise.
8161         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8162         (test-xfail-XPG4/unistd.h/conform): Likewise.
8163         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8164         (test-xfail-POSIX/sched.h/conform): Likewise.
8165         (test-xfail-POSIX/signal.h/conform): Likewise.
8166         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8167         (test-xfail-POSIX/tar.h/conform): Likewise.
8168         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8169         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8170         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8171         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8172         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8173         (test-xfail-UNIX98/sched.h/conform): Likewise.
8174         (test-xfail-UNIX98/signal.h/conform): Likewise.
8175         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8176         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8177         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8178         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8179         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8180         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8181         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8182         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8183         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8184         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8185         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8186         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8187         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8188         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8189         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8190         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8191         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8192         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8193         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8194         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8195         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8196         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8197         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8198         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8199         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8200         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8201         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8202         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8203         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8204         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8205         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8206         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8207         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8208         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8209         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8210         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8211         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8212         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8213         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8214         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8215         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8216         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8217         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8218         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8219         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8220         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8221         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8222         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8223         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8224         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8225         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8226         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8227         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8228         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8229         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8230         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8231         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8232         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8233         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8234         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8235         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8236         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8237         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8238         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8239         (conformtest-cc-flags): Likewise.
8240         ($(conformtest-header-tests): New target.
8241         * conform/check-header-lists.sh: New file.
8242         * conform/run-conformtest.sh: Remove.
8244         * conform/conformtest.pl: Allow ' and \ in values given for
8245         constants.
8246         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8247         inclusion.
8248         [POSIX] (sys/types.h): Likewise.
8249         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8250         inclusion.
8251         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8252         inclusion.
8253         * conform/data/signal.h-data (SIGIO): Remove expectation.
8254         [XPG3] (SIGBUS): Do not expect.
8255         [POSIX || XPG3] (SIGPOLL): Likewise.
8256         [POSIX || XPG3] (SIGPROF): Likewise.
8257         [POSIX || XPG3] (SIGSYS): Likewise.
8258         [XPG3] (SIGTRAP): Likewise.
8259         [POSIX || XPG3] (SIGURG): Likewise.
8260         [POSIX || XPG3] (SIGVTALRM): Likewise.
8261         [POSIX || XPG3] (SIGXCPU): Likewise.
8262         [POSIX || XPG3] (SIGXFSZ): Likewise.
8263         [POSIX] (SA_SIGINFO): Expect.
8264         [XPG3] (siginfo_t): Do not expect type or contents.
8265         [POSIX] (si_pid): Do not expect element.
8266         [POSIX] (si_uid): Likewise.
8267         [POSIX] (si_addr): Likewise.
8268         [POSIX] (si_status): Likewise.
8269         [POSIX] (si_band): Likewise.
8270         [XPG4] (si_value): Likewise.
8271         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8272         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8273         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8274         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8275         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8276         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8277         [POSIX || XPG3] (ILL_COPROC): Likewise.
8278         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8279         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8280         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8281         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8282         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8283         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8284         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8285         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8286         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8287         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8288         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8289         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8290         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8291         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8292         [POSIX || XPG3] (CLD_EXITED): Likewise.
8293         [POSIX || XPG3] (CLD_KILLED): Likewise.
8294         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8295         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8296         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8297         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8298         [POSIX || XPG3] (POLL_IN): Likewise.
8299         [POSIX || XPG3] (POLL_OUT): Likewise.
8300         [POSIX || XPG3] (POLL_MSG): Likewise.
8301         [POSIX || XPG3] (POLL_ERR): Likewise.
8302         [POSIX || XPG3] (POLL_PRI): Likewise.
8303         [POSIX || XPG3] (POLL_HUP): Likewise.
8304         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8305         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8306         (SIG*): Do not allow.
8307         [XPG3] (si_*): Likewise.
8308         [XPG3] (SI_*): Likewise.
8309         [XPG3 || XPG4] (sigev_*): Likewise.
8310         [XPG3 || XPG4] (SIGEV_*): Likewise.
8311         [XPG3 || XPG4] (sival_*): Likewise.
8312         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8313         [POSIX || XPG3] (BUS_*): Likewise.
8314         [POSIX || XPG3] (CLD_*): Likewise.
8315         [POSIX || XPG3] (FPE_*): Likewise.
8316         [POSIX || XPG3] (ILL_*): Likewise.
8317         [POSIX || XPG3] (POLL_*): Likewise.
8318         [POSIX || XPG3] (SEGV_*): Likewise.
8319         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8320         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8321         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8322         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8323         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8324         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8325         Specify type and value.
8326         (TVERSLEN): Likewise.
8327         (REGTYPE): Likewise.
8328         (AREGTYPE): Likewise.
8329         (LNKTYPE): Likewise.
8330         (SYMTYPE): Likewise.
8331         (CHRTYPE): Likewise.
8332         (BLKTYPE): Likewise.
8333         (DIRTYPE): Likewise.
8334         (FIFOTYPE): Likewise.
8335         (CONTTYPE): Likewise.
8336         (TSUID): Likewise.
8337         (TSGID): Likewise.
8338         (TSVTX): Likewise.
8339         (TUREAD): Likewise.
8340         (TUWRITE): Likewise.
8341         (TUEXEC): Likewise.
8342         (TGREAD): Likewise.
8343         (TGWRITE): Likewise.
8344         (TGEXEC): Likewise.
8345         (TOREAD): Likewise.
8346         (TOWRITE): Likewise.
8347         (TOEXEC): Likewise.
8348         [POSIX] (TSVTX): Expect constant.
8350 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8352         * Makefile (tests): Change dependencies to ....
8353         (tests-special): ... additions to this variable.
8354         (tests): Depend on $(tests-special).
8355         * Makerules (check-abi-list): New variable.
8356         (check-abi): Depend on $(check-abi-list).
8357         [$(subdir) = elf] (tests-special): Add
8358         $(objpfx)check-abi-libc.out.
8359         [$(build-shared) = yes && subdir] (tests-special): Add
8360         $(check-abi-list).
8361         [$(build-shared) = yes && subdir] (tests): Do not depend on
8362         check-abi.
8363         * Rules (tests): Depend on $(tests-special).
8364         (xtests): Depend on $(xtests-special).
8365         * catgets/Makefile (tests): Change dependencies to ....
8366         (tests-special): ... additions to this variable.
8367         * conform/Makefile (tests): Change dependencies to ....
8368         (tests-special): ... additions to this variable.
8369         * elf/Makefile (tests): Change dependencies to ....
8370         (tests-special): ... additions to this variable.
8371         * grp/Makefile (tests): Change dependencies to ....
8372         (tests-special): ... additions to this variable.
8373         * iconv/Makefile (xtests): Change dependencies to ....
8374         (xtests-special): ... additions to this variable.
8375         * iconvdata/Makefile (tests): Change dependencies to ....
8376         (tests-special): ... additions to this variable.
8377         * intl/Makefile (tests): Change dependencies to ....
8378         (tests-special): ... additions to this variable.  Also add
8379         $(objpfx)tst-gettext.out.
8380         * io/Makefile (tests): Change dependencies to ....
8381         (tests-special): ... additions to this variable.
8382         * libio/Makefile (tests): Change dependencies to ....
8383         (tests-special): ... additions to this variable.
8384         * malloc/Makefile (tests): Change dependencies to ....
8385         (tests-special): ... additions to this variable.
8386         * misc/Makefile (tests): Change dependencies to ....
8387         (tests-special): ... additions to this variable.
8388         * nptl/Makefile (tests): Change dependencies to ....
8389         (tests-special): ... additions to this variable.
8390         * nptl_db/Makefile (tests): Change dependencies to ....
8391         (tests-special): ... additions to this variable.
8392         * posix/Makefile (tests): Change dependencies to ....
8393         (tests-special): ... additions to this variable.
8394         (xtests): Change dependencies to ....
8395         (xtests-special): ... additions to this variable.
8396         * resolv/Makefile (tests): Change dependencies to ....
8397         (tests-special): ... additions to this variable.
8398         (xtests): Change dependencies to ....
8399         (xtests-special): ... additions to this variable.
8400         * stdio-common/Makefile (tests): Change dependencies to ....
8401         (tests-special): ... additions to this variable.
8402         (do-tst-unbputc): Remove target.
8403         (do-tst-printf): Likewise.
8404         * stdlib/Makefile (tests): Change dependencies to ....
8405         (tests-special): ... additions to this variable.
8406         * string/Makefile (tests): Change dependencies to ....
8407         (tests-special): ... additions to this variable.
8408         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8409         (tests-special): ... additions to this variable.
8411         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8412         whole file.
8413         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8414         whole file.
8415         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8416         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8418         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8419         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8420         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8421         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8422         * conform/data/libgen.h-data [XPG3]: Likewise.
8423         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8424         * conform/data/ndbm.h-data [XPG3]: Likewise.
8425         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8426         * conform/data/netdb.h-data [XPG3]: Likewise.
8427         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8428         * conform/data/poll.h-data [XPG3]: Likewise.
8429         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8430         * conform/data/strings.h-data [XPG3]: Likewise.
8431         * conform/data/stropts.h-data [XPG3]: Likewise.
8432         * conform/data/sys/mman.h-data [XPG3]: Likewise.
8433         * conform/data/sys/resource.h-data [XPG3]: Likewise.
8434         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8435         Likewise.
8436         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8437         * conform/data/sys/time.h-data [XPG3]: Likewise.
8438         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8439         * conform/data/sys/uio.h-data [XPG3]: Likewise.
8440         * conform/data/sys/un.h-data [XPG3]: Likewise.
8441         * conform/data/syslog.h-data [XPG3]: Likewise.
8442         * conform/data/ucontext.h-data [XPG3]: Likewise.
8443         * conform/data/utmpx.h-data [XPG3]: Likewise.
8444         * conform/data/varargs.h-data [UNIX98]: Enable file.
8446         * manual/Makefile (INSTALL_INFO): Remove variable setting.
8448         * math/libm-test.inc (struct test_f_f_data): Move expected results
8449         into structure for each rounding mode.
8450         (struct test_ff_f_data): Likewise.
8451         (struct test_ff_f_data_nexttoward): Likewise.
8452         (struct test_fi_f_data): Likewise.
8453         (struct test_fl_f_data): Likewise.
8454         (struct test_if_f_data): Likewise.
8455         (struct test_fff_f_data): Likewise.
8456         (struct test_c_f_data): Likewise.
8457         (struct test_f_f1_data): Likewise.
8458         (struct test_fF_f1_data): Likewise.
8459         (struct test_ffI_f1_data): Likewise.
8460         (struct test_c_c_data): Likewise.
8461         (struct test_cc_c_data): Likewise.
8462         (struct test_f_i_data): Likewise.
8463         (struct test_ff_i_data): Likewise.
8464         (struct test_f_l_data): Likewise.
8465         (struct test_f_L_data): Likewise.
8466         (struct test_fFF_11_data): Likewise.
8467         (RM_): New macro.
8468         (RM_FE_DOWNWARD): Likewise.
8469         (RM_FE_TONEAREST): Likewise.
8470         (RM_FE_TOWARDZERO): Likewise.
8471         (RM_FE_UPWARD): Likewise.
8472         (RUN_TEST_LOOP_f_f): Update references to expected results.
8473         (RUN_TEST_LOOP_2_f): Likewise.
8474         (RUN_TEST_LOOP_fff_f): Likewise.
8475         (RUN_TEST_LOOP_c_f): Likewise.
8476         (RUN_TEST_LOOP_f_f1): Likewise.
8477         (RUN_TEST_LOOP_fF_f1): Likewise.
8478         (RUN_TEST_LOOP_fI_f1): Likewise.
8479         (RUN_TEST_LOOP_ffI_f1): Likewise.
8480         (RUN_TEST_LOOP_c_c): Likewise.
8481         (RUN_TEST_LOOP_cc_c): Likewise.
8482         (RUN_TEST_LOOP_f_i): Likewise.
8483         (RUN_TEST_LOOP_f_i_tg): Likewise.
8484         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8485         (RUN_TEST_LOOP_f_b): Likewise.
8486         (RUN_TEST_LOOP_f_b_tg): Likewise.
8487         (RUN_TEST_LOOP_f_l): Likewise.
8488         (RUN_TEST_LOOP_f_L): Likewise.
8489         (RUN_TEST_LOOP_fFF_11): Likewise.
8490         * math/gen-libm-test.pl (parse_args): Output four copies of
8491         expected results for each test.
8493         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8494         (__ASSUME_UTIMES): Remove.
8495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8496         (__ASSUME_UTIMES): Likewise.
8498         * math/gen-auto-libm-tests.c: Update comment on output format.
8499         (output_for_one_input_case): Generate before-rounding and
8500         after-rounding information as conditions on output flags not
8501         floating-point format.
8502         * math/auto-libm-test-out: Regenerated.
8503         * math/gen-libm-test.pl (cond_value): New function.
8504         (or_cond_value): Use cond_value.
8505         (generate_testfile): Handle conditional exceptions.
8507 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
8509         * math/libm-test.inc (max_valid_error): New variable.
8510         (init_max_error): Take new argument specifying whether function
8511         results are exactly determined.  Set max_valid_error and bound
8512         other variables for errors based on this argument.
8513         (set_max_error): Do not record results above max_valid_error.
8514         (check_float_internal): Only accept errors of up to 0.5ulps if
8515         also at most max_valid_error.
8516         (START): Take new argument EXACT and pass it to init_max_error.
8517         (acos_test): Update call to START.
8518         (acos_test_tonearest): Likewise.
8519         (acos_test_towardzero): Likewise.
8520         (acos_test_downward): Likewise.
8521         (acos_test_upward): Likewise.
8522         (acosh_test): Likewise.
8523         (asin_test): Likewise.
8524         (asin_test_tonearest): Likewise.
8525         (asin_test_towardzero): Likewise.
8526         (asin_test_downward): Likewise.
8527         (asin_test_upward): Likewise.
8528         (asinh_test): Likewise.
8529         (atan_test): Likewise.
8530         (atanh_test): Likewise.
8531         (atan2_test): Likewise.
8532         (cabs_test): Likewise.
8533         (cacos_test): Likewise.
8534         (cacosh_test): Likewise.
8535         (carg_test): Likewise.
8536         (casin_test): Likewise.
8537         (casinh_test): Likewise.
8538         (catan_test): Likewise.
8539         (catanh_test): Likewise.
8540         (cbrt_test): Likewise.
8541         (ccos_test): Likewise.
8542         (ccosh_test): Likewise.
8543         (ceil_test): Likewise.
8544         (cexp_test): Likewise.
8545         (cimag_test): Likewise.
8546         (clog_test): Likewise.
8547         (clog10_test): Likewise.
8548         (conj_test): Likewise.
8549         (copysign_test): Likewise.
8550         (cos_test): Likewise.
8551         (cos_test_tonearest): Likewise.
8552         (cos_test_towardzero): Likewise.
8553         (cos_test_downward): Likewise.
8554         (cos_test_upward): Likewise.
8555         (cosh_test): Likewise.
8556         (cosh_test_tonearest): Likewise.
8557         (cosh_test_towardzero): Likewise.
8558         (cosh_test_downward): Likewise.
8559         (cosh_test_upward): Likewise.
8560         (cpow_test): Likewise.
8561         (cproj_test): Likewise.
8562         (creal_test): Likewise.
8563         (csin_test): Likewise.
8564         (csinh_test): Likewise.
8565         (csqrt_test): Likewise.
8566         (ctan_test): Likewise.
8567         (ctan_test_tonearest): Likewise.
8568         (ctan_test_towardzero): Likewise.
8569         (ctan_test_downward): Likewise.
8570         (ctan_test_upward): Likewise.
8571         (ctanh_test): Likewise.
8572         (ctanh_test_tonearest): Likewise.
8573         (ctanh_test_towardzero): Likewise.
8574         (ctanh_test_downward): Likewise.
8575         (ctanh_test_upward): Likewise.
8576         (erf_test): Likewise.
8577         (erfc_test): Likewise.
8578         (exp_test): Likewise.
8579         (exp_test_tonearest): Likewise.
8580         (exp_test_towardzero): Likewise.
8581         (exp_test_downward): Likewise.
8582         (exp_test_upward): Likewise.
8583         (exp10_test): Likewise.
8584         (exp10_test_tonearest): Likewise.
8585         (exp10_test_towardzero): Likewise.
8586         (exp10_test_downward): Likewise.
8587         (exp10_test_upward): Likewise.
8588         (pow10_test): Likewise.
8589         (exp2_test): Likewise.
8590         (expm1_test): Likewise.
8591         (expm1_test_tonearest): Likewise.
8592         (expm1_test_towardzero): Likewise.
8593         (expm1_test_downward): Likewise.
8594         (expm1_test_upward): Likewise.
8595         (fabs_test): Likewise.
8596         (fdim_test): Likewise.
8597         (floor_test): Likewise.
8598         (fma_test): Likewise.
8599         (fma_test_towardzero): Likewise.
8600         (fma_test_downward): Likewise.
8601         (fma_test_upward): Likewise.
8602         (fmax_test): Likewise.
8603         (fmin_test): Likewise.
8604         (fmod_test): Likewise.
8605         (fpclassify_test): Likewise.
8606         (frexp_test): Likewise.
8607         (hypot_test): Likewise.
8608         (ilogb_test): Likewise.
8609         (isfinite_test): Likewise.
8610         (finite_test): Likewise.
8611         (isgreater_test): Likewise.
8612         (isgreaterequal_test): Likewise.
8613         (isinf_test): Likewise.
8614         (isless_test): Likewise.
8615         (islessequal_test): Likewise.
8616         (islessgreater_test): Likewise.
8617         (isnan_test): Likewise.
8618         (isnormal_test): Likewise.
8619         (issignaling_test): Likewise.
8620         (isunordered_test): Likewise.
8621         (j0_test): Likewise.
8622         (j1_test): Likewise.
8623         (jn_test): Likewise.
8624         (ldexp_test): Likewise.
8625         (lgamma_test): Likewise.
8626         (gamma_test): Likewise.
8627         (lrint_test): Likewise.
8628         (lrint_test_tonearest): Likewise.
8629         (lrint_test_towardzero): Likewise.
8630         (lrint_test_downward): Likewise.
8631         (lrint_test_upward): Likewise.
8632         (llrint_test): Likewise.
8633         (llrint_test_tonearest): Likewise.
8634         (llrint_test_towardzero): Likewise.
8635         (llrint_test_downward): Likewise.
8636         (llrint_test_upward): Likewise.
8637         (log_test): Likewise.
8638         (log10_test): Likewise.
8639         (log1p_test): Likewise.
8640         (log2_test): Likewise.
8641         (logb_test): Likewise.
8642         (logb_test_downward): Likewise.
8643         (lround_test): Likewise.
8644         (llround_test): Likewise.
8645         (modf_test): Likewise.
8646         (nearbyint_test): Likewise.
8647         (nextafter_test): Likewise.
8648         (nexttoward_test): Likewise.
8649         (pow_test): Likewise.
8650         (pow_test_tonearest): Likewise.
8651         (pow_test_towardzero): Likewise.
8652         (pow_test_downward): Likewise.
8653         (pow_test_upward): Likewise.
8654         (remainder_test): Likewise.
8655         (drem_test): Likewise.
8656         (remainder_test_tonearest): Likewise.
8657         (drem_test_tonearest): Likewise.
8658         (remainder_test_towardzero): Likewise.
8659         (drem_test_towardzero): Likewise.
8660         (remainder_test_downward): Likewise.
8661         (drem_test_downward): Likewise.
8662         (remainder_test_upward): Likewise.
8663         (drem_test_upward): Likewise.
8664         (remquo_test): Likewise.
8665         (rint_test): Likewise.
8666         (rint_test_tonearest): Likewise.
8667         (rint_test_towardzero): Likewise.
8668         (rint_test_downward): Likewise.
8669         (rint_test_upward): Likewise.
8670         (round_test): Likewise.
8671         (scalb_test): Likewise.
8672         (scalbn_test): Likewise.
8673         (scalbln_test): Likewise.
8674         (signbit_test): Likewise.
8675         (sin_test): Likewise.
8676         (sin_test_tonearest): Likewise.
8677         (sin_test_towardzero): Likewise.
8678         (sin_test_downward): Likewise.
8679         (sin_test_upward): Likewise.
8680         (sincos_test): Likewise.
8681         (sinh_test): Likewise.
8682         (sinh_test_tonearest): Likewise.
8683         (sinh_test_towardzero): Likewise.
8684         (sinh_test_downward): Likewise.
8685         (sinh_test_upward): Likewise.
8686         (sqrt_test): Likewise.
8687         (sqrt_test_tonearest): Likewise.
8688         (sqrt_test_towardzero): Likewise.
8689         (sqrt_test_downward): Likewise.
8690         (sqrt_test_upward): Likewise.
8691         (tan_test): Likewise.
8692         (tan_test_tonearest): Likewise.
8693         (tan_test_towardzero): Likewise.
8694         (tan_test_downward): Likewise.
8695         (tan_test_upward): Likewise.
8696         (tanh_test): Likewise.
8697         (tgamma_test): Likewise.
8698         (trunc_test): Likewise.
8699         (y0_test): Likewise.
8700         (y1_test): Likewise.
8701         (yn_test): Likewise.
8702         (significand_test): Likewise.
8704         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8705         individual tests in comment.
8706         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8707         (prev_max_error): New variable.
8708         (prev_real_max_error): Likewise.
8709         (prev_imag_max_error): Likewise.
8710         (compare_ulp_data): Don't refer to test names in comment.
8711         (find_test_ulps): Remove function.
8712         (find_function_ulps): Likewise.
8713         (find_complex_function_ulps): Likewise.
8714         (init_max_error): Take function name as argument.  Look up ulps
8715         for that function.
8716         (print_ulps): Remove function.
8717         (print_max_error): Use prev_max_error instead of calling
8718         find_function_ulps.
8719         (print_complex_max_error): Use prev_real_max_error and
8720         prev_imag_max_error instead of calling find_complex_function_ulps.
8721         (check_float_internal): Take max_ulp parameter instead of calling
8722         find_test_ulps.  Don't call print_ulps.
8723         (check_float): Update call to check_float_internal.
8724         (check_complex): Update calls to check_float_internal.
8725         (START): Pass argument to init_max_error.
8726         * math/gen-libm-test.pl (%results): Don't include "kind"
8727         information.
8728         (parse_ulps): Don't handle ulps of individual tests.
8729         (print_ulps_file): Likewise.
8730         (output_ulps): Likewise.
8731         * math/README.libm-test: Update.
8732         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8733         individual tests.
8734         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8735         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8736         * sysdeps/arm/libm-test-ulps: Likewise.
8737         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8738         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8739         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8740         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8741         * sysdeps/microblaze/libm-test-ulps: Likewise.
8742         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8743         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8744         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8745         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8746         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8747         * sysdeps/sh/libm-test-ulps: Likewise.
8748         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8749         * sysdeps/tile/libm-test-ulps: Likewise.
8750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8752 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8754         * math/libm-test.inc (print_complex_max_error): Check separately
8755         whether real and imaginary errors are within allowed range and
8756         pass 0 to print_complex_function_ulps instead of value within
8757         allowed range.
8759 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8761         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8762         formatting.
8763         (get_handles_fopen): Likewise.
8764         (do_write_test): Likewise.
8766         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8768         * libio/fileops.c (do_ftell): Use cached offset when
8769         available.
8770         * libio/iofwide.c (do_ftell_wide): Likewise.
8771         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8772         _IO_file_attach.
8773         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8775         [BZ #16532]
8776         * libio/libioP.h (get_file_offset): New function.
8777         * libio/fileops.c (get_file_offset): Likewise.
8778         (do_ftell): Likewise.
8779         (_IO_new_file_seekoff): Split out ftell logic.
8780         * libio/wfileops.c (do_ftell_wide): Likewise.
8781         (_IO_wfile_seekoff): Split out ftell logic.
8782         * libio/tst-ftell-active-handler.c: New test case.
8783         * libio/Makefile (tests): Add it.
8785 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8787         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8788         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8790 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8792         [BZ #16639]
8793         * nscd/connections.c (nscd_init): Call do_exit.
8794         (start_threads): Call do_exit and notify_parent.
8795         (begin_drop_privileges): Call do_exit.
8796         (finish_drop_privileges): Likewise.
8797         * nscd/selinux.c (preserve_capabilities): Likewise.
8798         (install_real_capabilities): Likewise.
8799         (nscd_selinux_enabled): Likewise.
8800         (avc_create_thread): Likewise.
8801         (avc_alloc_lock): Likewise.
8802         (nscd_avc_init): Likewise.
8803         * nscd/nscd.c (parent_fd): New static variable.
8804         (main): Create a pipe between parent and child processes.
8805         Skip closing parent_fd.
8806         (monitor_child): New function.
8807         (do_exit): Likewise.
8808         (notify_parent): Likewise.
8809         * nscd/nscd.h (notify_parent): Likewise.
8810         (do_exit): Likewise.
8812 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8814         * malloc/malloc.c (__libc_calloc): Revert last change.
8816 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8820 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8822         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8824         implementation.
8825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8826         (__libc_ifunc_impl_list): Likewise.
8827         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8828         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8829         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8830         * string/strrchr.c: Define STRRCHR.
8832 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8834         * benchtest/bench-strtok.c (simple_strtok): Delete.
8835         (strtok_string): Use as benchmark.
8836         * string/strtok (STRTOK): New macro.
8838 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8840         * manual/threads.texi: Add header and standard comments to all
8841         functions.
8843         * elf/dl-lookup.c (check_match): New function.
8844         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8845         (do_lookup_x): Remove nested function check_match. Use non-nested
8846         function check_match.
8848 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8850         * csu/Makefile (generated, before-compile): Use += rather than =.
8851         * catgets/Makefile (generated, generated-dirs): Likewise.
8852         * debug/Makefile (generated): Likewise.
8853         * dlfcn/Makefile (generated): Likewise.
8854         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8855         * iconvdata/Makefile (before-compile, generated): Likewise.
8856         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8857         * libio/Makefile (generated): Likewise.
8858         * malloc/Makefile (generated): Likewise.
8859         * manual/Makefile (generated, generated-dirs): Likewise.
8860         * misc/Makefile (generated): Likewise.
8861         * posix/Makefile (generated): Likewise.
8862         * resolv/Makefile (generated): Likewise.
8863         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8864         * timezone/Makefile (generated, generated-dirs): Likewise.
8866         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8868 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8871         power8 implementation.
8872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8873         file: POWER8 llround ifunc implementation.
8874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8875         (__lllround): Add POWER8 implementation.
8876         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8877         POWER8 llround implementation.
8879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8880         power8 implementation.
8881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8882         file: POWER8 llrint ifunc implementation.
8883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8884         Add POWER8 implementation.
8885         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8886         POWER8 llrint implementation.
8888         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8889         power8 implementation.
8890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8891         file: POWER8 finite ifunc implementation.
8892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8893         Add POWER8 implementation.
8894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8895         Likewise.
8896         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8897         POWER8 finite implementation.
8898         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8901         power8 implementation.
8902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8903         file: POWER8 isinf ifunc implementation.
8904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8905         POWER8 implementation.
8906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8907         Likewise.
8908         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8909         isinf implementation.
8910         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8912         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8913         (INIT_ARCH): Add hwcap2 initialization.
8914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8915         power8 implementation.
8916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8917         file: POWER8 isnan ifunc implementation.
8918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8919         POWER8 implementation.
8920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8921         Likewise.
8922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8923         isnan implementation.
8924         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8926 2014-02-27  Joey Ye  <joey.ye@arm.com>
8928         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8929         (_FP_NANFRAC_Q): Set to zero.
8931 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8933         [BZ #16623]
8934         * math/auto-libm-test-in: New test inputs.
8935         * math/auto-libm-test-out: Regenerate.
8936         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8937         and DA.
8938         (__cos): Likewise.
8939         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8941 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8943         * scripts/evaluate-test.sh: Take new argument indicating whether
8944         failure is expected.
8945         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8946         indicating whether failure is expected.
8947         * conform/Makefile (test-xfail-run-conformtest): New variable.
8948         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8949         level.
8950         * posix/Makefile (test-xfail-annexc): New variable.
8951         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8953 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8955         * argp/Makefile: Include Makeconfig immediately after defining
8956         subdir.
8957         * assert/Makefile: Likewise.
8958         * benchtests/Makefile: Likewise.
8959         * catgets/Makefile: Likewise.
8960         * conform/Makefile: Likewise.
8961         * crypt/Makefile: Likewise.
8962         * csu/Makefile: Likewise.
8963         (all): Remove target.
8964         * ctype/Makefile: Include Makeconfig immediately after defining
8965         subdir.
8966         * debug/Makefile: Likewise.
8967         * dirent/Makefile: Likewise.
8968         * dlfcn/Makefile: Likewise.
8969         * gmon/Makefile: Likewise.
8970         * gnulib/Makefile: Likewise.
8971         * grp/Makefile: Likewise.
8972         * gshadow/Makefile: Likewise.
8973         * hesiod/Makefile: Likewise.
8974         * hurd/Makefile: Likewise.
8975         (all): Remove target.
8976         * iconvdata/Makefile: Include Makeconfig immediately after
8977         defining subdir.
8978         * inet/Makefile: Likewise.
8979         * intl/Makefile: Likewise.
8980         * io/Makefile: Likewise.
8981         * libio/Makefile: Likewise.
8982         (all): Remove target.
8983         * locale/Makefile: Include Makeconfig immediately after defining
8984         subdir.
8985         * login/Makefile: Likewise.
8986         * mach/Makefile: Likewise.
8987         (all): Remove target.
8988         * malloc/Makefile: Include Makeconfig immediately after defining
8989         subdir.
8990         (all): Remove target.
8991         * manual/Makefile: Include Makeconfig immediately after defining
8992         subdir.
8993         * math/Makefile: Likewise.
8994         * misc/Makefile: Likewise.
8995         * nis/Makefile: Likewise.
8996         * nss/Makefile: Likewise.
8997         * po/Makefile: Likewise.
8998         (all): Remove target.
8999         * posix/Makefile: Include Makeconfig immediately after defining
9000         subdir.
9001         * pwd/Makefile: Likewise.
9002         * resolv/Makefile: Likewise.
9003         * resource/Makefile: Likewise.
9004         * rt/Makefile: Likewise.
9005         * setjmp/Makefile: Likewise.
9006         * shadow/Makefile: Likewise.
9007         * signal/Makefile: Likewise.
9008         * socket/Makefile: Likewise.
9009         * soft-fp/Makefile: Likewise.
9010         * stdio-common/Makefile: Likewise.
9011         * stdlib/Makefile: Likewise.
9012         * streams/Makefile: Likewise.
9013         * string/Makefile: Likewise.
9014         * sunrpc/Makefile: Likewise.
9015         (all): Remove target.
9016         * sysvipc/Makefile: Include Makeconfig immediately after defining
9017         subdir.
9018         * termios/Makefile: Likewise.
9019         * time/Makefile: Likewise.
9020         * timezone/Makefile: Likewise.
9021         (all): Remove target.
9022         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9023         subdir.
9024         * wctype/Makefile: Likewise.
9026 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9028         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9029         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9030         (libc_feholdexcept_setround_mips): Ditto.
9031         (libc_feholdsetround): New.
9032         (libc_feholdsetroundf): New.
9033         (libc_feholdsetroundl): New.
9034         (libc_feupdateenv_test_mips): New.
9035         (libc_feupdateenv_test): New.
9036         (libc_feupdateenv_testf): New.
9037         (libc_feupdateenv_testl): New.
9038         (libc_feresetround): New.
9039         (libc_feresetroundf): New.
9040         (libc_feresetroundl): New.
9041         (libc_fetestexcept_mips): New.
9042         (libc_fetestexcept): New.
9043         (libc_fetestexceptf): New.
9044         (libc_fetestexceptl): New.
9045         (HAVE_RM_CTX): New.
9046         (libc_feholdexcept_setround_mips_ctx): New.
9047         (libc_feholdexcept_setround_ctx): New.
9048         (libc_feholdexcept_setroundf_ctx): New.
9049         (libc_feholdexcept_setroundl_ctx): New.
9050         (libc_fesetenv_mips_ctx): New.
9051         (libc_fesetenv_ctx): New.
9052         (libc_fesetenv_ctxf): New.
9053         (libc_fesetenv_ctxl): New.
9054         (libc_feupdateenv_mips_ctx): New.
9055         (libc_feupdateenv_ctx): New.
9056         (libc_feupdateenvf_ctx): New.
9057         (libc_feupdateenvl_ctx): New.
9058         (libc_feholdsetround_mips_ctx): New.
9059         (libc_feholdsetround_ctx): New.
9060         (libc_feholdsetroundf_ctx): New.
9061         (libc_feholdsetroundl_ctx): New.
9062         (libc_feresetround_mips_ctx): New.
9063         (libc_feresetround_ctx): New.
9064         (libc_feresetroundf_ctx): New.
9065         (libc_feresetroundl_ctx): New.
9067 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9069         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9071         * manual/ipc.texi: New file.
9072         * manual/Makefile (chapters): Add ipc.
9073         * manual/job.texi: Add "Inter-Process Communication" to next.
9074         * manual/process.texi: Add "Inter-Process Communication" to prev.
9076 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9080 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9082         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9084         * manual/arith.texi: Fix spaces after sentences.
9085         * manual/charset.texi: Likewise.
9086         * manual/errno.texi: Likewise.
9087         * manual/install.texi: Likewise.
9088         * manual/llio.texi: Likewise.
9089         * manual/locale.texi: Likewise.
9090         * manual/maint.texi: Likewise.
9091         * manual/math.texi: Likewise.
9092         * manual/memory.texi: Likewise.
9093         * manual/message.texi: Likewise.
9094         * manual/probes.texi: Likewise.
9095         * manual/resource.texi: Likewise.
9096         * manual/signal.texi: Likewise.
9097         * manual/socket.texi: Likewise.
9098         * manual/stdio.texi: Likewise.
9099         * manual/string.texi: Likewise.
9100         * manual/time.texi: Likewise.
9101         * manual/users.texi: Likewise.
9103 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9105         [BZ #16632]
9106         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9107         _DEFAULT_SOURCE is defined.
9109 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9110             Carlos O'Donell  <carlos@redhat.com>
9112         [BZ #16613]
9113         * elf/dl-tls.c (_dl_count_modids): New function.
9114         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9115         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9116         audit library and increment generation counter.
9117         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9118         * elf/tst-audit9.c: New file.
9119         * elf/tst-auditmod9a.c: New file.
9120         * elf/tst-auditmod9b.c: New file.
9121         * elf/Makefile: Add rules to build and run tst-audit9.
9123 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9125         [BZ #15347]
9126         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9128 2014-02-25  Will Newton  <will.newton@linaro.org>
9130         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9131         (__longjmp): Restore sp and lr before restoring callee
9132         saved registers.  Add longjmp and longjmp_target
9133         SystemTap probe point.
9134         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9135         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9136         Define to zero to match jmpbuf layout.
9137         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9138         (__sigsetjmp): Save sp and lr before saving callee
9139         saved registers.  Add setjmp SystemTap probe point.
9141 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9143         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9145 2014-02-24  Andreas Schwab  <schwab@suse.de>
9147         [BZ #15804]
9148         * elf/pldd.c (wait_for_ptrace_stop): New function.
9149         (main): Call it after attaching.
9151 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9153         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9154         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9155         Versions files is now verboten.
9156         * hurd/Versions (libc: GLIBC_2.0):
9157         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9158         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9159         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9160         * mach/Versions: Likewise.
9162         * csu/Versions: Remove unused %include.
9163         * resolv/Versions: Likewise.
9165 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9167         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9168         ($(objpfx)check-local-headers.out): Likewise.
9169         ($(objpfx)begin-end-check.out): Likewise.
9170         * Makerules (check-abi-%.out): Likewise.
9171         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9172         ($(objpfx)test2.cat): Likewise.
9173         ($(objpfx)de/libc.cat): Likewise.
9174         ($(objpfx)test-gencat.out): Likewise.
9175         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9176         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9177         ($(objpfx)noload-mem): Likewise.
9178         ($(objpfx)tst-pathopt.out): Likewise.
9179         ($(objpfx)tst-rtld-load-self.out): Likewise.
9180         ($(objpfx)tst-array1-cmp.out): Likewise.
9181         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9182         ($(objpfx)tst-array2-cmp.out): Likewise.
9183         ($(objpfx)tst-array3-cmp.out): Likewise.
9184         ($(objpfx)tst-array4-cmp.out): Likewise.
9185         ($(objpfx)tst-array5-cmp.out): Likewise.
9186         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9187         ($(objpfx)check-textrel.out): Likewise.
9188         ($(objpfx)check-execstack.out): Likewise.
9189         ($(objpfx)check-localplt.out): Likewise.
9190         ($(objpfx)order2-cmp.out): Likewise.
9191         ($(objpfx)tst-leaks1-mem): Likewise.
9192         ($(objpfx)tst-leaks1-static-mem): Likewise.
9193         ($(objpfx)tst-initorder-cmp.out): Likewise.
9194         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9195         ($(objpfx)tst-unused-dep.out): Likewise.
9196         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9197         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9198         * iconv/Makefile (test-iconvconfig): Likewise.
9199         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9200         ($(objpfx)iconv-test.out): Likewise.
9201         ($(objpfx)tst-tables.out): Likewise.
9202         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9203         ($(objpfx)tst-gettext.out): Likewise.
9204         ($(objpfx)tst-translit.out): Likewise.
9205         ($(objpfx)tst-gettext2.out): Likewise.
9206         ($(objpfx)tst-gettext4.out): Likewise.
9207         ($(objpfx)tst-gettext6.out): Likewise.
9208         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9209         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9210         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9211         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9212         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9213         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9214         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9215         ($(objpfx)wordexp-tst.out): Likewise.
9216         ($(objpfx)annexc.out): Likewise.
9217         ($(objpfx)tst-fnmatch-mem): Likewise.
9218         ($(objpfx)bug-regex2-mem): Likewise.
9219         ($(objpfx)bug-regex14-mem): Likewise.
9220         ($(objpfx)bug-regex21-mem): Likewise.
9221         ($(objpfx)bug-regex31-mem): Likewise.
9222         ($(objpfx)tst-vfork3-mem): Likewise.
9223         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9224         ($(objpfx)tst-pcre-mem): Likewise.
9225         ($(objpfx)tst-boost-mem): Likewise.
9226         ($(objpfx)tst-getconf.out): Likewise.
9227         ($(objpfx)bug-ga2-mem): Likewise.
9228         ($(objpfx)bug-glob2-mem): Likewise.
9229         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9230         ($(objpfx)mtrace-tst-leaks2): Likewise.
9231         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9232         ($(objpfx)tst-printf.out): Likewise.
9233         ($(objpfx)tst-setvbuf1.out): Likewise.
9234         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9235         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9236         ($(objpfx)tst-fmtmsg.out): Likewise.
9237         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9238         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9240         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9241         * bits/sigaction.h [__USE_MISC]: Likewise.
9242         * bits/waitstatus.h: Update #endif comments.
9243         * ctype/ctype.h: Likewise.
9244         * dirent/dirent.h: Likewise.
9245         [__USE_MISC]: Remove redundant conditionals.
9246         * grp/grp.h: Update #endif comments.
9247         [__USE_GNU]: Remove redundant conditionals.
9248         [__USE_MISC]: Likewise.
9249         * inet/netinet/in.h [__USE_GNU]: Likewise.
9250         * io/sys/stat.h [__USE_MISC]: Likewise.
9251         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9252         * libio/bits/stdio.h: Update #endif comments.
9253         [__USE_MISC]: Remove redundant conditionals.
9254         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9255         * libio/stdio.h: Update #endif comments.
9256         [__USE_MISC]: Remove redundant conditionals.
9257         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9258         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9259         * math/math.h: Update #else and #endif comments.
9260         [__USE_MISC]: Remove redundant conditionals.
9261         * misc/sys/uio.h: Update #endif comments.
9262         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9263         * posix/glob.h [__USE_MISC]: Likewise.
9264         * posix/sys/types.h: Update #endif comments.
9265         [__USE_MISC]: Remove redundant conditionals.
9266         * posix/sys/wait.h: Update #endif comments.
9267         [__USE_MISC]: Remove redundant conditionals.
9268         * posix/unistd.h: Update #endif comments.
9269         [__USE_MISC]: Remove redundant conditionals.
9270         * pwd/pwd.h [__USE_GNU]: Likewise.
9271         [__USE_MISC]: Likewise.
9272         * resolv/netdb.h [__USE_GNU]: Likewise.
9273         * signal/signal.h: Update #endif comments.
9274         [__USE_MISC]: Remove redundant conditionals.
9275         * stdlib/stdlib.h: Update #else and #endif comments.
9276         [__USE_MISC]: Remove redundant conditionals.
9277         [__USE_GNU]: Likewise.
9278         * string/bits/string2.h [__USE_MISC]: Likewise.
9279         * string/string.h: Update #endif comments.
9280         [__USE_MISC]: Remove redundant conditionals.
9281         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9282         Likewise.
9283         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9284         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9285         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9286         Likewise.
9287         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9288         Likewise.
9289         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9290         comments.
9291         [__USE_MISC]: Remove redundant conditionals.
9292         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9293         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9294         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9295         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9296         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9297         Likewise.
9298         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9299         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9300         Likewise.
9301         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9302         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9303         Likewise.
9304         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9305         Likewise.
9306         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9307         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9308         Likewise.
9309         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9310         Likewise.
9311         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9312         * sysdeps/x86/bits/string.h: Update #endif comments.
9313         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9314         conditionals.
9315         * time/sys/time.h: Update #endif comments.
9316         * time/time.h: Likewise.
9317         [__USE_MISC]: Remove redundant conditionals.
9319 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9321         [BZ #16600]
9322         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9324 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9326         * Versions.def (librt): Add GLIBC_2.17.
9328 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9330         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9331         synonym for _SYS_AUXV_H to allow direct inclusion.
9332         * sysdeps/sparc/bits/hwcap.h: Likewise.
9333         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9334         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9335         * sysdeps/sparc/sysdep.h: Likewise.
9337 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9339         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9341 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9343         * benchtests/bench-strrchr.c: Print length instead of position.
9345 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9347         [BZ #16611]
9348         * sysdeps/unix/sysv/linux/kernel-features.h
9349         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9350         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9351         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9352         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9353         Likewise.
9354         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9355         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9356         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9357         (__ASSUME_SENDMMSG): Define instead of using previous
9358         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9359         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9360         (__ASSUME_SENDMMSG_SYSCALL): Define.
9361         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9362         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9363         Likewise.
9364         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9365         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9366         Likewise.
9367         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9368         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9369         Likewise.
9370         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9371         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9372         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9373         [__ASSUME_SENDMMSG]: Change conditionals to
9374         [__ASSUME_SENDMMSG_SOCKETCALL].
9375         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9376         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9377         Define.
9378         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9379         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9380         Likewise.
9381         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9382         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9383         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9384         [!__ASSUME_SENDMMSG]: Change conditional to
9385         [!__ASSUME_SENDMMSG_SOCKETCALL].
9386         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9387         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9388         Define.
9390         [BZ #16610]
9391         * sysdeps/unix/sysv/linux/kernel-features.h
9392         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9393         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9394         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9395         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9396         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9397         [__i386__ || __sparc__]
9398         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9399         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9400         (__ASSUME_RECVMMSG): Define instead of using previous
9401         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9402         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9403         (__ASSUME_RECVMMSG_SYSCALL): Define.
9404         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9405         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9406         Likewise.
9407         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9408         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9409         Likewise.
9410         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9411         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9412         Likewise.
9413         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9414         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9415         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9416         [__ASSUME_RECVMMSG]: Change condition to
9417         [__ASSUME_RECVMMSG_SOCKETCALL].
9418         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9419         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9420         Define.
9421         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9422         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9423         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9424         Likewise.
9425         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9426         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9427         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9428         [!__ASSUME_RECVMMSG]: Change condition to
9429         [!__ASSUME_RECVMMSG_SOCKETCALL].
9430         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9431         (__ASSUME_RECVMMSG_SYSCALL): Define.
9433         [BZ #16609]
9434         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9435         __powerpc__ || __s390__ || __sh__ || __sparc__]
9436         (__ASSUME_SOCKETCALL): Define.
9437         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9438         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9439         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9440         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9441         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9442         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9443         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9444         (__ASSUME_ACCEPT4): Define instead of using previous
9445         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9446         __powerpc__ || __sparc__ || __s390__)] condition.
9447         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9448         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9449         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9450         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9451         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9452         [!__ASSUME_ACCEPT4]: Change condition to
9453         [!__ASSUME_ACCEPT4_SOCKETCALL].
9454         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9455         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
9456         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9457         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9458         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9459         __ASSUME_ACCEPT4_SYSCALL.
9460         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9461         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9462         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9463         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9464         __ASSUME_ACCEPT4_SYSCALL.
9465         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9466         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9467         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9468         [__ASSUME_ACCEPT4]: Change condition to
9469         [__ASSUME_ACCEPT4_SOCKETCALL].
9470         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9471         (__ASSUME_SOCKETCALL): Define.
9472         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9474         (__ASSUME_SOCKETCALL): Define.
9475         (__ASSUME_ACCEPT4): Remove.
9476         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9477         Define.
9478         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9479         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9480         Likewise.
9481         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9482         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9484         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9485         macro.
9486         (HWCAP_ARM_LPAE): Likewise.
9487         (HWCAP_ARM_EVTSTRM): Likewise.
9488         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9489         Add vpfd32, lpae and evtstrm.
9490         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9491         Increase to 22.
9493 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
9495         * math/auto-libm-test-in: Add tests of clog10.
9496         * math/auto-libm-test-out: Regenerated.
9497         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9498         * sysdeps/i386/fpu/libm-test-ulps: Update.
9499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9501 2014-02-18  Andreas Schwab  <schwab@suse.de>
9503         [BZ #16574]
9504         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9505         Store non-zero if the second buffer was newly allocated.
9506         (send_dg): Likewise.
9507         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9508         to send_vc and send_dg.
9509         (res_nsend): Pass NULL for ansp2_malloced.
9510         * resolv/res_query.c (__libc_res_nquery): Add parameter
9511         answerp2_malloced and pass it down to __libc_res_nsend.
9512         (res_nquery): Pass additional NULL to __libc_res_nquery.
9513         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9514         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
9515         second answer buffer if answerp2_malloced was set.
9516         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9517         (__libc_res_nquerydomain): Add parameter
9518         answerp2_malloced and pass it down to __libc_res_nquery.
9519         (res_nquerydomain): Pass additional NULL to
9520         __libc_res_nquerydomain.
9521         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9522         additional NULL to __libc_res_nsend and __libc_res_nquery.
9523         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9524         additional NULL to __libc_res_nsearch.
9525         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
9526         parameter of __libc_res_nsearch to check for separately allocated
9527         second buffer.
9528         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9529         __libc_res_nquery.
9530         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9531         additional NULL to __libc_res_nquery.
9532         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9533         __libc_res_nsearch.
9534         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9535         * include/resolv.h: Update prototypes of __libc_res_nquery,
9536         __libc_res_nsearch, __libc_res_nsend.
9538 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
9540         * math/auto-libm-test-in: Add tests of fma.
9541         * math/auto-libm-test-out: Regenerated.
9542         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9543         (fma_towardzero_test_data): Likewise.
9544         (fma_downward_test_data): Likewise.
9545         (fma_upward_test_data): Likewise.
9546         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9547         mpc_mode.
9548         (rounding_modes): Add values for new field.
9549         (func_calc_method): Add value mpfr_fff_f.
9550         (func_calc_desc): Add mpfr_fff_f union field.
9551         (test_function): Add field exact_args.
9552         (FUNC): Add macro argument EXACT_ARGS.
9553         (FUNC_mpfr_f_f): Update call to FUNC.
9554         (FUNC_mpfr_f_f): Likewise.
9555         (FUNC_mpfr_ff_f): Likewise.
9556         (FUNC_mpfr_if_f): Likewise.
9557         (FUNC_mpc_c_f): Likewise.
9558         (FUNC_mpc_c_c): Likewise.
9559         (test_functions): Add fma.  Update calls to FUNC.
9560         (handle_input_arg): Add argument exact_args.
9561         (add_test): Update call to handle_input_arg.
9562         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
9563         (output_for_one_input_case): Update call to calc_generic_results.
9564         Recalculate exact zero results in each rounding mode.
9566         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9567         non-negative before setting low bit.
9568         * math/auto-libm-test-in: Mark one asin test possibly having
9569         spurious underflow.
9570         * math/auto-libm-test-out: Regenerated.
9571         * sysdeps/i386/fpu/libm-test-ulps: Update.
9572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9574 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
9576         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9577         * sysdeps/unix/sysv/linux/microblaze: Move directory from
9578         ports/sysdeps/unix/sysv/linux/microblaze.
9579         * README: Add missing listing for microblaze*-*-linux-gnu.
9581 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
9583         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9584         * sysdeps/unix/sysv/linux/ia64: Move directory from
9585         ports/sysdeps/unix/sysv/linux/ia64.
9586         * README: Update listing for ia64-*-linux-gnu.
9588 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
9589             Joseph Myers  <joseph@codesourcery.com>
9591         * Makeconfig (test-name): New variable.
9592         (evaluate-test): Likewise.
9593         * Makerules (do-test-clean): Remove .test-result files.
9594         (common-mostlyclean): Likewise.
9595         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9596         * scripts/evaluate-test.sh: New file.
9598 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
9600         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9601         separate $(objpfx)tst-fopenloc-cmp.out and
9602         $(objpfx)tst-fopenloc-mem.out targets.
9603         (tests): Update dependencies.
9604         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9605         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9606         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9607         (tst-rxspencer-no-utf8-ARGS): New variable.
9608         (tst-rxspencer-no-utf8-ENV): Likewise.
9609         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9610         instead of $(objpfx)tst-rxspencer-mem.
9611         ($(objpfx)tst-rxspencer-mem): Change target to
9612         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
9613         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9614         * posix/tst-rxspencer-no-utf8.c: New file.
9616         * elf/Makefile ($(objpfx)order.out): Remove rule.
9617         [$(run-built-tests) = yes] (tests): Depend on
9618         $(objpfx)order-cmp.out.
9619         ($(objpfx)order-cmp.out): New rule.
9620         [$(run-built-tests) = yes] (tests): Depend on
9621         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9622         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9623         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9624         $(objpfx)tst-array5-static-cmp.out.
9625         ($(objpfx)tst-array1.out): Remove rule.
9626         ($(objpfx)tst-array1-cmp.out): New rule.
9627         ($(objpfx)tst-array1-static.out): Remove rule.
9628         ($(objpfx)tst-array1-static-cmp.out): New rule.
9629         ($(objpfx)tst-array2.out): Remove rule.
9630         ($(objpfx)tst-array2-cmp.out): New rule.
9631         ($(objpfx)tst-array3.out): Remove rule.
9632         ($(objpfx)tst-array3-cmp.out): New rule.
9633         ($(objpfx)tst-array4.out): Remove rule.
9634         ($(objpfx)tst-array4-cmp.out): New rule.
9635         ($(objpfx)tst-array5.out): Remove rule.
9636         ($(objpfx)tst-array5-cmp.out): New rule.
9637         ($(objpfx)tst-array5-static.out): Remove rule.
9638         ($(objpfx)tst-array5-static-cmp.out): New rule.
9639         [$(run-built-tests) = yes] (tests): Depend on
9640         $(objpfx)order2-cmp.out.
9641         ($(objpfx)order2.out): Remove rule.
9642         ($(objpfx)order2-cmp.out): New rule.
9643         ($(objpfx)tst-initorder.out): Remove rule.
9644         [$(run-built-tests) = yes] (tests): Depend on
9645         $(objpfx)tst-initorder-cmp.out.
9646         ($(objpfx)tst-initorder-cmp.out): New rule.
9647         ($(objpfx)tst-initorder2.out): Remove rule.
9648         [$(run-built-tests) = yes] (tests): Depend on
9649         $(objpfx)tst-initorder2-cmp.out.
9650         ($(objpfx)tst-initorder2-cmp.out): New rule.
9651         [$(run-built-tests) = yes] (tests): Depend on
9652         $(objpfx)tst-unused-dep-cmp.out.
9653         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9654         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9655         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9656         on $(objpfx)tst-setvbuf1-cmp.out.
9657         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9658         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9659         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9660         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9661         ($(objpfx)tst-svc.out): Remove rule.
9662         ($(objpfx)tst-svc-cmp.out): New rule.
9664 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9666         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9667         * ctype/ctype.h [__USE_MISC]: Likewise.
9668         * dirent/dirent.h [__USE_MISC]: Likewise.
9669         * grp/grp.h [__USE_MISC]: Likewise.
9670         * io/fcntl.h [__USE_MISC]: Likewise.
9671         * io/sys/stat.h [__USE_MISC]: Likewise.
9672         * libio/stdio.h [__USE_MISC]: Likewise.
9673         * posix/unistd.h [__USE_MISC]: Likewise.
9674         * pwd/pwd.h [__USE_MISC]: Likewise.
9675         * stdlib.h [__USE_MISC]: Likewise.
9676         * string/bits/string2.h [__USE_MISC]: Likewise.
9677         * string/string.h [__USE_MISC]: Likewise.
9678         * time/time.h [__USE_MISC]: Likewise.
9680 2014-02-13  Andreas Schwab  <schwab@suse.de>
9682         [BZ #16574]
9683         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9684         second answer buffer if it was separately allocated.
9686 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9688         * sysdeps/mips/math-tests.h: Include <features.h>.
9689         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9690         (ROUNDING_TESTS_long_double): Do not define.
9691         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9692         (EXCEPTION_TESTS_long_double): Likewise.
9693         * sysdeps/mips/mips64/libm-test-ulps: Update.
9695         * include/features.h (__USE_BSD): Remove macro definitions.
9696         (__USE_SVID): Likewise.
9697         (_BSD_SOURCE): Likewise.
9698         (_SVID_SOURCE): Likewise.
9699         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9700         from definition of _DEFAULT_SOURCE.
9701         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9702         [_DEFAULT_SOURCE].
9703         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9704         * bits/mman.h [__USE_BSD]: Likewise.
9705         * bits/termios.h [__USE_BSD]: Likewise.
9706         * bits/waitstatus.h [__USE_BSD]: Likewise.
9707         * ctype/ctype.h [__USE_SVID]: Likewise.
9708         * dirent/dirent.h [__USE_BSD]: Likewise.
9709         * grp/grp.h [__USE_SVID]: Likewise.
9710         [__USE_BSD]: Likewise.
9711         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9712         * io/fcntl.h [__USE_BSD]: Likewise.
9713         * io/ftw.h [__USE_BSD]: Likewise.
9714         * io/sys/stat.h [__USE_BSD]: Likewise.
9715         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9716         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9717         * libio/stdio.h [__USE_SVID]: Likewise.
9718         [__USE_BSD]: Likewise.
9719         * math/math.h [__USE_SVID]: Likewise.
9720         [__USE_BSD]: Likewise.
9721         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9722         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9723         * misc/search.h [__USE_SVID]: Likewise.
9724         * misc/sys/mman.h [__USE_BSD]: Likewise.
9725         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9726         * misc/sys/uio.h [__USE_BSD]: Likewise.
9727         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9728         * posix/glob.h [__USE_BSD]: Likewise.
9729         * posix/regex.h [__USE_BSD]: Likewise.
9730         * posix/sys/types.h [__USE_BSD]: Likewise.
9731         [__USE_SVID]: Likewise.
9732         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9733         * posix/sys/wait.h [__USE_BSD]: Likewise.
9734         [__USE_SVID]: Likewise.
9735         * posix/unistd.h [__USE_BSD]: Likewise.
9736         [__USE_SVID]: Likewise.
9737         * pwd/pwd.h [__USE_SVID]: Likewise.
9738         * resolv/netdb.h [__USE_BSD]: Likewise.
9739         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9740         * signal/signal.h [__USE_BSD]: Likewise.
9741         [__USE_SVID]: Likewise.
9742         * socket/sys/socket.h [__USE_BSD]: Likewise.
9743         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9744         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9745         [__USE_SVID]: Likewise.
9746         * string/bits/string2.h [__USE_BSD]: Likewise.
9747         [__USE_SVID]: Likewise.
9748         * string/bits/string3.h [__USE_BSD]: Likewise.
9749         * string/endian.h [__USE_BSD]: Likewise.
9750         * string/string.h [__USE_SVID]: Likewise.
9751         [__USE_BSD]: Likewise.
9752         * string/strings.h [__USE_BSD]: Likewise.
9753         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9754         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9755         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9756         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9757         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9758         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9759         Likewise.
9760         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9761         Likewise.
9762         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9763         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9764         Likewise.
9765         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9766         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9767         Likewise.
9768         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9769         Likewise.
9770         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9771         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9772         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9773         Likewise.
9774         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9775         Likewise.
9776         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9777         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9778         * termios/termios.h [__USE_BSD]: Likewise.
9779         * time/sys/time.h [__USE_BSD]: Likewise.
9780         * time/time.h [__USE_BSD]: Likewise.
9781         [__USE_SVID]: Likewise.
9783         * Makefile (subdir_targets): Remove subdir_lint.out.
9785         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9786         (do-tst-printf): Likewise.
9787         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9788         $(objpfx)tst-printf.out.
9790         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9792         * Makerules (check-abi-%): Change target to
9793         $(objpfx)check-abi-%.out.
9794         (check-abi target): Update dependencies.
9795         (check-abi-pattern variable): Redirect output of diff to $@.
9796         (check-abi variable): Likewise.
9797         * elf/Makefile (check-abi): Update dependencies.
9799         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9800         unused.
9801         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9802         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9803         subnormal range.
9804         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9805         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9806         value has largest subnormal exponent.
9807         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9808         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9809         * sysdeps/aarch64/soft-fp/sfp-machine.h
9810         (_FP_TININESS_AFTER_ROUNDING): New macro.
9811         * sysdeps/alpha/soft-fp/sfp-machine.h
9812         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9813         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9814         Likewise.
9815         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9816         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9817         * sysdeps/mips/soft-fp/sfp-machine.h
9818         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9819         * sysdeps/powerpc/soft-fp/sfp-machine.h
9820         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9821         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9822         Likewise.
9823         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9824         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9825         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9826         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9827         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9828         Likewise.
9830 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9832         [BZ #16545]
9833         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9834         model 1.
9836 2014-02-12  Richard Henderson  <rth@redhat.com>
9838         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9839         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9840         * sysdeps/unix/sysv/linux/alpha: Move directory from
9841         ports/sysdeps/unix/sysv/linux/alpha.
9842         * README: Update listing for alpha-*-linux-gnu.
9844 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9846         * include/features.h: Update comment documenting feature test
9847         macros.
9848         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9849         _DEFAULT_SOURCE.
9850         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9851         (_SVID_SOURCE): Likewise.
9852         (_DEFAULT_SOURCE): Update description of default features.
9853         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9854         with _GNU_SOURCE.
9855         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9856         (S_ISVTX): Likewise.
9857         * manual/math.texi (Mathematical Constants): Likewise.
9858         * manual/signal.texi (Interrupted Primitives): Likewise.
9859         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9860         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9861         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9862         Don't refer to _SVID_SOURCE in warning text.
9864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9866         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9867         already defined.
9868         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9869         * sysdeps/mips/dl-lookup.c: Remove.
9870         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9872 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9874         [BZ #16447]
9875         * math/auto-libm-test-in: Add testcase for expl.
9876         * math/auto-libm-test-out: Regenerate.
9877         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9878         calculation of unsafe.
9879         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9881 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9883         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9884         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9885         ports/sysdeps/unix/sysv/linux/aarch64.
9886         * README: Update listing for aarch64*-*-linux-gnu.
9888 2014-02-11  Will Newton  <will.newton@linaro.org>
9890         * manual/probes.texi (Mathematical Function Probes): Use
9891         "triggered" instead of "hit".
9893         * manual/probes.texi (Internal Probes): Add documentation
9894         of setjmp, longjmp and longjmp_target probes.
9896         * include/stap-probe.h: Add comment about probe argument
9897         format.
9899         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9900         definition.  (tr_where, tr_freehook, tr_mallochook,
9901         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9903 2014-02-11  David S. Miller  <davem@davemloft.net>
9905         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9906         processing int_tests.
9908 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9910         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9911         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9912         * sysdeps/unix/sysv/linux/mips: Move directory from
9913         ports/sysdeps/unix/sysv/linux/mips.
9914         * README: Update listing for mips-*-linux-gnu and
9915         mips64-*-linux-gnu.
9917 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9919         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9920         * sysdeps/unix/sysv/linux/m68k: Move directory from
9921         ports/sysdeps/unix/sysv/linux/m68k.
9922         * README: Update listing for m68k-*-linux-gnu.
9924 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9926         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9927         * sysdeps/unix/sysv/linux/generic: Move directory from
9928         ports/sysdeps/unix/sysv/linux/generic.
9929         * sysdeps/unix/sysv/linux/tile: Move directory from
9930         ports/sysdeps/unix/sysv/linux/tile.
9931         * README: Update listing for tile*-*-linux-gnu.
9933 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9935         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9936         __builtin_expect.
9937         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9938         * catgets/open_catalog.c (__open_catalog): Likewise.
9939         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9940         * debug/confstr_chk.c: Likewise.
9941         * debug/fread_chk.c (__fread_chk): Likewise.
9942         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9943         * debug/getgroups_chk.c: Likewise.
9944         * debug/mbsnrtowcs_chk.c: Likewise.
9945         * debug/mbsrtowcs_chk.c: Likewise.
9946         * debug/mbstowcs_chk.c: Likewise.
9947         * debug/memcpy_chk.c: Likewise.
9948         * debug/memmove_chk.c: Likewise.
9949         * debug/mempcpy_chk.c: Likewise.
9950         * debug/memset_chk.c: Likewise.
9951         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9952         * debug/strcat_chk.c (__strcat_chk): Likewise.
9953         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9954         * debug/strncat_chk.c (__strncat_chk): Likewise.
9955         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9956         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9957         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9958         * debug/wcpncpy_chk.c: Likewise.
9959         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9960         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9961         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9962         * debug/wcsncpy_chk.c: Likewise.
9963         * debug/wcsnrtombs_chk.c: Likewise.
9964         * debug/wcsrtombs_chk.c: Likewise.
9965         * debug/wcstombs_chk.c: Likewise.
9966         * debug/wmemcpy_chk.c: Likewise.
9967         * debug/wmemmove_chk.c: Likewise.
9968         * debug/wmempcpy_chk.c: Likewise.
9969         * debug/wmemset_chk.c: Likewise.
9970         * dirent/scandirat.c (SCANDIRAT): Likewise.
9971         * dlfcn/dladdr1.c (dladdr1): Likewise.
9972         * dlfcn/dladdr.c (dladdr): Likewise.
9973         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9974         * dlfcn/dlerror.c (__dlerror): Likewise.
9975         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9976         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9977         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9978         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9979         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9980         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9981         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9982         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9983         Likewise.
9984         * elf/dl-conflict.c: Likewise.
9985         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9986         * elf/dl-dst.h: Likewise.
9987         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9988         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9989         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9990         * elf/dl-init.c (call_init, _dl_init): Likewise.
9991         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9992         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9993         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9994         Likewise.
9995         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9996         Likewise.
9997         * elf/dl-minimal.c (__libc_memalign): Likewise.
9998         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9999         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10000         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10001         * elf/dl-sym.c (do_sym): Likewise.
10002         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10003         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10004         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10005         * elf/dl-writev.h (_dl_writev): Likewise.
10006         * elf/ldconfig.c (search_dir): Likewise.
10007         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10008         (dl_main): Likewise.
10009         * elf/setup-vdso.h (setup_vdso): Likewise.
10010         * grp/compat-initgroups.c (compat_call): Likewise.
10011         * grp/fgetgrent.c (fgetgrent): Likewise.
10012         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10013         * grp/putgrent.c (putgrent): Likewise.
10014         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10015         Likewise.
10016         * hurd/hurdinit.c: Likewise.
10017         * iconvdata/8bit-gap.c (struct): Likewise.
10018         * iconvdata/ansi_x3.110.c : Likewise.
10019         * iconvdata/big5.c : Likewise.
10020         * iconvdata/big5hkscs.c : Likewise.
10021         * iconvdata/cp1255.c: Likewise.
10022         * iconvdata/cp1258.c : Likewise.
10023         * iconvdata/cp932.c : Likewise.
10024         * iconvdata/euc-cn.c: Likewise.
10025         * iconvdata/euc-jisx0213.c : Likewise.
10026         * iconvdata/euc-jp.c: Likewise.
10027         * iconvdata/euc-jp-ms.c : Likewise.
10028         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10029         * iconvdata/gb18030.c : Likewise.
10030         * iconvdata/gbbig5.c (const): Likewise.
10031         * iconvdata/gbgbk.c: Likewise.
10032         * iconvdata/gbk.c : Likewise.
10033         * iconvdata/ibm1364.c : Likewise.
10034         * iconvdata/ibm930.c : Likewise.
10035         * iconvdata/ibm932.c: Likewise.
10036         * iconvdata/ibm933.c : Likewise.
10037         * iconvdata/ibm935.c : Likewise.
10038         * iconvdata/ibm937.c : Likewise.
10039         * iconvdata/ibm939.c : Likewise.
10040         * iconvdata/ibm943.c: Likewise.
10041         * iconvdata/iso_11548-1.c: Likewise.
10042         * iconvdata/iso-2022-cn.c : Likewise.
10043         * iconvdata/iso-2022-cn-ext.c : Likewise.
10044         * iconvdata/iso-2022-jp-3.c: Likewise.
10045         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10046         * iconvdata/iso-2022-kr.c : Likewise.
10047         * iconvdata/iso646.c (gconv_end): Likewise.
10048         * iconvdata/iso_6937-2.c : Likewise.
10049         * iconvdata/iso_6937.c : Likewise.
10050         * iconvdata/iso8859-1.c: Likewise.
10051         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10052         * iconvdata/shift_jisx0213.c : Likewise.
10053         * iconvdata/sjis.c : Likewise.
10054         * iconvdata/t.61.c : Likewise.
10055         * iconvdata/tcvn5712-1.c : Likewise.
10056         * iconvdata/tscii.c: Likewise.
10057         * iconvdata/uhc.c : Likewise.
10058         * iconvdata/unicode.c (gconv_end): Likewise.
10059         * iconvdata/utf-16.c (gconv_end): Likewise.
10060         * iconvdata/utf-32.c (gconv_end): Likewise.
10061         * iconvdata/utf-7.c (base64): Likewise.
10062         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10063         * iconv/gconv_close.c (__gconv_close): Likewise.
10064         * iconv/gconv_open.c (__gconv_open): Likewise.
10065         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10066         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10067         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10068         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10069         (ucs4le_internal_loop_single): Likewise.
10070         * iconv/iconv.c (iconv): Likewise.
10071         * iconv/iconv_close.c: Likewise.
10072         * iconv/loop.c (SINGLE): Likewise.
10073         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10074         * include/atomic.h: Likewise.
10075         * inet/inet6_option.c (option_alloc): Likewise.
10076         * intl/bindtextdom.c (set_binding_values): Likewise.
10077         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10078         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10079         * intl/localealias.c (read_alias_file): Likewise.
10080         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10081         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10082         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10083         * libio/fmemopen.c (fmemopen): Likewise.
10084         * libio/iofgets.c (_IO_fgets): Likewise.
10085         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10086         * libio/iofgetws.c (fgetws): Likewise.
10087         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10088         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10089         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10090         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10091         * locale/findlocale.c (_nl_find_locale): Likewise.
10092         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10093         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10094         Likewise.
10095         * locale/setlocale.c (setlocale): Likewise.
10096         * login/programs/pt_chown.c (main): Likewise.
10097         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10098         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10099         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10100         (mmap, mmap64, mremap, munmap): Likewise.
10101         * math/e_exp2l.c: Likewise.
10102         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10103         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10104         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10105         * math/s_catan.c (__catan): Likewise.
10106         * math/s_catanf.c (__catanf): Likewise.
10107         * math/s_catanh.c (__catanh): Likewise.
10108         * math/s_catanhf.c (__catanhf): Likewise.
10109         * math/s_catanhl.c (__catanhl): Likewise.
10110         * math/s_catanl.c (__catanl): Likewise.
10111         * math/s_ccosh.c (__ccosh): Likewise.
10112         * math/s_ccoshf.c (__ccoshf): Likewise.
10113         * math/s_ccoshl.c (__ccoshl): Likewise.
10114         * math/s_cexp.c (__cexp): Likewise.
10115         * math/s_cexpf.c (__cexpf): Likewise.
10116         * math/s_cexpl.c (__cexpl): Likewise.
10117         * math/s_clog10.c (__clog10): Likewise.
10118         * math/s_clog10f.c (__clog10f): Likewise.
10119         * math/s_clog10l.c (__clog10l): Likewise.
10120         * math/s_clog.c (__clog): Likewise.
10121         * math/s_clogf.c (__clogf): Likewise.
10122         * math/s_clogl.c (__clogl): Likewise.
10123         * math/s_csin.c (__csin): Likewise.
10124         * math/s_csinf.c (__csinf): Likewise.
10125         * math/s_csinh.c (__csinh): Likewise.
10126         * math/s_csinhf.c (__csinhf): Likewise.
10127         * math/s_csinhl.c (__csinhl): Likewise.
10128         * math/s_csinl.c (__csinl): Likewise.
10129         * math/s_csqrt.c (__csqrt): Likewise.
10130         * math/s_csqrtf.c (__csqrtf): Likewise.
10131         * math/s_csqrtl.c (__csqrtl): Likewise.
10132         * math/s_ctan.c (__ctan): Likewise.
10133         * math/s_ctanf.c (__ctanf): Likewise.
10134         * math/s_ctanh.c (__ctanh): Likewise.
10135         * math/s_ctanhf.c (__ctanhf): Likewise.
10136         * math/s_ctanhl.c (__ctanhl): Likewise.
10137         * math/s_ctanl.c (__ctanl): Likewise.
10138         * math/w_pow.c: Likewise.
10139         * math/w_powf.c: Likewise.
10140         * math/w_powl.c: Likewise.
10141         * math/w_scalb.c (sysv_scalb): Likewise.
10142         * math/w_scalbf.c (sysv_scalbf): Likewise.
10143         * math/w_scalbl.c (sysv_scalbl): Likewise.
10144         * misc/error.c (error_tail): Likewise.
10145         * misc/pselect.c (__pselect): Likewise.
10146         * nis/nis_callback.c (__nis_create_callback): Likewise.
10147         * nis/nis_call.c (__nisfind_server): Likewise.
10148         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10149         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10150         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10151         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10152         * nis/nis_lookup.c (nis_lookup): Likewise.
10153         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10154         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10155         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10156         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10157         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10158         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10159         * nis/nss_compat/compat-initgroups.c (add_group)
10160         (internal_getgrent_r): Likewise.
10161         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10162         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10163         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10164         (internal_getspnam_r): Likewise.
10165         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10166         (_nss_nis_getaliasbyname_r): Likewise.
10167         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10168         (_nss_nis_getntohost_r): Likewise.
10169         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10170         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10171         (_nss_nis_getgrgid_r): Likewise.
10172         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10173         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10174         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10175         (_nss_nis_gethostbyname4_r): Likewise.
10176         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10177         (initgroups_netid): Likewise.
10178         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10179         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10180         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10181         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10182         (_nss_nis_getprotobynumber_r): Likewise.
10183         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10184         (_nss_nis_getsecretkey): Likewise.
10185         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10186         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10187         (_nss_nis_getpwuid_r): Likewise.
10188         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10189         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10190         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10191         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10192         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10193         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10194         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10195         Likewise.
10196         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10197         (_nss_nisplus_getntohost_r): Likewise.
10198         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10199         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10200         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10201         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10202         Likewise.
10203         * nis/nss_nisplus/nisplus-initgroups.c
10204         (_nss_nisplus_initgroups_dyn): Likewise.
10205         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10206         (_nss_nisplus_getnetbyaddr_r): Likewise.
10207         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10208         (_nss_nisplus_getprotobynumber_r): Likewise.
10209         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10210         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10211         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10212         Likewise.
10213         * nis/nss_nisplus/nisplus-service.c
10214         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10215         (_nss_nisplus_getservbyport_r): Likewise.
10216         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10217         (_nss_nisplus_getspnam_r): Likewise.
10218         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10219         Likewise.
10220         * nscd/aicache.c (addhstaiX): Likewise.
10221         * nscd/cache.c (cache_search, prune_cache): Likewise.
10222         * nscd/connections.c (register_traced_file, send_ro_fd)
10223         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10224         (main_loop_epoll): Likewise.
10225         * nscd/grpcache.c (addgrbyX): Likewise.
10226         * nscd/hstcache.c (addhstbyX): Likewise.
10227         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10228         * nscd/mem.c (gc, mempool_alloc): Likewise.
10229         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10230         (addinnetgrX): Likewise.
10231         * nscd/nscd-client.h (__nscd_acquire_maplock)
10232         (__nscd_drop_map_ref): Likewise.
10233         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10234         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10235         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10236         Likewise.
10237         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10238         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10239         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10240         (__nscd_get_map_ref): Likewise.
10241         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10242         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10243         Likewise.
10244         * nscd/pwdcache.c (addpwbyX): Likewise.
10245         * nscd/selinux.c (preserve_capabilities): Likewise.
10246         * nscd/servicescache.c (addservbyX): Likewise.
10247         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10248         * posix/fnmatch.c (fnmatch): Likewise.
10249         * posix/getopt.c (_getopt_internal_r): Likewise.
10250         * posix/glob.c (glob, glob_in_dir): Likewise.
10251         * posix/wordexp.c (exec_comm_child): Likewise.
10252         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10253         (getanswer_r, gaih_getanswer_slice): Likewise.
10254         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10255         * resolv/res_init.c: Likewise.
10256         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10257         * resolv/res_query.c (__libc_res_nquery): Likewise.
10258         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10259         Likewise.
10260         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10261         * stdio-common/perror.c (perror): Likewise.
10262         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10263         * stdio-common/tmpnam.c (tmpnam): Likewise.
10264         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10265         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10266         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10267         Likewise.
10268         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10269         * stdlib/putenv.c (putenv): Likewise.
10270         * stdlib/setenv.c (__add_to_environ): Likewise.
10271         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10272         * stdlib/strtol_l.c (INTERNAL): Likewise.
10273         * string/memmem.c (memmem): Likewise.
10274         * string/strerror.c (strerror): Likewise.
10275         * string/strnlen.c (__strnlen): Likewise.
10276         * string/test-memmem.c (simple_memmem): Likewise.
10277         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10278         * sunrpc/pm_getport.c (__get_socket): Likewise.
10279         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10280         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10281         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10282         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10283         Likewise.
10284         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10285         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10286         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10287         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10288         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10289         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10290         Likewise.
10291         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10292         Likewise.
10293         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10294         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10295         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10296         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10297         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10298         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10299         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10300         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10301         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10302         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10303         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10304         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10305         Likewise.
10306         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10307         Likewise.
10308         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10309         Likewise.
10310         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10311         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10312         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10313         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10314         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10315         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10316         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10317         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10318         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10319         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10320         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10321         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10322         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10323         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10324         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10325         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10326         Likewise.
10327         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10328         Likewise.
10329         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10330         Likewise.
10331         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10332         Likewise.
10333         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10334         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10335         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10336         Likewise.
10337         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10338         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10339         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10340         * sysdeps/posix/sleep.c: Likewise.
10341         * sysdeps/posix/tempname.c: Likewise.
10342         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10343         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10344         Likewise.
10345         * sysdeps/powerpc/powerpc32/dl-machine.h
10346         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10347         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10348         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10349         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10350         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10351         Likewise.
10352         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10353         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10354         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10355         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10356         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10357         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10358         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10359         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10360         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10361         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10362         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10363         (elf_machine_lazy_rel): Likewise.
10364         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10365         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10366         (elf_machine_lazy_rel): Likewise.
10367         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10368         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10369         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10370         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10371         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10372         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10373         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10374         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10375         Likewise.
10376         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10377         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10378         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10379         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10380         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10381         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10382         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10383         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10384         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10385         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10386         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10387         Likewise.
10388         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10389         (__posix_fallocate64_l64): Likewise.
10390         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10391         (posix_fallocate): Likewise.
10392         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10393         Likewise.
10394         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10395         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10396         (getifaddrs_internal): Likewise.
10397         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10398         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10399         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10400         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10401         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10402         (__posix_fallocate64_l64): Likewise.
10403         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10404         Likewise.
10405         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10406         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10407         (__get_clockfreq): Likewise.
10408         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10409         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10410         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10413         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10414         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10415         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10416         Likewise.
10417         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10418         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10419         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10420         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10421         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10422         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10423         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10424         Likewise.
10425         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10426         (posix_fallocate): Likewise.
10427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10428         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10429         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10430         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10431         (elf_machine_rela, elf_machine_rela_relative)
10432         (elf_machine_lazy_rel): Likewise.
10433         * time/asctime.c (asctime_internal): Likewise.
10434         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10435         * time/tzset.c (__tzset_parse_tz): Likewise.
10436         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10437         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10438         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10439         * wcsmbs/wcsmbsload.h: Likewise.
10441         [BZ #15894]
10442         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10444         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10445         (arena_get2): Remove THREAD_STATS conditionals.
10446         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10447         (__malloc_stats, int): Likewise.
10449 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
10451         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10452         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
10454         * manual/setjmp.texi: Fix typos/grammar errors.
10456         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10457         Only return early when n is <= 0.  Delete unused return statement.
10459         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10460         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10461         * debug/tst-longjmp_chk3.c: New file.
10463         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10464         (test_main): Replace code with set_fortify_handler call.
10465         * debug/test-strcpy_chk.c: Likewise.
10466         * debug/tst-chk1.c: Likewise.
10467         * debug/tst-longjmp_chk.c: Likewise.
10468         * test-skeleton.c: Include fcntl.h & paths.h
10469         (set_fortify_handler): Define.
10471         * debug/tst-longjmp_chk.c: Add header comment and include
10472         ../test-skeleton.c.
10473         (do_test): Mark static.
10474         (TEST_FUNCTION): Define.
10476         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10477         (IP_PMTUDISC_INTERFACE): Likewise.
10478         (IP_MULTICAST_IF): Likewise.
10479         (IP_MULTICAST_TTL): Likewise.
10480         (IP_MULTICAST_LOOP): Likewise.
10481         (IP_ADD_MEMBERSHIP): Likewise.
10482         (IP_DROP_MEMBERSHIP): Likewise.
10483         (IP_UNBLOCK_SOURCE): Likewise.
10484         (IP_BLOCK_SOURCE): Likewise.
10485         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10486         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10487         (IP_MSFILTER): Likewise.
10488         (MCAST_JOIN_GROUP): Likewise.
10489         (MCAST_BLOCK_SOURCE): Likewise.
10490         (MCAST_UNBLOCK_SOURCE): Likewise.
10491         (MCAST_LEAVE_GROUP): Likewise.
10492         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10493         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10494         (MCAST_MSFILTER): Likewise.
10495         (IP_MULTICAST_ALL): Likewise.
10496         (IP_UNICAST_IF): Likewise.
10498         * timezone/Makefile: Delete $(have-ksh) check.
10499         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10500         * timezone/tzselect.ksh: Add +x mode bits.
10502         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10503         (ANON_INODE_FS_MAGIC): Likewise.
10504         (BDEVFS_MAGIC): Likewise.
10505         (BINFMTFS_MAGIC): Likewise.
10506         (BTRFS_TEST_MAGIC): Likewise.
10507         (CRAMFS_MAGIC_WEND): Likewise.
10508         (DEBUGFS_MAGIC): Likewise.
10509         (ECRYPTFS_SUPER_MAGIC): Likewise.
10510         (EXT3_SUPER_MAGIC): Likewise.
10511         (EXT4_SUPER_MAGIC): Likewise.
10512         (FUTEXFS_SUPER_MAGIC): Likewise.
10513         (HOSTFS_SUPER_MAGIC): Likewise.
10514         (HUGETLBFS_MAGIC): Likewise.
10515         (MINIX3_SUPER_MAGIC): Likewise.
10516         (MTD_INODE_FS_MAGIC): Likewise.
10517         (NILFS_SUPER_MAGIC): Likewise.
10518         (OPENPROM_SUPER_MAGIC): Likewise.
10519         (PIPEFS_MAGIC): Likewise.
10520         (PSTOREFS_MAGIC): Likewise.
10521         (QNX6_SUPER_MAGIC): Likewise.
10522         (RAMFS_MAGIC): Likewise.
10523         (REISERFS_SUPER_MAGIC_STRING): Likewise.
10524         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10525         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10526         (SECURITYFS_MAGIC): Likewise.
10527         (SELINUX_MAGIC): Likewise.
10528         (SMACK_MAGIC): Likewise.
10529         (SOCKFS_MAGIC): Likewise.
10530         (SQUASHFS_MAGIC): Likewise.
10531         (STACK_END_MAGIC): Likewise.
10532         (TMPFS_MAGIC): Likewise.
10533         (USBDEVICE_SUPER_MAGIC): Likewise.
10534         (V9FS_MAGIC): Likewise.
10535         (XENFS_SUPER_MAGIC): Likewise.
10536         (CRAMFS_MAGIC): Fix typo in comment.
10537         (EXT2_SUPER_MAGIC): Update comment.
10538         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10540 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
10542         * sysdeps/arm: Move directory from ports/sysdeps/arm.
10543         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10544         * sysdeps/unix/sysv/linux/arm: Move directory from
10545         ports/sysdeps/unix/sysv/linux/arm.
10546         * README: Update listing for arm-*-linux-gnueabi.
10548         * README: Remove mention of am33.
10550 2014-02-07  Roland McGrath  <roland@hack.frob.com>
10552         * bits/sigset.h (__sigemptyset): Use a statement expression rather
10553         than the comma operator, to avoid "rhs of comma has no effect"
10554         compiler warnings.
10555         (__sigfillset, __sigandset, __sigorset): Likewise.
10556         * include/signal.h (__sigemptyset): Likewise.
10557         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10559 2014-02-07  Allan McRae  <allan@archlinux.org>
10561         * version.h (RELEASE): Set to "development".
10562         (VERSION): Set to "2.19.90"
10563         * NEWS: Add 2.20 section.
10565 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
10567         [BZ #16529]
10568         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10570 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10572         * manual/contrib.texi: Update entry for Carlos O'Donell,
10573         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10575 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
10577         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10579         * sysdeps/unix/sysv/linux/kernel-features.h
10580         [__LINUX_KERNEL_VERSION >= 0x020621]
10581         (__ASSUME_PROC_PID_TASK_COMM): Define.
10583 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10585         [BZ #16398]
10586         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10587         conversion when destination buffer does not have enough space.
10588         * libio/tst-ftell-partial-wide.c: New test case.
10589         * libio/Makefile (tests): Add tst-ftell-partial-wide.
10591         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10592         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
10593         Leonard and Allan McRae.
10595 2014-02-04  David S. Miller  <davem@davemloft.net>
10597         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10598         32-bit.
10600 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10603         New file
10604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10605         New file
10606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10607         New file.
10608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10609         New file.
10610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10611         New file.
10612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10613         New file.
10614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10615         New file.
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10617         New file.
10618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10619         New file.
10620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10621         New file.
10622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10623         New file.
10624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10625         New file.
10626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10627         New file.
10629 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10631         * nptl/shlib-versions: Change powerpc*le start to 2.17.
10632         * shlib-versions: Likewise.
10634 2014-02-04  Roland McGrath  <roland@hack.frob.com>
10635             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10637         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10638         (abilist-pattern): New variable, set to %-le.abilist.
10640         * Makerules (abilist-pattern): New variable.
10641         (vpath): Use $(abilist-pattern) in place of %.abilist.
10642         (check-abi-% pattern rule): Likewise.
10643         (check-abi, update-abi): Likewise.
10645 2014-02-04  Eric Wong  <normalperson@yhbt.net>
10647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10649 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
10651         * manual/startup.texi: Add next, previous, and top entries for
10652         the `Program Arguments' and `Environment Variables' nodes.
10654 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10656         * manual/macros.texi: Add comments before MTASC-safety macros.
10658         * manual/users.texi: Document MTASC-safety properties.
10660         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10661         (pthread_getspecific, pthread_setspecific): Format with
10662         @deftypefun, and add @safety note.
10663         * manual/signal.texi: Move comments that analyze the above
10664         functions to their home place.
10666 2014-02-03  Allan McRae  <allan@archlinux.org>
10668         * po/sl.po: Update Slovenian translation from translation project.
10670 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10672         * manual/time.texi (timegm): Add missing blank after @c.
10673         Reported by Joseph Myers <joseph@codesourcery.com>.
10675 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10677         * manual/check-safety.sh: New.
10678         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10680         * manual/terminal.texi: Document MTASC-safety properties.
10682         * manual/filesys.texi: Document MTASC-safety properties.
10684         * manual/errno.texi: Document MTASC-safety properties.
10686         * manual/intro.texi: Document safety identifiers and
10687         conditionals.
10689         * manual/string.texi (wcstok): Fix prototype.
10690         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10692         * manual/time.texi: Document MTASC-safety properties.
10694         * manual/string.texi: Document MTASC-safety properties.
10696         * manual/threads.texi: Document MTASC-safety properties.
10698         * manual/stdio.texi: Document MTASC-safety properties.
10700         * manual/syslog.texi: Document MTASC-safety properties.
10702         * manual/sysinfo.texi: Document MTASC-safety properties.
10704         * manual/startup.texi: Document MTASC-safety properties.
10706         * manual/socket.texi: Document MTASC-safety properties.
10708         * manual/signal.texi: Document MTASC-safety properties.
10710 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10712         * manual/setjmp.texi: Document MTASC-safety properties.
10714         * manual/search.texi: Document MTASC-safety properties.
10716         * manual/resource.texi: Document MTASC-safety properties.
10718         * manual/process.texi: Document MTASC-safety properties.
10720         * manual/platform.texi: Document MTASC-safety properties.
10722         * manual/pipe.texi: Document MTASC-safety properties.
10724         * manual/pattern.texi: Document MTASC-safety properties.
10726         * manual/message.texi: Document MTASC-safety properties.
10728         [BZ #12751]
10729         * manual/memory.texi: Document MTASC-safety properties.
10731         * manual/math.texi: Document MTASC-safety properties.
10733         * manual/locale.texi: Document MTASC-safety properties.
10735         * manual/llio.texi: Document MTASC-safety properties.
10737         * manual/libdl.texi: New.
10739         * manual/lang.texi: Document MTASC-safety properties.
10741         * manual/job.texi: Document MTASC-safety properties.
10743         * manual/getopt.texi: Document MTASC-safety properties.
10745         * manual/ctype.texi: Document MTASC-safety properties.
10747 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10749         [BZ #16046]
10750         * csu/libc-tls.c (static_map): Remove variable.
10751         (__libc_setup_tls): Use main executable's link map for TLS data.
10752         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10753         casing for LM_ID_BASE and GL(dl_nns).
10754         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10755         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10756         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10757         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10758         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10759         member.
10760         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10761         l_phnum members.
10763 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10765         * manual/debug.texi: Document MTASC-safety properties.
10767 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10769         [BZ #16510]
10770         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10771         of __x86_64__ when disabling x87 inline functions.
10773 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10775         * manual/charset.texi: Document MTASC-safety properties.
10777         * manual/crypt.texi: Document MTASC-safety properties.
10779         * manual/conf.texi: Document MTASC-safety properties.
10781         * manual/arith.texi: Document MTASC-safety properties.
10783         * manual/argp.texi: Document MTASC-safety properties.
10785         * manual/macros.texi: Introduce macros to document multi
10786         thread, asynchronous signal and asynchronous cancellation
10787         safety properties.
10788         * manual/intro.texi: Introduce the properties themselves.
10790 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10792         * sysdeps/sh/sh4/Makefile: New file.
10794 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10796         * math/gen-libm-test.pl ($srcdir): New variable.
10797         ($auto_input): Use it.
10799 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10801         [BZ #16506]
10802         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10803         access beyond array bounds when parsing netgroups file.
10805         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10806         the old buffer before realloc.
10808 2014-01-27  Allan McRae  <allan@archlinux.org>
10810         * po/fr.po: Update French translation from translation project.
10812 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10814         * sysdeps/sh/libm-test-ulps: Regenerate.
10816 2014-01-24  David S. Miller  <davem@davemloft.net>
10818         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10820 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10822         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10823         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10825 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10827         [BZ #16474]
10828         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10829         string pointers after reallocation.
10831 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10833         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10834         __SH4A__ instead of __SH_FPU_ANY__.
10836 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10838         * sysdeps/sh/fpu_control.h: New file.
10839         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10840         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10841         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10842         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10843         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10844         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10845         * sysdeps/sh/sys/ucontext.h: Remove.
10846         * sysdeps/sh/sys: Remove directory.
10848 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10850         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10851         s390/sys/ucontext.h.
10852         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10853         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10855 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10857         [BZ #15605]
10858         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10860 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10862         [BZ#16431]
10863         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10864         Adjust the vDSO correctly for internal calls.
10865         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10867 2014-01-20  Allan McRae  <allan@archlinux.org>
10869         * po/ca.po: Update Catalan translation from translation project.
10871 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10873         * sysdeps/s390/sotruss-lib.c: New file.
10875 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10877         [BZ#16430]
10878         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10879         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10880         local calls issues by not having a PLT stub required for IFUNC calls.
10881         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10883 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10885         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10886         * math/test-fpucw-static.c: Likewise.
10888 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10890         [BZ #16453]
10891         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10893 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10895         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10896         implementation for powerpc.
10898 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10900         [BZ #14782]
10901         * sysdeps/posix/system.c (__libc_system): Do not enable
10902         asynchronous cancellation.
10904 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10906         [BZ #16427]
10907         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10908         handling only for numbers special also in the IEEE case.
10910 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10912         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10914 2014-01-11  Allan McRae  <allan@archlinux.org>
10916         * po/bg.po: Update Bulgarian translation from translation project.
10918         * po/de.po: Update German translation from translation project.
10920 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10922         * sysdeps/generic/gcc-compat.h: New file.
10924 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10926         * benchtests/asin-inputs: Correct slow inputs.
10927         * benchtests/acos-inputs: Likewise.
10929 2014-01-10  Allan McRae  <allan@archlinux.org>
10931         * po:sv.po: Update Swedish translation from translation project.
10933         * po/vi.po: Update Vietnamese translation from translation project.
10935         * po/eo.po: Update Esperanto translation from translation project.
10937         * po/cs.po: Update Czech translation from translation project.
10939         * po/nl.po: Update Dutch translation from translation project.
10941         * po/pl.po: Update Polish translation from translation project.
10943         * po/ru.po: Update Russian translation from translation project.
10945         * po/uk.po: Update Ukrainian translation from translation project.
10947 2014-01-08  Brooks Moses  <bmoses@google.com>
10949         * elf/dl-load.c: Fix comment typo.
10951 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10953         * po/header.pot: Rename to...
10954         * po/pot.header: ... this.
10955         * po/Makefile: Use pot.header.
10957 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10958             Maxim Kuvyrkov  <maxim@kugelworks.com>
10960         [BZ #16394]
10961         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10962         SRC and DEST against LEN.
10964 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10966         [BZ #16414]
10967         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10968         implementation.
10969         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10971 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10975 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10977         [BZ #16408]
10978         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10979         for large positive arguments.
10981 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10983         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10985         * math/auto-libm-test-in: Mark various tests with
10986         xfail-rounding:ldbl-128ibm.
10987         * math/auto-libm-test-out: Regenerated.
10989         [BZ #16407]
10990         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10991         Increase overflow threshold.
10993 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10995         [BZ #14286]
10996         * stdio-common/vfprintf.c: Check for integer overflow.
10998 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11000         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11001         the first argument and return value of __tls_get_addr_internal.
11003 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11005         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11006         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11008 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11010         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11011         * sysdeps/s390/rtld-global-offsets.sym: New file.
11012         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11013         GLIBC_2.19 symbol.
11014         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11015         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11016         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11017         ... this.
11018         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11019         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11020         ... this.
11021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11022         Regenerate.
11023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11024         Regenerate.
11025         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11026         halfs of GPRs for high_gprs contexts.
11027         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11028         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11029         field.
11030         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11031         uc_flags field.
11032         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11033         64 bit versions:
11034         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11035         for high GPRs (uc_high_gprs) and for future extensions
11036         (__reserved).
11037         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11038         for future extensions (__reserved).
11039         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11040         64 bit versions:
11041         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11042         SC_HIGHGPRS offset definition.
11043         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11044         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11046         * Versions.def: Add GLIBC_2.19 for libpthread.
11047         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11048         siglongjmp for libpthread with GLIBC_2.19 symver.
11049         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11050         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11051         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11052         * sysdeps/s390/__longjmp.c: New file.
11053         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11054         * sysdeps/s390/longjmp.c: New file.
11055         * sysdeps/s390/setjmp.S: New file.
11056         * sysdeps/s390/sigjmp.S: New file.
11057         * sysdeps/s390/v1-longjmp.c: New file.
11058         * sysdeps/s390/v1-setjmp.h: New file.
11059         * sysdeps/s390/v1-sigjmp.c: New file.
11060         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11061         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11062         GLIBC_2.19 version.
11063         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11064         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11065         versioned symbols for ____longjmp_chk.
11066         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11067         Likewise.
11068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11069         Regenerate.
11070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11071         Regenerate.
11072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11073         Regenerate.
11074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11075         Regenerate.
11076         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11077         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11078         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11079         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11080         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11081         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11082         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11083         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11084         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11085         * sysdeps/s390/rtld-__longjmp.c: New file.
11086         * sysdeps/s390/rtld-setjmp.S: New file.
11088 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11090         [BZ #16400]
11091         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11092         Return -__logl (x) for small positive arguments without evaluating
11093         a polynomial.
11095 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11097         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11098         Rename to ...
11099         (__ptrace_peeksiginfo_args): ... this.
11100         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11101         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11102         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11104 2014-01-06  Allan McRae  <allan@archlinux.org>
11106         * inet/netinet/in.h: Fix typo in comment.
11108 2014-01-05  Andreas Jaeger  <aj@suse.de>
11110         * sysdeps/i386/fpu/libm-test-ulps: Update.
11112 2014-01-05  Allan McRae  <allan@archlinux.org>
11114         * po/libc.pot: Regenerated.
11116         * malloc/memusagestat.c: Fix gettext call formatting.
11118 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11120         * nscd/nscd.c: Improve usage() output.
11122 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11124         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11125         * sysdeps/unix/sysv/linux/configure: Regenerated.
11126         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11127         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11129 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11131         [BZ #16390]
11132         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11133         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11135 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11137         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11138         extra tokens at end of #undef directive.
11139         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11140         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11141         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11143 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11145         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11147         * math/auto-libm-test-in: Mark various tests with
11148         xfail-rounding:ldbl-128ibm.
11149         * math/auto-libm-test-out: Regenerated.
11151 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11153         [BZ #16386]
11154         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11155         numbers with subnormal high part when calculating exponent.
11157         [BZ #16385]
11158         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11159         fabs.
11161         [BZ #16384]
11162         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11163         M_LN2l.
11164         (__ieee754_acoshl): Use __log1pl not __log1p.
11166 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11168         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11169         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11170         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11171         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11172         (reused_arena, arena_get2): Convert to GNU style.
11173         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11174         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11175         (memalign_check, __malloc_set_state): Likewise.
11176         * malloc/mallocbug.c (main): Likewise.
11177         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11178         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11179         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11180         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11181         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11182         (__posix_memalign, malloc_info): Likewise.
11183         * malloc/malloc.h: Likewise.
11184         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11185         (mallochook, memalignhook, reallochook, mabort): Likewise.
11186         * malloc/mcheck.h: Likewise.
11187         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11188         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11189         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11190         * malloc/morecore.c (__default_morecore): Likewise.
11191         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11192         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11193         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11194         (print_and_abort): Likewise.
11195         * malloc/obstack.h: Likewise.
11196         * malloc/set-freeres.c (__libc_freeres): Likewise.
11197         * malloc/tst-mallocstate.c (main): Likewise.
11198         * malloc/tst-mtrace.c (main): Likewise.
11199         * malloc/tst-realloc.c (do_test): Likewise.
11201 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11203         [BZ #16366]
11204         * nscd/netgroupcache.c (do_notfound): New function.
11205         (addgetnetgrentX): Use it.
11207         [BZ # 16365]
11208         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11209         NSS_STATUS_NOTFOUND.
11211 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11213         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11216 2014-01-01  Allan McRae  <allan@archlinux.org>
11218         * scripts/update-copyrights: Update configure input file suffix.
11220         * NEWS: Update copyright year.
11221         * catgets/gencat.c: Likewise.
11222         * csu/version.c: Likewise.
11223         * debug/catchsegv.sh: Likewise.
11224         * debug/pcprofiledump.c: Likewise.
11225         * debug/xtrace.sh: Likewise.
11226         * elf/ldconfig.c: Likewise.
11227         * elf/ldd.bash.in: Likewise.
11228         * elf/pldd.c: Likewise.
11229         * elf/sotruss.ksh: Likewise.
11230         * elf/sprof.c: Likewise.
11231         * iconv/iconv_prog.c: Likewise.
11232         * iconv/iconvconfig.c: Likewise.
11233         * locale/programs/locale.c: Likewise.
11234         * locale/programs/localedef.c: Likewise.
11235         * login/programs/pt_chown.c: Likewise.
11236         * malloc/memusage.sh: Likewise.
11237         * malloc/memusagestat.c: Likewise.
11238         * malloc/mtrace.pl: Likewise.
11239         * manual/libc.texinfo: Likewise.
11240         * nscd/nscd.c: Likewise.
11241         * nss/getent.c: Likewise.
11242         * nss/makedb.c: Likewise.
11243         * posix/getconf.c: Likewise.
11244         * scripts/test-installation.pl: Likewise.
11246         * All files with FSF copyright notices: Update copyright dates
11247         using scripts/update-copyrights.
11248         * intl/plural.c: Regenerated.
11249         * locale/programs/charmap-kw.h: Likewise.
11250         * locale/programs/locfile-kw.h: Likewise.
11252 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11254         * sysdeps/unix/sysv/linux/configure: Regenerated.
11255         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11256         the linux/fanotify.h header.
11257         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11258         HAVE_LINUX_FANOTIFY_H is defined.
11260 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11262         * benchtests/cos-inputs: New inputs.
11263         * benchtests/sin-inputs: Likewise.
11265         * benchtests/atan-inputs: New inputs. Fix name of multiple
11266         precision fallback inputs.
11268         * benchtests/atanh-inputs: New inputs.
11269         * benchtests/tanh-inputs: Likewise.
11271         * benchtests/acosh-inputs: New inputs.
11272         * benchtests/asinh-inputs: Likewise.
11274         * benchtests/cosh-inputs: New inputs.
11275         * benchtests/sinh-inputs: Likewise.
11277         * benchtests/acos-inputs: Add more inputs.
11278         * benchtests/asin-inputs: Likewise.
11280 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11282         [BZ #16375]
11283         * manual/arith.texi: Fix spelling.
11284         * manual/charset.texi: Likewise.
11285         * manual/errno.texi: Likewise.
11286         * manual/filesys.texi: Likewise.
11287         * manual/lang.texi: Likewise.
11288         * manual/llio.texi: Likewise.
11289         * manual/locale.texi: Likewise.
11290         * manual/message.texi: Likewise.
11291         * manual/resource.texi: Likewise.
11292         * manual/search.texi: Likewise.
11293         * manual/setjmp.texi: Likewise.
11294         * manual/stdio.texi: Likewise.
11295         * manual/string.texi: Likewise.
11296         * manual/sysinfo.texi: Likewise.
11297         * manual/time.texi: Likewise.
11299 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11301         * po/sl.po: New file.
11303 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11305         * .gitignore: Add core/.gdbinit/.gdb_history.
11307 2013-12-27  Allan McRae  <allan@archlinux.org>
11309         [BZ #16369]
11310         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11311         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11313 2013-12-24  Brooks Moses  <bmoses@google.com>
11315         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11316         all compilers that claim C++98 compliance, not just GCC.
11317         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11318         Likewise.
11320 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11322         * NEWS: Restore accidentally deleted bug-fix entries.
11324 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11325             Ondřej Bílka  <neleai@seznam.cz>
11327         [BZ #15073]
11328         * malloc/malloc.c (_int_free): Perform sanity check only if we
11329         have_lock.
11331 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11333         [BZ #12986]
11334         * manual/stdio.texi (String Input Conversions): Clarify that character
11335         classes are not supported.
11337 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11341 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11343         [BZ #16337]
11344         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11345         Calculate results for small negative arguments directly rather
11346         than using reflection formula with special underflow handling.
11348         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11349         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11350         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11351         (fchflags): Likewise.
11352         (revoke): Likewise.
11353         (setlogin): Likewise.
11354         (sigaltstack): Likewise.
11355         (wait4): Likewise.
11356         (sigblock): Remove.
11357         (sigsetmask): Likewise.
11358         (wait3): Likewise.
11359         (waitpid): Likewise.
11360         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11361         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11362         file.
11363         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11364         * sysdeps/unix/bsd/Makefile: ... here.
11365         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11366         * sysdeps/unix/bsd/Versions: ... here.
11367         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11368         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11369         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11370         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11371         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11372         * sysdeps/unix/bsd/sigblock.c: ... here.
11373         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11374         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11375         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11376         * sysdeps/unix/bsd/sigvec.c: ... here.
11377         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11378         * sysdeps/unix/bsd/tcdrain.c: ... here.
11379         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11380         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11381         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11382         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11383         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11384         * sysdeps/unix/bsd/wait.c: ... here.
11385         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11386         * sysdeps/unix/bsd/wait3.c: ... here.
11387         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11388         * sysdeps/unix/bsd/waitpid.c: ... here.
11390 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11392         [BZ #16356]
11393         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11394         round-to-nearest for [!USE_AS_EXPM1L].
11395         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11396         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11397         more tests of exp and exp10.  Expect some exp10 tests to miss
11398         exceptions or fail in directed rounding modes.
11399         * math/auto-libm-test-out: Regenerated.
11400         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11401         (exp10_test_tonearest): New function.
11402         (exp10_towardzero_test_data): New array.
11403         (exp10_test_towardzero): New function.
11404         (exp10_downward_test_data): New array.
11405         (exp10_test_downward): New function.
11406         (exp10_upward_test_data): New array.
11407         (exp10_test_upward): New function.
11408         (main): Call the new functions.
11409         * sysdeps/i386/fpu/libm-test-ulps: Update.
11410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11412 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11414         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11415         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11416         * math/auto-libm-test-out: Regenerated.
11417         * math/libm-test.inc (acosh_test_data): Add more tests.
11418         (atanh_test_data): Likewise.
11419         (ceil_test_data): Likewise.
11420         (copysign_test_data): Likewise.
11421         * sysdeps/i386/fpu/libm-test-ulps: Update.
11422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11424         * timezone/checktab.awk: Update from tzcode 2013i.
11425         * timezone/private.h: Likewise.
11426         * timezone/scheck.c: Likewise.
11427         * timezone/tzfile.h: Likewise.
11428         * timezone/tzselect.ksh: Likewise.
11429         * timezone/zdump.c: Likewise.
11430         * timezone/zic.c: Likewise.
11432         * math/auto-libm-test-in: Add tests of cpow.
11433         * math/auto-libm-test-out: Regenerated.
11434         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11435         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11436         mpc_cc_c.
11437         (func_calc_desc): Add mpc_cc_c union field.
11438         (test_functions): Add cpow.
11439         (special_fill_2pi): New function.
11440         (special_real_inputs): Add 2pi.
11441         (calc_generic_results): Handle mpc_cc_c.
11442         * sysdeps/i386/fpu/libm-test-ulps: Update.
11443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11445         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11446         csqrt, ctan and ctanh.
11447         * math/auto-libm-test-out: Regenerated.
11448         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11449         (TEST_COND_x86): Likewise.
11450         (ccos_test_data): Use AUTO_TESTS_c_c.
11451         (ccosh_test_data): Likewise.
11452         (cexp_test_data): Likewise.
11453         (clog_test_data): Likewise.
11454         (csqrt_test_data): Likewise.
11455         (ctan_test_data): Likewise.
11456         (ctan_tonearest_test_data): Likewise.
11457         (ctan_towardzero_test_data): Likewise.
11458         (ctan_downward_test_data): Likewise.
11459         (ctan_upward_test_data): Likewise.
11460         (ctanh_test_data): Likewise.
11461         (ctanh_tonearest_test_data): Likewise.
11462         (ctanh_towardzero_test_data): Likewise.
11463         (ctanh_downward_test_data): Likewise.
11464         (ctanh_upward_test_data): Likewise.
11465         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11466         mpc_c_c.
11467         (func_calc_desc): Add mpc_c_c union field.
11468         (FUNC_mpc_c_c): New macro.
11469         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11470         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11471         ctanh.
11472         (special_fill_min_subnorm_p120): New function.
11473         (special_real_inputs): Add min_subnorm_p120.
11474         (calc_generic_results): Handle mpc_c_c.
11475         * sysdeps/i386/fpu/libm-test-ulps: Update.
11476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11478 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11480         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11481         (do_sin_slow): New functions.
11482         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11483         (cslow2, csloww1, csloww2): Use the new functions.
11485         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11486         Use M to change sign of result instead of X.  Assume X is
11487         positive.
11488         (csloww1): Likewise.
11489         (__sin): Adjust.
11490         (__cos): Adjust.
11492         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11493         arguments A and DA.
11494         (__sin): Adjust.
11495         (__cos): Likewise.
11497         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11498         (__cos): Likewise.
11499         (sloww1): Don't adjust sign of DX.
11500         (csloww1): Likewise.
11501         (sloww2): Use X directly and don't adjust sign of DX.
11502         (csloww2): Likewise.
11504 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11506         * math/auto-libm-test-in: Add tests of cabs and carg.
11507         * math/auto-libm-test-out: Regenerated.
11508         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11509         (carg_test_data): Likewise.
11510         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11511         mpc_c_f.
11512         (func_calc_desc): Add mpc_c_f union field.
11513         (test_functions): Add cabs and carg.
11514         (calc_generic_results): Handle mpc_c_f.
11516         * sysdeps/powerpc/powerpc32/libgcc-compat.S
11517         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11518         as a macro and a compat symbol.
11519         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11520         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11521         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11522         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11523         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11524         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11525         not use .hidden.
11526         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11527         Likewise.
11528         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11529         Likewise.
11530         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11531         Likewise.
11532         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11533         Likewise.
11534         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11535         Likewise.
11536         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11537         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11538         from GLIBC_2.3.2.
11540 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11544 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11546         * manual/texinfo.tex: Update to version 2013-11-26.10 with
11547         trailing whitespace removed.
11548         * scripts/config.guess: Update to version 2013-11-29.
11549         * scripts/config.sub: Update to version 2013-10-01.
11551         * math/auto-libm-test-in: Add tests of sincos.
11552         * math/auto-libm-test-out: Regenerated.
11553         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11554         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11555         mpfr_f_11.
11556         (func_calc_desc): Add mpfr_f_11 union field.
11557         (test_functions): Add sincos.
11558         (calc_generic_results): Handle mpfr_f_11.
11559         * sysdeps/i386/fpu/libm-test-ulps: Update.
11560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11562 2013-12-19  Andreas Schwab  <schwab@suse.de>
11564         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11565         CALL_MCOUNT.
11566         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11567         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11568         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11570 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
11572         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11573         * sysdeps/i386/fpu/libm-test-ulps: Update.
11574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576         [BZ #16293]
11577         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11578         round-to-nearest mode when using frndint.
11579         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11580         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11581         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11582         Likewise.
11583         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
11584         sinh test to fail.
11585         * math/auto-libm-test-out: Regenerated.
11586         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11587         (TEST_COND_x86): Likewise.
11588         (expm1_tonearest_test_data): New array.
11589         (expm1_test_tonearest): New function.
11590         (expm1_towardzero_test_data): New array.
11591         (expm1_test_towardzero): New function.
11592         (expm1_downward_test_data): New array.
11593         (expm1_test_downward): New function.
11594         (expm1_upward_test_data): New array.
11595         (expm1_test_upward): New function.
11596         (main): Run the new test functions.
11597         * sysdeps/i386/fpu/libm-test-ulps: Update.
11598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11600         * include/features.h: Update comment documenting feature test
11601         macros.  Mention _DEFAULT_SOURCE in comment.
11602         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11603         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11604         _BSD_SOURCE and _SVID_SOURCE.
11605         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11606         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11607         !_SVID_SOURCE]: Likewise.
11608         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11609         (__USE_POSIX_IMPLICITLY): Define.
11610         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11611         (_POSIX_SOURCE): Undefine and redefine.
11612         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11613         (_POSIX_C_SOURCE): Likewise.
11614         * manual/creature.texi (_DEFAULT_SOURCE): Document.
11615         (Feature Test Macros): Update documentation of default features.
11617 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11619         * benchtests/Makefile: Add bench-strtok.
11620         * benchtests/bench-strtok.c: New file: strtok benchtest.
11622 2013-12-19  Allan McRae  <allan@archlinux.org>
11624         * manual/install.texi: Suppress menu for plain text output.
11625         * INSTALL: Regenerated.
11627 2013-12-18  Brooks Moses  <bmoses@google.com>
11629         [BZ #15846]
11630         * misc/getauxval.c: Include errno.h.
11631         (__getauxval): Set errno to ENOENT if the requested type is not
11632         found.
11633         * misc/sys/auxv.h (getauxval): Document that it may set errno;
11634         don't declare with __attribute_const__.
11635         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11636         * manual/startup.texi: Document that getauxval sets errno.
11638 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11640         * math/auto-libm-test-in: Add tests of jn and yn.
11641         * math/auto-libm-test-out: Regenerated.
11642         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11643         (yn_test_data): Likewise.
11644         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11645         mpfr_if_f.
11646         (func_calc_desc): Add mpfr_if_f union field.
11647         (FUNC_mpfr_if_f): New macro.
11648         (test_functions): Add jn and yn.
11649         (calc_generic_results): Assert type of second input for
11650         mpfr_ff_f.  Handle mpfr_if_f.
11651         (output_for_one_input_case): Disable all checking for arguments
11652         fitting floating-point types in case of an integer argument.
11653         * sysdeps/i386/fpu/libm-test-ulps: Update.
11654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11657         Don't expect fegetround reference in libm.so.
11659 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11661         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11662         $(config-cflags-nofma).
11664 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11666         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11667         * math/auto-libm-test-out: Regenerated.
11669         [BZ #16338]
11670         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11671         to determine exponent and adjust argument to have exponent of -1.
11672         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11673         log2.
11674         * math/auto-libm-test-out: Regenerated.
11675         * sysdeps/i386/fpu/libm-test-ulps: Update.
11676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11678 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11680         * manual/probes.texi: Remove cases when per-thread arenas are
11681         disabled.
11683 2013-12-18  Andreas Schwab  <schwab@suse.de>
11685         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11686         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11687         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11688         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11689         * sysdeps/i386/i686/multiarch/Makefile: Update.
11690         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11692 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11694         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11695         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11697 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11699         [BZ #15968]
11700         Support TZ transition times < 00:00:00.
11701         This is needed for version-3 tz-format files; it supports time
11702         stamps past 2037 for America/Godthab (the only entry in the tz
11703         database for which this change is relevant).
11704         * manual/time.texi (TZ Variable): Document transition times
11705         from -167:59:59 through -00:00:01.
11706         * time/tzset.c (tz_rule): Time of day is now signed.
11707         (__tzset_parse_tz): Parse negative time of day.
11709         Document TZ transition times >= 25:00:00.
11710         * manual/time.texi (TZ Variable): Document transition times from
11711         25:00:00 through 167:59:59.  These are already supported, and this
11712         support will help with version-3 tz-format files.
11714         * manual/time.texi (TZ Variable): Modernize North America example
11715         to reflect current (i.e., 2007-and-later) daylight saving rules.
11717         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11719 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11721         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11722         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11723         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11724         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11725         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11726         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11727         * sysdeps/unix/bsd/clock.c: Likewise.
11728         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11729         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11730         * sysdeps/unix/bsd/init-posix.c: Likewise.
11731         * sysdeps/unix/bsd/poll.c: Likewise.
11732         * sysdeps/unix/bsd/ptsname.c: Likewise.
11733         * sysdeps/unix/bsd/seekdir.c: Likewise.
11734         * sysdeps/unix/bsd/setegid.c: Likewise.
11735         * sysdeps/unix/bsd/seteuid.c: Likewise.
11736         * sysdeps/unix/bsd/setgid.c: Likewise.
11737         * sysdeps/unix/bsd/setrgid.c: Likewise.
11738         * sysdeps/unix/bsd/setruid.c: Likewise.
11739         * sysdeps/unix/bsd/setsid.c: Likewise.
11740         * sysdeps/unix/bsd/setuid.c: Likewise.
11741         * sysdeps/unix/bsd/sigaction.c: Likewise.
11742         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11743         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11744         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11745         * sysdeps/unix/bsd/telldir.c: Likewise.
11746         * sysdeps/unix/bsd/times.c: Likewise.
11747         * sysdeps/unix/bsd/usleep.c: Likewise.
11749         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11750         ($(objpfx)libbsd-compat.a): Remove rule.
11752         * include/features.h (__FAVOR_BSD): Do not define.
11753         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11754         features conflicting with POSIX.
11755         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11756         (_BSD_SOURCE): Remove description of not being a subset of other
11757         feature test macros.
11758         * manual/job.texi (getpgrp): Do not document BSD version.
11759         (getpgid): Do not document by reference to BSD getpgrp.
11760         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11761         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11762         * signal/signal.h [__FAVOR_BSD]: Likewise.
11763         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11764         instead of making contents conditional on [__FAVOR_BSD].
11765         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11767 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11771 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11773         [BZ #16314]
11774         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11775         values below 2**-450, not 2**-500.
11776         * math/auto-libm-test-in: Don't allow spurious underflow from
11777         hypot.
11778         * math/auto-libm-test-out: Regenerated.
11780         [BZ #16316]
11781         [BZ #16330]
11782         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11783         values of ha and hb and sort them after adjusting subnormal
11784         arguments.
11785         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11786         Likewise.
11787         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11788         values of ea and eb and sort them after adjusting subnormal
11789         arguments.
11790         * math/auto-libm-test-in: Do not expect some hypot tests of
11791         subnormals to fail.  Add more hypot tests.
11792         * math/auto-libm-test-out: Regenerated.
11794 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11796         [BZ #13304]
11797         * sysdeps/sh/s_fma.c: New file.
11798         * sysdeps/sh/s_fmaf.c: New file.
11799         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11800         version.
11801         * sysdeps/sh/Implies: Add sh/soft-fp.
11803 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11805         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11806         level of indirection to members `objname', `errstring', `malloced'.
11807         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11808         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11809         it as the __longjmp argument (just pass 1 instead).
11810         (_dl_catch_error): Initialize C with argument pointers and address of
11811         volatile local ERRCODE rather than copying values out of C at return.
11813 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11815         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11816         * math/auto-libm-test-out: Regenerated.
11817         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11818         (hypot_test_data): Likewise.
11819         (pow_test_data): Likewise.
11820         (pow_tonearest_test_data): Likewise.
11821         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11822         mpfr_ff_f.
11823         (func_calc_desc): Add mpfr_ff_f union field.
11824         (FUNC_mpfr_ff_f): New macro.
11825         (test_functions): Add atan2, hypot and pow.
11826         (special_fill_min): New function.
11827         (special_fill_minus_min): Likewise.
11828         (special_fill_min_subnorm): Likewise.
11829         (special_fill_minus_min_subnorm): Likewise.
11830         (special_real_inputs): Add min, -min, min_subnorm and
11831         -min_subnorm.
11832         (calc_generic_results): Handle mpfr_ff_f.
11833         * sysdeps/i386/fpu/libm-test-ulps: Update.
11834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11836 2013-12-16  Will Newton  <will.newton@linaro.org>
11838         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11839         (Aligned Memory Blocks): Add documentation for aligned_alloc
11840         and suggest it as an alternative to posix_memalign.
11841         (Hooks for Malloc): Document __memalign_hook is also called
11842         for aligned_alloc.  (Summary of Malloc): Add summary for
11843         aligned alloc.  Document __memalign_hook is also called
11844         for aligned_alloc.
11846 2013-12-16  Will Newton  <will.newton@linaro.org>
11848         * manual/memory.texi (Malloc Examples): Clarify default
11849         alignment documentation.  Suggest posix_memalign rather
11850         than memalign or valloc.
11851         (Aligned Memory Blocks): Remove suggestion to use memalign
11852         or valloc.  Remove obsolete comment about BSD.
11853         Document memalign errno values and mark the function obsolete.
11854         Document posix_memalign returned error codes.  Mark valloc
11855         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11856         called for posix_memalign and valloc.
11857         (Summary of Malloc): Add posix_memalign to function summary.
11858         __memalign_hook is also called for posix_memalign and valloc.
11860 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11862         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11863         TAYLOR_SIN.
11864         (__sin): Adjust.
11865         (__cos): Likewise.
11866         (sloww): Use mynumber union.  Expand ternary operator into
11867         if-else statements.
11868         (cslow): use mynumber union.
11870 2013-12-16  Allan McRae  <allan@archlinux.org>
11872         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11873         * configure: Regenerated.
11875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11877         [BZ #14120]
11878         * configure.ac: Added --enable-maintainer-mode. Check for
11879         autoconf when enabled.
11880         * configure: Regenerated.
11882         * nscd/nscd.service: New file.
11883         * nscd/nscd.tmpfiles: New file.
11885 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11887         [BZ #12100]
11888         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11889         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11890         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11891         (strstr): Add __strstr_sse2_unaligned ifunc.
11892         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11893         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11894         (strcasestr): Remove __strcasestr_sse42 ifunc.
11895         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11896         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11899 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11901         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11902         * sysdeps/sh/bits/fenv.h: ... here.
11903         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11905 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11907         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11910         hypotf multiarch implementations.
11911         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11912         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11913         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11914         multiarch hypot for PPC64.
11915         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11916         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11917         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11918         multiarch hypotf for PPC64.
11920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11921         modff multiarch implementations.
11922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11925         multiarch modf for PPC64.
11926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11929         multiarch modff for PPC64.
11931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11932         and logl multiarch implementations.
11933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11936         multiarch logb for PPC64.
11937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11940         multiarch logb for PPC64.
11941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11944         multiarch logb for PPC64.
11946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11947         isinff multiarch implementation.
11948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11949         file.
11950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11952         multiarch isinf for PPC64.
11953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11954         file.
11955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11956         multiarch isinff for PPC64.
11958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11959         finitef multiarch implementation.
11960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11961         file.
11962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11964         multiarch finite for PPC64.
11965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11966         file.
11967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11968         multiarch finitef for PPC64.
11970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11971         lrint multiarch implementation.
11972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11973         file.
11974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11976         multiarch llrint for PPC64.
11977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11978         multiarch lrint for PPC64.
11980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11981         copysignf multiarch implementation.
11982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11983         file.
11984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11985         file.
11986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11987         multiarch copysign for PPC64.
11988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11989         multiarch copysignf for PPC64.
11991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11992         multiarch implementation.
11993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11994         file.
11995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11996         file.
11997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11998         file.
11999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12000         file.
12001         multiarch llround for PPC64.
12002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12003         multiarch trunc for PPC64.
12004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12005         multiarch truncf for PPC64.
12007         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12008         multiarch implementation.
12009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12010         file.
12011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12012         file.
12013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12014         file.
12015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12016         file.
12017         multiarch llround for PPC64.
12018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12019         multiarch round for PPC64.
12020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12021         multiarch roundf for PPC64.
12023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12024         multiarch implementation.
12025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12026         file.
12027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12028         file.
12029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12030         file.
12031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12032         file.
12033         multiarch llround for PPC64.
12034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12035         multiarch floor for PPC64.
12036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12037         multiarch floorf for PPC64.
12039         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12040         multiarch implementation.
12041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12042         file.
12043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12044         file.
12045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12046         file.
12047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12048         file.
12049         multiarch llround for PPC64.
12050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12051         multiarch ceil for PPC64.
12052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12053         multiarch ceilf for PPC64.
12055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12056         multiarch implementation.
12057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12058         file.
12059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12060         file.
12061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12062         file.
12063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12064         multiarch llround for PPC64.
12065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12066         multiarch lround for PPC64.
12068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12069         multiarch implementation.
12070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12073         file.
12074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12077         multiarch isnan for PPC64.
12078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12079         multiarch isnanf for PPC64.
12081         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12082         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12083         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12084         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12085         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12088         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12089         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12090         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12091         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12094         multiarch implementations.
12095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12096         (__libc_ifunc_impl_list): Likewise.
12097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12098         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12099         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12100         multiarch stpcpy for PPC64.
12102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12103         multiarch implementations.
12104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12105         (__libc_ifunc_impl_list): Likewise.
12106         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12107         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12108         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12109         multiarch strcpy for PPC64.
12111         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12112         redefine function name.
12113         (_wordcopy_fwd_dest_aligned): Likewise.
12114         (_wordcopy_bwd_aligned): Likewise.
12115         (_wordcopy_bwd_dest_aligned): Likewise.
12116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12117         multiarch implementations.
12118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12119         (__libc_ifunc_impl_list): Likewise.
12120         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12121         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12122         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12123         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12124         multiarch wcscpy for PPC64.
12126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12127         multiarch implementations.
12128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12129         (__libc_ifunc_impl_list): Likewise.
12130         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12131         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12132         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12133         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12134         multiarch wcscpy for PPC64.
12136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12137         multiarch implementations.
12138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12139         (__libc_ifunc_impl_list): Likewise.
12140         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12141         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12142         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12143         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12144         multiarch wcsrchr for PPC64.
12146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12147         multiarch implementations.
12148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12149         (__libc_ifunc_impl_list): Likewise.
12150         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12151         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12152         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12153         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12154         multiarch wcschr for PPC64.
12156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12157         multiarch implementations.
12158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12159         (__libc_ifunc_impl_list): Likewise.
12160         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12161         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12162         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12163         multiarch strchrnul for PPC64.
12165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12166         implementations.
12167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12168         (__libc_ifunc_impl_list): Likewise.
12169         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12170         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12171         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12172         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12173         strchr for PPC64.
12175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12176         implementations.
12177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12178         (__libc_ifunc_impl_list): Likewise.
12179         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12180         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12181         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12182         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12183         strncmp for PPC64.
12185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12186         multiarch implementations.
12187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12188         (__libc_ifunc_impl_list): Likewise.
12189         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12190         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12191         strncasecmp for PPC64.
12192         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12193         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12194         multiarch strncasecmp_l for PPC64.
12196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12197         multiarch implementations.
12198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12199         (__libc_ifunc_impl_list): Likewise.
12200         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12201         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12202         multiarch strcasecmp for PPC64.
12203         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12204         file.
12205         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12206         multiarch strcasecmp_l for PPC64.
12208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12209         implementations.
12210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12211         (__libc_ifunc_impl_list): Likewise.
12212         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12213         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12214         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12215         strnlen for PPC64.
12217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12218         implementations.
12219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12220         (__libc_ifunc_impl_list): Likewise.
12221         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12222         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12223         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12224         strlen for PPC64.
12226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12227         implementations.
12228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12229         (__libc_ifunc_impl_list): Likewise.
12230         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12231         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12232         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12233         rawmemrchr for PPC64.
12235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12236         implementation.
12237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12238         (__libc_ifunc_impl_list): Likewise.
12239         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12240         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12241         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12242         memrchr for PPC64.
12244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12245         implementation.
12246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12247         (__libc_ifunc_impl_list): Likewise.
12248         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12249         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12250         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12251         memchr for PPC64.
12253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12254         implementation.
12255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12256         (__libc_ifunc_impl_list): Likewise.
12257         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12258         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12259         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12260         mempcpy for PPC64.
12262         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12263         avoid cretion of __bzero symbol.
12264         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12265         Likewise.
12266         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12267         Likewise.
12268         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12269         Likewise.
12270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12271         multiarch implementations.
12272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12273         (__libc_ifunc_impl_list): Likewise.
12274         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12275         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12276         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12277         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12278         bzero for PPC32.
12279         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12280         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12281         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12282         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12283         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12284         memset for PPC64.
12285         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12287         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12289         implementations.
12290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12291         (__libc_ifunc_impl_list): Likewise.
12292         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12293         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12294         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12295         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12296         memcmp for PPC64.
12298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12299         multiarch for POWER/PPC64.
12300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12301         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12302         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12303         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12304         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12305         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12306         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12307         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12308         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12309         memcpy for PPC64.
12311         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12312         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12313         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12314         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12315         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12316         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12317         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12318         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12319         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12320         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12321         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12322         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12323         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12324         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12325         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12334 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12336         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12338 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12340         * benchtests/Makefile (bench): Add exp2 and log2.
12341         (LDLIBS-bench-exp2): Add -lm.
12342         (LDLIBS-bench-log2): Likewise.
12343         * benchtests/exp2-inputs: New inputs file.
12344         * benchtests/log2-inputs: New inputs file.
12345         * benchtests/log-inputs: Add new inputs.
12346         * benchtests/tan-inputs: Likewise.
12348 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12350         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12351         definition...
12352         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12353         (csloww2): ... from here.
12355         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12356         instead of structures.
12357         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12358         (POLYNOMIAL): Likewise.
12359         (TAYLOR_SLOW): Likewise.
12360         (__sin): Likewise.
12361         (__cos): Likewise.
12362         (slow1): Likewise.
12363         (slow2): Likewise.
12364         (sloww): Likewise.
12365         (sloww1); Likewise.
12366         (sloww2): Likewise.
12367         (bsloww1): Likewise.
12368         (bsloww2): Likewise.
12369         (cslow2): Likewise.
12370         (csloww): Likewise.
12371         (csloww1): Likewise.
12372         (csloww2): Likewise.
12374 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12376         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12377         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12378         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12379         * malloc/hooks.c (realloc_check): Likewise.
12381         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12382         * malloc/arena.c: Remove PER_THREAD conditional.
12383         [!PER_THREAD]: Remove code.
12384         (ptmalloc_unlock_all2): Likewise.
12385         (ptmalloc_init): Likewise.
12386         (_int_new_arena): Likewise.
12387         (arena_get2): Likewise.
12388         * malloc/hooks.c (__malloc_get_state): Likewise.
12389         (__malloc_set_state): Likewise.
12390         * malloc/malloc.c: Likewise.
12391         (struct malloc_state): Likewise.
12392         (struct malloc_par): Likewise.
12393         (__libc_realloc): Likewise.
12394         (__libc_mallopt): Likewise.
12396 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12398         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12400 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12402         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12403         macro to a function.  Check for zero perturb_byte.
12404         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12406         * malloc/malloc.c: (force_reg): Remove.
12407         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12408         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12409         force_reg by atomic_forced_read.
12410         * malloc/arena.c (ptmalloc_init): Likewise.
12411         * malloc/hooks.c (top_check): Likewise.
12413 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12417 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12421 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12423         * math/auto-libm-test-in: Add tests of lgamma.
12424         * math/auto-libm-test-out: Regenerated.
12425         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12426         (M_LOG_2_SQRT_PIl): Likewise.
12427         (lgamma_test_data): Use AUTO_TESTS_f_f1.
12428         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12429         mpfr_f_f1.
12430         (func_calc_desc): Add mpfr_f_f1 union field.
12431         (ARGS1): New macro.
12432         (ARGS2): Likewise.
12433         (ARGS3): Likewise.
12434         (ARGS4): Likewise.
12435         (RET1): Likewise.
12436         (RET2): Likewise.
12437         (CALC): Likewise.
12438         (FUNC): Likewise.
12439         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12440         (test_functions): Add lgamma.
12441         (calc_generic_results): Handle mpfr_f_f1.
12442         * sysdeps/i386/fpu/libm-test-ulps: Update.
12443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12445 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12447         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12448         __mpn_add_n for PowerPC64/POWER7.
12449         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12450         __mpn_sub_n for PowerPC64/POWER7.
12452         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12453         __mpn_addmul_1 for PowerPC64.
12454         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12455         __mpn_submul_1 for PowerPC64.
12456         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12457         for PowerPC64.
12458         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12459         for PowerPC64.
12461 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
12463         [BZ #15089]
12464         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12466 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12468         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12470         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12471         add multiarch folders.
12472         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12473         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12474         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12475         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12476         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12477         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12478         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12479         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12480         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12481         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12482         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12491         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12493         New file.
12494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12495         New file.
12496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12497         multiarch __ieee754_hypot for PowerPC32.
12498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12499         New file.
12500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12501         New file.
12502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12503         multiarch __ieee754_hypotf for PowerPC32.
12505         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12506         long_double_symbol only if __logbl is defined.
12507         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12508         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12509         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12510         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12511         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12512         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12513         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12514         path for implementation.
12515         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12516         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12518         logb, and logbl multiarch implementations for PowerPC32.
12519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12520         file.
12521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12522         file.
12523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12524         multiarch logb for PowerPC32.
12525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12526         file.
12527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12528         file.
12529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12530         multiarch logbf for PowerPC32.
12531         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12533         file.
12534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12535         multiarch logbl implementation for PowerPC32.
12537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12538         and modff multiarch implementations.
12539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12540         New file.
12541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12542         New file.
12543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12544         multiarch modf for PowerPC32.
12545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12546         New file.
12547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12548         New file.
12549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12550         multiarch modff for PowerPC32.
12552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12553         and lrintf multiarch implementations.
12554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12555         New file.
12556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12557         New file.
12558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12559         multiarch lrint for PowerPC32.
12560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12561         file: multiarch lrintf for PowerPC32.
12563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12564         and lroundf multiarch implementations.
12565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12566         New file.
12567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12568         New file.
12569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12570         New file.
12571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12572         multiarch lround for PowerPC32.
12573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12574         file: multiarch lroundf for PowerPC32.
12576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12577         copysign and copysignf multiarch implementations.
12578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12579         New file.
12580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12581         New file.
12582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12583         file: multiarch copysign for PowerPC32.
12584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12585         file: multiarch copysignf for PowerPC32.
12587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12588         and truncf multiarch implementations.
12589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12590         New file.
12591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12592         file.
12593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12594         multiarch trunc for PowerPC32.
12595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12596         New file.
12597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12598         New file.
12599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12600         multiarch truncf for PowerPC32.
12602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12603         and roundf multiarch implementations.
12604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12605         New file.
12606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12607         file.
12608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12609         multiarch round for PowerPC32.
12610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12611         New file.
12612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12613         New file.
12614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12615         multiarch roundf for PowerPC32.
12617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12618         and floorf multiarch implementations.
12619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12620         New file.
12621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12622         file.
12623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12624         multiarch floor for PowerPC32.
12625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12626         New file.
12627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12628         New file.
12629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12630         multiarch floorf for PowerPC32.
12632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12633         and ceilf multiarch implementations.
12634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12635         New file.
12636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12637         file.
12638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12639         multiarch ceil for PowerPC32.
12640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12641         New file.
12642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12643         file.
12644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12645         multiarch ceilf for PowerPC32.
12647         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12648         is defined.
12649         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12650         FINITEF is defined.
12651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12652         and finitef multiarch implementations.
12653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12654         New file.
12655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12656         file.
12657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12658         multiarch finite for PowerPC32.
12659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12660         New file.
12661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12662         file: multiarch finitef for PowerPC32.
12664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12665         and isinff multiarch implementations.
12666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12667         file.
12668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12669         file.
12670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12671         multiarch isinf for PowerPC32.
12672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12673         New file.
12674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12675         multiarch isinff for PowerPC32.
12677         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12678         alias when __isnan is defined.
12679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12680         and isnanf multiarch implementations.
12681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12682         file.
12683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12684         file.
12685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12686         file.
12687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12688         file.
12689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12690         multiarch isnan for PowerPC32.
12691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12692         New file.
12693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12694         New file.
12695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12696         multiarch isnanf for PowerPC32.
12698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12699         and sqrtf multiarch implementations.
12700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12701         file.
12702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12703         file.
12704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12705         multiarch sqrt for PowerPC32.
12706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12707         file.
12708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12709         file.
12710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12711         multiarch sqrtf for PowerPC32.
12713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12714         and llroundf multiarch implementations.
12715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12716         New file.
12717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12718         New file.
12719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12720         New file.
12721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12722         file: multiarch llround for PowerPC32.
12723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12724         file: multiarch llroundf for PowerPC32.
12726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12727         multiarch PowerPC32 fpu implementations.
12728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12729         New file.
12730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12731         New file.
12732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12733         multiarch llrint for PowerPC32.
12734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12735         New file.
12736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12737         New file.
12738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12739         file.
12741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12743         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12744         file.
12745         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12746         file.
12747         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12748         file.
12749         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12750         multiarch wordcopy for PPC32.
12751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12752         wordcopy objects.
12753         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12754         (__libc_ifunc_impl_list): Likewise.
12755         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12756         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12757         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12758         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12759         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12760         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12762         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12764         file.
12765         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12766         file.
12767         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12768         file.
12769         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12770         multiarch wcscpy for PPC32.
12771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12772         multiarch objects.
12773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12774         (__libc_ifunc_impl_list): Likewise.
12775         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12776         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12777         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12778         sysdeps/powerpc/power6/wcscpy.c.
12780         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12781         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12782         file.
12783         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12784         file.
12785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12786         file.
12787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12788         multiarch wcsrchr for PPC32.
12789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12790         multiarch objects.
12791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12792         (__libc_ifunc_impl_list): Likewise.
12793         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12794         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12795         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12796         sysdeps/powerpc/power6/wcsrchr.c.
12798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12799         file.
12800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12801         file.
12802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12803         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12804         multiarch wcschr for PPc32.
12805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12806         multiarch objects.
12807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12808         (__libc_ifunc_impl_list): Likewise.
12809         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12810         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12811         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12812         sysdeps/powerpc/power6/wcschr.c.
12814         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12815         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12816         file.
12817         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12818         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12819         file: multiarch strchr for PPC32.
12820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12821         multiarch objects.
12822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12823         (__libc_ifunc_impl_list): Likewise.
12825         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12826         name.
12827         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12828         file.
12829         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12830         file.
12831         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12832         multiarch strchrnul for PPC32.
12833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12834         multiarch objects.
12835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12836         (__libc_ifunc_impl_list): Likewise.
12838         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12839         file.
12840         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12841         multiarch strncasecmp for PPC32.
12842         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12843         file.
12844         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12845         multiarch strncasecmp_l for PPC32.
12846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12847         strncasecmp multiarch objects.
12848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12849         (__libc_ifunc_impl_list): Likewise.
12851         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12852         file.
12853         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12854         multiarch strncasecmp for PPC32.
12855         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12856         New file.
12857         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12858         multiarch strcasecmp_l for PPC32.
12859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12860         multiarch objects.
12861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12862         (__libc_ifunc_impl_list): Likewise.
12864         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12865         file.
12866         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12867         file.
12868         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12869         multiarch strncmp for PPC32.
12870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12871         multiarch objects.
12872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12873         (__libc_ifunc_impl_list): Likewise.
12875         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12876         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12877         file.
12878         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12879         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12881         multiarch objects.
12882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12883         (__libc_ifunc_impl_list): Likewise.
12885         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12886         file.
12887         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12888         file.
12889         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12891         multiarch objects.
12892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12893         (__libc_ifunc_impl_list): Likewise.
12895         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12896         file.
12897         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12898         file.
12899         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12900         multiarch rawmemchr for PPC32.
12901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12902         multiarch objects.
12903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12904         (__libc_ifunc_impl_list): Likewise.
12906         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12907         file.
12908         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12909         file.
12910         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12911         file: memrchr multiarch for PPC32.
12912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12913         multiarch objects.
12914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12915         (__libc_ifunc_impl_list): Likewise.
12917         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12918         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12919         file.
12920         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12921         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12922         multiarch memchr for PPC32.
12923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12924         multiarch objects.
12925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12926         (__libc_ifunc_impl_list): Likewise.
12928         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12929         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12930         file.
12931         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12932         file.
12933         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12934         file: multiarch mempcpy for PPC32.
12935         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12936         multiarch objects.
12937         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12938         (__libc_ifunc_impl_list): Likewise.
12940         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12941         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12942         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12943         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12944         multiarch bzero for PPC32.
12945         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12946         file.
12947         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12948         file.
12949         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12950         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12951         file: multiarch memset for PPC32.
12952         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12954         memset multiarch objects.
12955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12956         (__libc_ifunc_impl_list): Likewise.
12958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12959         file.
12960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12961         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12962         memcmp for PPC32.
12963         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12965         multiarch objects.
12966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12967         (__libc_ifunc_impl_list): Likewise.
12969         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12970         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12971         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12972         file.
12973         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12974         file.
12975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12976         file.
12977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12978         multiarch memcpy for PPC32.
12979         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12980         multiarch objects.
12981         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12982         (__libc_ifunc_impl_list): Likewise.
12984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12985         support multiarch for POWER/PPC32.
12986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12987         Likewise.
12988         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12990         Implies file to make multiarch folder appers before the fpu and
12991         default folder for power4 configuration.
12993 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12995         * scripts/bench.pl: Append volatile keyword to type.
12997 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12999         * sysdeps/sh/sotruss-lib.c: New file.
13000         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13002 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13006 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13008         [BZ #6810]
13009         * math/w_tgamma.c: Include <errno.h>.
13010         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13011         * math/w_tgammaf.c: Include <errno.h>.
13012         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13013         * math/w_tgammal.c: Include <errno.h>.
13014         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13015         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13016         underflow.  Add more tgamma tests.
13017         * math/auto-libm-test-out: Regenerated.
13018         * sysdeps/i386/fpu/libm-test-ulps: Update.
13019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13021         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13022         sin, sinh, tan, tanh, tgamma, y0 and y1.
13023         * math/auto-libm-test-out: Regenerated.
13024         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13025         (TEST_COND_x86): Likewise.
13026         (M_E2l): Remove macro.
13027         (M_E3l): Likewise.
13028         (M_2_SQRT_PIl): Likewise.
13029         (M_SQRT_PIl): Likewise.
13030         (M_1_DIV_El): Likewise.
13031         (log_test_data): Use AUTO_TESTS_f_f.
13032         (log10_test_data): Likewise.
13033         (log1p_test_data): Likewise.
13034         (log2_test_data): Likewise.
13035         (sin_test_data): Likewise.
13036         (sin_tonearest_test_data): Likewise.
13037         (sin_towardzero_test_data): Likewise.
13038         (sin_downward_test_data): Likewise.
13039         (sin_upward_test_data): Likewise.
13040         (sinh_test_data): Likewise.
13041         (sinh_tonearest_test_data): Likewise.
13042         (sinh_towardzero_test_data): Likewise.
13043         (sinh_downward_test_data): Likewise.
13044         (sinh_upward_test_data): Likewise.
13045         (tan_test_data): Likewise.
13046         (tan_tonearest_test_data): Likewise.
13047         (tan_towardzero_test_data): Likewise.
13048         (tan_downward_test_data): Likewise.
13049         (tan_upward_test_data): Likewise.
13050         (tanh_test_data): Likewise.
13051         (tgamma_test_data): Likewise.
13052         (y0_test_data): Likewise.
13053         (y1_test_data): Likewise.
13054         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13055         (special_real_inputs): Add pi/4.
13056         * sysdeps/i386/fpu/libm-test-ulps: Update.
13057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13059 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13061         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13062         "longjmp_target" static probes.
13063         (__longjmp): Rename to __longjmp_symbol.
13064         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13065         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13066         on which longjmp to generate.
13067         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13068         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13069         probe.
13070         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13071         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13072         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13073         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13074         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13075         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13077         __longjmp_symbol based on which __longjmp to generate.
13078         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13079         probe.
13080         (setjmp): Rename to setjmp_symbol.
13081         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13082         (_setjmp): Rename to _setjmp_symbol.
13083         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13084         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13085         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13086         which setjmp to generate.
13087         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13088         "longjmp_target" static probes.
13090 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13092         * benchtests/README: Add note about output arguments.
13093         * benchtests/bench-sincos.c: Remove file.
13094         * benchtests/sincos-inputs: New file.
13095         * scripts/bench.pl: Identify output arguments and define
13096         static variables for them.
13098         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13100         [BZ #15941]
13101         * Makefile (INSTALL): Add install-plain.texi as the primary
13102         dependency.
13103         * manual/install-plain.texi: New file.
13104         * manual/install.texi: Include node directive only for
13105         non-plaintext output.
13107 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13109         * stdlib/longlong.h: Update from GCC.
13111         [BZ #6807]
13112         [BZ #15901]
13113         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13114         * math/w_j0f.c (y0f): Likewise.
13115         * math/w_j0l.c (__y0l): Likewise.
13116         * math/w_j1.c (y1): Likewise.
13117         * math/w_j1f.c (y1f): Likewise.
13118         * math/w_j1l.c (__y1l): Likewise
13119         * math/w_jn.c (yn): Likewise.
13120         * math/w_jnf.c (ynf): Likewise.
13121         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13122         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13123         value for Bessel function domain errors outside _SVID_ mode.
13124         Adjust sign of return value for yn (negative integer, 0).
13125         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13126         by zero in return for negative x and set sign appropriately for
13127         negative n.
13128         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13129         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13130         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13131         expectations in error cases.
13132         (y1_test_data): Likewise.
13133         (yn_test_data): Likewise.
13134         * sysdeps/i386/fpu/libm-test-ulps: Update.
13135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13137 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13139         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13140         "64" to "64-v1".  Add "64-v2".
13141         (abi-64-options): Rename to ...
13142         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13143         (abi-64-condition): Rename to ...
13144         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13145         (abi-64-ld-soname): Rename to ...
13146         (abi-64-v1-ld-soname): ... this.
13147         (abi-64-v2-options): Define.
13148         (abi-64-v2-condition): Likewise.
13149         (abi-64-v2-ld-soname): Likewise.
13150         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13151         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13156 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13157             Alan Modra  <amodra@gmail.com>
13159         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13160         New versions for use with the ELFv2 ABI.
13161         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13162         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13163         declaration.
13164         (struct La_ppc64v2_retval): Likewise.
13165         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13166         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13167         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13168         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13169         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13170         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13171         Do not save or restore CR.
13172         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13173         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13174         return values for ELFv2 ABI.  Fix location of FPR return registers.
13175         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13176         updated values for _CALL_ELF == 2.
13177         (La_regs, La_retval, int_retval): Likewise.
13179 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13181         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13182         (FRAME_MIN_SIZE_PARM): Likewise.
13183         (FRAME_BACKCHAIN): Likewise.
13184         (FRAME_CR_SAVE): Likewise.
13185         (FRAME_LR_SAVE): Likewise.
13186         (FRAME_TOC_SAVE): Likewise.
13187         (FRAME_PARM_SAVE): Likewise.
13188         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13189         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13190         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13191         (call_mcount_parm_offset): New macro.
13192         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13193         (PROF): Use symbolic stack frame offsets.
13194         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13195         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13196         Redefine in terms of FRAME_MIN_SIZE.
13197         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13198         (_dl_profile_resolve): Likewise.  Update comment.
13199         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13200         symbols stack frame offsets.
13201         (__sigsetjmp): Likewise.
13202         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13203         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13204         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13205         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13208         (FRAME_BACKCHAIN): Remove.
13209         (FRAME_CR_SAVE): Likewise.
13210         (FRAME_LR_SAVE): Likewise.
13211         (FRAME_COMPILER_DW): Likewise.
13212         (FRAME_LINKER_DW): Likewise.
13213         (FRAME_TOC_SAVE): Likewise.
13214         (FRAME_PARM_SAVE): Likewise.
13215         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13216         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13217         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13219         (CHECK_SP): Use symbolic stack frame offsets.
13220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13221         zone" instead of caller's parameter save area for temp storage.
13222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13223         Likewise.  Also, use symbolic stack frame offsets.
13224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13225         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13226         our own stack frame instead of the caller's.
13227         (__socket): Use symbolic stack frame offsets.
13229 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13230             Alan Modra  <amodra@gmail.com>
13232         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13233         Define.
13234         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13235         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13236         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13237         New function.
13238         (elf_machine_fixup_plt): Call it.
13239         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13240         reloc arguments.
13241         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13242         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13243         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13244         r2 before calling target.
13246 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13247             Alan Modra  <amodra@gmail.com>
13249         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13250         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13251         versions of macros to support ELFv2 ABI.
13252         (LOCALENTRY): New macro.
13253         (ENTRY, EALIGN): Use it.
13254         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13255         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13256         fall through into ENTRY entry point.
13257         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13258         Only define if _CALL_ELF != 2.
13260         (elf_machine_matches_host): Verify ABI version matches.
13261         (RTLD_START): Use LOCALENTRY.
13262         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13263         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13264         (PLT_ENTRY_WORDS): New macro.
13265         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13266         (elf_machine_runtime_setup): Support ELFv2 ABI.
13267         (elf_machine_fixup_plt): Likewise.
13268         (elf_machine_plt_conflict): Likewise.
13269         (resolve_ifunc): Likewise.
13270         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13271         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13272         Likewise.
13273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13274         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13276         (makecontext): Support ELFv2 ABI.
13277         * elf/elf.h (EF_PPC64_ABI): Define.
13279 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13281         * sysdeps/powerpc/powerpc64/sysdep.h
13282         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13283         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13284         (ENTRY) [ASSEMBLER]: ... but instead here ...
13285         (EALIGN) [ASSEMBLER]: ... and here.
13286         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13287         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13288         (ENTRY_2) [!ASSEMBLER]: Use it.
13289         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13290         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13291         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13292         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13293         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13295         Use PPC64_LOAD_FUNCPTR.
13297         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13299 2013-12-04  Alan Modra  <amodra@gmail.com>
13301         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13302         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13303         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13304         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13306         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13307         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13308         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13309         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13310         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13311         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13313 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13316         (__makecontext): Fix incorrect CFI when backtracing out of
13317         context created via makecontext.
13318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13319         (__setcontext): Fix incorrect CFI during switch to new context.
13320         (__novec_setcontext): Likewise.
13322 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13324         [BZ #4772]
13325         * time/strptime_l.c (__strptime_internal): Allow modifiers
13326         in strptime.
13327         * time/tst-strptime.c (day_tests): Add testcase.
13329 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13331         * scripts/bench.pl: Skip over blank lines.
13333 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13335         [BZ #926]
13336         * manual/time.texi (Calendar Time): Clarify what timezone functions
13337         use.
13339 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13343 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13345         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13346         implementation.
13347         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13348         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13349         * debug/memset_chk.c (__memset_chk): Likewise.
13350         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13351         * debug/strncpy_chk.c: Likewise.
13353 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13355         [BZ #15268]
13356         [BZ #15425]
13357         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13358         (__ieee754_exp): For possibly underflowing results, check size of
13359         result and force underflow exception if required.
13360         * math/auto-libm-test-in: Add more tests of exp.
13361         * math/auto-libm-test-out: Regenerated.
13362         * sysdeps/i386/fpu/libm-test-ulps: Update.
13363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13365         [BZ #16283]
13366         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13367         * math/w_exp2f.c (__exp2f): Likewise.
13368         * math/w_exp2l.c (__exp2l): Likewise.
13369         * math/auto-libm-test-in: Do not allow missing errno on exp2
13370         underflow.
13371         * math/auto-libm-test-out: Regenerated.
13373 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13375         [BZ #16274]
13376         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13377         handle filename validation.
13378         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13379         (do_open): Delete.
13381 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13383         [BZ #6786]
13384         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13385         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13386         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13387         <float.h>.
13388         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13389         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13390         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13391         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13392         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13393         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13394         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13395         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13396         Add more erfc tests.
13397         * math/auto-libm-test-out: Regenerated.
13398         * sysdeps/i386/fpu/libm-test-ulps: Update.
13399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13401         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13402         exp2, expm1, j0 and j1.
13403         * math/auto-libm-test-out: Regenerated.
13404         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13405         (erfc_test_data): Likewise.
13406         (exp_test_data): Likewise.
13407         (exp_tonearest_test_data): Likewise.
13408         (exp_towardzero_test_data): Likewise.
13409         (exp_downward_test_data): Likewise.
13410         (exp_upward_test_data): Likewise.
13411         (exp10_test_data): Likewise.
13412         (exp2_test_data): Likewise.
13413         (expm1_test_data): Likewise.
13414         (j0_test_data): Likewise.
13415         (j1_test_data): Likewise.
13416         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13417         (input_flag_type): Add flag_xfail_rounding.
13418         (input_flags): Add xfail-rounding.
13419         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13420         (output_for_one_input_case): Handle flag_xfail_rounding.
13421         * sysdeps/i386/fpu/libm-test-ulps: Update.
13422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13424 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
13426         [BZ #16289]
13427         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13428         division by 0.
13430 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13432         [BZ #16195]
13433         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13434         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13435         (STAP_PROBE0): New macro.
13436         (STAP_PROBE1): Likewise.
13437         (STAP_PROBE2): Likewise.
13438         (STAP_PROBE3): Likewise.
13439         (STAP_PROBE4): Likewise.
13441 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
13443         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13445 2013-12-02  Steve Ellcey  <sellcey@mips.com>
13447         * benchtests/Makefile (bench): Add sqrt.
13448         (LDLIBS-bench-sqrt): New.
13449         * benchtests/sqrt-input: New.
13451 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
13453         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13454         (GAIH_EAI): Likewise.
13455         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13456         (gaih_inet): Likewise.
13457         (getaddrinfo): Don't use GAIH_EAI.
13459         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13460         (struct gaih): Remove definition.
13462 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13464         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13465         Use HERRNOP directly.
13467 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13471 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
13473         * math/gen-auto-libm-tests.c (test_functions): Add more
13474         single-argument functions.
13475         (special_fill_pi_2): New function.
13476         (special_fill_minus_pi_2): Likewise.
13477         (special_fill_pi_6): Likewise.
13478         (special_fill_minus_pi_6): Likewise.
13479         (special_fill_pi_3): Likewise.
13480         (special_fill_2pi_3): Likewise.
13481         (special_fill_e): Likewise.
13482         (special_fill_1_e): Likewise.
13483         (special_fill_e_minus_1): Likewise.
13484         (special_real_inputs): Add more special inputs.
13485         (output_for_one_input_case): Do not require ERANGE on underflow to
13486         zero if round-to-nearest result does not underflow to zero, unless
13487         exact results required.
13488         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13489         atan, atanh, cbrt, cos and cosh.
13490         * math/auto-libm-test-out: Regenerated.
13491         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13492         (acos_tonearest_test_data): Likewise.
13493         (acos_towardzero_test_data): Likewise.
13494         (acos_downward_test_data): Likewise.
13495         (acos_upward_test_data): Likewise.
13496         (acosh_test_data): Likewise.
13497         (asin_test_data): Likewise.
13498         (asin_tonearest_test_data): Likewise.
13499         (asin_towardzero_test_data): Likewise.
13500         (asin_upward_test_data): Likewise.
13501         (asinh_test_data): Likewise.
13502         (atan_test_data): Likewise.
13503         (atanh_test_data): Likewise.
13504         (cbrt_test_data): Likewise.
13505         (cos_test_data): Likewise.
13506         (cos_tonearest_test_data): Likewise.
13507         (cos_towardzero_test_data): Likewise.
13508         (cos_downward_test_data): Likewise.
13509         (cos_upward_test_data): Likewise.
13510         (cosh_test_data): Likewise.
13511         (cosh_tonearest_test_data): Likewise.
13512         (cosh_towardzero_test_data): Likewise.
13513         (cosh_downward_test_data): Likewise.
13514         (cosh_upward_test_data): Likewise.
13515         * sysdeps/i386/fpu/libm-test-ulps: Update.
13516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13518 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
13520         [BZ #6787]
13521         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13522         * math/w_exp10f.c (__exp10f): Likewise.
13523         * math/w_exp10l.c (__exp10l): Likewise.
13524         * math/libm-test.inc (exp10_test_data): Add more tests and expect
13525         errno settings in existing tests.
13527         [BZ #14032]
13528         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13529         precision control set to double precision.
13530         * sysdeps/i386/fpu/w_sqrt.c: New file.
13531         * math/auto-libm-test-in: Add more tests.
13532         * math/auto-libm-test-out: Update.
13534         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13535         (sqrt_test_tonearest): New function.
13536         (sqrt_towardzero_test_data): New variable.
13537         (sqrt_test_towardzero): New function.
13538         (sqrt_downward_test_data): New variable.
13539         (sqrt_test_downward): New function.
13540         (sqrt_upward_test_data): New variable.
13541         (sqrt_test_upward): New function.
13542         (main): Call the new functions.
13544         * math/gen-auto-libm-tests.c: New file.
13545         * math/auto-libm-test-in: Likewise.
13546         * math/auto-libm-test-out: New generated file.
13547         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13548         variables.
13549         (%beautify): Add generated representations of zero.
13550         (top level): Set $auto_input and call parse_auto_input.
13551         (beautify): Remove trailing "f" from hex float constants.
13552         (parse_args): Handle XFAIL_TEST.
13553         (convert_condition): New function.
13554         (or_value): Likewise.
13555         (or_cond_value): Likewise.
13556         (generate_testfile): Handle AUTO_TESTS_* lines.
13557         (parse_auto_input): New function.
13558         * math/libm-test.inc (XFAIL_TEST): New macro.
13559         (ERRNO_UNCHANGED): Update value.
13560         (ERRNO_EDOM): Likewise.
13561         (ERRNO_ERANGE): Likewise.
13562         (IGNORE_RESULT): Likewise.
13563         (TEST_COND_flt_32): New macro.
13564         (TEST_COND_dbl_64): Likewise.
13565         (TEST_COND_ldbl_96_intel): Likewise.
13566         (TEST_COND_ldbl_96_m68k): Likewise.
13567         (TEST_COND_ldbl_128): Likewise.
13568         (TEST_COND_ldbl_128ibm): Likewise.
13569         (TEST_COND_long32): Likewise.
13570         (TEST_COND_long64): Likewise.
13571         (TEST_COND_before_rounding): Likewise.
13572         (TEST_COND_after_rounding): Likewise.
13573         (enable_test): Handle XFAIL_TEST flag.
13574         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13575         with finite results.
13576         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13577         auto-libm-test-out.
13579 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13580             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13582         [BZ #16214]
13583         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13584         __tls_get_addr_internal instead of __tls_get_offset in order to
13585         avoid GOT pointer dependency.  Make rtld export
13586         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13587         __tls_get_addr since we are a __tls_get_offset platform.
13588         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13589         GOT pointer being set up before.
13590         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13592 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
13594         * manual/math.texi (Errors in Math Functions): Document accuracy
13595         goals.
13597         [BZ #15004]
13598         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13599         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13600         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13601         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13602         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13603         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13604         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13605         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13606         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13607         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13608         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13609         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13610         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13611         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13612         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13613         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13615         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13616         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13617         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13618         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13619         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13620         Likewise.
13621         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13622         Likewise.
13623         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13624         Likewise.
13625         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13626         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13627         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13628         atomic-feupdateenv and flt-rounds.
13629         * sysdeps/powerpc/nofpu/Versions (libc): Add
13630         __atomic_feholdexcept, __atomic_feclearexcept,
13631         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13632         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13633         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13634         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13635         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13636         here.
13637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13638         Update.
13640         * manual/arith.texi (FP Exceptions): Document that exceptions may
13641         not be raised when matherr is used.
13642         (Math Error Reporting): Document overflow in directed rounding
13643         modes.  Document that errno may not be set when finite values are
13644         returned on overflow.  Document intent to set errno on underflow
13645         only for underflow to zero.
13647         [BZ #16271]
13648         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13649         round-to-nearest then adjust result for other rounding modes.
13650         * include/fenv.h (fegetround): Use libm_hidden_proto.
13651         * math/fegetround.c (fegetround): Use libm_hidden_def.
13652         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13653         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13654         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13656         Likewise.
13657         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13658         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13659         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13660         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13662 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13664         [BZ #16077]
13665         * nss/Versions (libnss_files): Add
13666         _nss_files_gethostbyname3_r.
13667         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13668         New function.
13669         (HOST_DB_LOOKUP): Remove macro.
13670         (_nss_files_gethostbyname_r): Implement function without the
13671         HOST_DB_LOOKUP macro.
13672         (_nss_files_gethostbyname2_r): Likewise.
13674 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13676         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13678 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13680         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13681         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13682         warning.
13684 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13686         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13687         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13688         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13689         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13690         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13691         __fe_nomask_env_priv and attribute_hidden.
13692         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13693         (libc_feupdateenv_test_ppc): Likewise.
13694         (libc_feresetround_ppc): Likewise.
13695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13696         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13697         compat_symbol macro.
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13699         (__fe_nomask_env): Likewise.
13700         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13702 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13704         * string/Makefile: Remove ifunc tests.
13705         * string/test-string.h: Define TEST_IFUNC.
13706         * string/test-bcopy-ifunc.c: Remove.
13707         * string/test-bzero-ifunc.c: Likewise.
13708         * string/test-memccpy-ifunc.c: Likewise.
13709         * string/test-memchr-ifunc.c: Likewise.
13710         * string/test-memcmp-ifunc.c: Likewise.
13711         * string/test-memcpy-ifunc.c: Likewise.
13712         * string/test-memmem-ifunc.c: Likewise.
13713         * string/test-memmove-ifunc.c: Likewise.
13714         * string/test-mempcpy-ifunc.c: Likewise.
13715         * string/test-memrchr-ifunc.c: Likewise.
13716         * string/test-memset-ifunc.c: Likewise.
13717         * string/test-rawmemchr-ifunc.c: Likewise.
13718         * string/test-stpcpy-ifunc.c: Likewise.
13719         * string/test-stpncpy-ifunc.c: Likewise.
13720         * string/test-strcasecmp-ifunc.c: Likewise.
13721         * string/test-strcasestr-ifunc.c: Likewise.
13722         * string/test-strcat-ifunc.c: Likewise.
13723         * string/test-strchr-ifunc.c: Likewise.
13724         * string/test-strchrnul-ifunc.c: Likewise.
13725         * string/test-strcmp-ifunc.c: Likewise.
13726         * string/test-strcpy-ifunc.c: Likewise.
13727         * string/test-strcspn-ifunc.c: Likewise.
13728         * string/test-strlen-ifunc.c: Likewise.
13729         * string/test-strncasecmp-ifunc.c: Likewise.
13730         * string/test-strncat-ifunc.c: Likewise.
13731         * string/test-strncmp-ifunc.c: Likewise.
13732         * string/test-strncpy-ifunc.c: Likewise.
13733         * string/test-strnlen-ifunc.c: Likewise.
13734         * string/test-strpbrk-ifunc.c: Likewise.
13735         * string/test-strrchr-ifunc.c: Likewise.
13736         * string/test-strspn-ifunc.c: Likewise.
13737         * string/test-strstr-ifunc.c: Likewise.
13739 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13741         * benchtests/Makefile: Remove ifunc tests.
13742         * benchtests/bench-string.h: Define TEST_IFUNC.
13743         * benchtests/bench-bcopy-ifunc.c: Remove.
13744         * benchtests/bench-bzero-ifunc.c: Likewise.
13745         * benchtests/bench-memccpy-ifunc.c: Likewise.
13746         * benchtests/bench-memchr-ifunc.c: Likewise.
13747         * benchtests/bench-memcmp-ifunc.c: Likewise.
13748         * benchtests/bench-memcpy-ifunc.c: Likewise.
13749         * benchtests/bench-memmem-ifunc.c: Likewise.
13750         * benchtests/bench-memmove-ifunc.c: Likewise.
13751         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13752         * benchtests/bench-memrchr-ifunc.c: Likewise.
13753         * benchtests/bench-memset-ifunc.c: Likewise.
13754         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13755         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13756         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13757         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13758         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13759         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13760         * benchtests/bench-strcat-ifunc.c: Likewise.
13761         * benchtests/bench-strchr-ifunc.c: Likewise.
13762         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13763         * benchtests/bench-strcmp-ifunc.c: Likewise.
13764         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13765         * benchtests/bench-strcpy-ifunc.c: Likewise.
13766         * benchtests/bench-strcspn-ifunc.c: Likewise.
13767         * benchtests/bench-strlen-ifunc.c: Likewise.
13768         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13769         * benchtests/bench-strncat-ifunc.c: Likewise.
13770         * benchtests/bench-strncmp-ifunc.c: Likewise.
13771         * benchtests/bench-strncpy-ifunc.c: Likewise.
13772         * benchtests/bench-strnlen-ifunc.c: Likewise.
13773         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13774         * benchtests/bench-strrchr-ifunc.c: Likewise.
13775         * benchtests/bench-strsep-ifunc.c: Likewise.
13776         * benchtests/bench-strspn-ifunc.c: Likewise.
13777         * benchtests/bench-strstr-ifunc.c: Likewise.
13779 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13781         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13783 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13785         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13786         * rt/aio.h: Likewise.
13787         * sysdeps/gnu/bits/utmp.h: Likewise.
13788         * sysdeps/gnu/bits/utmpx.h: Likewise.
13789         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13790         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13791         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13792         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13793         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13794         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13795         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13796         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13797         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13798         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13799         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13800         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13801         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13803         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13804         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13805         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13806         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13807         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13808         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13809         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13810         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13811         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13812         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13813         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13815         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13816         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13817         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13818         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13819         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13820         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13821         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13822         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13823         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13824         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13825         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13826         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13827         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13828         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13829         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13830         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13832 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13834         [BZ #16245]
13835         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13836         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13838 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13840         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13841         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13842         Likewise.
13844 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13846         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13847         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13848         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13849         (__fesetround): Remove define.
13850         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13851         rounding and exceptions handling.
13852         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13853         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13854         (__fe_nomask_env): Likewise.
13855         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13856         __fegetround instead of fegetround.
13857         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13858         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13860 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13862         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13863         it's there.
13865         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13867 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13869         [BZ #11157]
13870         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13871         (encrypt_r): Likewise.
13872         * malloc/obstack.h (obstack_free): Likewise.
13873         * posix/unistd.h (encrypt): Likewise.
13875 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13877         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13878         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13879         DL_CALL_DT_FINI() that call the functions directly.
13880         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13881         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13882         * elf/dl-fini.c: Likewise.
13884 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13886         * malloc/hooks.c (memalign_check): Add alignment rounding.
13887         * malloc/malloc.c (_mid_memalign): New function.
13888         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13889         Implement by calling _mid_memalign.
13890         * manual/probes.texi (Memory Allocation Probes): Remove
13891         memory_valloc_retry and memory_pvalloc_retry.
13893 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13895         * locale/programs/locarchive.c (open_archive): Add const
13896         qualifier to ARCHIVEFNAME and copy default fname to
13897         DEFAULT_FNAME.
13899         [BZ #15601]
13900         * libio/tst-widetext.input: Rename Oriya to Odia.
13901         * locale/iso-639.def: Likewise.
13903         * manual/probes.texi (Mathematical Function Probes): Add
13904         documentation for sin, cos, asin and acos probes.
13905         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13906         (__sin32): Add slowasin probe.
13907         (__cos32): Add slowacos probe.
13908         (__mpsin): Add slowsin probe.
13909         (__mpcos): Add slowcos probe.
13911 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13913         [BZ #15483]
13914         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13915         thread-local __sim_exceptions_thread and global
13916         __sim_exceptions_global.
13917         (__sim_disabled_exceptions): Change to thread-local
13918         __sim_disabled_exceptions_thread and global
13919         __sim_disabled_exceptions_global.
13920         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13921         and global __sim_round_mode_global.
13922         (__simulate_exceptions): Use thread-local floating-point state and
13923         set global state from it as needed.
13924         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13925         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13926         __sim_round_mode_thread.
13927         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13928         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13929         and global __sim_exceptions_global.
13930         (__sim_disabled_exceptions): Change to thread-local
13931         __sim_disabled_exceptions_thread and global
13932         __sim_disabled_exceptions_global.
13933         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13934         and global __sim_round_mode_global.
13935         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13936         (SIM_SET_GLOBAL): Likewise.
13937         * sysdeps/powerpc/soft-fp/sfp-machine.h
13938         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13939         __sim_round_mode_thread.
13940         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13941         __sim_disabled_exceptions_thread.
13942         (__sim_exceptions): Change to __sim_exceptions_thread.
13943         (__sim_disabled_exceptions): Change to
13944         __sim_disabled_exceptions_thread.
13945         (__sim_round_mode): Change to __sim_round_mode_thread.
13946         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13947         thread-local floating-point state and set global state from it as
13948         needed.
13949         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13950         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13951         (__sim_disabled_exceptions): Remove extern declaration.
13952         (feenableexcept): Use thread-local floating-point state and set
13953         global state from it as needed.
13954         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13955         extern declaration.
13956         (__sim_disabled_exceptions): Likewise.
13957         (__sim_round_mode): Likewise.
13958         (__fegetenv): Use thread-local floating-point state.
13959         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13960         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13961         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13962         floating-point state and set global state from it as needed.
13963         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13964         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13965         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13966         Likewise.
13967         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13968         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13969         Likewise.
13970         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13971         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13972         Use __sim_round_mode_thread.
13973         * math/test-fenv-tls.c: New file.
13974         * math/Makefile (tests): Add test-fenv-tls.
13975         ($(objpfx)test-fenv-tls): Depend on
13976         $(common-objpfx)nptl/libpthread.so.
13978 2013-11-19  Andreas Schwab  <schwab@suse.de>
13980         * locale/programs/locale.c (show_info): Decode wordarray elements.
13981         * locale/categories.def (LC_MONETARY): Add element for
13982         _NL_MONETARY_CRNCYSTR.
13983         * locale/C-monetary.c (conversion_rate): New variable.
13984         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13985         element.
13987 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13989         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13990         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13992 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13994         * elf/Makefile (tst-auxv): New test.
13995         * elf/tst-auxv.c: New
13996         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13998 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14000         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14001         (hidden_proto): Caller changed.
14002         (hidden_tls_proto): New macro.
14003         (libc_hidden_tls_proto): Likewise.
14004         (rtld_hidden_tls_proto): Likewise.
14005         (libm_hidden_tls_proto): Likewise.
14006         (libresolv_hidden_tls_proto): Likewise.
14007         (librt_hidden_tls_proto): Likewise.
14008         (libdl_hidden_tls_proto): Likewise.
14009         (libnss_files_hidden_tls_proto): Likewise.
14010         (libnsl_hidden_tls_proto): Likewise.
14011         (libnss_nisplus_hidden_tls_proto): Likewise.
14012         (libutil_hidden_tls_proto): Likewise.
14014 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14016         [BZ #10253]
14017         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14018         (decompose_rpath): Defer expansion to fillin_rpath.
14019         (_dl_init_paths): Pass linkmap to fillin_rpath.
14021 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14023         * benchtests/Makefile: Add strsep.
14024         * benchtests/bench-strsep.c: New file: strsep benchtest.
14025         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14027 2013-11-18  Andreas Schwab  <schwab@suse.de>
14029         * locale/programs/locale.c (show_info) [case byte]: Check for
14030         '\377' instead of '\177'.
14031         * locale/C-monetary.c (not_available): Always use "\377".
14032         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14033         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14034         detect unavailable sign_posn locale elements.
14035         * locale/localeconv.c (__localeconv): For grouping and
14036         mon_grouping handle "\177" and "\377" like no grouping.
14037         (INT_ELEM): New macro.  Use it to set all numeric members.
14038         * locale/programs/ld-monetary.c (monetary_read)
14039         <tok_mon_grouping>: Normalize single -1 to the empty string.
14040         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14041         Likewise.
14043 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14045         [BZ #16055]
14046         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14047         when we match (nil).
14048         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14050 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14052         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14053         (NO_TEST_INLINE): Update value.
14054         (ERRNO_UNCHANGED): Likewise.
14055         (ERRNO_EDOM): Likewise.
14056         (ERRNO_ERANGE): Likewise.
14057         (IGNORE_RESULT): Likewise.
14058         (check_float_internal): Check signs of NaN results if
14059         TEST_NAN_SIGN used.
14060         (check_complex): Pass TEST_NAN_SIGN flag through to second
14061         check_float_internal call.
14062         (copysign_test_data): Add tests with quiet NaNs as second
14063         argument.  Use TEST_NAN_SIGN.
14064         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14065         TEST_NAN_SIGN.
14066         (signbit_test_data): Add tests of quiet NaN argument.
14067         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14069         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14070         $ignore_result.
14071         (parse_args): Handle function results specified as IGNORE.
14072         * math/libm-test.inc (IGNORE_RESULT): New macro.
14073         (check_float_internal): Do not check numerical result if flag
14074         IGNORE_RESULT set.
14075         (check_complex): Pass through IGNORE_RESULT to second
14076         check_float_internal call.
14077         (check_int): Do not check numerical result if flag IGNORE_RESULT
14078         set.
14079         (check_long): Likewise.
14080         (check_bool): Likewise.
14081         (check_longlong): Likewise.
14082         (lrint_test_data): Add tests of infinite and NaN arguments.
14083         (lrint_tonearest_test_data): Likewise.
14084         (lrint_towardzero_test_data): Likewise.
14085         (lrint_downward_test_data): Likewise.
14086         (lrint_upward_test_data): Likewise.
14087         (llrint_test_data): Likewise.
14088         (llrint_tonearest_test_data): Likewise.
14089         (llrint_towardzero_test_data): Likewise.
14090         (llrint_downward_test_data): Likewise.
14091         (llrint_upward_test_data): Likewise.
14092         (lround_test_data): Likewise.
14093         (llround_test_data): Likewise.
14095         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14096         (ERRNO_UNCHANGED): Update value.
14097         (ERRNO_EDOM): Likewise.
14098         (ERRNO_ERANGE): Likewise.
14099         (NO_TEST_INLINE_FLOAT): New macro.
14100         (NO_TEST_INLINE_DOUBLE): Likewise.
14101         (enable_test): New function.
14102         (RUN_TEST_f_f): Check enable_test before running test.
14103         (RUN_TEST_2_f): Likewise.
14104         (RUN_TEST_fff_f): Likewise.
14105         (RUN_TEST_c_f): Likewise.
14106         (RUN_TEST_f_f1): Likewise.
14107         (RUN_TEST_fF_f1): Likewise.
14108         (RUN_TEST_fI_f1): Likewise.
14109         (RUN_TEST_ffI_f1): Likewise.
14110         (RUN_TEST_c_c): Likewise.
14111         (RUN_TEST_cc_c): Likewise.
14112         (RUN_TEST_f_i): Likewise.
14113         (RUN_TEST_f_i_tg): Likewise.
14114         (RUN_TEST_ff_i_tg): Likewise.
14115         (RUN_TEST_f_b): Likewise.
14116         (RUN_TEST_f_b_tg): Likewise.
14117         (RUN_TEST_f_l): Likewise.
14118         (RUN_TEST_f_L): Likewise.
14119         (RUN_TEST_fFF_11): Likewise.
14120         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14121         conditionals.
14122         (cosh_test_data): Likewise.
14123         (exp_test_data): Likewise.
14124         (expm1_test_data): Likewise.
14125         (hypot_test_data): Likewise.
14126         (pow_test_data): Likewise.
14127         (sinh_test_data): Likewise.
14128         (tanh_test_data): Likewise.
14129         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14130         flags argument.
14132         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14133         tests with quiet NaN input and output.
14134         (acosh_test_data): Likewise.
14135         (asin_test_data): Likewise.
14136         (asinh_test_data): Likewise.
14137         (atan_test_data): Likewise.
14138         (atanh_test_data): Likewise.
14139         (atan2_test_data): Likewise.
14140         (cbrt_test_data): Likewise.
14141         (cos_test_data): Likewise.
14142         (cosh_test_data): Likewise.
14143         (erf_test_data): Likewise.
14144         (erfc_test_data): Likewise.
14145         (exp_test_data): Likewise.
14146         (exp10_test_data): Likewise.
14147         (exp2_test_data): Likewise.
14148         (expm1_test_data): Likewise.
14149         (hypot_test_data): Likewise.
14150         (j0_test_data): Likewise.
14151         (j1_test_data): Likewise.
14152         (jn_test_data): Likewise.
14153         (lgamma_test_data): Likewise.
14154         (log_test_data): Likewise.
14155         (log10_test_data): Likewise.
14156         (log1p_test_data): Likewise.
14157         (log2_test_data): Likewise.
14158         (pow_test_data): Likewise.
14159         (scalb_test_data): Likewise.
14160         (sin_test_data): Likewise.
14161         (sincos_test_data): Likewise.
14162         (sinh_test_data): Likewise.
14163         (tan_test_data): Likewise.
14164         (tanh_test_data): Likewise.
14165         (tgamma_test_data): Likewise.
14166         (y0_test_data): Likewise.
14167         (y1_test_data): Likewise.
14168         (yn_test_data): Likewise.
14170         [BZ #16167]
14171         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14172         argument being NaN and avoid computations with second argument in
14173         that case.
14174         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14175         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14176         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14178 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14180         * locale/iso-639.def: Add Chitwani Tharu (the).
14182 2013-11-14  Andreas Schwab  <schwab@suse.de>
14184         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14185         word instead of empty string.
14187 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14190         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14192         (__fe_nomask_env): Likewise.
14194 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14196         * benchtests/bench-timing.h: Include time.h.
14198 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14200         [BZ #15997]
14201         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14202         to 3.4.0 for x32.
14203         * sysdeps/unix/sysv/linux/configure: Regenerated.
14205 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14207         [BZ #16151]
14208         * stdlib/strtod_l.c (round_and_return): Do not consider
14209         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14210         exponent one less than half the least subnormal exponent.
14211         * stdlib/test-strtod-round-data: Add more tests.
14212         * stdlib/tst-strtod-round.c (tests): Regenerated.
14214 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14216         [BZ #14143]
14217         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14218         (__fe_mask_env): Likewise.
14219         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14220         libm_hidden_proto and add function prototype.
14221         (__fe_mask_env): Add function prototype.
14222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14223         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14225         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14227         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14229 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14231         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14232         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14234 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14236         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14237         of htab_find_slot().
14239 2013-11-11  David S. Miller  <davem@davemloft.net>
14241         [BZ #16150]
14242         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14243         symbol in the non-vis3 case in static builds.
14244         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14245         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14246         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14247         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14249 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14251         [BZ #387]
14252         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14253         it is empty.
14255 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14257         * benchtests/Makefile: Add bench-strtod.
14258         * benchtests/bench-strtod.c: New file: strtod benchtest
14260 2013-11-11  Andreas Schwab  <schwab@suse.de>
14262         [BZ #16153]
14263         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14264         terminating NUL in key length.
14266 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14268         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14269         Add artificial ODP entry for vDSO symbol for PPC64.
14270         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14271         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14273 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14275         [BZ #15374]
14276         * nss/getent.c (services_keys): Recognize services starting with digit.
14278 2013-11-06  David S. Miller  <davem@davemloft.net>
14280         [BZ #15985]
14281         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14282         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14284 2013-11-06  Will Newton  <will.newton@linaro.org>
14286         * manual/memory.texi (Malloc Examples): Remove register
14287         keyword from examples.
14289 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14291         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14293 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14295         [BZ #6981]
14296         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14297         depending on [__GCC_IEC_559 > 0].
14298         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14299         depending on [__GCC_IEC_559_COMPLEX > 0].
14301 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14303         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14304         to iso-639.def.
14306 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14308         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14310 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14312         [BZ #16112]
14313         * malloc/malloc (malloc_info): Do not handle first bin as
14314         special case.
14316 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14318         * locale/iso-639.def: Add Central Nahuatl (nhn).
14320 2013-11-01  Bruno Haible  <bruno@clisp.org>
14322         [BZ #7003]
14323         * manual/math.texi (BSD Random): Specify range upper bound as
14324         in POSIX.
14326 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14328         * locale/iso-639.def: Add Meadow Mari (mhr).
14330 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14332         [BZ #14752], [BZ #15763]
14333         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14334         Validate name.
14335         * rt/tst_shm.c: Add test for escaping directory.
14337 2013-10-31  Andreas Schwab  <schwab@suse.de>
14339         [BZ #15917]
14340         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14341         followed by 'x' as part of digit sequence.
14342         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14344 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14346         [BZ #16037]
14347         * configure.ac: allow GNU Make 4.0 and greater.
14348         * configure: Regenerated.
14350 2013-10-30  Will Newton  <will.newton@linaro.org>
14352         [BZ #16038]
14353         * malloc/hooks.c (memalign_check): Limit alignment to the
14354         maximum representable power of two.
14355         * malloc/malloc.c (__libc_memalign): Likewise.
14356         * malloc/tst-memalign.c (do_test): Add test for very
14357         large alignment values.
14358         * malloc/tst-posix_memalign.c (do_test): Likewise.
14360 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14362         [BZ #11087]
14363         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14364         (munmap_chunk): Likewise.
14365         (mremap_chunk): Likewise.
14367 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14369         [BZ #15799]
14370         * stdlib/div.c (div): Remove obsolete code.
14371         * stdlib/ldiv.c (ldiv): Likewise.
14372         * stdlib/lldiv.c (lldiv): Likewise.
14374 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14376         [BZ #16071]
14377         * nss/nss_files/files-XXX.c (get_contents_ret): New
14378         enumerator.
14379         (get_contents): New function.
14380         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14382 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14384         * configure.in: Moved to ...
14385         * configure.ac: ... here. Change reference to configure.in
14386         to configure.ac.
14387         * sysdeps/arm/preconfigure.ac: ... here.
14388         configure.in to configure.ac.
14389         * sysdeps/gnu/configure.in: Moved to ...
14390         * sysdeps/gnu/configure.ac: ... here.
14391         * sysdeps/i386/configure.in: Moved to ...
14392         * sysdeps/i386/configure.ac: ... here.
14393         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14394         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14395         * sysdeps/mach/configure.in: Moved to ...
14396         * sysdeps/mach/configure.ac: ... here.
14397         * sysdeps/mach/hurd/configure.in: Moved to ...
14398         * sysdeps/mach/hurd/configure.ac: ... here.
14399         * sysdeps/powerpc/configure.in: Moved to ...
14400         * sysdeps/powerpc/configure.ac: ... here.
14401         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14402         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14403         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14404         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14405         * sysdeps/s390/s390-32/configure.in: Moved to ...
14406         * sysdeps/s390/s390-32/configure.ac: ... here.
14407         * sysdeps/s390/s390-64/configure.in: Moved to ...
14408         * sysdeps/s390/s390-64/configure.ac: ... here.
14409         * sysdeps/sh/configure.in: Moved to ...
14410         * sysdeps/sh/configure.ac: ... here.
14411         * sysdeps/sparc/configure.in: Moved to ...
14412         * sysdeps/sparc/configure.ac: ... here.
14413         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14414         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14415         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14416         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14417         * sysdeps/x86_64/configure.in: Moved to ...
14418         * sysdeps/x86_64/configure.ac: ... here.
14419         * sysdeps/x86_64/preconfigure.in: Moved to ...
14420         * sysdeps/x86_64/preconfigure.ac: ... here.
14421         * aclocal.m4: Change reference to configure.in to configure.ac.
14422         * config.h.in: Likewise.
14423         * manual/install.texi: Likewise.
14424         * manual/maint.texi: Likewise.
14425         * Makefile: Likewise.
14426         * malloc/Makefile: Likewise.
14427         * nscd/Makefile: Likewise.
14428         * Makeconfig: Change reference to configure.in and
14429         preconfigure.in to configure.ac and preconfigure.ac
14430         respectively.
14431         * INSTALL: Regenerated.
14432         * configure: Likewise.
14433         * sysdeps/gnu/configure: Likewise.
14434         * sysdeps/i386/configure: Likewise.
14435         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14436         * sysdeps/mach/configure: Likewise.
14437         * sysdeps/mach/hurd/configure: Likewise.
14438         * sysdeps/powerpc/configure: Likewise.
14439         * sysdeps/powerpc/powerpc32/configure: Likewise.
14440         * sysdeps/powerpc/powerpc64/configure: Likewise.
14441         * sysdeps/s390/s390-32/configure: Likewise.
14442         * sysdeps/s390/s390-64/configure: Likewise.
14443         * sysdeps/sh/configure: Likewise.
14444         * sysdeps/sparc/configure: Likewise.
14445         * sysdeps/unix/sysv/linux/configure: Likewise.
14446         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14447         * sysdeps/x86_64/configure: Likewise.
14448         * sysdeps/x86_64/preconfigure: Likewise.
14450 2013-10-29  Andreas Schwab  <schwab@suse.de>
14452         * stdio-common/Makefile (tst-swscanf-ENV): Define.
14454 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14456         * benchtests/pow-inputs: Add new inputs.
14458         * benchtests/exp-inputs: Add new inputs.
14460         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14461         conditional check for return value.
14462         (__cos32): Likewise.
14464 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14466         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14467         to provide a boost for large inputs with word alignment.
14468         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14469         implementation based on optimized PPC64 strcpy.
14470         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14471         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14472         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14473         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14475 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14477         [BZ #2801]
14478         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14480 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14482         [BZ #14876]
14483         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14484         * time/tst-strptime.c (day_tests): Add testcase.
14486 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
14488         [BZ #14029]
14489         * manual/pattern.texi: Acknowledge that fnmatch can fail.
14491 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
14493         [BZ #16074]
14494         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14495         MAP_FAILED on error.
14497 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14499         [BZ #16072]
14500         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14501         heap for large requests.
14503 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
14505         [BZ #9954]
14506         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14507         result if the result has no associated interface.
14508         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14509         interface for all 127.X.Y.Z addresses.
14511 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
14513         * locale/iso-639.def: Add Ligurian (lij)
14515 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
14517         [BZ #15825]
14518         * sunrpc/rpc_main.c: Document rpcgen -5.
14520 2013-10-19  Michael Stahl  <mstahl@redhat.com>
14522         * elf/rtld.c (do_preload): Print the reason why preloading failed.
14524 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14526         [BZ #10278]
14527         * posix/glob.c: Match only directories when trailing slash is present.
14528         * posix/tst-gnuglob.c (my_opendir): Do not open files.
14529         (main): Add testcase.
14531 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
14533         [BZ #15670]
14534         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14536 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
14538         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14539         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14540         AUTH_DES and cindex for FIPS 140-2.
14541         (DES Encryption): Add cindex FIPS 46-3.
14543         * locale/locarchive.h (struct locarhandle): Add fname.
14544         * locale/programs/localedef.c (main): Pass ARGV[remaining]
14545         if an optional argument was specified to --list-archive,
14546         otherwise NULL.
14547         * locale/programs/locarchive.c (show_archive_content): Take new
14548         argument fname and pass it via ah.fname to open_archive.
14549         * locale/programs/localedef.h: Update decl.
14550         (open_archive): If AH->fname is non-null, open that file
14551         rather than the default file name, and don't ignore ENOENT.
14552         (create_archive): Set AH.fname to NULL.
14553         (delete_locales_from_archive): Likewise.
14554         (add_locales_to_archive): Likewise.
14555         * locale/programs/locfile.c (write_all_categories): Likewise.
14557 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
14558             Aldy Hernandez  <aldyh@redhat.com>
14560         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14561         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14562         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14563         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14564         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14565         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14566         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14567         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14568         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14569         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14570         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14571         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14572         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14573         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14574         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14575         Likewise.
14576         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14577         Likewise.
14578         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14579         Likewise.
14580         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14581         Likewise.
14582         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14583         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14584         Likewise.
14585         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14586         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14587         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14588         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14589         Likewise.
14590         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14591         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14592         * sysdeps/powerpc/preconfigure: Likewise.
14593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14594         Likewise.
14595         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14596         Replace contents of file by #include of <fenv_libc.h>.
14597         * sysdeps/powerpc/soft-fp/sfp-machine.h
14598         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14599         and <sys/prctl.h>.
14600         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14601         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14602         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14603         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14604         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14605         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14607         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14610         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14611         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14613         Allow copysignl PLT reference to be missing.
14615 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
14616             Joseph Myers  <joseph@codesourcery.com
14618         [BZ #15948]
14619         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14620         single character.
14621         (add_to_tablewc): Assert sequence of wide characters is nonempty.
14623 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14625         * elf/tst-tls-dlinfo.c: Don't include tls.h.
14626         * elf/tst-tls1.c: Likewise.
14627         * elf/tst-tls10.h: Likewise.
14628         * elf/tst-tls14.c: Likewise.
14629         * elf/tst-tls2.c: Likewise.
14630         * elf/tst-tls3.c: Likewise.
14631         * elf/tst-tls4.c: Likewise.
14632         * elf/tst-tls5.c: Likewise.
14633         * elf/tst-tls6.c: Likewise.
14634         * elf/tst-tls7.c: Likewise.
14635         * elf/tst-tls8.c: Likewise.
14636         * elf/tst-tls9.c: Likewise.
14637         * elf/tst-tlsmod1.c: Likewise.
14638         * elf/tst-tlsmod13.c: Likewise.
14639         * elf/tst-tlsmod13a.c: Likewise.
14640         * elf/tst-tlsmod14a.c: Likewise.
14641         * elf/tst-tlsmod16a.c: Likewise.
14642         * elf/tst-tlsmod16b.c: Likewise.
14643         * elf/tst-tlsmod2.c: Likewise.
14644         * elf/tst-tlsmod3.c: Likewise.
14645         * elf/tst-tlsmod4.c: Likewise.
14646         * elf/tst-tlsmod5.c: Likewise.
14647         * elf/tst-tlsmod6.c: Likewise.
14649 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
14651         [BZ #12486]
14652         * malloc/malloc.c: remove checks for statistics.
14654 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14656         [BZ #15277]
14657         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14658         * inet/tst-network.c: Add testcase.
14660 2013-10-17  Andreas Schwab  <schwab@suse.de>
14662         [BZ #15218]
14663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14664         to determine canonical name.
14666 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14668         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14669         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14670         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14671         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14673         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14674         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14675         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14676         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14677         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14678         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14679         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14680         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14681         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14682         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14683         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14684         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14685         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14686         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14687         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14688         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14689         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14690         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14691         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14692         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14693         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14694         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14695         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14696         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14697         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14698         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14699         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14700         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14701         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14702         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14703         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14704         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14705         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14706         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14707         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14708         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14709         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14710         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14711         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14712         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14713         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14714         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14715         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14716         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14717         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14718         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14719         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14720         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14721         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14722         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14723         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14724         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14725         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14727 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14729         [BZ #16041]
14730         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14731         make result into a quiet NaN.
14733 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14735         * soft-fp/adddf3.c: Fix horizontal whitespace.
14736         * soft-fp/addsf3.c: Likewise.
14737         * soft-fp/addtf3.c: Likewise.
14738         * soft-fp/divdf3.c: Likewise.
14739         * soft-fp/divsf3.c: Likewise.
14740         * soft-fp/divtf3.c: Likewise.
14741         * soft-fp/double.h: Likewise.
14742         * soft-fp/eqdf2.c: Likewise.
14743         * soft-fp/eqsf2.c: Likewise.
14744         * soft-fp/eqtf2.c: Likewise.
14745         * soft-fp/extenddftf2.c: Likewise.
14746         * soft-fp/extended.h: Likewise.
14747         * soft-fp/extendsfdf2.c: Likewise.
14748         * soft-fp/extendsftf2.c: Likewise.
14749         * soft-fp/extendxftf2.c: Likewise.
14750         * soft-fp/fixdfdi.c: Likewise.
14751         * soft-fp/fixdfsi.c: Likewise.
14752         * soft-fp/fixdfti.c: Likewise.
14753         * soft-fp/fixsfdi.c: Likewise.
14754         * soft-fp/fixsfsi.c: Likewise.
14755         * soft-fp/fixsfti.c: Likewise.
14756         * soft-fp/fixtfdi.c: Likewise.
14757         * soft-fp/fixtfsi.c: Likewise.
14758         * soft-fp/fixtfti.c: Likewise.
14759         * soft-fp/fixunsdfdi.c: Likewise.
14760         * soft-fp/fixunsdfsi.c: Likewise.
14761         * soft-fp/fixunsdfti.c: Likewise.
14762         * soft-fp/fixunssfdi.c: Likewise.
14763         * soft-fp/fixunssfsi.c: Likewise.
14764         * soft-fp/fixunssfti.c: Likewise.
14765         * soft-fp/fixunstfdi.c: Likewise.
14766         * soft-fp/fixunstfsi.c: Likewise.
14767         * soft-fp/fixunstfti.c: Likewise.
14768         * soft-fp/floatdidf.c: Likewise.
14769         * soft-fp/floatdisf.c: Likewise.
14770         * soft-fp/floatditf.c: Likewise.
14771         * soft-fp/floatsidf.c: Likewise.
14772         * soft-fp/floatsisf.c: Likewise.
14773         * soft-fp/floatsitf.c: Likewise.
14774         * soft-fp/floattidf.c: Likewise.
14775         * soft-fp/floattisf.c: Likewise.
14776         * soft-fp/floattitf.c: Likewise.
14777         * soft-fp/floatundidf.c: Likewise.
14778         * soft-fp/floatundisf.c: Likewise.
14779         * soft-fp/floatunditf.c: Likewise.
14780         * soft-fp/floatunsidf.c: Likewise.
14781         * soft-fp/floatunsisf.c: Likewise.
14782         * soft-fp/floatunsitf.c: Likewise.
14783         * soft-fp/floatuntidf.c: Likewise.
14784         * soft-fp/floatuntisf.c: Likewise.
14785         * soft-fp/floatuntitf.c: Likewise.
14786         * soft-fp/fmadf4.c: Likewise.
14787         * soft-fp/fmasf4.c: Likewise.
14788         * soft-fp/fmatf4.c: Likewise.
14789         * soft-fp/gedf2.c: Likewise.
14790         * soft-fp/gesf2.c: Likewise.
14791         * soft-fp/getf2.c: Likewise.
14792         * soft-fp/ledf2.c: Likewise.
14793         * soft-fp/lesf2.c: Likewise.
14794         * soft-fp/letf2.c: Likewise.
14795         * soft-fp/muldf3.c: Likewise.
14796         * soft-fp/mulsf3.c: Likewise.
14797         * soft-fp/multf3.c: Likewise.
14798         * soft-fp/negdf2.c: Likewise.
14799         * soft-fp/negsf2.c: Likewise.
14800         * soft-fp/negtf2.c: Likewise.
14801         * soft-fp/op-1.h: Likewise.
14802         * soft-fp/op-2.h: Likewise.
14803         * soft-fp/op-4.h: Likewise.
14804         * soft-fp/op-8.h: Likewise.
14805         * soft-fp/op-common.h: Likewise.
14806         * soft-fp/quad.h: Likewise.
14807         * soft-fp/single.h: Likewise.
14808         * soft-fp/soft-fp.h: Likewise.
14809         * soft-fp/sqrtdf2.c: Likewise.
14810         * soft-fp/sqrtsf2.c: Likewise.
14811         * soft-fp/sqrttf2.c: Likewise.
14812         * soft-fp/subdf3.c: Likewise.
14813         * soft-fp/subsf3.c: Likewise.
14814         * soft-fp/subtf3.c: Likewise.
14815         * soft-fp/truncdfsf2.c: Likewise.
14816         * soft-fp/trunctfdf2.c: Likewise.
14817         * soft-fp/trunctfsf2.c: Likewise.
14818         * soft-fp/trunctfxf2.c: Likewise.
14819         * soft-fp/unorddf2.c: Likewise.
14820         * soft-fp/unordsf2.c: Likewise.
14821         * soft-fp/unordtf2.c: Likewise.
14823 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14825         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14826         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14828 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14830         * elf/dl-libc.c: Clear initfini list after freeing.
14832 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14834         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14835         * soft-fp/addsf3.c: Likewise.
14836         * soft-fp/addtf3.c: Likewise.
14837         * soft-fp/divdf3.c: Likewise.
14838         * soft-fp/divsf3.c: Likewise.
14839         * soft-fp/divtf3.c: Likewise.
14840         * soft-fp/double.h: Likewise.
14841         * soft-fp/eqdf2.c: Likewise.
14842         * soft-fp/eqsf2.c: Likewise.
14843         * soft-fp/eqtf2.c: Likewise.
14844         * soft-fp/extenddftf2.c: Likewise.
14845         * soft-fp/extended.h: Likewise.
14846         * soft-fp/extendsfdf2.c: Likewise.
14847         * soft-fp/extendsftf2.c: Likewise.
14848         * soft-fp/extendxftf2.c: Likewise.
14849         * soft-fp/fixdfdi.c: Likewise.
14850         * soft-fp/fixdfsi.c: Likewise.
14851         * soft-fp/fixdfti.c: Likewise.
14852         * soft-fp/fixsfdi.c: Likewise.
14853         * soft-fp/fixsfsi.c: Likewise.
14854         * soft-fp/fixsfti.c: Likewise.
14855         * soft-fp/fixtfdi.c: Likewise.
14856         * soft-fp/fixtfsi.c: Likewise.
14857         * soft-fp/fixtfti.c: Likewise.
14858         * soft-fp/fixunsdfdi.c: Likewise.
14859         * soft-fp/fixunsdfsi.c: Likewise.
14860         * soft-fp/fixunsdfti.c: Likewise.
14861         * soft-fp/fixunssfdi.c: Likewise.
14862         * soft-fp/fixunssfsi.c: Likewise.
14863         * soft-fp/fixunssfti.c: Likewise.
14864         * soft-fp/fixunstfdi.c: Likewise.
14865         * soft-fp/fixunstfsi.c: Likewise.
14866         * soft-fp/fixunstfti.c: Likewise.
14867         * soft-fp/floatdidf.c: Likewise.
14868         * soft-fp/floatdisf.c: Likewise.
14869         * soft-fp/floatditf.c: Likewise.
14870         * soft-fp/floatsidf.c: Likewise.
14871         * soft-fp/floatsisf.c: Likewise.
14872         * soft-fp/floatsitf.c: Likewise.
14873         * soft-fp/floattidf.c: Likewise.
14874         * soft-fp/floattisf.c: Likewise.
14875         * soft-fp/floattitf.c: Likewise.
14876         * soft-fp/floatundidf.c: Likewise.
14877         * soft-fp/floatundisf.c: Likewise.
14878         * soft-fp/floatunsidf.c: Likewise.
14879         * soft-fp/floatunsisf.c: Likewise.
14880         * soft-fp/floatuntidf.c: Likewise.
14881         * soft-fp/floatuntisf.c: Likewise.
14882         * soft-fp/floatuntitf.c: Likewise.
14883         * soft-fp/fmadf4.c: Likewise.
14884         * soft-fp/fmasf4.c: Likewise.
14885         * soft-fp/fmatf4.c: Likewise.
14886         * soft-fp/gedf2.c: Likewise.
14887         * soft-fp/gesf2.c: Likewise.
14888         * soft-fp/getf2.c: Likewise.
14889         * soft-fp/ledf2.c: Likewise.
14890         * soft-fp/lesf2.c: Likewise.
14891         * soft-fp/letf2.c: Likewise.
14892         * soft-fp/muldf3.c: Likewise.
14893         * soft-fp/mulsf3.c: Likewise.
14894         * soft-fp/multf3.c: Likewise.
14895         * soft-fp/negdf2.c: Likewise.
14896         * soft-fp/negsf2.c: Likewise.
14897         * soft-fp/negtf2.c: Likewise.
14898         * soft-fp/op-1.h: Likewise.
14899         * soft-fp/op-2.h: Likewise.
14900         * soft-fp/op-4.h: Likewise.
14901         * soft-fp/op-8.h: Likewise.
14902         * soft-fp/op-common.h: Likewise.
14903         * soft-fp/quad.h: Likewise.
14904         * soft-fp/single.h: Likewise.
14905         * soft-fp/soft-fp.h: Likewise.
14906         * soft-fp/sqrtdf2.c: Likewise.
14907         * soft-fp/sqrtsf2.c: Likewise.
14908         * soft-fp/sqrttf2.c: Likewise.
14909         * soft-fp/subdf3.c: Likewise.
14910         * soft-fp/subsf3.c: Likewise.
14911         * soft-fp/subtf3.c: Likewise.
14912         * soft-fp/truncdfsf2.c: Likewise.
14913         * soft-fp/trunctfdf2.c: Likewise.
14914         * soft-fp/trunctfsf2.c: Likewise.
14915         * soft-fp/trunctfxf2.c: Likewise.
14916         * soft-fp/unorddf2.c: Likewise.
14917         * soft-fp/unordsf2.c: Likewise.
14918         * soft-fp/unordtf2.c: Likewise.
14920 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14922         [BZ #15672]
14923         * misc/error.c (error_tail): Fix possible buffer overflow.
14925 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14927         [BZ #13028]
14928         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14929         address.
14931 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14933         [BZ #832]
14934         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14935         testing pipefail option.
14937 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14939         * soft-fp/double.h: Indent preprocessor directives inside #if.
14940         * soft-fp/extended.h: Likewise.
14941         * soft-fp/op-2.h: Likewise.
14942         * soft-fp/op-4.h: Likewise.
14943         * soft-fp/op-common.h: Likewise.
14944         * soft-fp/quad.h: Likewise.
14945         * soft-fp/single.h: Likewise.
14946         * soft-fp/soft-fp.h: Likewise.
14948 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14950         * iconv/iconv_prog.c: Fix typos.
14951         * stdio-common/psiginfo-data.h: Likewise.
14953 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14955         [BZ #15764]
14956         * locale/setlocale.c: Fix typo.
14958 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14960         [BZ #16036]
14961         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14962         signaling NaN arguments.
14963         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14964         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14966         [BZ #14910]
14967         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14968         unordered operands.
14969         * soft-fp/gesf2.c (__gesf2): Likewise.
14970         * soft-fp/getf2.c (__getf2): Likewise.
14971         * soft-fp/ledf2.c (__ledf2): Likewise.
14972         * soft-fp/lesf2.c (__lesf2): Likewise.
14973         * soft-fp/letf2.c (__letf2): Likewise.
14975         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14976         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14977         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14978         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14979         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14980         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14981         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14982         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14983         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14984         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14985         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14986         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14987         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14988         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14989         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14990         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14991         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14992         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14993         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14994         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14995         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14996         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14997         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14998         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14999         * soft-fp/floattidf.c (__floattidf): Likewise.
15000         * soft-fp/floattisf.c (__floattisf): Likewise.
15001         * soft-fp/floattitf.c (__floattitf): Likewise.
15002         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15003         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15004         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15005         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15006         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15007         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15008         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15009         * soft-fp/gesf2.c (__gesf2): Likewise.
15010         * soft-fp/getf2.c (__getf2): Likewise.
15011         * soft-fp/ledf2.c (__ledf2): Likewise.
15012         * soft-fp/lesf2.c (__lesf2): Likewise.
15013         * soft-fp/letf2.c (__letf2): Likewise.
15015         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15016         Undefine and redefine.
15017         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15018         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15019         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15020         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15021         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15022         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15023         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15024         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15025         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15026         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15027         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15028         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15029         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15030         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15031         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15033         [BZ #16032]
15034         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15035         without decrementing exponent if mantissa >= that for the
15036         denominator, not >.
15037         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15038         denominator, not >.  Decrement exponent in < case instead of
15039         incrementing in >= case.
15040         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15041         without decrementing exponent if mantissa >= that for the
15042         denominator, not >.
15044         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15045         computing saturated result for unsigned overflow.
15047 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15048             Jeff Law  <law@redhat.com>
15050         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15051         (atan2Mp): Add systemtap probe marker.
15052         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15053         (__ieee754_log): Add systemtap probe marker.
15054         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15055         (atanMp): Add systemtap probe marker.
15056         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15057         (tanMp): Add systemtap probe marker.
15058         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15059         (__slowexp): Add systemtap probe marker.
15060         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15061         (__slowpow): Add systemtap probe marker.
15062         * manual/probes.texi: Document probes.
15064 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15066         [BZ #15362]
15067         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15068         written.
15069         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15070         written.
15071         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15072         written to buffer but not flushed.
15073         * libio/iofwrite_u.c:  Likewise.
15074         * libio/iopadn.c:  Return bytes returned even if EOF was
15075         encountered.
15076         * libio/iowpadn.c:  Likewise.
15077         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15078         if _IO_padn does not write the whole buffer.
15079         [!COMPILE_WPRINTF] (PAD): Likewise.
15081 2013-10-10  David S. Miller  <davem@davemloft.net>
15083         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15084         directory block.
15086 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15088         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15089         instead of FSF address.
15090         * soft-fp/fixdfti.c: Likewise.
15091         * soft-fp/fixsfti.c: Likewise.
15092         * soft-fp/fixtfti.c: Likewise.
15093         * soft-fp/fixunsdfti.c: Likewise.
15094         * soft-fp/fixunssfti.c: Likewise.
15095         * soft-fp/fixunstfti.c: Likewise.
15096         * soft-fp/floattidf.c: Likewise.
15097         * soft-fp/floattisf.c: Likewise.
15098         * soft-fp/floattitf.c: Likewise.
15099         * soft-fp/floatuntidf.c: Likewise.
15100         * soft-fp/floatuntisf.c: Likewise.
15101         * soft-fp/floatuntitf.c: Likewise.
15102         * soft-fp/trunctfxf2.c: Likewise.
15104         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15105         * soft-fp/fixdfti.c: Likewise.
15106         * soft-fp/fixsfti.c: Likewise.
15107         * soft-fp/fixtfti.c: Likewise.
15108         * soft-fp/fixunsdfti.c: Likewise.
15109         * soft-fp/fixunssfti.c: Likewise.
15110         * soft-fp/fixunstfti.c: Likewise.
15111         * soft-fp/floattidf.c: Likewise.
15112         * soft-fp/floattisf.c: Likewise.
15113         * soft-fp/floattitf.c: Likewise.
15114         * soft-fp/floatuntidf.c: Likewise.
15115         * soft-fp/floatuntisf.c: Likewise.
15116         * soft-fp/floatuntitf.c: Likewise.
15117         * soft-fp/trunctfxf2.c: Likewise.
15119 2013-10-10  David S. Miller  <davem@davemloft.net>
15121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15123 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15125         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15126         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15127         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15128         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15129         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15130         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15131         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15133         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15134         for NaNs before doing comparisons on argument.
15135         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15136         Likewise.
15138 2013-10-10  Will Newton  <will.newton@linaro.org>
15140         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15141         passed to _int_memalign does not overflow.
15143 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15145         * scripts/bench.pl: Add include-sources directive.
15146         * benchtests/README: Update documentation.
15148 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15150         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15151         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15152         instead of FP_INIT_ROUNDMODE.
15153         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15154         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15156         [BZ #16034]
15157         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15158         copy class of input value.
15159         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15160         not handle exceptions.
15161         * soft-fp/negsf2.c (__negsf2): Likewise.
15162         * soft-fp/negtf2.c (__negtf2): Likewise.
15163         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15165 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15167         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15168         semicolon.  From Linux kernel.
15170 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15172         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15174 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15176         [BZ #156]
15177         * manual/socket.texi: Added statement about buffer
15178         for gethostbyname2_r.
15180 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15182         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15183         Use .p2align directive instead, throughout.
15184         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15185         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15186         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15187         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15188         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15189         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15190         * sysdeps/x86_64/strchr.S: Likewise.
15191         * sysdeps/x86_64/strrchr.S: Likewise.
15193 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15195         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15197         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15199         * sysdeps/generic/math_private.h (__mpsin1): Remove
15200         declaration.
15201         (__mpcos1): Likewise.
15202         (__mpsin): New argument __range_reduce.
15203         (__mpcos): Likewise.
15204         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15205         (slow): Use __mpsin and __mpcos.
15206         (slow1): Likewise.
15207         (slow2): Likewise.
15208         (sloww): Likewise.
15209         (sloww1): Likewise.
15210         (sloww2): Likewise.
15211         (bsloww): Likewise.
15212         (bsloww1): Likewise.
15213         (bsloww2): Likewise.
15214         (cslow2): Likewise.
15215         (csloww): Likewise.
15216         (csloww1): Likewise.
15217         (csloww2): Likewise.
15218         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15219         range_reduce.  Merge in __mpsin1.
15220         (__mpcos): Likewise.
15221         (__mpsin1): Remove.
15222         (__mpcos1): Likewise.
15224 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15226         * locale/loadlocale.c (_nl_intern_locale_data): Use
15227         LOCFILE_ALIGNED_P.
15228         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15229         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15230         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15231         obstack data is appropriately aligned.
15232         (obstack_int32_grow_fast): Likewise.
15233         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15234         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15235         (add_locale_uint32_array): Likewise.
15237 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15239         * benchtests/Makefile: Remove ARGLIST and RET variables.
15240         ($(objpfx)bench-%.c): Pass only function name to the script.
15241         * benchtests/README: Update documentation.
15242         * benchtests/acos-inputs: Add new directives.
15243         * benchtests/acosh-inputs: Likewise.
15244         * benchtests/asin-inputs: Likewise.
15245         * benchtests/asinh-inputs: Likewise.
15246         * benchtests/atan-inputs: Likewise.
15247         * benchtests/atanh-inputs: Likewise.
15248         * benchtests/cos-inputs: Likewise.
15249         * benchtests/cosh-inputs: Likewise.
15250         * benchtests/exp-inputs: Likewise.
15251         * benchtests/log-inputs: Likewise.
15252         * benchtests/pow-inputs: Likewise.
15253         * benchtests/rint-inputs: Likewise.
15254         * benchtests/sin-inputs: Likewise.
15255         * benchtests/sinh-inputs: Likewise.
15256         * benchtests/tan-inputs: Likewise.
15257         * benchtests/tanh-inputs: Likewise.
15258         * scripts/bench.pl: Add support for new directives.
15260 2013-10-07  Alan Modra  <amodra@gmail.com>
15262         * README: Fix careless merge.
15264 2013-10-05  Alan Modra  <amodra@gmail.com>
15266         * NEWS: Mention powerpc64le support and bugs fixed.
15267         * README: Both big-endian and little-endian powerpc64 supported.
15269 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15271         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15272         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15273         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15274         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15276 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15278         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15279         match prototype.
15281 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15283         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15284         Move -mhard-float appending from
15285         ports/sysdeps/powerpc/powerpc32/Makefile.
15286         [$(with-fp) = yes] (ASFLAGS): Likewise.
15287         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15288         * sysdeps/powerpc/nofpu: Move directory from
15289         ports/sysdeps/powerpc/nofpu.
15290         * sysdeps/powerpc/soft-fp: Move directory from
15291         ports/sysdeps/powerpc/soft-fp.
15292         * sysdeps/powerpc/powerpc32/405: Move directory from
15293         ports/sysdeps/powerpc/powerpc32/405.
15294         * sysdeps/powerpc/powerpc32/440: Move directory from
15295         ports/sysdeps/powerpc/powerpc32/440.
15296         * sysdeps/powerpc/powerpc32/464: Move directory from
15297         ports/sysdeps/powerpc/powerpc32/464.
15298         * sysdeps/powerpc/powerpc32/476: Move directory from
15299         ports/sysdeps/powerpc/powerpc32/476.
15300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15301         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15303         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15305         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15307         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15309         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15310         * README: Update for powerpc-*-linux-gnu software floating point
15311         support in libc.
15313         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15314         case to powerpc/powerpc32*.
15315         * sysdeps/unix/sysv/linux/configure: Regenerated.
15317         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15318         (_FPU_MASK_OM): Define as 0x04.
15319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15321         0x00c10080.
15322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15323         0x0000003c.
15324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15327         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15328         getcontext_e500.
15329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15330         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15331         setcontext_e500.
15332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15333         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15334         and setcontext_e500.
15336 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15338         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15340 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15342         * manual/threads.texi (Default Thread Attributes): Fix typo.
15344 2013-10-04  Will Newton  <will.newton@linaro.org>
15346         * malloc/Makefile: Add tst-memalign.
15347         * malloc/tst-memalign.c: New file.
15349         * malloc/tst-posix_memalign.c: Add comments.
15350         (do_test): Add comments and call free on all potentially
15351         allocated pointers. Add space after cast.
15353         * malloc/tst-pvalloc.c: Add comments.
15354         (do_test): Add comments and call free on all potentially
15355         allocated pointers. Remove duplicate check for NULL pointer.
15356         Add space after cast.
15358         * malloc/tst-valloc.c: Add comments.
15359         (do_test): Add comments and call free on all potentially
15360         allocated pointers. Remove duplicate check for NULL pointer.
15361         Add space after cast.
15363 2013-10-04  Alan Modra  <amodra@gmail.com>
15365         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15366         Use stdint types in rather than __attribute__((mode())).
15367         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15369 2013-10-04  Alan Modra  <amodra@gmail.com>
15371         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15372         Correct handling of unaligned relocs for little-endian.
15373         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15375 2013-10-04  Alan Modra  <amodra@gmail.com>
15377         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15378         * configure: Regenerate.
15379         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15380         * shlib-versions: Likewise.
15382 2013-10-04  Alan Modra  <amodra@gmail.com>
15384         * string/tester.c (test_memrchr): Increment reported test cycle.
15386 2013-10-04  Alan Modra  <amodra@gmail.com>
15388         * string/test-memcpy.c (do_one_test): When reporting errors, print
15389         string address and don't overrun end of string.
15391 2013-10-04  Alan Modra  <amodra@gmail.com>
15393         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15394         insrdi.  Make better use of reg selection to speed exit slightly.
15395         Schedule entry path a little better.  Remove useless "are we done"
15396         checks on entry to main loop.  Handle wrapping around zero address.
15397         Correct main loop count.  Handle single left-over word from main
15398         loop inline rather than by using loop_small.  Remove extra word
15399         case in loop_small caused by wrong loop count.  Add little-endian
15400         support.
15401         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15402         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15403         cache hint.
15404         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15405         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15406         support.  Avoid rlwimi.
15407         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15409 2013-10-04  Alan Modra  <amodra@gmail.com>
15411         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15412         insrdi.  Formatting.
15413         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15414         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15415         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15416         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15417         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15418         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15420 2013-10-04  Alan Modra  <amodra@gmail.com>
15422         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15423         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15424         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15425         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15426         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15427         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15428         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15429         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15430         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
15431         use of regs.  Use power7 mtocrf.  Tidy function tails.
15433 2013-10-04  Alan Modra  <amodra@gmail.com>
15435         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15436         Formatting.  Consistently use rXXX register defines or rN defines.
15437         Use early exit labels that avoid restoring unused non-volatile regs.
15438         Make cr field use more consistent with rWORDn compares.  Rename
15439         regs used as shift registers for unaligned loop, using rN defines
15440         for short lifetime/multiple use regs.
15441         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15442         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
15443         addi 1,1,64 to pop stack frame.  Simplify return value code.
15444         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15446 2013-10-04  Alan Modra  <amodra@gmail.com>
15448         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15449         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
15450         rather than rlwimi.
15451         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15452         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15453         little-endian support.  Correct typos.
15454         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
15455         rather than rlwimi.
15456         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
15457         in loop and entry code to keep "and." results.
15458         (strchr): Add little-endian support.  Comment.  Move cntlzd
15459         earlier in tail.
15460         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15462 2013-10-04  Alan Modra  <amodra@gmail.com>
15464         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15465         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15466         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15467         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15469 2013-10-04  Alan Modra  <amodra@gmail.com>
15471         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15472         (rTMP): Define as r11.
15473         (strcmp): Add little-endian support.  Optimise tail.
15474         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15475         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15476         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15477         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15478         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15479         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15480         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15482 2013-10-04  Alan Modra  <amodra@gmail.com>
15484         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15485         little-endian support.  Remove unnecessary "are we done" tests.
15486         Handle "s" wrapping around zero and extremely large "size".
15487         Correct main loop count.  Handle single left-over word from main
15488         loop inline rather than by using small_loop.  Correct comments.
15489         Delete "zero" tail, use "end_max" instead.
15490         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15492 2013-10-04  Alan Modra  <amodra@gmail.com>
15494         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15495         support.  Don't branch over align.
15496         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15497         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15498         support.  Rearrange tmp reg use to suit.  Comment.
15499         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15501 2013-10-04  Alan Modra  <amodra@gmail.com>
15503         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15505 2013-10-04  Alan Modra  <amodra@gmail.com>
15507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15508         conditional form of branch and link when obtaining pc.
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15511 2013-10-04  Alan Modra  <amodra@gmail.com>
15513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15514         HIWORD/LOWORD.
15515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15518 2013-10-04  Alan Modra  <amodra@gmail.com>
15520         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15521         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15522         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15523         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15524         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15525         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15526         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15527         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15528         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15529         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15531 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15532             Alistair Popple <alistair@ozlabs.au.ibm.com>
15533             Alan Modra <amodra@gmail.com>
15535         [BZ #15723]
15536         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15537         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15538         _dl_hwcap access for little-endian.
15539         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
15540         destroy vmx regs when saving unaligned.
15541         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15542         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
15543         destroy vmx regs when saving unaligned.
15545 2013-10-04  Alan Modra  <amodra@gmail.com>
15547         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15548         Don't use a union to pack hi/low value.
15550 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15552         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15553         for little-endian.
15554         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15555         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15556         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15557         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15558         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15560 2013-10-04  Alan Modra  <amodra@gmail.com>
15562         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15563         constants to usual value for .cst8 section, and remove redundant
15564         high address load.
15565         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15566         constant for 0x1p52.  Load little-endian words of double from
15567         correct stack offsets.
15569 2013-10-04  Alan Modra  <amodra@gmail.com>
15571         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15572         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15573         words of double from correct stack offsets.
15574         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15575         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15576         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15577         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15578         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15579         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15580         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15581         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15582         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15583         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15584         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15585         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15586         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15587         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15588         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15589         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15590         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15592 2013-10-04  Alan Modra  <amodra@gmail.com>
15594         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15595         64-bit int/double union.
15596         (_FPU_SETCW): Likewise.
15597         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15598         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15600 2013-10-04  Alan Modra  <amodra@gmail.com>
15602         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15603         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15605 2013-10-04  Alan Modra  <amodra@gmail.com>
15607         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15608         use vector int constants.
15609         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15611 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15613         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15614         array with long long.
15615         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15616         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15617         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15618         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15619         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15620         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15621         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15622         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15623         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15624         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15625         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15626         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15627         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15629 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
15631         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15632         (__signbit): Likewise.  Correct for little-endian.
15633         (__signbitl): Call __signbit.
15634         (lrint): Correct for little-endian.
15635         (lrintf): Call lrint.
15637 2013-10-04  Alan Modra  <amodra@gmail.com>
15639         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15640         union 32-bit int array member with 64-bit int array.
15641         (t515, tm256): Double rather than long double.
15642         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15644 2013-10-04  Alan Modra  <amodra@gmail.com>
15646         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15647         Delete.
15648         (IEEE854_LONG_DOUBLE_BIAS): Delete.
15649         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15650         version of math_ldbl.h.
15652 2013-10-04  Alan Modra  <amodra@gmail.com>
15654         [BZ #15734], [BZ #15735]
15655         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15656         all uses of ieee875 long double macros and unions.  Simplify test
15657         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15658         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15659         normalize after ldbl_extract_mantissa, and don't add hidden bit
15660         already handled.  Don't treat low word of ieee854 mantissa like
15661         low word of IBM long double and mask off bit when testing for
15662         zero.
15663         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15664         all uses of ieee875 long double macros and unions.  Simplify tests
15665         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15666         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15667         two1022, instead use their values.  Recognise that tests for large
15668         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15669         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15670         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15671         test for 0.0L and nan.  Correct negation.
15672         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15673         ieee875 long double macros and unions.  Correct output for large
15674         magnitude x.  Correct absolute value calculation.
15675         (__erfcl): Likewise.
15676         * math/libm-test.inc: Add tests for errors discovered in IBM long
15677         double versions of fmodl, remainderl, erfl and erfcl.
15679 2013-10-04  Alan Modra  <amodra@gmail.com>
15681         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15682         all uses of ieee854 long double macros and unions.  Simplify tests
15683         for long doubles that are fully specified by the high double.
15684         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15685         Likewise.
15686         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15687         Remove dead code too.
15688         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15689         (__ieee754_ynl): Likewise.
15690         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15691         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15692         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15693         Remove dead code too.
15694         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15695         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15696         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15697         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15698         Simplify.
15699         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15700         Simplify.
15701         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15702         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15703         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15704         Comment on variable precision.
15705         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15706         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15707         Likewise.
15708         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15709         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15710         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15711         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15712         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15714 2013-10-04  Alan Modra  <amodra@gmail.com>
15716         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15717         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15718         all uses of ieee854 long double macros and unions.
15719         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15720         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15721         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15722         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15723         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15724         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15725         Likewise.
15726         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15727         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15728         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15729         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15730         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15731         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15732         Simplify sign and nan test too.
15733         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15734         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15735         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15736         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15737         Likewise.
15738         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15739         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15740         Likewise.
15741         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15742         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15743         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15744         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15745         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15748 2013-10-04  Alan Modra  <amodra@gmail.com>
15750         * stdio-common/printf_size.c (__printf_size): Don't use
15751         union ieee854_long_double in fpnum union.
15752         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15753         signbit macro to retrieve sign from long double.
15754         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15755         retrieve sign from long double.
15756         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15757         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15758         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15759         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15760         * math/test-misc.c (main): Don't use union ieee854_long_double.
15762 2013-10-04  Alan Modra  <amodra@gmail.com>
15764         [BZ #15680]
15765         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15766         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15767         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15768         calculation.  Remove unnecessary test for denormal exponent.
15769         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15770         Correct handling of denormals.  Avoid undefined shift behaviour.
15771         Correct normalisation of low mantissa when low double is denormal.
15772         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15773         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15774         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15775         Correct normalisation of low mantissa.  Test for overflow of high
15776         mantissa and normalise.
15777         (ldbl_nearbyint): Use more readable constant for two52.
15778         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15779         (__mpn_construct_long_double): Fix test for overflow of high
15780         mantissa and correct normalisation.  Avoid undefined shift.
15782 2013-10-04  Alan Modra  <amodra@gmail.com>
15784         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15785         (union ibm_extended_long_double): Define as an array of ieee754_double.
15786         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15787         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15788         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15789         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15790         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15791         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15792         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15793         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15794         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15795         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15796         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15798 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15800         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15801         page size instead of calling getpagesize.
15803         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15804         (LOCFILE_ALIGN_MASK): Likewise.
15805         (LOCFILE_ALIGN_UP): Likewise.
15806         (LOCFILE_ALIGNED_P): Likewise.
15807         * locale/programs/ld-collate.c (collate_output): Use the new
15808         macros instead of __alignof__ (int32_t).
15809         * locale/weight.h (findidx): Likewise.
15811 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15813         [BZ #431]
15814         * manual/string.texi: Fix strncat and wcsncat.
15816 2013-10-03  Brooks Moses  <bmoses@google.com>
15818         [BZ #15915]
15819         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15820         * Makerules: ...here, and adjust associated comments.
15822 2013-10-02  Will Newton  <will.newton@linaro.org>
15824         * malloc/Makefile: Add tst-pvalloc.
15825         * malloc/tst-pvalloc.c: New file.
15827 2013-10-02  Will Newton  <will.newton@linaro.org>
15829         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15830         improve test coverage.
15832 2013-10-02  Will Newton  <will.newton@linaro.org>
15834         * malloc/Makefile: Add tst-posix_memalign.
15835         * malloc/tst-posix_memalign.c: New file.
15837 2013-10-01  Eric Blake  <eblake@redhat.com>
15839         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15840         Use __THROWNL rather than __THROW on static functions.
15842 2013-09-30  Petr Machata  <pmachata@redhat.com>
15844         * elf/elf.h (R_AARCH64_ABS16): New macro.
15845         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15846         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15847         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15848         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15849         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15850         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15851         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15852         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15853         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15854         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15855         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15856         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15857         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15858         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15859         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15860         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15861         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15862         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15863         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15864         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15865         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15866         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15867         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15868         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15869         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15870         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15871         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15872         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15873         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15874         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15875         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15876         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15877         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15878         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15879         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15880         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15881         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15882         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15883         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15884         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15885         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15886         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15887         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15888         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15889         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15890         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15891         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15892         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15893         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15894         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15895         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15896         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15897         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15898         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15899         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15900         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15901         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15902         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15903         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15904         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15905         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15906         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15907         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15908         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15909         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15910         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15911         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15912         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15913         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15914         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15915         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15916         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15917         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15918         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15919         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15920         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15921         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15922         (R_AARCH64_TLSDESC_LDR): Likewise.
15923         (R_AARCH64_TLSDESC_ADD): Likewise.
15924         (R_AARCH64_TLSDESC_CALL): Likewise.
15926 2013-09-30  Andreas Schwab  <schwab@suse.de>
15928         [BZ #15048]
15929         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15930         the nss database lookup.
15931         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15934 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15936         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15938 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15940         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15941         ${Bash-specific parameter/pattern/string} parameter expansion.
15942         * sysdeps/unix/make-syscalls.sh: Likewise.
15944 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15946         * sysdeps/sh/stackguard-macros.h: New file.
15948 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15952         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15953         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15954         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15955         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15957 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15959         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15960         Fix thread ID register.
15962 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15964         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15965         [POSIX || UNIX98]: Require rather than permitting all symbols from
15966         <time.h>.
15967         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15968         element of struct sched_param.
15969         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15970         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15971         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15972         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15973         constant.
15975 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15977         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15978         argument calculation.
15980 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15982         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15983         Expect macro.
15984         [POSIX] (pthread_attr_t): Do not require type.
15985         [POSIX] (pthread_cond_t): Likewise.
15986         [POSIX] (pthread_condattr_t): Likewise.
15987         [POSIX] (pthread_key_t): Likewise.
15988         [POSIX] (pthread_mutex_t): Likewise.
15989         [POSIX] (pthread_mutexattr_t): Likewise.
15990         [POSIX] (pthread_once_t): Likewise.
15991         [POSIX] (pthread_t): Likewise.
15992         [POSIX-based standards] (pthread_atfork): Expect function.
15994 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15995             Richard Sandiford  <richard@codesourcery.com>
15997         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15998         (swap_endianness_p): New extern variable.
15999         (set_big_endian): New inline function.
16000         (maybe_swap_uint32): Likewise.
16001         (maybe_swap_uint32_array): Likewise.
16002         (maybe_swap_uint32_obstack): Likewise.
16003         * locale/programs/locfile.c: Include <stdbool.h>.
16004         (swap_endianness_p): New variable.
16005         (add_locale_uint32): Call maybe_swap_uint32.
16006         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16007         (write_locale_data): Call maybe_swap_uint32_array.
16008         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16009         maybe_swap_uint32.
16010         (obstack_int32_grow_fast): Likewise.
16011         (output_weightwc): Call maybe_swap_uint32_obstack.
16012         (collate_output): Likewise.
16013         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16014         (OPT_LITTLE_ENDIAN): Likewise.
16015         (options): Add --little-endian and --big-endian options.
16016         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16017         * locale/programs/locarchive.c: Include "locfile.h".
16018         (GET): New macro.
16019         (SET): Likewise.
16020         (INC): Likewise.
16021         (create_archive): Use the new macros to access fields of
16022         structures directly mapped from or written to locale archives.
16023         (oldlocrecentcmp): Likewise.
16024         (enlarge_archive): Likewise.
16025         (insert_name): Likewise.
16026         (add_alias): Likewise.
16027         (add_locale): Likewise.
16028         (delete_locales_from_archive): Likewise.
16029         (show_archive_content): Likewise.
16030         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16031         locale data.
16033 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16035         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16036         http://www.gnu.org/doc/freemanuals.texi.
16037         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16039 2013-09-24  Will Newton  <will.newton@linaro.org>
16041         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16042         macro.
16044 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16046         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16047         unsigned char.
16049 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16051         * manual/threads.texi (POSIX Threads): Fix a typo.
16053 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16055         [BZ #14547]
16056         * string/tst-strcoll-overflow.c: New test case.
16057         * string/Makefile (xtests): Add tst-strcoll-overflow.
16058         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16059         cache if string sizes may cause integer overflow.
16061         [BZ #14547]
16062         * string/strcoll_l.c (coll_seq): New members rule, idx,
16063         save_idx and back_us.
16064         (get_next_seq_nocache): New function.
16065         (do_compare_nocache): New function.
16066         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16067         when malloc fails.
16069 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16071         [BZ #15754]
16072         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16073         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16074         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16076         [BZ #15754]
16077         * elf/Makefile (tests): Add tst-ptrguard1.
16078         (tests-static): Add tst-ptrguard1-static.
16079         (tst-ptrguard1-ARGS): Define.
16080         (tst-ptrguard1-static-ARGS): Define.
16081         * elf/tst-ptrguard1.c: New file.
16082         * elf/tst-ptrguard1-static.c: New file.
16083         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16084         * sysdeps/i386/stackguard-macros.h: Likewise.
16085         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16086         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16087         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16088         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16089         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16090         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16092 2013-09-23  Hector Marco  <hecmargi@upv.es>
16093             Ismael Ripoll  <iripoll@disca.upv.es>
16094             Carlos O'Donell  <carlos@redhat.com>
16096         [BZ #15754]
16097         * sysdeps/generic/stackguard-macros.h: Define
16098         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16099         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16100         Define __pointer_chk_guard_local.
16101         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16102         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16104 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16106         [BZ #15859]
16107         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16109 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16111         * include/string.h (__ffs): Declare as hidden.
16112         * string/ffs.c (__ffs): Define as hidden.
16113         * sysdeps/i386/ffs.c (__ffs): Likewise.
16114         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16115         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16116         * sysdeps/s390/ffs.c (__ffs): Likewise.
16117         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16119 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16121         * NEWS: Mention malloc probes.
16123         * malloc/arena.c (new_heap): New memory_heap_new probe.
16124         (grow_heap): New memory_heap_more probe.
16125         (shrink_heap): New memory_heap_less probe.
16126         (heap_trim): New memory_heap_free probe.
16127         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16128         (systrim): New memory_sbrk_less probe.
16129         * manual/probes.texi: Document them.
16131         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16132         * manual/probes.texi: Document it.
16134         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16135         (__libc_realloc): Add memory_realloc_retry probe.
16136         (__libc_memalign): Add memory_memalign_retry probe.
16137         (__libc_valloc): Add memory_valloc_retry probe.
16138         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16139         (__libc_calloc): Add memory_calloc_retry probe.
16140         * manual/probes.texi: Document them.
16142         * malloc/arena.c (get_free_list): Add probe
16143         memory_arena_reuse_free_list.
16144         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16145         and memory_arena_reuse.
16146         (arena_get2) [!PER_THREAD]: Likewise.
16147         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16148         memory_arena_reuse_realloc.
16149         * manual/probes.texi: Document them.
16151         * malloc/malloc.c (__libc_free): Add
16152         memory_mallopt_free_dyn_thresholds probe.
16153         (__libc_mallopt): Add multiple memory_mallopt probes.
16154         * manual/probes.texi: Document them.
16156         * malloc/malloc.c: Include stap-probe.h.
16157         (__libc_mallopt): Add memory_mallopt probe.
16158         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16159         * manual/probes.texi: New.
16160         * manual/Makefile (chapters): Add probes.
16161         * manual/threads.texi: Set next node.
16163 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16165         [BZ #15963, #13985]
16166         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16167         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16168         Add `Chinese' to `nan' entry name.
16170 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16172         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16173         (POLYNOMIAL): Likewise.
16174         (TAYLOR_SINCOS): Likewise.
16175         (TAYLOR_SLOW): Likewise.
16176         (__sin): Use TAYLOR_SINCOS.
16177         (__cos): Likewise.
16178         (slow): Use TAYLOR_SLOW.
16179         (sloww): Likewise.
16180         (bsloww): Likewise.
16181         (csloww): Likewise.
16183 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16185         * stdlib/strtod_l.c: Fix buffer overrun.
16187 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16189         * benchtests/Makefile (bench): Add sincos.
16190         * benchtests/bench-sincos.c: New file.
16192         * math/libm-test.inc (cos_test_data): New test inputs.
16193         (sin_test_data): Likewise.
16195         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16196         macro.
16197         (__sin): Use it.
16198         (__cos): Likewise.
16199         (slow1): Likewise.
16200         (slow2): Likewise.
16201         (sloww1): Likewise.
16202         (sloww2): Likewise.
16203         (bsloww1): Likewise.
16204         (bsloww2): Likewise.
16205         (cslow2): Likewise.
16206         (csloww1): Likewise.
16207         (csloww2): Likewise.
16209         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16210         function.
16211         (__sin): Use it.
16212         (__cos): Likewise.
16214         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16215         gotos.
16216         (__cos): Likewise.
16218 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16220         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16221         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16222         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16223         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16224         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16225         * elf/cache.c (print_entry): Handle the new cache flags.
16227 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16228             Aldy Hernandez  <aldyh@redhat.com>
16230         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16231         Change condition to [_SOFT_FLOAT].
16232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16234         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16238         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16244         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16247         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16248         declaration.
16250 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16252         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16253         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16254         (__longjmp): Use LOAD_GP to load saved GPRs.
16255         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16256         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16257         (__sigsetjmp): Use SAVE_GP to save GPRs.
16259         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16260         Do not append -msoft-float.
16261         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16263 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16265         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16267 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16269         [BZ #15966]
16270         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16271         (_FPU_GETCW): Use initial "__" on variable and field names but not
16272         on macro parameter name.
16273         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16274         parentheses around reference to macro parameter.
16276 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16278         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16279         prototype.
16280         (ctype_startup): Use uint32_t in cast and sizeof for
16281         ctype->charnames.
16283 2013-09-11  Jia Liu  <proljc@gmail.com>
16285         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16286         __daddr_t_defined.
16287         [__FreeBSD__]: Likewise.
16289 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16291         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16292         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16293         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16294         (strchr): Remove __strchr_sse42 ifunc selection.
16295         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16296         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16298 2013-09-11  Will Newton  <will.newton@linaro.org>
16300         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16301         parameter to RES. Remove hardcoded 1000 value.
16302         * benchtests/bench-skeleton.c (main): Pass RES parameter
16303         to TIMING_INIT and multiply result by 1000.
16305 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16309 2013-09-11  Andreas Schwab  <schwab@suse.de>
16311         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16312         if not defined.
16313         (O_TMPFILE) [__USE_GNU]: Define.
16314         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16315         Define.
16317 2013-09-11  Will Newton  <will.newton@linaro.org>
16319         [BZ #15857]
16320         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16321         does not overflow.
16323 2013-09-11  Will Newton  <will.newton@linaro.org>
16325         [BZ #15856]
16326         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16327         does not overflow.
16329 2013-09-11  Will Newton  <will.newton@linaro.org>
16331         [BZ #15855]
16332         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16333         does not overflow.
16335 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16337         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16338         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16339         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16340         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16341         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16343 2013-09-10  Allan McRae  <allan@archlinux.org>
16345         [BZ #15748]
16346         * manual/arith.texi (Parsing of Floats): Clarify
16347         cross-reference.
16349         [BZ #15849]
16350         * manual/install.texi (Running make install): Mention
16351         --enable-pt-chown.
16352         * INSTALL: Regenerated.
16354 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16356         * csu/init-first.c (_init): Remove the !SHARED condition around
16357         FPU control word initialization.
16358         * elf/dl-support.c (_dl_fpu_control): New variable.
16359         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16360         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16361         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16362         * math/test-fpucw-static.c: New file.
16363         * math/test-fpucw-ieee.c: New file.
16364         * math/test-fpucw-ieee-static.c: New file.
16365         * math/Makefile (tests): Add `test-fpucw-ieee' and
16366         `$(tests-static)'.
16367         (tests-static): New variable.
16368         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16369         dependency to...
16370         [($(build-shared),yes)]
16371         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16372         ... this.
16373         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16374         New dependency.
16376 2013-09-09  Allan McRae  <allan@archlinux.org>
16378         [BZ #15939]
16379         * manual/string.texi (Collation Functions): Fix typo in
16380         strcoll example.
16381         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16383         [BZ #15893]
16384         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16386         [BZ #15892]
16387         * libio/memstream.c (open_memstream): Fix memory leak.
16388         * libio/wmemstream.c (open_wmemstream): Likewise.
16390         [BZ #15895]
16391         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16393 2013-09-09  Will Newton  <will.newton@linaro.org>
16395         * malloc/Makefile: Add tst-realloc to tests.
16396         * malloc/tst-realloc.c: New file.
16398 2013-09-09  Allan McRae  <allan@archlinux.org>
16400         [BZ #15844]
16401         * COPYING: Update from GNU website to fix FSF address.
16402         * COPYING.LIB: Likewise.
16404 2013-09-06  David S. Miller  <davem@davemloft.net>
16406         * po/zh_TW.po: Update Chinese (traditional) translation from
16407         translation project.
16409 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16410             Joseph Myers  <joseph@codesourcery.com>
16412         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16413         "localeinfo.h".
16414         (obstack_chunk_alloc): New macro.
16415         (obstack_chunk_free): Likewise.
16416         (record_offset): New function.
16417         (init_locale_data): Likewise.
16418         (align_locale_data): Likewise.
16419         (add_locale_empty): Likewise.
16420         (add_locale_raw_data): Likewise.
16421         (add_locale_raw_obstack): Likewise.
16422         (add_locale_string): Likewise.
16423         (add_locale_wstring): Likewise.
16424         (add_locale_uint32): Likewise.
16425         (add_locale_uint32_array): Likewise.
16426         (add_locale_char): Likewise.
16427         (start_locale_structure): Likewise.
16428         (end_locale_structure): Likewise.
16429         (start_locale_prelude): Likewise.
16430         (end_locale_prelude): Likewise.
16431         (write_locale_data): Take locale_file structure rather than an
16432         iovec.
16433         * locale/programs/locfile.h: Include "obstack.h".
16434         (struct locale_file): Change to store locale file contents instead
16435         of header.
16436         (init_locale_data): New prototype.
16437         (align_locale_data): Likewise.
16438         (add_locale_empty): Likewise.
16439         (add_locale_raw_data): Likewise.
16440         (add_locale_raw_obstack): Likewise.
16441         (add_locale_string): Likewise.
16442         (add_locale_wstring): Likewise.
16443         (add_locale_uint32): Likewise.
16444         (add_locale_uint32_array): Likewise.
16445         (add_locale_char): Likewise.
16446         (start_locale_structure): Likewise.
16447         (end_locale_structure): Likewise.
16448         (start_locale_prelude): Likewise.
16449         (end_locale_prelude): Likewise.
16450         (write_locale_data): Update prototype.
16451         * locale/programs/3level.h (struct TABLE): Remove result field.
16452         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16453         Use new locale_file interface.
16454         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16455         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16456         * locale/programs/ld-address.c (address_output): Use new
16457         locale_file interface.
16458         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16459         NO_ADD_LOCALE.
16460         (collate_finish): Don't call collseq_table_finalize.
16461         (collate_output): Use new locale_file interface.
16462         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16463         in file.
16464         (NO_FINALIZE): Change to NO_ADD_LOCALE.
16465         (TABLE): Move defines earlier in file.
16466         (ELEMENT): Likewise.
16467         (DEFAULT): Likewise.
16468         (wctrans_table_add): Move macro and inline function earlier in
16469         file.
16470         (struct wctype_table): Move type earlier in file.
16471         (add_locale_wctype_table): New static prototype.
16472         (struct locale_ctype_t): Use logical types instead of struct iovec
16473         pointers for members.
16474         (ctype_output): Use new locale_file interface.
16475         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
16476         new locale_file interface.
16477         (allocate_arrays): Update for use of new locale_file interface.
16478         * locale/programs/ld-identification.c (identification_output): Use
16479         new locale_file interface.
16480         * locale/programs/ld-measurement.c (measurement_output): Likewise.
16481         * locale/programs/ld-messages.c (messages_output): Likewise.
16482         * locale/programs/ld-monetary.c (monetary_output): Likewise.
16483         * locale/programs/ld-name.c (name_output): Likewise.
16484         * locale/programs/ld-numeric.c (numeric_output): Likewise.
16485         * locale/programs/ld-paper.c (paper_output): Likewise.
16486         * locale/programs/ld-telephone.c (telephone_output): Likewise.
16487         * locale/programs/ld-time.c (time_output): Likewise.
16489 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16491         * benchtests/Makefile: Add memrchr benchmark.
16492         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16493         benchmark as memrchr.
16494         * benchtests/bench-memrchr-ifunc.c: New file.
16495         * benchtests/bench-memrchr.c: New file.
16497 2013-09-06   Will Newton  <will.newton@linaro.org>
16499         * benchtests/Makefile (string-bench): Add memcpy.
16501 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
16502             Cong Wang  <amwang@redhat.com>
16504         [BZ #15850]
16505         * sysdeps/unix/sysv/linux/bits/in.h
16506         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16507         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16508         before __USE_KERNEL_IPV6_DEFS uses.
16509         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16510         IPPROTO_BEETPH.
16511         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16512         sockaddr_in6, or ipv6_mreq.
16514 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16516         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16517         memory access for final bytes in some large inputs.
16518         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16520 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16522         * string/test-memrchr.c: New file.
16523         * string/test-memrchr-ifunc.c: New file.
16524         * string/Makefile: Add new memrchr testcase.
16526 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
16528         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16529         fanotify_init returns EPERM.
16531 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16533         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16534         errors.
16535         (top level): Treat second token from macro or constant entries for
16536         allowed headers as allowed.
16537         * include/complex.h: Condition internal declarations on
16538         [!_ISOMAC].
16539         * include/fenv.h: Condition include of <stdbool.h> and internal
16540         declarations on [!_ISOMAC].
16542 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
16544         [BZ #15923]
16545         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16547 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
16549         * configure.in (--enable-versioning): Remove configure option.
16550         (libc_cv_asm_symver_directive): Remove configure test.
16551         (libc_cv_ld_version_script_option): Likewise.
16552         (VERSIONING): Remove variable and AC_SUBST.
16553         (DO_VERSIONING): Remove AC_DEFINE.
16554         * configure: Regenerated.
16555         * config.h.in (DO_VERSIONING): Remove macro.
16556         * Makerules [$(versioning) = yes]: Change conditionals to
16557         [$(build-shared) = yes].
16558         * config.make.in (versioning): Remove variable.
16559         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16560         [$(build-shared) = yes].
16561         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16562         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16563         * elf/Makefile [$(versioning) = yes]: Change conditionals to
16564         [$(build-shared) = yes].
16565         * extra-lib.mk [$(versioning) = yes]: Likewise.
16566         * hurd/Makefile [$(versioning) = yes]: Likewise.
16567         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16568         [SHARED].
16569         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16570         [SHARED].
16571         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16572         [SHARED && !NO_HIDDEN].
16573         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16574         [SHARED].
16575         [SHARED && DO_VERSIONING]: Likewise..
16576         * libio/Makefile [$(versioning) = yes]: Change conditionals to
16577         [$(build-shared) = yes].
16578         * manual/install.texi (--disable-versioning): Remove
16579         documentation.
16580         * INSTALL: Regenerated.
16581         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16582         to [SHARED].
16583         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16584         [$(build-shared) = yes].
16585         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16586         * sysdeps/i386/i686/multiarch/strstr-c.c
16587         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16588         [SHARED && !NO_HIDDEN].
16589         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16590         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16591         * sysdeps/powerpc/powerpc32/dl-machine.c
16592         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16593         * sysdeps/powerpc/powerpc32/sysdep.h
16594         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16595         to [SHARED && PIC && !NO_HIDDEN].
16596         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16597         conditional to [SHARED].
16599 2013-09-04   Will Newton  <will.newton@linaro.org>
16601         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16602         * benchtests/bench-string.h: Include bench-timing.h instead
16603         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16604         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16605         call to HP_TIMING_DIFF_INIT.
16606         * benchtests/bench-memccpy.c: Use bench-timing.h macros
16607         instead of hp-timing.h macros.
16608         * benchtests/bench-memchr.c: Likewise.
16609         * benchtests/bench-memcmp.c: Likewise.
16610         * benchtests/bench-memcpy.c: Likewise.
16611         * benchtests/bench-memmem.c: Likewise.
16612         * benchtests/bench-memmove.c: Likewise.
16613         * benchtests/bench-memset.c: Likewise.
16614         * benchtests/bench-rawmemchr.c: Likewise.
16615         * benchtests/bench-strcasecmp.c: Likewise.
16616         * benchtests/bench-strcasestr.c: Likewise.
16617         * benchtests/bench-strcat.c: Likewise.
16618         * benchtests/bench-strchr.c: Likewise.
16619         * benchtests/bench-strcmp.c: Likewise.
16620         * benchtests/bench-strcpy.c: Likewise.
16621         * benchtests/bench-strcpy_chk.c: Likewise.
16622         * benchtests/bench-strlen.c: Likewise.
16623         * benchtests/bench-strncasecmp.c: Likewise.
16624         * benchtests/bench-strncat.c: Likewise.
16625         * benchtests/bench-strncmp.c: Likewise.
16626         * benchtests/bench-strncpy.c: Likewise.
16627         * benchtests/bench-strnlen.c: Likewise.
16628         * benchtests/bench-strpbrk.c: Likewise.
16629         * benchtests/bench-strrchr.c: Likewise.
16630         * benchtests/bench-strspn.c: Likewise.
16631         * benchtests/bench-strstr.c: Likewise.
16633 2013-09-04  Will Newton  <will.newton@linaro.org>
16635         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16637 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
16639         [BZ #15427]
16640         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16641         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16642         * math/libm-test.inc (lgamma_test_data): Add more tests.
16643         * sysdeps/i386/fpu/libm-test-ulps: Update.
16644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16646 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
16648         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16650         Add ifunc.
16651         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16652         Add strcmp-sse2-unaligned
16653         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16655 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16657         * Versions.def (libc): Add GLIBC_2.19.
16659 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16661         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16662         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16664 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16666         [BZ #14155]
16667         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16668         intermediate calculations in recurrence.
16669         (__ieee754_ynf): Likewise.
16670         * math/libm-test.inc (jn_test_data): Do not allow spurious
16671         underflow exception.  Add more tests.
16672         (yn_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-02   Ondřej Bílka  <neleai@seznam.cz>
16678         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16680 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16682         * csu/init-first.c: Fix then/than typos.
16683         * locale/programs/ld-collate.c: Likewise.
16684         * locale/programs/linereader.h: Likewise.
16685         * manual/charset.texi: Likewise.
16686         * manual/filesys.texi: Likewise.
16687         * manual/stdio.texi: Likewise.
16688         * manual/string.texi: Likewise.
16689         * stdlib/fmtmsg.c: Likewise.
16690         * sysdeps/i386/stpncpy.S: Likewise.
16691         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16692         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16693         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16694         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16696 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16698         * elf/dl-open.c: Fix typos.
16699         * iconvdata/gbbig5.c: Likewise.
16700         * iconvdata/iso-2022-jp.c: Likewise.
16701         * iconv/gconv_int.h: Likewise.
16702         * iconv/loop.c: Likewise.
16703         * nis/rpcsvc/nis.h: Likewise.
16704         * resolv/ns_name.c: Likewise.
16705         * stdio-common/vfscanf.c: Likewise.
16706         * streams/stropts.h: Likewise.
16707         * sunrpc/rpc_thread.c: Likewise.
16708         * sysdeps/i386/strpbrk.S: Likewise.
16709         * sysdeps/ieee754/k_standard.c: Likewise.
16710         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16711         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16712         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16713         * sysdeps/mach/hurd/profil.c: Likewise.
16714         * sysdeps/s390/dl-procinfo.h: Likewise.
16715         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16716         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16717         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16718         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16719         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16721 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16723         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16726 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16728         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16729         aix specific files.
16730         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16731         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16732         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16733         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16734         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16735         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16736         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16737         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16739 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16740             Roland McGrath  <roland@hack.frob.com>
16742         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16743         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16745 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16747         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16748         __executable_start symbol instead of _start.
16750 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16752         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16753         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16754         Move macros to...
16755         * sysdeps/gnu/ldsodefs.h: ... this new file.
16757         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16758         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16759         instead of ELFOSABI_LINUX.
16761         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16762         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16763         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16764         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16765         Likewise.
16766         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16767         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16768         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16769         Likewise.
16770         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16771         (ibm_extended_long_double): Add ieee_nan member.
16772         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16773         (do_test): New function.
16775         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16776         TEST_TRUNC.
16777         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16778         functions, renamed from truncdfsf_test, trunctfsf_test,
16779         trunctfdf_test.
16780         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16781         functions.
16782         (do_test): Run all these.
16784 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16786         * argp/argp-help.c: Fix typos.
16787         * argp/argp-parse.c: Likewise.
16788         * debug/backtracesyms.c: Likewise.
16789         * elf/elf.h: Likewise.
16790         * malloc/malloc.c: Likewise.
16791         * nis/nis_print.c: Likewise.
16792         * resolv/res_comp.c: Likewise.
16793         * stdlib/stdlib.h: Likewise.
16794         * sunrpc/clnt_tcp.c: Likewise.
16795         * sunrpc/clnt_udp.c: Likewise.
16796         * sunrpc/clnt_unix.c: Likewise.
16797         * sysdeps/unix/bsd/ptsname.c: Likewise.
16798         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16799         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16801         Likewise.
16802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16803         Likewise.
16804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16805         Likewise.
16806         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16808 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16810         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16813 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16815         [BZ #15897]
16816         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16817         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16818         ($(objpfx)bug-dl-leaf): New rule.
16819         ($(objpfx)bug-dl-leaf.so): Likewise.
16820         ($(objpfx)bug-dl-leaf.out): Likewise.
16821         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16822         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16823         * dlfcn/bug-dl-leaf.c: New test.
16824         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16825         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16826         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16827         (dlclose): Likewise.
16828         (dlmopen): Likewise.
16830 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16832         * include/netdb.h [!_ISOMAC]:
16833         Don't include <tls.h>.
16834         (h_errno, __libc_h_errno): Move declaration and macros out of
16835         [_LIBC_REENTRANT].
16837         * include/resolv.h [_RESOLV_H_]:
16838         Don't include <tls.h>.
16839         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16840         * resolv/res_libc.c: Don't include <tls.h>.
16841         (_res): Use __attribute__ ((nocommon)) in place of
16842         __attribute__ ((section (".bss"))).
16844         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16845         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16847         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16849         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16850         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16852         * resolv/res_mkquery.c: Include <sys/time.h>.
16854         * inet/ifreq.c: Moved to ...
16855         * sysdeps/unix/ifreq.c: ... here.
16856         * inet/ifreq.c: New file, true stub version.
16858         * socket/sa_len.c: New file.
16859         * socket/Makefile (aux): Add it.
16860         * sysdeps/unix/sysv/linux/Makefile
16861         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16862         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16863         and #include <socket/sa_len.c>.
16864         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16865         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16867         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16868         * bits/socket.h: ... here.
16870         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16871         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16872         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16874 2013-08-27  Andreas Schwab  <schwab@suse.de>
16876         [BZ #15736]
16877         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16878         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16879         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16880         * string/test-strcasecmp.c (test_main): Run tests in several
16881         locales.
16882         * string/test-strncasecmp.c (test_main): Likewise.
16884         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16885         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16886         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16887         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16888         (__strncasecmp_ssse3) [PIC]: Likewise.
16890 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16892         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16894         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16895         instead of explicitly declaring xdecrypt.
16896         * nis/nss_nis/nis-publickey.c: Likewise.
16898 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16900         [BZ #15890]
16901         * nscd/aicache.c: Include res_hconf.h.
16902         (addhstaiX): Initialize res_hconf.
16904 2013-08-26  Andreas Schwab  <schwab@suse.de>
16906         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16907         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16909 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16911         * nscd/aicache.c (addhstaiX): Fix indentation.
16913 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16915         * configure.ac: Quote $build_pt_chown test.
16916         * configure: Regenerated.
16918 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16920         [BZ #15532]
16921         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16922         * math/s_cexpf.c (__cexpf): Likewise.
16923         * math/s_cexpl.c (__cexpl): Likewise.
16924         * math/libm-test.inc (cexp_test_data): Correct expected return
16925         value for NaN + i0.  Add another test.
16927 2013-08-22  David S. Miller  <davem@davemloft.net>
16929         * po/ca.po: Update Catalan translation from translation project.
16930         * po/uk.po: Add Ukrainian translations from translation project.
16932 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16934         [BZ #15797]
16935         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16936         is infinite, not alongside NaN test.
16937         * math/s_fdimf.c (__fdimf): Likewise.
16938         * math/s_fdiml.c (__fdiml): Likewise.
16939         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16940         errno is unchanged.
16942 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16944         * argp/argp-help.c: Fix typos.
16945         * crypt/speeds.c: Likewise.
16946         * csu/check_fds.c: Likewise.
16947         * elf/dl-load.c: Likewise.
16948         * elf/dl-open.c: Likewise.
16949         * elf/reldep3.c: Likewise.
16950         * elf/reldep.c: Likewise.
16951         * elf/sprof.c: Likewise.
16952         * iconv/iconv_charmap.c: Likewise.
16953         * iconv/skeleton.c: Likewise.
16954         * iconv/strtab.c: Likewise.
16955         * io/lockf64.c: Likewise.
16956         * libio/libioP.h: Likewise.
16957         * resolv/gai_notify.c: Likewise.
16958         * resolv/ns_name.c: Likewise.
16959         * resolv/ns_samedomain.c: Likewise.
16960         * resolv/res_send.c: Likewise.
16961         * stdlib/random.c: Likewise.
16962         * sunrpc/rpc/xdr.h: Likewise.
16963         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16964         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16965         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16966         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16967         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16968         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16969         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16970         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16971         * sysdeps/mach/hurd/check_fds.c: Likewise.
16972         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16973         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16974         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16975         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16976         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16977         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16978         * sysdeps/pthread/aio_notify.c: Likewise.
16979         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16980         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16981         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16982         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16983         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16985 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16987         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16988         version if bit_Slow_SSE4_2 is set.
16989         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16990         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16992 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16994         [BZ #15867]
16995         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16996         trampoline stack frame information.
16997         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16998         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16999         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17000         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17001         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17002         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17003         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17004         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17005         sa_flags value.
17006         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17007         interrupting a syscall and set with option SA_SIGINFO.
17009 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17011         [BZ #15531]
17012         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17013         argument is infinite.
17014         * math/s_cprojf.c (__cprojf): Likewise.
17015         * math/s_cprojl.c (__cprojl): Likewise.
17016         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17017         * math/libm-test.inc (cproj_test_data): Add more tests.
17019         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17021         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17022         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17023         size.  Use __ffs to determine corresponding shift.
17025 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17026             Roland McGrath  <roland@hack.frob.com>
17028         * Makefile (INSTALL): Remove trailing blank lines from output of
17029         makeinfo.
17031 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17033         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17034         Align 32 bit compat elf_greg to 8 bytes.
17036 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17038         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17040 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17042         * string/strcoll_l.c (coll_seq): New structure.
17043         (get_next_seq_cached): New function.
17044         (get_next_seq): New function.
17045         (do_compare): New function.
17046         (STRCOLL): Use GNU style definition.  Simplify implementation
17047         by using get_next_seq, get_next_seq_cached and do_compare.
17049 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17051         [BZ #14699]
17052         CVE-2013-4237
17053         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17054         member.
17055         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17056         member.
17057         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17058         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17059         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17060         conditional.
17061         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17062         GETDENTS_64BIT_ALIGNED.
17063         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17064         * manual/filesys.texi (Reading/Closing Directory): Document
17065         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17066         strongly.
17067         * manual/conf.texi (Limits for Files): Add portability note to
17068         NAME_MAX, PATH_MAX.
17069         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17071 2013-08-13  Andreas Schwab  <schwab@suse.de>
17073         [BZ #15749]
17074         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17075         of fabs.
17076         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17077         LDBL_MAX_EXP >= 16384]: Add tests for it.
17079 2013-08-12  David S. Miller  <davem@davemloft.net>
17081         * version.h (RELEASE): Set to "development".
17082         (VERSION): Set to "2.18.90".
17083         * NEWS: Add 2.19 section.
17085 2013-08-03  David S. Miller  <davem@davemloft.net>
17087         * po/ko.po: Update Korean translation from translation project.
17089 2013-08-01  David S. Miller  <davem@davemloft.net>
17091         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17092         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17093         Bilka.
17095 2013-07-30  David S. Miller  <davem@davemloft.net>
17097         * po/fr.po: Update French translation from translation project.
17099 2013-07-28  David S. Miller  <davem@davemloft.net>
17101         * po/cs.po: Update Czech translation from translation project.
17103         * po/sv.po: Update Swedish translation from translation project.
17105 2013-07-27  David S. Miller  <davem@davemloft.net>
17107         * po/eo.po: Update Esperanto translation from translation project.
17109         * po/vi.po: Update Vietnamese translation from translation project.
17111         * po/de.po: Update German translation from translation project.
17113 2013-07-26  David S. Miller  <davem@davemloft.net>
17115         * po/bg.po: Update Bulgarian translation from translation project.
17117         * po/nl.po: Update Dutch translation from translation project.
17118         * po/pl.po: Update Polish translation from translation project.
17119         * po/ru.po: Update Russian translation from translation project.
17121 2013-07-24  David S. Miller  <davem@davemloft.net>
17123         * po/libc.pot: Update.
17125 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17127         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17128         variable page size.
17129         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17130         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17131         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17133 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17135         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17137 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17138             Andreas Schwab  <schwab@suse.de>
17139             Roland McGrath  <roland@hack.frob.com>
17140             Joseph Myers  <joseph@codesourcery.com>
17141             Carlos O'Donell  <carlos@redhat.com>
17143         [BZ #15755]
17144         * config.h.in: Define HAVE_PT_CHOWN.
17145         * config.make.in (build-pt-chown): New variable.
17146         * configure.in (--enable-pt_chown): New configure option.
17147         * configure: Regenerate.
17148         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17149         build-pt-chown is enabled.
17150         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17151         pt_chown to fix pty ownership.
17152         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17153         CLOSE_ALL_FDS.
17154         * manual/install.texi (Configuring and compiling): Mention
17155         --enable-pt_chown. Add @findex for grantpt.
17156         * INSTALL: Regenerate.
17158 2013-07-20  David S. Miller  <davem@davemloft.net>
17160         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17161         difference between 32-bit and 64-bit.
17163 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17165         [BZ #15711]
17166         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17167         Avoid system header dependency with -ffreestanding.
17168         ($(objpfx)bits/syscall%d): Likewise.
17170 2013-07-13  David S. Miller  <davem@davemloft.net>
17172         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17173         underflows from atanl/atan2l due to bug 15319.
17174         (casinh_test_data): Likewise.
17176 2013-07-07  David S. Miller  <davem@davemloft.net>
17178         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17180 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17182         * sysdeps/i386/fpu/libm-test-ulps: Update.
17183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17185 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17187         * configure.in (--enable-lock-elision): Fix message text.
17188         * INSTALL: Regenerate.
17189         * configure: Regenerate.
17191 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17195 2013-07-03  Andreas Jaeger  <aj@suse.de>
17197         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17198         define.
17199         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17200         (ptrace_peeksiginfo_args): Add.
17201         (__ptrace_peeksiginfo_flags): Add.
17202         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17203         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17204         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17206 2013-07-03  Allan McRae  <allan@archlinux.org>
17208         * sysdeps/i386/fpu/libm-test-ulps: Update.
17210 2013-07-02  David S. Miller  <davem@davemloft.net>
17212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17214 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17218 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17220         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17223 2013-07-02  Andi Kleen <ak@linux.intel.com>
17225         * config.h.in (ENABLE_LOCK_ELISION): Add.
17226         * configure.in (--enable-lock-elision): Add option.
17227         * manual/install.texi: Document --enable lock elision.
17228         * configure: Regenerate
17229         * INSTALL: Regenerate.
17231 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17233         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17234         SSE4.2 strcasecmp for libc.a.
17235         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17237 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17239         [BZ #13304]
17240         * soft-fp/op-common.h (_FP_FMA): New macro.
17241         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17242         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17243         (_FP_MUL_MEAT_1_imm): ... here.
17244         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17245         (_FP_MUL_MEAT_1_wide): ... here.
17246         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17247         (_FP_MUL_MEAT_1_hard): ... here.
17248         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17249         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17250         (_FP_MUL_MEAT_2_wide): ... here.
17251         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17252         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17253         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17254         (_FP_MUL_MEAT_2_gmp): ... here.
17255         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17256         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17257         (_FP_MUL_MEAT_4_wide): ... here.
17258         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17259         (_FP_MUL_MEAT_4_gmp): ... here.
17260         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17261         (_FP_WFRACBITS_DW_S): Likewise.
17262         (_FP_WFRACXBITS_DW_S): Likewise.
17263         (_FP_HIGHBIT_DW_S): Likewise.
17264         (FP_FMA_S): Likewise.
17265         (_FP_FRAC_HIGH_DW_S): Likewise.
17266         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17267         (_FP_WFRACBITS_DW_D): Likewise.
17268         (_FP_WFRACXBITS_DW_D): Likewise.
17269         (_FP_HIGHBIT_DW_D): Likewise.
17270         (FP_FMA_D): Likewise.
17271         (_FP_FRAC_HIGH_DW_D): Likewise.
17272         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17273         (_FP_WFRACBITS_DW_E): Likewise.
17274         (_FP_WFRACXBITS_DW_E): Likewise.
17275         (_FP_HIGHBIT_DW_E): Likewise.
17276         (FP_FMA_E): Likewise.
17277         (_FP_FRAC_HIGH_DW_E): Likewise.
17278         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17279         (_FP_WFRACBITS_DW_Q): Likewise.
17280         (_FP_WFRACXBITS_DW_Q): Likewise.
17281         (_FP_HIGHBIT_DW_Q): Likewise.
17282         (FP_FMA_Q): Likewise.
17283         (_FP_FRAC_HIGH_DW_Q): Likewise.
17284         * soft-fp/fmasf4.c: New file.
17285         * soft-fp/fmadf4.c: Likewise.
17286         * soft-fp/fmatf4.c: Likewise.
17288 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17291         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17292         Silvermont.
17293         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17294         macro.
17295         (index_Slow_SSE4_2): Likewise.
17296         (index_Prefer_PMINUB_for_stringop): Likewise.
17297         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17298         bit_Slow_SSE4_2 is set.
17299         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17300         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17302 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17304         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17305         rtld_global._dl_hwcap2.
17306         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17307         POWER8.
17308         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17309         POWER8 feature descriptions defined in _dl_hwcap2.
17310         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17311         string handling for POWER8 feature bits.
17312         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17313         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17314         _dl_powerpc_cap_flags.
17315         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17316         * sysdeps/powerpc/rtld-global-offsets.sym
17317         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17318         _dl_hwcap2 in the rtld_global_ro structure.
17320 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17322         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17323         hardware capabilities in support of AT_HWCAP2.
17324         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17325         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17326         GLRO(dl_hwcap2).
17327         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17328         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17329         explicitly the unknown a_type display mechanism is used.
17330         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17331         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17332         struct member.
17333         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17334         to macro prototype for AT_HWCAP2 support.
17335         * sysdeps/i386/dl-procinfo.h: Likewise.
17336         * sysdeps/s390/dl-procinfo.h: Likewise.
17337         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17338         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17339         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17340         return -1 for unknown a_type display fallback.
17341         * sysdeps/sparc/dl-procinfo.h: Likewise.
17342         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17343         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17345 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17347         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17348         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17350 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17352         [BZ #12492]
17353         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17354         mprotect making __stack_prot writable.
17356 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17357             Joseph Myers  <joseph@codesourcery.com>
17359         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17360         as being properly aligned.
17362 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17364         * dlfcn/modstatic5.c: New file.
17365         * dlfcn/tststatic5.c: New file.
17366         * dlfcn/Makefile (tests): Add tststatic5.
17367         (tests-static): Likewise.
17368         (modules-names): Add modstatic5.
17369         (tststatic5-ENV): New variable.
17370         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17372         [BZ #15022]
17373         * elf/dl-support.c (_dl_main_map): New variable.
17374         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17375         (_dl_nns, _dl_load_adds): Set to 1.
17376         (_dl_initial_searchlist): Refer to _dl_main_map.
17377         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17378         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17379         call to _dl_get_origin.
17380         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17381         around call_map.
17382         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17383         * dlfcn/modstatic3.c: New file.
17384         * dlfcn/tststatic3.c: New file.
17385         * dlfcn/tststatic4.c: New file.
17386         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17387         (tests-static): Likewise.
17388         (modules-names): Add modstatic3.
17389         (tststatic3-ENV, tststatic4-ENV): New variables.
17390         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17391         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17393 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17395         * configure.in (CC): Require GCC version 4.4 or later.
17396         * configure: Regenerated.
17397         * manual/install.texi (Tools for Compilation): Update GCC version
17398         requirement.
17399         * INSTALL: Regenerated.
17401 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17403         [BZ #15674]
17404         * string/test-memcmp.c (check2): New.
17405         (main): Call check2.
17407         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17409 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17411         [BZ #15022]
17412         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17413         over to...
17414         (dl_open_worker) [!SHARED]: ... here.
17416 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17418         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17420 2013-06-25  Richard Henderson  <rth@redhat.com>
17422         * locale/programs/locarchive.c: Include <libc-internal.h>
17424 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
17426         * manual/texinfo.tex: Update to version 2013-06-21.17, with
17427         trailing whitespace removed.
17429 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17431         [BZ #10283]
17432         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17433         * locale/programs/locarchive.c: Include libc-mmap.h.
17434         (prepare_address_space): Take two new outputs (the mmap base and len).
17435         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
17436         values.
17437         (create_archive): Declare new mmap base and len values for
17438         prepare_address_space, and store the result in ah.
17439         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17440         (enlarge_archive): If ah->mmap_base is not NULL, use that and
17441         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17442         Declare new mmap base and len values for
17443         prepare_address_space, and store the result in new_ah.
17444         (open_archive): Declare new mmap base and len values for
17445         prepare_address_space, and store the result in ah.
17446         (close_archive): If ah->mmap_base is not NULL, use that and
17447         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17448         * sysdeps/generic/libc-mmap.h: New file.
17450 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
17452         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17453         (ALIGN_UP): Likewise.
17454         (PTR_ALIGN_DOWN): Likewise.
17455         (PTR_ALIGN_UP): Likewise.
17457 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17459         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17460         entry mapped to PPC_PLATFORM_POWER8.
17461         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17462         POWER8.
17463         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17464         (_dl_string_platform): Add case for exporting platform position for
17465         POWER8.
17466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17467         search path to sysdeps/powerpc/powerpc32/power8 directory.
17468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17469         search path to sysdeps/powerpc/powerpc64/power8 directory.
17470         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17471         power7 directories.
17472         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17473         power7 directories.
17475 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17477         * INSTALL: Regenerate.
17479         * nscd/connections.c (nscd_init): Fix comment.
17481 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
17483         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17485         [BZ #15667]
17486         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17487         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17489 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17491         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17492         DL_DST_REQ_STATIC.
17493         (DL_DST_REQ_STATIC): Remove macro.
17495 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
17497         [BZ #7006]
17498         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17499         with a shift of 0 bits.
17501 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
17503         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17504         $(tststatic-ENV).
17506 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17508         [BZ #15655]
17509         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17511 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17513         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17514         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17515         accepts -fno-tree-loop-distribute-patterns.
17516         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17517         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17518         recursive call.
17519         * string/memset.c (memset): Likewise.
17520         * string/test-memmove.c (simple_memmove): Disable loop transformation
17521         to library calls.
17522         * string/test-memset.c (simple_memset): Likewise.
17523         * benchtests/bench-memmove.c (simple_memmove): Likewise.
17524         * benchtests/bench-memset.c (simple_memset): Likewise.
17525         * configure: Regenerated.
17527 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
17529         * math/test-misc.c (main): Ignore fesetround failure when failures
17530         of subsequent rounding tests would be ignored.
17532         [BZ #15654]
17533         * math/fedisblxcpt.c (fedisableexcept): Return 0.
17534         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17535         * math/fegetenv.c (__fegetenv): Return 0.
17536         * math/fegetexcept.c (fegetexcept): Return 0.
17537         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17538         FE_TONEAREST.
17539         * math/feholdexcpt.c (feholdexcept): Return 0.
17540         * math/fesetenv.c (__fesetenv): Return 0.
17541         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17542         argument FE_TONEAREST.
17543         * math/feupdateenv.c (__feupdateenv): Return 0.
17544         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17546 2013-06-18  Roland McGrath  <roland@hack.frob.com>
17548         * elf/rtld-Rules (rtld-compile-command.S): New variable.
17549         (rtld-compile-command.s, rtld-compile-command.c): New variables.
17550         ($(objpfx)rtld-%.os rules): Use them.
17552 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17554         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17555         fields.
17557 2013-06-17  Roland McGrath  <roland@hack.frob.com>
17559         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17560         length of target pattern, then descending length of dependency pattern.
17561         * configure.in (AWK): Require gawk 3.1.2 or newer.
17562         * manual/install.texi (Tools for Compilation): Say that we do.
17563         * configure: Regenerated.
17565         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17566         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17567         * scripts/sysd-rules.awk: ... this new script.
17568         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17569         than a glob-style pattern.
17571 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
17573         * math/test-misc.c (main): Do not treat incorrectly rounded
17574         conversions as failure unless ROUNDING_TESTS passes.
17576 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
17578         [BZ #15631]
17579         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17580         restore exception state around main square root computation, then
17581         check for inexactness explicitly.
17583         * math/libm-test.inc (fma_test_data): Add another test.
17585 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17587         * manual/threads.texi (Non-POSIX Extensions): New document
17588         node.  Document pthread_getattr_default_np and
17589         pthread_setattr_default_np.
17591         * Versions.def (libpthread): Add GLIBC_2.18.
17592         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17594         Likewise.
17595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17596         Likewise.
17597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17598         Likewise.
17599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17600         Likewise.
17601         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17602         Likewise.
17603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17604         Likewise.
17605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17606         Likewise.
17607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17608         Likewise.
17609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17610         Likewise.
17612 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17615         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17617 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17618             H.J. Lu  <hjl.tools@gmail.com>
17620         [BZ #15627]
17621         * sysdeps/x86_64/rtld-memset.c: Remove file.
17622         * sysdeps/x86_64/rtld-memset.S: New file.
17624 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
17626         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17627         (test_in_one_mode): Take arguments for whether the rounding mode
17628         is supported for each floating-point type.
17629         (do_test): Pass new arguments to test_in_one_mode using
17630         ROUNDING_TESTS.
17632 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17634         * posix/tst-waitid.c (do_test): Distinguish different instances of
17635         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
17636         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17637         before entering the kernel for waitpid.
17639 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17641         * NEWS: Fix note on clock function precision.  Text by Roland
17642         McGrath.
17644 2013-06-13  Roland McGrath  <roland@hack.frob.com>
17646         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17647         it into place only when and if the sanity check passes.
17649 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
17651         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17652         output for whether conversion result is exact.  Take argument
17653         indicating whether type is IBM long double.
17654         (round_for_all): Change need_exact field to ibm_ld.
17655         * stdlib/tst-strtod-round.c (struct exactness): New type.
17656         (struct test): Change bool ld_ok field to struct exactness exact.
17657         (TEST): Update all definitions for change to field.
17658         (tests): Regenerate array contents.
17659         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17660         field value.  Check for IBM long double here.
17661         (do_test): Update calls to test_in_one_mode.
17663 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17665         [BZ #12515]
17666         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17667         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17669 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17671         [BZ #15605]
17672         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17673         generated by the compiler on loop optimizations.
17674         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17675         general definitions.
17677 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17679         * math/bug-nextafter.c: Include <math-tests.h>.
17680         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17681         the relevant type.
17682         * math/bug-nexttoward.c: Include <math-tests.h>.
17683         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17684         the relevant type.
17685         * math/test-misc.c: Include <math-tests.h>.
17686         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17687         the relevant type.
17689 2013-06-12  Andreas Jaeger  <aj@suse.de>
17691         * po/ia.po: Update Interlingua translation from translation
17692         project.
17694 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17696         * include/fenv.h: Include stdbool.h.
17697         (struct rm_ctx): New structure.
17698         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17699         Define macro.
17700         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17701         (SET_RESTORE_ROUNDF): Likewise.
17702         (SET_RESTORE_ROUNDL): Likewise.
17703         (SET_RESTORE_ROUND_NOEX): Likewise.
17704         (SET_RESTORE_ROUND_NOEXF): Likewise.
17705         (SET_RESTORE_ROUND_NOEXL): Likewise.
17706         (SET_RESTORE_ROUND_53BIT): Likewise.
17707         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17708         (libc_feresetround_noexf_ctx): Likewise.
17709         (libc_feresetround_noexl_ctx): Likewise.
17710         (libc_feholdsetround_53bit_ctx): Likewise.
17711         (libc_feresetround_53bit_ctx): Likewise.
17712         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17713         (libc_feholdexcept_setround_sse_ctx): New function.
17714         (libc_fesetenv_sse_ctx): Likewise.
17715         (libc_feupdateenv_sse_ctx): Likewise.
17716         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17717         (libc_feholdexcept_setround_387_ctx): Likewise.
17718         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17719         (libc_feholdsetround_387_prec_ctx): Likewise.
17720         (libc_feholdsetround_387_ctx): Likewise.
17721         (libc_feholdsetround_387_53bit_ctx): Likewise.
17722         (libc_feholdsetround_sse_ctx): Likewise.
17723         (libc_feresetround_sse_ctx): Likewise.
17724         (libc_feresetround_387_ctx): Likewise.
17725         (libc_feupdateenv_387_ctx): Likewise.
17726         (libc_feholdexcept_setroundf_ctx): Define macro.
17727         (libc_fesetenvf_ctx): Likewise.
17728         (libc_feupdateenvf_ctx): Likewise.
17729         (libc_feholdsetroundf_ctx): Likewise.
17730         (libc_feresetroundf_ctx): Likewise.
17731         (libc_feholdexcept_setround_ctx): Likewise.
17732         (libc_fesetenv_ctx): Likewise.
17733         (libc_feupdateenv_ctx): Likewise.
17734         (libc_feholdsetround_ctx): Likewise.
17735         (libc_feresetround_ctx): Likewise.
17736         (libc_feholdexcept_setroundl_ctx): Likewise.
17737         (libc_feupdateenvl_ctx): Likewise.
17738         (libc_feholdsetroundl_ctx): Likewise.
17739         (libc_feresetroundl_ctx): Likewise.
17740         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17741         (libc_feresetround_53bit_ctx): Likewise.
17743 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17745         * locale/iso-639.def: Convert to UTF-8.
17747 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17749         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17750         (EXCEPTION_TESTS_double): Likewise.
17751         (EXCEPTION_TESTS_long_double): Likewise.
17752         (EXCEPTION_TESTS): Likewise.
17753         * math/libm-test.inc (test_exceptions): Only test exceptions if
17754         EXCEPTION_TESTS (FLOAT).
17756 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17758         * benchtests/Makefile (string-bench): Add strcpy_chk and
17759         stpcpy_chk.
17760         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17761         * benchtests/bench-stpcpy_chk.c: New file.
17762         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17763         * benchtests/bench-strcpy_chk.c: New file.
17764         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17765         code.
17766         (do_test): Likewise.
17768 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17770         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17771         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17772         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17773         with tabs where appropriate.
17774         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17775         dl-procinfo.h.
17776         [PPC_PLATFORM_PPC440]: Likewise.
17777         [PPC_PLATFORM_PPC464]: Likewise.
17778         [PPC_PLATFORM_PPC476]: Likewise.
17779         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17780         ppc464, and ppc476 platform strings merging from ports/
17781         dl-procinfo.h.
17783 2013-06-11  Andreas Schwab  <schwab@suse.de>
17785         [BZ #14991]
17786         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17787         (from_ucs4_idx): Regenerate.
17788         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17789         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17790         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17791         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17792         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17793         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17794         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17795         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17796         from FROM_LOOP and TO_LOOP specific macros.
17797         (BODY): Handle combining characters.
17798         * iconvdata/BIG5HKSCS.irreversible: Update.
17799         * iconvdata/BIG5HKSCS.precomposed: New file.
17800         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17801         characters.
17802         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17804 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17806         * include/sys/time.h: Fix indentation and add copyright header.
17808         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17809         (do_test): Likewise.
17810         * string/test-memchr.c (do_one_test): Likewise.
17811         (do_test): Likewise.
17812         * string/test-memcmp.c (do_one_test): Likewise.
17813         (do_test): Likewise.
17814         * string/test-memcpy.c (do_one_test): Likewise.
17815         (do_test): Likewise.
17816         * string/test-memmem.c (do_one_test): Likewise.
17817         (do_test): Likewise.
17818         (do_random_tests): Likewise.
17819         * string/test-memmove.c (do_one_test): Likewise.
17820         (do_test): Likewise.
17821         * string/test-memset.c (do_one_test): Likewise.
17822         (do_test): Likewise.
17823         * string/test-rawmemchr.c (do_one_test): Likewise.
17824         (do_test): Likewise.
17825         * string/test-strcasecmp.c (do_one_test): Likewise.
17826         (do_test): Likewise.
17827         * string/test-strcasestr.c (do_one_test): Likewise.
17828         (do_test): Likewise.
17829         * string/test-strcat.c (do_one_test): Likewise.
17830         (do_test): Likewise.
17831         * string/test-strchr.c (do_one_test): Likewise.
17832         (do_test): Likewise.
17833         * string/test-strcmp.c (do_one_test): Likewise.
17834         (do_test): Likewise.
17835         * string/test-strcpy.c (do_one_test): Likewise.
17836         (do_test): Likewise.
17837         * string/test-string.h: Likewise.
17838         (test_init): Likewise.
17839         * string/test-strlen.c (do_one_test): Likewise.
17840         (do_test): Likewise.
17841         * string/test-strncasecmp.c (do_one_test): Likewise.
17842         (do_test): Likewise.
17843         * string/test-strncat.c (do_one_test): Likewise.
17844         (do_test): Likewise.
17845         * string/test-strncmp.c (do_one_test): Likewise.
17846         (do_test_limit): Likewise.
17847         (do_test): Likewise.
17848         * string/test-strncpy.c (do_one_test): Likewise.
17849         (do_test): Likewise.
17850         * string/test-strnlen.c (do_one_test): Likewise.
17851         (do_test): Likewise.
17852         * string/test-strpbrk.c (do_one_test): Likewise.
17853         (do_test): Likewise.
17854         * string/test-strrchr.c (do_one_test): Likewise.
17855         (do_test): Likewise.
17856         * string/test-strspn.c (do_one_test): Likewise.
17857         (do_test): Likewise.
17858         * string/test-strstr.c (do_one_test): Likewise.
17859         (do_test): Likewise.
17861         * benchtests/Makefile (string-bench): Add string benchmarks.
17862         * benchtests/bench-bcopy-ifunc.c: New file.
17863         * benchtests/bench-bcopy.c: New file.
17864         * benchtests/bench-bzero-ifunc.c: New file.
17865         * benchtests/bench-bzero.c: New file.
17866         * benchtests/bench-memccpy-ifunc.c: New file.
17867         * benchtests/bench-memccpy.c: New file.
17868         * benchtests/bench-memchr-ifunc.c: New file.
17869         * benchtests/bench-memchr.c: New file.
17870         * benchtests/bench-memcmp-ifunc.c: New file.
17871         * benchtests/bench-memcmp.c: New file.
17872         * benchtests/bench-memmem-ifunc.c: New file.
17873         * benchtests/bench-memmem.c: New file.
17874         * benchtests/bench-memmove-ifunc.c: New file.
17875         * benchtests/bench-memmove.c: New file.
17876         * benchtests/bench-mempcpy-ifunc.c: New file.
17877         * benchtests/bench-mempcpy.c: New file.
17878         * benchtests/bench-memset-ifunc.c: New file.
17879         * benchtests/bench-memset.c: New file.
17880         * benchtests/bench-rawmemchr-ifunc.c: New file.
17881         * benchtests/bench-rawmemchr.c: New file.
17882         * benchtests/bench-stpcpy-ifunc.c: New file.
17883         * benchtests/bench-stpcpy.c: New file.
17884         * benchtests/bench-stpncpy-ifunc.c: New file.
17885         * benchtests/bench-stpncpy.c: New file.
17886         * benchtests/bench-strcasecmp-ifunc.c: New file.
17887         * benchtests/bench-strcasecmp.c: New file.
17888         * benchtests/bench-strcasestr-ifunc.c: New file.
17889         * benchtests/bench-strcasestr.c: New file.
17890         * benchtests/bench-strcat-ifunc.c: New file.
17891         * benchtests/bench-strcat.c: New file.
17892         * benchtests/bench-strchr-ifunc.c: New file.
17893         * benchtests/bench-strchr.c: New file.
17894         * benchtests/bench-strchrnul-ifunc.c: New file.
17895         * benchtests/bench-strchrnul.c: New file.
17896         * benchtests/bench-strcmp-ifunc.c: New file.
17897         * benchtests/bench-strcmp.c: New file.
17898         * benchtests/bench-strcpy-ifunc.c: New file.
17899         * benchtests/bench-strcpy.c: New file.
17900         * benchtests/bench-strcspn-ifunc.c: New file.
17901         * benchtests/bench-strcspn.c: New file.
17902         * benchtests/bench-strlen-ifunc.c: New file.
17903         * benchtests/bench-strlen.c: New file.
17904         * benchtests/bench-strncasecmp-ifunc.c: New file.
17905         * benchtests/bench-strncasecmp.c: New file.
17906         * benchtests/bench-strncat-ifunc.c: New file.
17907         * benchtests/bench-strncat.c: New file.
17908         * benchtests/bench-strncmp-ifunc.c: New file.
17909         * benchtests/bench-strncmp.c: New file.
17910         * benchtests/bench-strncpy-ifunc.c: New file.
17911         * benchtests/bench-strncpy.c: New file.
17912         * benchtests/bench-strnlen-ifunc.c: New file.
17913         * benchtests/bench-strnlen.c: New file.
17914         * benchtests/bench-strpbrk-ifunc.c: New file.
17915         * benchtests/bench-strpbrk.c: New file.
17916         * benchtests/bench-strrchr-ifunc.c: New file.
17917         * benchtests/bench-strrchr.c: New file.
17918         * benchtests/bench-strspn-ifunc.c: New file.
17919         * benchtests/bench-strspn.c: New file.
17920         * benchtests/bench-strstr-ifunc.c: New file.
17921         * benchtests/bench-strstr.c: New file.
17923         * benchtests/Makefile: Disable parallel execution of targets.
17924         (string-bench): Add memcpy.
17925         (benchset): New variable to store a list of benchmark sets.
17926         (bench-func): Renamed from bench.
17927         (bench-set): New target.
17928         (bench): Depend on bench-func and bench-set.
17929         * benchtests/README: Add section on benchmark sets.
17930         * benchtests/bench-memcpy-ifunc.c: New file.
17931         * benchtests/bench-memcpy.c: New file.
17932         * benchtests/bench-string.h: New file.
17934 2013-06-11  Andreas Schwab  <schwab@suse.de>
17936         [BZ #15577]
17937         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17938         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17939         values in the triple.
17940         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17941         terminator in the group key.
17943 2013-06-11  Andreas Jaeger  <aj@suse.de>
17945         * po/zh_TW.po: Update Chinese (traditional) translation from
17946         translation project.
17948 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17950         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17951         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17952         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17953         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17954         (clock_getcpuclockid): Likewise.
17955         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17956         Add weak_alias and libc_hidden_def.
17957         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17958         * rt/clock_gettime.c (clock_gettime): Rename to
17959         __clock_gettime.  Add weak_alias and libc_hidden_def.
17960         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17961         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17962         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17963         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17964         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17965         Likewise.
17966         * rt/clock_settime.c (clock_settime): Rename to
17967         __clock_settime.  Add weak_alias and libc_hidden_def.
17968         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17970 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17972         * mach/err_boot.sub: Remove trailing whitespace.
17973         * mach/err_ipc.sub: Likewise.
17974         * mach/err_mach.sub: Likewise.
17976         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17977         (ROUNDING_TESTS_double): Likewise.
17978         (ROUNDING_TESTS_long_double): Likewise.
17979         (ROUNDING_TESTS): Likewise.
17980         * math/libm-test.inc: Include <math-tests.h>.
17981         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17982         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17983         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17984         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17986 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17988         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17989         of assigning.
17991 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17993         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17994         otherwise empty TRANS lines.
17995         * sysdeps/gnu/errlist.c: Regenerated.
17997         * catgets/gencat.c (error_print): Use (void) in function
17998         definition.
17999         * crypt/crypt_util.c (__init_des): Likewise.
18000         * crypt/speeds.c (Stop): Likewise.
18001         (main): Likewise.
18002         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18003         * inet/ruserpass.c (token): Likewise.
18004         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18005         * intl/localealias.c (extend_alias_table): Likewise.
18006         * intl/plural-exp.c (init_germanic_plural): Likewise.
18007         * libio/fcloseall.c (__fcloseall): Likewise.
18008         * libio/genops.c (_IO_flush_all): Likewise.
18009         (_IO_flush_all_linebuffered): Likewise.
18010         (_IO_cleanup): Likewise.
18011         (_IO_iter_begin): Likewise.
18012         (_IO_iter_end): Likewise.
18013         (_IO_list_lock): Likewise.
18014         (_IO_list_unlock): Likewise.
18015         (_IO_list_resetlock): Likewise.
18016         * libio/getchar.c (getchar): Likewise.
18017         * libio/getchar_u.c (getchar_unlocked): Likewise.
18018         * libio/getwchar.c (getwchar): Likewise.
18019         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18020         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18021         * login/getpt.c (__getpt): Likewise.
18022         * login/tst-utmp.c (main): Likewise.
18023         * malloc/hooks.c (__malloc_check_init): Likewise.
18024         * malloc/malloc.c (__malloc_stats): Likewise.
18025         * malloc/mtrace.c (tr_break): Likewise.
18026         (mtrace): Likewise.
18027         (muntrace): Likewise.
18028         * misc/fstab.c (endfsent): Likewise.
18029         * misc/getclktck.c (__getclktck): Likewise.
18030         * misc/getdtsz.c (__getdtablesize): Likewise.
18031         * misc/gethostid.c (gethostid): Likewise.
18032         * misc/getpagesize.c (__getpagesize): Likewise.
18033         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18034         (__get_nprocs): Likewise.
18035         (__get_phys_pages): Likewise.
18036         (__get_avphys_pages): Likewise.
18037         * misc/getttyent.c (getttyent): Likewise.
18038         (setttyent): Likewise.
18039         (endttyent): Likewise.
18040         * misc/getusershell.c (getusershell): Likewise.
18041         (endusershell): Likewise.
18042         (setusershell): Likewise.
18043         (initshells): Likewise.
18044         * misc/hsearch.c (__hdestroy): Likewise.
18045         * misc/sync.c (sync): Likewise.
18046         * misc/syslog.c (closelog_internal): Likewise.
18047         (closelog): Likewise.
18048         * misc/ttyslot.c (ttyslot): Likewise.
18049         * misc/vhangup.c (vhangup): Likewise.
18050         * posix/fork.c (__fork): Likewise.
18051         * posix/getegid.c (__getegid): Likewise.
18052         * posix/geteuid.c (__geteuid): Likewise.
18053         * posix/getgid.c (__getgid): Likewise.
18054         * posix/getpid.c (__getpid): Likewise.
18055         * posix/getppid.c (__getppid): Likewise.
18056         * posix/getuid.c (__getuid): Likewise.
18057         * posix/pause.c (pause): Likewise.
18058         * posix/setpgrp.c (setpgrp): Likewise.
18059         * posix/setsid.c (__setsid): Likewise.
18060         * posix/test-vfork.c (noop): Likewise.
18061         * resolv/gethnamaddr.c (_endhtent): Likewise.
18062         (_gethtent): Likewise.
18063         (ht_endhostent): Likewise.
18064         (gethostent): Likewise.
18065         (dns_service): Likewise.
18066         * stdlib/drand48.c (drand48): Likewise.
18067         * stdlib/lrand48.c (lrand48): Likewise.
18068         * stdlib/mrand48.c (mrand48): Likewise.
18069         * stdlib/rand.c (rand): Likewise.
18070         * stdlib/random.c (__random): Likewise.
18071         * stdlib/setenv.c (clearenv): Likewise.
18072         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18073         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18074         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18075         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18076         (__get_nprocs): Likewise.
18077         (__get_phys_pages): Likewise.
18078         (__get_avphys_pages): Likewise.
18079         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18080         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18081         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18082         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18083         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18084         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18085         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18086         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18087         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18088         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18089         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18090         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18091         * sysdeps/posix/clock.c (clock): Likewise.
18092         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18093         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18094         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18095         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18096         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18097         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18098         (__get_nprocs_conf): Likewise.
18099         (__get_phys_pages): Likewise.
18100         (__get_avphys_pages): Likewise.
18101         * time/clock.c (clock): Likewise.
18102         * time/tzset.c (__tzname_max): Likewise.
18104 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18106         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18107         (__bswap_32): Do not use "register".
18108         * crypt/crypt.c (_ufc_doit_r): Likewise.
18109         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18110         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18111         * gmon/gmon.c (__monstartup): Likewise.
18112         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18113         * hurd/hurdmalloc.c (more_memory): Likewise.
18114         (malloc): Likewise.
18115         (free): Likewise.
18116         (realloc): Likewise.
18117         (malloc_fork_prepare): Likewise.
18118         (malloc_fork_parent): Likewise.
18119         (malloc_fork_child): Likewise.
18120         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18121         (_svcauth_des): Likewise.
18122         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18123         * inet/inet_net.c (inet_network): Likewise.
18124         * inet/inet_netof.c (inet_netof): Likewise.
18125         * inet/rcmd.c (__validuser2_sa): Likewise.
18126         * io/fts.c (fts_open): Likewise.
18127         (fts_load): Likewise.
18128         (fts_close): Likewise.
18129         (fts_read): Likewise.
18130         (fts_children): Likewise.
18131         (fts_build): Likewise.
18132         (fts_stat): Likewise.
18133         (fts_sort): Likewise.
18134         (fts_alloc): Likewise.
18135         (fts_lfree): Likewise.
18136         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18137         (_IO_file_xsgetn): Likewise.
18138         (_IO_file_xsgetn_mmap): Likewise.
18139         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18140         (_IO_cookie_write): Likewise.
18141         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18142         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18143         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18144         * malloc/obstack.c (_obstack_begin): Likewise.
18145         (_obstack_begin_1): Likewise.
18146         (_obstack_newchunk): Likewise.
18147         (_obstack_allocated_p): Likewise.
18148         (obstack_free): Likewise.
18149         (_obstack_memory_used): Likewise.
18150         * misc/getttyent.c (getttynam): Likewise.
18151         (getttyent): Likewise.
18152         (skip): Likewise.
18153         (value): Likewise.
18154         * misc/getusershell.c (initshells): Likewise.
18155         * misc/syslog.c (__vsyslog_chk): Likewise.
18156         * misc/ttyslot.c (ttyslot): Likewise.
18157         * nis/nis_hash.c (__nis_hash): Likewise.
18158         * posix/fnmatch_loop.c (FCT): Likewise.
18159         * posix/getconf.c (print_all): Likewise.
18160         (main): Likewise.
18161         * posix/getopt.c (exchange): Likewise.
18162         * posix/glob.c (globfree): Likewise.
18163         (prefix_array): Likewise.
18164         (__glob_pattern_type): Likewise.
18165         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18166         (NS_GET32): Likewise.
18167         (NS_PUT16): Likewise.
18168         (NS_PUT32): Likewise.
18169         * resolv/gethnamaddr.c (getanswer): Likewise.
18170         (gethostbyname2): Likewise.
18171         (gethostbyaddr): Likewise.
18172         (_gethtent): Likewise.
18173         (_gethtbyname2): Likewise.
18174         (_gethtbyaddr): Likewise.
18175         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18176         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18177         * resolv/res_init.c (__res_vinit): Likewise.
18178         (net_mask): Likewise.
18179         * resolv/res_mkquery.c (outchar): Likewise.
18180         (PRINT): Likewise.
18181         * stdio-common/printf_fp.c (outchar): Likewise.
18182         (PRINT): Likewise.
18183         * stdio-common/printf_fphex.c (outchar): Likewise.
18184         (PRINT): Likewise.
18185         * stdio-common/printf_size.c (outchar): Likewise.
18186         (PRINT): Likewise.
18187         * stdio-common/test_rdwr.c (main): Likewise.
18188         * stdio-common/tfformat.c (matches): Likewise.
18189         * stdio-common/vfprintf.c (outchar): Likewise.
18190         (printf_unknown): Likewise.
18191         (buffered_vfprintf): Likewise.
18192         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18193         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18194         (ReadFile): Likewise.
18195         * stdlib/qsort.c (SWAP): Likewise.
18196         (_quicksort): Likewise.
18197         * stdlib/setenv.c (__add_to_environ): Likewise.
18198         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18199         * stdlib/strtol_l.c (__strtol_l): Likewise.
18200         * stdlib/tst-strtod.c (main): Likewise.
18201         * stdlib/tst-strtol.c (main): Likewise.
18202         * stdlib/tst-strtoll.c (main): Likewise.
18203         * string/bits/string2.h (__strcmp_cc): Likewise.
18204         (__strcmp_cg): Likewise.
18205         (__strcspn_c1): Likewise.
18206         (__strcspn_c2): Likewise.
18207         (__strcspn_c3): Likewise.
18208         (__strspn_c1): Likewise.
18209         (__strspn_c2): Likewise.
18210         (__strspn_c3): Likewise.
18211         (__strsep_1c): Likewise.
18212         (__strsep_2c): Likewise.
18213         (__strsep_3c): Likewise.
18214         * string/memccpy.c (__memccpy): Likewise.
18215         * string/stpcpy.c (__stpcpy): Likewise.
18216         * string/strcmp.c (strcmp): Likewise.
18217         * string/strrchr.c (strrchr): Likewise.
18218         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18219         Likewise.
18220         * sysdeps/mach/hurd/getcwd.c
18221         (_hurd_canonicalize_directory_name_internal): Likewise.
18222         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18223         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18224         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18225         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18226         Likewise, in both definitions.
18227         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18228         definitions.
18229         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18230         64] (__bswap_64): Likewise.
18231         * time/test_time.c (main): Likewise.
18232         * time/tzfile.c (__tzfile_read): Likewise.
18233         (__tzfile_compute): Likewise.
18234         * time/tzset.c (__tzset_parse_tz): Likewise.
18235         (tzset_internal): Likewise.
18236         (compute_change): Likewise.
18237         * wcsmbs/wcscat.c (__wcscat): Likewise.
18238         * wcsmbs/wcschr.c (wcschr): Likewise.
18239         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18240         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18241         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18242         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18243         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18244         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18245         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18246         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18247         * wcsmbs/wmemset.c (wmemset): Likewise.
18249 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18251         * scripts/config.guess: Update to version 2013-05-16.
18252         * scripts/config.sub: Update to version 2013-04-24.
18253         * scripts/install-sh: Update to version 2011-11-20.07.
18254         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18255         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18257 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18259         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18260         * elf/sln.c: Likewise.
18261         * hurd/hurd/ioctl.h: Likewise.
18262         * hurd/hurdmalloc.c: Likewise.
18263         * hurd/xattr.c: Likewise.
18264         * include/shlib-compat.h: Likewise.
18265         * inet/ruserpass.c: Likewise.
18266         * libio/iofgets_u.c: Likewise.
18267         * libio/iofgetws_u.c: Likewise.
18268         * locale/programs/ld-identification.c: Likewise.
18269         * locale/programs/ld-time.c: Likewise.
18270         * mach/msg-destroy.c: Likewise.
18271         * nss/nss_files/files-netgrp.c: Likewise.
18272         * resolv/res_data.c: Likewise.
18273         * soft-fp/op-1.h: Likewise.
18274         * soft-fp/op-2.h: Likewise.
18275         * soft-fp/op-4.h: Likewise.
18276         * soft-fp/op-common.h: Likewise.
18277         * stdio-common/printf_fphex.c: Likewise.
18278         * stdlib/strtod_l.c: Likewise.
18279         * sunrpc/rpc/clnt.h: Likewise.
18280         * sysdeps/generic/framestate.c: Likewise.
18281         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18282         * sysdeps/i386/bsd-setjmp.S: Likewise.
18283         * sysdeps/i386/__longjmp.S: Likewise.
18284         * sysdeps/i386/setjmp.S: Likewise.
18285         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18286         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18287         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18288         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18289         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18290         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18291         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18292         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18293         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18294         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18295         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18296         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18297         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18298         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18299         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18300         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18301         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18302         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18303         * sysdeps/ieee754/support.c: Likewise.
18304         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18305         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18306         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18307         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18308         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18309         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18310         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18311         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18312         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18313         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18314         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18315         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18316         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18317         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18318         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18319         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18320         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18323 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18325         * posix/transbug.c: Remove executable mode.
18327 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18329         * crypt/speeds.c: Remove trailing whitespace.
18330         * dlfcn/default.c: Likewise.
18331         * elf/ifuncdep2.c: Likewise.
18332         * elf/ifuncmain1.c: Likewise.
18333         * elf/ifuncmain1vis.c: Likewise.
18334         * elf/testobj.h: Likewise.
18335         * elf/tst-stackguard1.c: Likewise.
18336         * gmon/sys/gmon.h: Likewise.
18337         * hurd/hurdmsg.c: Likewise.
18338         * hurd/new-fd.c: Likewise.
18339         * hurd/ports-get.c: Likewise.
18340         * iconvdata/ibm1008_420.c: Likewise.
18341         * inet/tst-getni1.c: Likewise.
18342         * inet/tst-getni2.c: Likewise.
18343         * libio/ioungetc.c: Likewise.
18344         * libio/wfiledoalloc.c: Likewise.
18345         * manual/libm-err-tab.pl: Likewise.
18346         * math/w_dremf.c: Likewise.
18347         * misc/ftruncate.c: Likewise.
18348         * posix/bug-glob2.c: Likewise.
18349         * posix/tst-pcre.c: Likewise.
18350         * posix/wait4.c: Likewise.
18351         * resolv/README: Likewise.
18352         * resolv/res_debug.h: Likewise.
18353         * resolv/tst-inet_ntop.c: Likewise.
18354         * setjmp/bug269-setjmp.c: Likewise.
18355         * soft-fp/extended.h: Likewise.
18356         * soft-fp/op-1.h: Likewise.
18357         * soft-fp/op-2.h: Likewise.
18358         * soft-fp/op-4.h: Likewise.
18359         * soft-fp/op-8.h: Likewise.
18360         * soft-fp/testit.c: Likewise.
18361         * stdio-common/bug16.c: Likewise.
18362         * stdlib/random.c: Likewise.
18363         * sunrpc/rpcsvc/rquota.x: Likewise.
18364         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18365         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18366         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18367         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18368         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18369         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18370         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18371         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18372         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18373         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18374         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18375         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18376         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18377         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18378         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18379         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18380         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18381         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18382         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18383         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18384         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18385         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18386         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18387         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18388         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18389         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18390         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18391         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18392         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18393         * sysdeps/ieee754/s_lib_version.c: Likewise.
18394         * sysdeps/mach/hurd/check_fds.c: Likewise.
18395         * sysdeps/mach/hurd/getsockname.c: Likewise.
18396         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18397         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18398         * sysdeps/powerpc/bits/link.h: Likewise.
18399         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18400         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18401         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18402         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18403         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18404         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18405         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18406         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18407         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18408         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18409         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18410         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18411         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18412         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18413         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18414         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18415         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18416         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18417         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18418         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18419         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18420         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18421         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18422         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18423         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18424         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18425         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18426         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18427         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18428         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18429         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18430         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18431         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18432         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18433         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18434         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18435         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18436         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18437         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18438         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18439         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18440         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18441         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18442         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18443         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18444         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18445         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18446         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18447         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18448         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18449         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18450         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18451         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18452         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18453         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18454         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18455         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18456         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18457         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18458         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18459         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18460         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18461         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18462         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18463         * sysdeps/powerpc/sysdep.h: Likewise.
18464         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18465         * sysdeps/s390/s390-64/sub_n.S: Likewise.
18466         * sysdeps/sh/dl-trampoline.S: Likewise.
18467         * sysdeps/sh/memset.S: Likewise.
18468         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18469         * sysdeps/sh/strlen.S: Likewise.
18470         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18471         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18472         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18473         * sysdeps/sparc/sparc32/rem.S: Likewise.
18474         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18475         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18476         * sysdeps/sparc/sparc32/strchr.S: Likewise.
18477         * sysdeps/sparc/sparc32/udiv.S: Likewise.
18478         * sysdeps/sparc/sparc32/urem.S: Likewise.
18479         * sysdeps/sparc/sparc64/add_n.S: Likewise.
18480         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18481         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18482         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18483         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18484         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18485         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18486         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18487         * sysdeps/unix/bsd/times.c: Likewise.
18488         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18489         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18493         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18494         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18495         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18496         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18497         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18498         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18499         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18500         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18501         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18502         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18503         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18504         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18505         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18506         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18507         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18508         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18509         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18510         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18511         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18512         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18513         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18514         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18515         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18516         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18517         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18518         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18519         * sysdeps/x86_64/strcspn.S: Likewise.
18521 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18523         * locale/C-translit.h: Revert #include <stdint.h> because this is a
18524         generated file.  Regenerate properly from gen-translit.pl.
18525         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
18526         locale/C-translit.h.
18528 2013-06-05  Andreas Schwab  <schwab@suse.de>
18530         [BZ #15100]
18531         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18532         week as 6 instead of -1.
18533         * time/tst-strptime.c (day_tests): Add test case.
18535 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18537         * sysdeps/generic/math_private.h
18538         (libc_feholdexcept_setround_53bit): Replace with
18539         libc_feholdsetround_53bit.
18540         (libc_feupdateenv_53bit): Replace with
18541         libc_feresetround_53bit.
18542         (SET_RESTORE_ROUND_53BIT): Adjust.
18544 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18546         * string/test-strchrnul.c: Add copyright header.
18548         * posix/tst-getaddrinfo4.c: Increase test timeout.
18550 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
18552         [BZ #15536]
18553         * math/libm-test.inc (MAX_EXP): Remove
18554         (MIN_EXP): Define.
18555         (ulp): Use MIN_EXP - MANT_DIG.
18556         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18558 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
18560         * po/be.po: Revert last change.
18561         * po/zh_CN.po: Likewise.
18562         * po/header.pot: Likewise.
18564 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
18566         * Makefile ($(common-objpfx)linkobj/libc.so): Define
18567         link-libc-deps to empty as target-specific variable.
18568         * Makerules (link-libc-args): New variable.
18569         (libc-for-link): Likewise.
18570         (link-libc-deps): Likewise.
18571         (lib%.so): Depend on $(link-libc-deps).  Link with
18572         $(link-libc-args).
18573         (build-module): Link with $(link-libc-args).
18574         (build-module-asneeded): Likewise.
18575         (build-module-helper-objlist): Filter out $(link-libc-deps) from
18576         list of objects.
18577         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18578         target-specific variable.
18579         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18580         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18581         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18582         libc.
18583         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18584         libc and ld.so.
18585         ($(objpfx)libpcprofile.so): Likewise.
18586         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18587         libc_nonshared.a.
18588         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18589         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18590         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18591         $(link-libc-deps).
18592         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18593         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18594         * login/Makefile ($(objpfx)libutil.so): Likewise.
18595         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18596         * math/Makefile ($(objpfx)libm.so): Likewise.
18597         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18598         $(objpfx)libnsl.so): Define libc-for-link as target-specific
18599         variable instead of depending directly on libc.
18600         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18601         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18602         $(link-libc-deps).
18603         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18604         libc.
18605         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18606         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18607         ($(objpfx)libanl.so): Likewise.
18608         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18609         ld.so.
18610         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18611         $(link-libc-deps).
18612         * sysdeps/i386/fpu/Makefile: Remove file.
18613         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18614         ($(objpfx)libm.so): Remove dependency on ld.so.
18616 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
18618         [BZ # 15553]
18619         * nis/yp_xdr.c (XDRMAXNAME): Define.
18620         (XDRMAXRECORD): Define.
18621         (xdr_domainname): Use XDRMAXNAME.
18622         (xdr_mapname): Likewise.
18623         (xdr_peername): Likewise.
18624         (xdr_keydat): Use XDRMAXRECORD.
18625         (xdr_valdat): Likewise.
18627 2013-05-30  Jeff Law  <law@redhat.com>
18629         [BZ #14256]
18630         * manual/errno.texi (ESTALE): Update to account for more than
18631         just NFS file systems.
18632         * sysdeps/gnu/errlist.c: Regenerated.
18634 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18636         [BZ #15465]
18637         * elf/Makefile (tests): Add tst-null-argv.
18638         (modules-names):  Add tst-null-argv-lib.
18639         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18640         (tst-null-argv-ENV): Set environment for tst-null-argv.
18641         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18642         (RTLD_PROGNAME): New macro.
18643         * elf/tst-null-argv.c: New test case.
18644         * elf/tst-null-argv-lib.c: Library for test case.
18645         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18646         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18647         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18648         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18649         * elf/dl-init.c (call_init): Likewise.
18650         (_dl_init): Likewise.
18651         * elf/dl-load.c (print_search_path): Likewise.
18652         (_dl_map_object): Likewise.
18653         * elf/dl-lookup.c (do_lookup_x): Likewise.
18654         (add_dependency): Likewise.
18655         (_dl_lookup_symbol_x): Likewise.
18656         (_dl_debug_bindings): Likewise.
18657         * elf/dl-open.c (_dl_show_scope): Likewise.
18658         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18659         * elf/dl-version.c (match_symbol): Likewise.
18660         (_dl_check_map_versions): Likewise.
18661         * elf/rtld.c (dl_main): Likewise.
18662         (print_unresolved): Use RTLD_PROGNAME.
18663         (print_missing_version): Likewise.
18664         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18665         (elf_machine_rela): Likewise.
18666         * sysdeps/powerpc/powerpc32/dl-machine.c
18667         (__process_machine_rela): Likewise.
18668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18669         Likewise.
18670         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18671         Likewise.
18672         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18673         Likewise.
18674         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18675         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18676         Likewise.
18677         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18678         Likewise.
18679         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18681 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18683         * po/be.po: Add descriptive title.
18684         * po/zh_CN.po: Likewise.
18685         * po/header.pot: Likewise.
18687 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18689         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18690         error message.
18691         (enlarge_archive): Likewise.
18693 2013-05-28  Ben North  <ben@redfrontdoor.org>
18695         * manual/arith.texi (frexp): It is the magnitude of the return
18696         value which lies in [0.5, 1), not the return value itself.
18698 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18702 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18704         * stdio-common/bug26.c (main): Correct fscanf template.
18706         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18707         declare _dl_skip_args.
18709         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18710         Don't declare.
18712         * manual/platform.texi: Add missing @end deftypefun.
18714 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18716         [BZ #15529]
18717         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18718         bit of mantissa of 2^16382.
18719         * math/libm-test.inc (hypot_test_data): Add more tests.
18721         * math/libm-test.inc: Add drem and pow10 to list of tested
18722         functions.
18723         (pow10_test): New function.
18724         (drem_test): Likewise.
18725         (drem_test_tonearest): Likewise.
18726         (drem_test_towardzero): Likewise.
18727         (drem_test_downward): Likewise.
18728         (drem_test_upward): Likewise.
18729         (main): Call the new functions.
18731         * math/libm-test.inc (finite_test_data): Remove.
18732         (finite_test): Run tests from isfinite_test_data.
18733         (gamma_test_data): Remove.
18734         (gamma_test): Run tests from lgamma_test_data.
18735         * sysdeps/i386/fpu/libm-test-ulps: Update.
18736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18738 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18740         * manual/platform.texi: Add PowerPC PPR function set documentation.
18741         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18742         implementation.
18744 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18746         * math/libm-test.inc (MAX_EXP): Define.
18747         (ULPDIFF): Define.
18748         (ulp): New function.
18749         (check_float_internal): Use ULPDIFF.
18750         (cpow_test): Disable failing test.
18751         (check_ulp): Test ulp() implemetnation.
18752         (main): Call check_ulp before starting tests.
18754 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18756         * math/gen-libm-test.pl (generate_testfile): Do not handle
18757         START_DATA and END_DATA.
18758         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18759         END_DATA.
18760         (acos_tonearest_test_data): Likewise.
18761         (acos_towardzero_test_data): Likewise.
18762         (acos_downward_test_data): Likewise.
18763         (acos_upward_test_data): Likewise.
18764         (acosh_test_data): Likewise.
18765         (asin_test_data): Likewise.
18766         (asin_tonearest_test_data): Likewise.
18767         (asin_towardzero_test_data): Likewise.
18768         (asin_downward_test_data): Likewise.
18769         (asin_upward_test_data): Likewise.
18770         (asinh_test_data): Likewise.
18771         (atan_test_data): Likewise.
18772         (atanh_test_data): Likewise.
18773         (atan2_test_data): Likewise.
18774         (cabs_test_data): Likewise.
18775         (cacos_test_data): Likewise.
18776         (cacosh_test_data): Likewise.
18777         (carg_test_data): Likewise.
18778         (casin_test_data): Likewise.
18779         (casinh_test_data): Likewise.
18780         (catan_test_data): Likewise.
18781         (catanh_test_data): Likewise.
18782         (cbrt_test_data): Likewise.
18783         (ccos_test_data): Likewise.
18784         (ccosh_test_data): Likewise.
18785         (ceil_test_data): Likewise.
18786         (cexp_test_data): Likewise.
18787         (cimag_test_data): Likewise.
18788         (clog_test_data): Likewise.
18789         (clog10_test_data): Likewise.
18790         (conj_test_data): Likewise.
18791         (copysign_test_data): Likewise.
18792         (cos_test_data): Likewise.
18793         (cos_tonearest_test_data): Likewise.
18794         (cos_towardzero_test_data): Likewise.
18795         (cos_downward_test_data): Likewise.
18796         (cos_upward_test_data): Likewise.
18797         (cosh_test_data): Likewise.
18798         (cosh_tonearest_test_data): Likewise.
18799         (cosh_towardzero_test_data): Likewise.
18800         (cosh_downward_test_data): Likewise.
18801         (cosh_upward_test_data): Likewise.
18802         (cpow_test_data): Likewise.
18803         (cproj_test_data): Likewise.
18804         (creal_test_data): Likewise.
18805         (csin_test_data): Likewise.
18806         (csinh_test_data): Likewise.
18807         (csqrt_test_data): Likewise.
18808         (ctan_test_data): Likewise.
18809         (ctan_tonearest_test_data): Likewise.
18810         (ctan_towardzero_test_data): Likewise.
18811         (ctan_downward_test_data): Likewise.
18812         (ctan_upward_test_data): Likewise.
18813         (ctanh_test_data): Likewise.
18814         (ctanh_tonearest_test_data): Likewise.
18815         (ctanh_towardzero_test_data): Likewise.
18816         (ctanh_downward_test_data): Likewise.
18817         (ctanh_upward_test_data): Likewise.
18818         (erf_test_data): Likewise.
18819         (erfc_test_data): Likewise.
18820         (exp_test_data): Likewise.
18821         (exp_tonearest_test_data): Likewise.
18822         (exp_towardzero_test_data): Likewise.
18823         (exp_downward_test_data): Likewise.
18824         (exp_upward_test_data): Likewise.
18825         (exp10_test_data): Likewise.
18826         (exp2_test_data): Likewise.
18827         (expm1_test_data): Likewise.
18828         (fabs_test_data): Likewise.
18829         (fdim_test_data): Likewise.
18830         (finite_test_data): Likewise.
18831         (floor_test_data): Likewise.
18832         (fma_test_data): Likewise.
18833         (fma_towardzero_test_data): Likewise.
18834         (fma_downward_test_data): Likewise.
18835         (fma_upward_test_data): Likewise.
18836         (fmax_test_data): Likewise.
18837         (fmin_test_data): Likewise.
18838         (fmod_test_data): Likewise.
18839         (fpclassify_test_data): Likewise.
18840         (frexp_test_data): Likewise.
18841         (gamma_test_data): Likewise.
18842         (hypot_test_data): Likewise.
18843         (ilogb_test_data): Likewise.
18844         (isfinite_test_data): Likewise.
18845         (isgreater_test_data): Likewise.
18846         (isgreaterequal_test_data): Likewise.
18847         (isinf_test_data): Likewise.
18848         (isless_test_data): Likewise.
18849         (islessequal_test_data): Likewise.
18850         (islessgreater_test_data): Likewise.
18851         (isnan_test_data): Likewise.
18852         (isnormal_test_data): Likewise.
18853         (issignaling_test_data): Likewise.
18854         (isunordered_test_data): Likewise.
18855         (j0_test_data): Likewise.
18856         (j1_test_data): Likewise.
18857         (jn_test_data): Likewise.
18858         (ldexp_test_data): Likewise.
18859         (lgamma_test_data): Likewise.
18860         (lrint_test_data): Likewise.
18861         (lrint_tonearest_test_data): Likewise.
18862         (lrint_towardzero_test_data): Likewise.
18863         (lrint_downward_test_data): Likewise.
18864         (lrint_upward_test_data): Likewise.
18865         (llrint_test_data): Likewise.
18866         (llrint_tonearest_test_data): Likewise.
18867         (llrint_towardzero_test_data): Likewise.
18868         (llrint_downward_test_data): Likewise.
18869         (llrint_upward_test_data): Likewise.
18870         (log_test_data): Likewise.
18871         (log10_test_data): Likewise.
18872         (log1p_test_data): Likewise.
18873         (log2_test_data): Likewise.
18874         (logb_test_data): Likewise.
18875         (logb_downward_test_data): Likewise.
18876         (lround_test_data): Likewise.
18877         (llround_test_data): Likewise.
18878         (modf_test_data): Likewise.
18879         (nearbyint_test_data): Likewise.
18880         (nextafter_test_data): Likewise.
18881         (nexttoward_test_data): Likewise.
18882         (pow_test_data): Likewise.
18883         (pow_tonearest_test_data): Likewise.
18884         (pow_towardzero_test_data): Likewise.
18885         (pow_downward_test_data): Likewise.
18886         (pow_upward_test_data): Likewise.
18887         (remainder_test_data): Likewise.
18888         (remainder_tonearest_test_data): Likewise.
18889         (remainder_towardzero_test_data): Likewise.
18890         (remainder_downward_test_data): Likewise.
18891         (remainder_upward_test_data): Likewise.
18892         (remquo_test_data): Likewise.
18893         (rint_test_data): Likewise.
18894         (rint_tonearest_test_data): Likewise.
18895         (rint_towardzero_test_data): Likewise.
18896         (rint_downward_test_data): Likewise.
18897         (rint_upward_test_data): Likewise.
18898         (round_test_data): Likewise.
18899         (scalb_test_data): Likewise.
18900         (scalbn_test_data): Likewise.
18901         (scalbln_test_data): Likewise.
18902         (signbit_test_data): Likewise.
18903         (sin_test_data): Likewise.
18904         (sin_tonearest_test_data): Likewise.
18905         (sin_towardzero_test_data): Likewise.
18906         (sin_downward_test_data): Likewise.
18907         (sin_upward_test_data): Likewise.
18908         (sincos_test_data): Likewise.
18909         (sinh_test_data): Likewise.
18910         (sinh_tonearest_test_data): Likewise.
18911         (sinh_towardzero_test_data): Likewise.
18912         (sinh_downward_test_data): Likewise.
18913         (sinh_upward_test_data): Likewise.
18914         (sqrt_test_data): Likewise.
18915         (tan_test_data): Likewise.
18916         (tan_tonearest_test_data): Likewise.
18917         (tan_towardzero_test_data): Likewise.
18918         (tan_downward_test_data): Likewise.
18919         (tan_upward_test_data): Likewise.
18920         (tanh_test_data): Likewise.
18921         (tgamma_test_data): Likewise.
18922         (trunc_test_data): Likewise.
18923         (y0_test_data): Likewise.
18924         (y1_test_data): Likewise.
18925         (yn_test_data): Likewise.
18926         (significand_test_data): Likewise.
18928         * math/gen-libm-test.pl (@functions): Remove variable.
18929         (generate_testfile): Don't handle START and END lines.
18930         * math/libm-test.inc (START): New macro.
18931         (END): Likewise.
18932         (END_COMPLEX): Likewise.
18933         (acos_test): Use END macro without arguments.
18934         (acos_test_tonearest): Likewise.
18935         (acos_test_towardzero): Likewise.
18936         (acos_test_downward): Likewise.
18937         (acos_test_upward): Likewise.
18938         (acosh_test): Likewise.
18939         (asin_test): Likewise.
18940         (asin_test_tonearest): Likewise.
18941         (asin_test_towardzero): Likewise.
18942         (asin_test_downward): Likewise.
18943         (asin_test_upward): Likewise.
18944         (asinh_test): Likewise.
18945         (atan_test): Likewise.
18946         (atanh_test): Likewise.
18947         (atan2_test): Likewise.
18948         (cabs_test): Likewise.
18949         (cacos_test): Use END_COMPLEX macro without arguments.
18950         (cacosh_test): Likewise.
18951         (carg_test): Use END macro without arguments.
18952         (casin_test): Use END_COMPLEX macro without arguments.
18953         (casinh_test): Likewise.
18954         (catan_test): Likewise.
18955         (catanh_test): Likewise.
18956         (cbrt_test): Use END macro without arguments.
18957         (ccos_test): Use END_COMPLEX macro without arguments.
18958         (ccosh_test): Likewise.
18959         (ceil_test): Use END macro without arguments.
18960         (cexp_test): Use END_COMPLEX macro without arguments.
18961         (cimag_test): Use END macro without arguments.
18962         (clog_test): Use END_COMPLEX macro without arguments.
18963         (clog10_test): Likewise.
18964         (conj_test): Likewise.
18965         (copysign_test): Use END macro without arguments.
18966         (cos_test): Likewise.
18967         (cos_test_tonearest): Likewise.
18968         (cos_test_towardzero): Likewise.
18969         (cos_test_downward): Likewise.
18970         (cos_test_upward): Likewise.
18971         (cosh_test): Likewise.
18972         (cosh_test_tonearest): Likewise.
18973         (cosh_test_towardzero): Likewise.
18974         (cosh_test_downward): Likewise.
18975         (cosh_test_upward): Likewise.
18976         (cpow_test): Use END_COMPLEX macro without arguments.
18977         (cproj_test): Likewise.
18978         (creal_test): Use END macro without arguments.
18979         (csin_test): Use END_COMPLEX macro without arguments.
18980         (csinh_test): Likewise.
18981         (csqrt_test): Likewise.
18982         (ctan_test): Likewise.
18983         (ctan_test_tonearest): Likewise.
18984         (ctan_test_towardzero): Likewise.
18985         (ctan_test_downward): Likewise.
18986         (ctan_test_upward): Likewise.
18987         (ctanh_test): Likewise.
18988         (ctanh_test_tonearest): Likewise.
18989         (ctanh_test_towardzero): Likewise.
18990         (ctanh_test_downward): Likewise.
18991         (ctanh_test_upward): Likewise.
18992         (erf_test): Use END macro without arguments.
18993         (erfc_test): Likewise.
18994         (exp_test): Likewise.
18995         (exp_test_tonearest): Likewise.
18996         (exp_test_towardzero): Likewise.
18997         (exp_test_downward): Likewise.
18998         (exp_test_upward): Likewise.
18999         (exp10_test): Likewise.
19000         (exp2_test): Likewise.
19001         (expm1_test): Likewise.
19002         (fabs_test): Likewise.
19003         (fdim_test): Likewise.
19004         (finite_test): Likewise.
19005         (floor_test): Likewise.
19006         (fma_test): Likewise.
19007         (fma_test_towardzero): Likewise.
19008         (fma_test_downward): Likewise.
19009         (fma_test_upward): Likewise.
19010         (fmax_test): Likewise.
19011         (fmin_test): Likewise.
19012         (fmod_test): Likewise.
19013         (fpclassify_test): Likewise.
19014         (frexp_test): Likewise.
19015         (gamma_test): Likewise.
19016         (hypot_test): Likewise.
19017         (ilogb_test): Likewise.
19018         (isfinite_test): Likewise.
19019         (isgreater_test): Likewise.
19020         (isgreaterequal_test): Likewise.
19021         (isinf_test): Likewise.
19022         (isless_test): Likewise.
19023         (islessequal_test): Likewise.
19024         (islessgreater_test): Likewise.
19025         (isnan_test): Likewise.
19026         (isnormal_test): Likewise.
19027         (issignaling_test): Likewise.
19028         (isunordered_test): Likewise.
19029         (j0_test): Likewise.
19030         (j1_test): Likewise.
19031         (jn_test): Likewise.
19032         (ldexp_test): Likewise.
19033         (lgamma_test): Likewise.
19034         (lrint_test): Likewise.
19035         (lrint_test_tonearest): Likewise.
19036         (lrint_test_towardzero): Likewise.
19037         (lrint_test_downward): Likewise.
19038         (lrint_test_upward): Likewise.
19039         (llrint_test): Likewise.
19040         (llrint_test_tonearest): Likewise.
19041         (llrint_test_towardzero): Likewise.
19042         (llrint_test_downward): Likewise.
19043         (llrint_test_upward): Likewise.
19044         (log_test): Likewise.
19045         (log10_test): Likewise.
19046         (log1p_test): Likewise.
19047         (log2_test): Likewise.
19048         (logb_test): Likewise.
19049         (logb_test_downward): Likewise.
19050         (lround_test): Likewise.
19051         (llround_test): Likewise.
19052         (modf_test): Likewise.
19053         (nearbyint_test): Likewise.
19054         (nextafter_test): Likewise.
19055         (nexttoward_test): Likewise.
19056         (pow_test): Likewise.
19057         (pow_test_tonearest): Likewise.
19058         (pow_test_towardzero): Likewise.
19059         (pow_test_downward): Likewise.
19060         (pow_test_upward): Likewise.
19061         (remainder_test): Likewise.
19062         (remainder_test_tonearest): Likewise.
19063         (remainder_test_towardzero): Likewise.
19064         (remainder_test_downward): Likewise.
19065         (remainder_test_upward): Likewise.
19066         (remquo_test): Likewise.
19067         (rint_test): Likewise.
19068         (rint_test_tonearest): Likewise.
19069         (rint_test_towardzero): Likewise.
19070         (rint_test_downward): Likewise.
19071         (rint_test_upward): Likewise.
19072         (round_test): Likewise.
19073         (scalb_test): Likewise.
19074         (scalbn_test): Likewise.
19075         (scalbln_test): Likewise.
19076         (signbit_test): Likewise.
19077         (sin_test): Likewise.
19078         (sin_test_tonearest): Likewise.
19079         (sin_test_towardzero): Likewise.
19080         (sin_test_downward): Likewise.
19081         (sin_test_upward): Likewise.
19082         (sincos_test): Likewise.
19083         (sinh_test): Likewise.
19084         (sinh_test_tonearest): Likewise.
19085         (sinh_test_towardzero): Likewise.
19086         (sinh_test_downward): Likewise.
19087         (sinh_test_upward): Likewise.
19088         (sqrt_test): Likewise.
19089         (tan_test): Likewise.
19090         (tan_test_tonearest): Likewise.
19091         (tan_test_towardzero): Likewise.
19092         (tan_test_downward): Likewise.
19093         (tan_test_upward): Likewise.
19094         (tanh_test): Likewise.
19095         (tgamma_test): Likewise.
19096         (trunc_test): Likewise.
19097         (y0_test): Likewise.
19098         (y1_test): Likewise.
19099         (yn_test): Likewise.
19100         (significand_test): Likewise.
19102 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19104         [BZ #15381]
19105         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19107 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19109         [BZ #14894]
19110         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19111         __ppc_mdoio and __ppc_mdoom.
19112         * manual/platform.texi: Document new functions __ppc_yield,
19113         __ppc_mdoio and __ppc_mdoom.
19115 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19117         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19118         (main): Mention "tls" pseudo-hwcap is legacy.
19119         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19121 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19123         * math/gen-libm-test.pl (parse_args): Output only string of
19124         arguments as text for test name, not full call or descriptions of
19125         tests for extra outputs.
19126         (generate_testfile): Do not pass function name to parse_args.
19127         Generate this_func variable from START.
19128         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19129         field to arg_str.
19130         (struct test_ff_f_data): Likewise.
19131         (test_ff_f_data_nexttoward): Likewise.
19132         (struct test_fi_f_data): Likewise.
19133         (struct test_fl_f_data): Likewise.
19134         (struct test_if_f_data): Likewise.
19135         (struct test_fff_f_data): Likewise.
19136         (struct test_c_f_data): Likewise.
19137         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19138         (struct test_fF_f1_data): Likewise.
19139         (struct test_ffI_f1_data): Likewise.
19140         (struct test_c_c_data): Rename test_name field to arg_str.
19141         (struct test_cc_c_data): Likewise.
19142         (struct test_f_i_data): Likewise.
19143         (struct test_ff_i_data): Likewise.
19144         (struct test_f_l_data): Likewise.
19145         (struct test_f_L_data): Likewise.
19146         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19147         and extra2_name.
19148         (COMMON_TEST_SETUP): New macro.
19149         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19150         (COMMON_TEST_CLEANUP): Likewise.
19151         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19152         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19153         macros.
19154         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19155         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19156         macros.
19157         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19158         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19159         cleanup macros.
19160         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19161         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19162         macros.
19163         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19164         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19165         macros.
19166         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19167         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19168         cleanup macros.
19169         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19170         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19171         cleanup macros.
19172         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19173         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19174         cleanup macros.
19175         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19176         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19177         macros.
19178         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19179         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19180         macros.
19181         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19182         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19183         macros.
19184         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19185         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19186         cleanup macros.
19187         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19188         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19189         cleanup macros.
19190         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19191         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19192         macros.
19193         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19194         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19195         cleanup macros.
19196         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19197         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19198         macros.
19199         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19200         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19201         macros.
19202         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19203         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19204         cleanup macros.
19205         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19207 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19209         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19210         to _sifields.sigfault.
19211         (si_addr_lsb): Define new macro.
19212         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19213         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19214         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19216 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19218         [BZ #15441]
19219         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19220         returns -1.
19221         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19222         null return -1.
19223         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19224         loading the domain.
19226 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19228         * math/gen-libm-test.pl (parse_args): Do not include expected
19229         result in test name.
19230         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19231         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19232         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19233         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19234         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19237 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19239         * benchtests/Makefile: Sort function entries.
19241         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19242         tanh, asinh, acosh, atanh.
19243         * benchtests/acos-inputs: New file.
19244         * benchtests/acosh-inputs: New file.
19245         * benchtests/asin-inputs: New file.
19246         * benchtests/asinh-inputs: New file.
19247         * benchtests/atanh-inputs: New file.
19248         * benchtests/cosh-inputs: New file.
19249         * benchtests/log-inputs: New file.
19250         * benchtests/sinh-inputs: New file.
19251         * benchtests/tanh-inputs: New file.
19253 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19255         [BZ #15339]
19256         * posix/tst-getaddrinfo4.c: New test.
19257         * posix/Makefile (tests): Add it.
19259 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19261         [BZ #15339]
19262         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19263         when no services were used.
19264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19265         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19267 2013-05-21  Andreas Schwab  <schwab@suse.de>
19269         [BZ #15014]
19270         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19271         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19272         successful.
19273         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19274         redundant variable declarations and reallocation of buffer when
19275         parsing as IPv6 address.  Always set NSS status when called from
19276         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19277         buffer too small.  Correct computation of needed size.
19278         * nss/Makefile (tests): Add test-digits-dots.
19279         * nss/test-digits-dots.c: New test.
19281 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19283         * benchtests/Makefile: Remove instructions for adding
19284         benchmark tests.
19285         * benchtests/README: New file to explain how to execute and
19286         enhance the benchmark tests.
19288 2013-05-21  Andreas Schwab  <schwab@suse.de>
19290         [BZ #15493]
19291         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19292         * setjmp/tst-sigsetjmp.c: New test.
19294 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19296         * sysdeps/x86_64/memset.S (memset): New implementation.
19297         (__bzero): Likewise.
19298         (__memset_tail): New function.
19300 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19302         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19303         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19304         __memcpy_sse2_unaligned ifunc selection.
19305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19306         Add memcpy-sse2-unaligned.S.
19307         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19308         Add: __memcpy_sse2_unaligned.
19310 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19312         [BZ #15490]
19313         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19314         math_force_eval before restoring floating-point envrionment.
19315         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19316         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19317         Likewise.
19318         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19319         <math_private.h>.
19320         (__nearbyintl): Use math_force_eval before restoring
19321         floating-point environment.
19322         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19324         * math/gen-libm-test.pl (special_functions): Remove.
19325         (parse_args): Don't handle TEST_extra.  Handle functions with no
19326         return value.
19327         * math/libm-test.inc (struct test_sincos_data): Replace with
19328         struct test_fFF_11_data.
19329         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19330         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19331         (sincos_test_data): Change element type to struct
19332         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19333         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19334         RUN_TEST_LOOP_sincos.
19335         * math/README.libm-test: Don't mention special handling of
19336         individual functions.
19337         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19338         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19339         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19340         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19341         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19344         * math/gen-libm-test.pl (get_variable): Remove function.
19345         (parse_args): Don't show pointer parameters to call in test
19346         names.  Use "extra output N" in test names for extra outputs
19347         rather than naming variables.
19349 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19351         [BZ #15488]
19352         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19353         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19354         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19355         double tests.
19356         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19357         disable.
19358         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19359         check_long_double.
19361         * math/gen-libm-test.pl (@tests): Remove variable.
19362         ($count): Likewise.
19363         (new_test): Remove function.
19364         (show_exceptions): New function.
19365         (special_functions): Use show_exceptions instead of new_test.
19366         (parse_args): Likewise.
19367         (generate_testfile): Pass only function name in generated call to
19368         print_max_error or print_complex_max_error.
19369         (get_ulps): Do not handle complex tests specially.
19370         (output_test): Rename to ...
19371         (get_all_ulps_for_test): ... this.  Return a string rather than
19372         printing to a file.  Require ulps to be present.
19373         (output_ulps): Generate arrays rather than #defines.
19374         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19375         (struct ulp_data): New type.
19376         (BUILD_COMPLEX_ULP): Remove macro.
19377         (compare_ulp_data): New function.
19378         (find_ulps): Likewise.
19379         (find_test_ulps): Likewise.
19380         (find_function_ulps): Likewise.
19381         (find_complex_function_ulps): Likewise.
19382         (print_max_error): Determine allowed ulps using
19383         find_function_ulps.
19384         (print_complex_max_error): Determine allowed ulps using
19385         find_complex_function_ulps.
19386         (check_float_internal): Determine max ulps using find_test_ulps.
19387         (check_float): Do not take max_ulp parameter.  Update call to
19388         check_float_internal.
19389         (check_complex): Likewise.
19390         (check_int): Do not take max_ulp parameter.
19391         (check_long): Likewise.
19392         (check_bool): Likewise.
19393         (check_longlong): Likewise.
19394         (struct test_f_f_data): Remove max_ulp field.
19395         (struct test_ff_f_data): Likewise.
19396         (struct test_ff_f_data_nexttoward): Likewise.
19397         (struct test_fi_f_data): Likewise.
19398         (struct test_fl_f_data): Likewise.
19399         (struct test_if_f_data): Likewise.
19400         (struct test_fff_f_data): Likewise.
19401         (struct test_c_f_data): Likewise.
19402         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19403         (struct test_fF_f1_data): Likewise.
19404         (struct test_ffI_f1_data): Likewise.
19405         (struct test_c_c_data): Remove max_ulp field.
19406         (struct test_cc_c_data): Likewise.
19407         (struct test_f_i_data): Likewise.
19408         (struct test_ff_i_data): Likewise.
19409         (struct test_f_l_data): Likewise.
19410         (struct test_f_L_data): Likewise.
19411         (struct test_sincos_data): Likewise.
19412         (RUN_TEST_f_f): Do not handle ulps.
19413         (RUN_TEST_LOOP_f_f): Likewise.
19414         (RUN_TEST_2_f): Likewise.
19415         (RUN_TEST_LOOP_2_f): Likewise.
19416         (RUN_TEST_fff_f): Likewise.
19417         (RUN_TEST_LOOP_fff_f): Likewise.
19418         (RUN_TEST_c_f): Likewise.
19419         (RUN_TEST_LOOP_c_f): Likewise.
19420         (RUN_TEST_f_f1): Likewise.
19421         (RUN_TEST_LOOP_f_f1): Likewise.
19422         (RUN_TEST_fF_f1): Likewise.
19423         (RUN_TEST_LOOP_fF_f1): Likewise.
19424         (RUN_TEST_fI_f1): Likewise.
19425         (RUN_TEST_LOOP_fI_f1): Likewise.
19426         (RUN_TEST_ffI_f1): Likewise.
19427         (RUN_TEST_LOOP_ffI_f1): Likewise.
19428         (RUN_TEST_c_c): Likewise.
19429         (RUN_TEST_LOOP_c_c): Likewise.
19430         (RUN_TEST_cc_c): Likewise.
19431         (RUN_TEST_LOOP_cc_c): Likewise.
19432         (RUN_TEST_f_i): Likewise.
19433         (RUN_TEST_LOOP_f_i): Likewise.
19434         (RUN_TEST_f_i_tg): Likewise.
19435         (RUN_TEST_LOOP_f_i_tg): Likewise.
19436         (RUN_TEST_ff_i_tg): Likewise.
19437         (RUN_TEST_LOOP_ff_i_tg): Likewise.
19438         (RUN_TEST_f_b): Likewise.
19439         (RUN_TEST_LOOP_f_b): Likewise.
19440         (RUN_TEST_f_b_tg): Likewise.
19441         (RUN_TEST_LOOP_f_b_tg): Likewise.
19442         (RUN_TEST_f_l): Likewise.
19443         (RUN_TEST_LOOP_f_l): Likewise.
19444         (RUN_TEST_f_L): Likewise.
19445         (RUN_TEST_LOOP_f_L): Likewise.
19446         (RUN_TEST_sincos): Likewise.
19447         (RUN_TEST_LOOP_sincos): Likewise.
19449 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
19451         [BZ #15480]
19452         [BZ #15485]
19453         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19454         main case of finite arguments, set rounding mode to FE_TONEAREST
19455         and discard exceptions.
19456         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19457         exceptions.
19458         (remainder_tonearest_test_data): New variable.
19459         (remainder_test_tonearest): New function.
19460         (remainder_towardzero_test_data): New variable.
19461         (remainder_test_towardzero): New function.
19462         (remainder_downward_test_data): New variable.
19463         (remainder_test_downward): New function.
19464         (remainder_upward_test_data): New variable.
19465         (remainder_test_upward): New function.
19466         (main): Call the new test functions.
19468         * math/libm-test.inc (struct test_f_f1_data): Remove field
19469         extra_init.
19470         (struct test_fF_f1_data): Likewise.
19471         (struct test_ffI_f1_data): Likewise.
19472         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
19473         based on value of EXTRA_EXPECTED.
19474         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19475         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
19476         EXTRA_VAR based on value of EXTRA_EXPECTED.
19477         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19478         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
19479         EXTRA_VAR based on value of EXTRA_EXPECTED.
19480         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19481         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
19482         EXTRA_VAR based on value of EXTRA_EXPECTED.
19483         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19484         * math/gen-libm-test.pl (parse_args): Don't output initializers
19485         for extra output values.
19487         * math/libm-test.inc (check_int): Expect result to be exactly
19488         equal to expected value and do not handle ulps.
19489         (check_long): Likewise.
19490         (check_longlong): Likewise.
19492         * math/libm-test.inc (ceil_test_data): Test for "inexact"
19493         exceptions.
19494         (cimag_test_data): Likewise.
19495         (conj_test_data): Likewise.
19496         (copysign_test_data): Likewise.
19497         (cproj_test_data): Likewise.
19498         (creal_test_data): Likewise.
19499         (fabs_test_data): Likewise.
19500         (fdim_test_data): Likewise.
19501         (finite_test_data): Likewise.
19502         (floor_test_data): Likewise.
19503         (fmax_test_data): Likewise.
19504         (fmin_test_data): Likewise.
19505         (fmod_test_data): Likewise.
19506         (fpclassify_test_data): Likewise.
19507         (frexp_test_data): Likewise.
19508         (ilogb_test_data): Likewise.
19509         (isfinite_test_data): Likewise.
19510         (isgreater_test_data): Likewise.
19511         (isgreaterequal_test_data): Likewise.
19512         (isinf_test_data): Likewise.
19513         (isless_test_data): Likewise.
19514         (islessequal_test_data): Likewise.
19515         (islessgreater_test_data): Likewise.
19516         (isnan_test_data): Likewise.
19517         (isnormal_test_data): Likewise.
19518         (issignaling_test_data): Likewise.
19519         (isunordered_test_data): Likewise.
19520         (ldexp_test_data): Likewise.
19521         (lrint_test_data): Likewise.
19522         (lrint_test_data) [TEST_FLOAT]: Disable one test.
19523         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19524         (lrint_tonearest_test_data): Test for "inexact" exceptions.
19525         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19526         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19527         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19528         test input.
19529         (lrint_towardzero_test_data): Test for "inexact" exceptions.
19530         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19531         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19532         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19533         that test input.
19534         (lrint_downward_test_data): Test for "inexact" exceptions.
19535         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19536         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19537         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19538         test input.
19539         (lrint_upward_test_data): Test for "inexact" exceptions.
19540         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19541         test input.
19542         (llrint_test_data): Test for "inexact" exceptions.
19543         (llrint_test_data) [TEST_FLOAT]: Disable one test.
19544         (llrint_tonearest_test_data): Test for "inexact" exceptions.
19545         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19546         (llrint_towardzero_test_data): Test for "inexact" exceptions.
19547         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19548         (llrint_downward_test_data): Test for "inexact" exceptions.
19549         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19550         (llrint_upward_test_data): Test for "inexact" exceptions.
19551         (logb_test_data): Likewise.
19552         (logb_downward_test_data): Likewise.
19553         (nextafter_test_data): Likewise.
19554         (nexttoward_test_data): Likewise.
19555         (remainder_test_data): Likewise.
19556         (remquo_test_data): Likewise.
19557         (scalbn_test_data): Likewise.
19558         (scalbln_test_data): Likewise.
19559         (signbit_test_data): Likewise.
19560         (sqrt_test_data): Likewise.
19561         (significand_test_data): Likewise.
19563 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19565         [BZ #15424]
19566         * benchtests/bench-modf.c (struct args): Mark arg0 as
19567         volatile.
19568         * scripts/bench.pl: Mark members of struct args as volatile.
19570 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19572         [BZ # 15497]
19573         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19574         negative infinity on POWER6 or lower.
19575         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19577 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19579         [BZ #15442]
19580         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19581         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19582         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19583         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19584         (_FP_SETQNAN): New macro.
19585         (_FP_SETQNAN_SEMIRAW): Likewise.
19586         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19587         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19588         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19589         (FP_EXTEND): Use _FP_FRAC_SNANP.
19590         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19591         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19592         into account.
19593         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19594         New macro.
19595         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19596         Likewise.
19598 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19600         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19601         with DIVIDE_BY_ZERO_EXCEPTION.
19602         (gamma_test_data): Likewise.
19603         (lgamma_test_data): Likewise.
19604         (log_test_data): Likewise.
19605         (log10_test_data): Likewise.
19606         (log2_test_data): Likewise.
19607         (tgamma_test_data): Likewise.
19609         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19610         (acos_test_tonearest): Likewise.
19611         (acos_test_towardzero): Likewise.
19612         (acos_test_downward): Likewise.
19613         (acos_test_upward): Likewise.
19614         (acosh_test): Likewise.
19615         (asin_test): Likewise.
19616         (asin_test_tonearest): Likewise.
19617         (asin_test_towardzero): Likewise.
19618         (asin_test_downward): Likewise.
19619         (asin_test_upward): Likewise.
19620         (asinh_test): Likewise.
19621         (atan_test): Likewise.
19622         (atanh_test): Likewise.
19623         (atan2_test): Likewise.
19624         (cabs_test): Likewise.
19625         (cacos_test): Likewise.
19626         (cacosh_test): Likewise.
19627         (casin_test): Likewise.
19628         (casinh_test): Likewise.
19629         (catan_test): Likewise.
19630         (catanh_test): Likewise.
19631         (cbrt_test): Likewise.
19632         (ccos_test): Likewise.
19633         (ccosh_test): Likewise.
19634         (cexp_test): Likewise.
19635         (clog_test): Likewise.
19636         (clog10_test): Likewise.
19637         (cos_test): Likewise.
19638         (cos_test_tonearest): Likewise.
19639         (cos_test_towardzero): Likewise.
19640         (cos_test_downward): Likewise.
19641         (cos_test_upward): Likewise.
19642         (cosh_test): Likewise.
19643         (cosh_test_tonearest): Likewise.
19644         (cosh_test_towardzero): Likewise.
19645         (cosh_test_downward): Likewise.
19646         (cosh_test_upward): Likewise.
19647         (cpow_test): Likewise.
19648         (csin_test): Likewise.
19649         (csinh_test): Likewise.
19650         (csqrt_test): Likewise.
19651         (ctan_test): Likewise.
19652         (ctan_test_tonearest): Likewise.
19653         (ctan_test_towardzero): Likewise.
19654         (ctan_test_downward): Likewise.
19655         (ctan_test_upward): Likewise.
19656         (ctanh_test): Likewise.
19657         (ctanh_test_tonearest): Likewise.
19658         (ctanh_test_towardzero): Likewise.
19659         (ctanh_test_downward): Likewise.
19660         (ctanh_test_upward): Likewise.
19661         (erf_test): Likewise.
19662         (erfc_test): Likewise.
19663         (exp_test): Likewise.
19664         (exp_test_tonearest): Likewise.
19665         (exp_test_towardzero): Likewise.
19666         (exp_test_downward): Likewise.
19667         (exp_test_upward): Likewise.
19668         (exp10_test): Likewise.
19669         (exp2_test): Likewise.
19670         (expm1_test): Likewise.
19671         (fmod_test): Likewise.
19672         (gamma_test): Likewise.
19673         (hypot_test): Likewise.
19674         (j0_test): Likewise.
19675         (j1_test): Likewise.
19676         (jn_test): Likewise.
19677         (lgamma_test): Likewise.
19678         (log_test): Likewise.
19679         (log10_test): Likewise.
19680         (log1p_test): Likewise.
19681         (log2_test): Likewise.
19682         (logb_test_downward): Likewise.
19683         (pow_test): Likewise.
19684         (pow_test_tonearest): Likewise.
19685         (pow_test_towardzero): Likewise.
19686         (pow_test_downward): Likewise.
19687         (pow_test_upward): Likewise.
19688         (remainder_test): Likewise.
19689         (remquo_test): Likewise.
19690         (sin_test): Likewise.
19691         (sin_test_tonearest): Likewise.
19692         (sin_test_towardzero): Likewise.
19693         (sin_test_downward): Likewise.
19694         (sin_test_upward): Likewise.
19695         (sincos_test): Likewise.
19696         (sinh_test): Likewise.
19697         (sinh_test_tonearest): Likewise.
19698         (sinh_test_towardzero): Likewise.
19699         (sinh_test_downward): Likewise.
19700         (sinh_test_upward): Likewise.
19701         (sqrt_test): Likewise.
19702         (tan_test): Likewise.
19703         (tan_test_tonearest): Likewise.
19704         (tan_test_towardzero): Likewise.
19705         (tan_test_downward): Likewise.
19706         (tan_test_upward): Likewise.
19707         (tanh_test): Likewise.
19708         (tgamma_test): Likewise.
19709         (y0_test): Likewise.
19710         (y1_test): Likewise.
19711         (yn_test): Likewise.
19713         * math/gen-libm-test.pl (adjust_arg): Remove function.
19714         (special_function): Remove argument $in_func.  Only handle
19715         generating output for tables of tests, not inside functions.
19716         (parse_args): Likewise.
19717         (generate_testfile): Remove variable $in_func.  Update call to
19718         parse_args.
19719         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19720         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19721         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19722         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19723         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19724         (MAX_VALUE_INIT): Rename macro to max_value.
19725         (MIN_VALUE_INIT): Rename macro to min_value.
19726         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19727         (plus_zero): Remove variable.
19728         (minus_zero): Likewise.
19729         (plus_infty): Likewise.
19730         (minus_infty): Likewise.
19731         (qnan_value): Likewise.
19732         (max_value): Likewise.
19733         (min_value): Likewise.
19734         (min_subnorm_value): Likewise.
19736 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19738         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19739         uint64_t or uint32_t usage.
19740         * crypt/sha256-block.c: Likewise.
19741         * crypt/sha256-crypt.c: Likewise.
19742         * crypt/sha256.c: Likewise.
19743         * crypt/sha512-block.c: Likewise.
19744         * crypt/sha512-crypt.c: Likewise.
19745         * crypt/sha512.c: Likewise.
19746         * debug/backtrace-tst.c: Likewise.
19747         * debug/pcprofiledump.c: Likewise.
19748         * elf/cache.c: Likewise.
19749         * elf/dl-cache.c: Likewise.
19750         * elf/dl-misc.c: Likewise.
19751         * elf/dl-profile.c: Likewise.
19752         * elf/dl-support.c: Likewise.
19753         * elf/ldconfig.c: Likewise.
19754         * elf/sprof.c: Likewise.
19755         * iconv/dummy-repertoire.c: Likewise.
19756         * iconv/iconv_charmap.c: Likewise.
19757         * iconv/skeleton.c: Likewise.
19758         * iconvdata/8bit-generic.c: Likewise.
19759         * iconvdata/cp737.h: Likewise.
19760         * iconvdata/cp775.h: Likewise.
19761         * iconvdata/ibm1008.h: Likewise.
19762         * iconvdata/ibm1025.h: Likewise.
19763         * iconvdata/ibm1046.h: Likewise.
19764         * iconvdata/ibm1097.h: Likewise.
19765         * iconvdata/ibm1112.h: Likewise.
19766         * iconvdata/ibm1122.h: Likewise.
19767         * iconvdata/ibm1123.h: Likewise.
19768         * iconvdata/ibm1124.h: Likewise.
19769         * iconvdata/ibm1129.h: Likewise.
19770         * iconvdata/ibm1130.h: Likewise.
19771         * iconvdata/ibm1132.h: Likewise.
19772         * iconvdata/ibm1133.h: Likewise.
19773         * iconvdata/ibm1137.h: Likewise.
19774         * iconvdata/ibm1140.h: Likewise.
19775         * iconvdata/ibm1141.h: Likewise.
19776         * iconvdata/ibm1142.h: Likewise.
19777         * iconvdata/ibm1143.h: Likewise.
19778         * iconvdata/ibm1144.h: Likewise.
19779         * iconvdata/ibm1145.h: Likewise.
19780         * iconvdata/ibm1146.h: Likewise.
19781         * iconvdata/ibm1147.h: Likewise.
19782         * iconvdata/ibm1148.h: Likewise.
19783         * iconvdata/ibm1149.h: Likewise.
19784         * iconvdata/ibm1153.h: Likewise.
19785         * iconvdata/ibm1154.h: Likewise.
19786         * iconvdata/ibm1155.h: Likewise.
19787         * iconvdata/ibm1156.h: Likewise.
19788         * iconvdata/ibm1157.h: Likewise.
19789         * iconvdata/ibm1158.h: Likewise.
19790         * iconvdata/ibm1160.h: Likewise.
19791         * iconvdata/ibm1161.h: Likewise.
19792         * iconvdata/ibm1162.h: Likewise.
19793         * iconvdata/ibm1163.h: Likewise.
19794         * iconvdata/ibm1164.h: Likewise.
19795         * iconvdata/ibm1166.h: Likewise.
19796         * iconvdata/ibm1167.h: Likewise.
19797         * iconvdata/ibm12712.h: Likewise.
19798         * iconvdata/ibm1390.h: Likewise.
19799         * iconvdata/ibm1399.h: Likewise.
19800         * iconvdata/ibm16804.h: Likewise.
19801         * iconvdata/ibm4517.h: Likewise.
19802         * iconvdata/ibm4899.h: Likewise.
19803         * iconvdata/ibm4909.h: Likewise.
19804         * iconvdata/ibm4971.h: Likewise.
19805         * iconvdata/ibm5347.h: Likewise.
19806         * iconvdata/ibm803.h: Likewise.
19807         * iconvdata/ibm856.h: Likewise.
19808         * iconvdata/ibm901.h: Likewise.
19809         * iconvdata/ibm902.h: Likewise.
19810         * iconvdata/ibm9030.h: Likewise.
19811         * iconvdata/ibm9066.h: Likewise.
19812         * iconvdata/ibm921.h: Likewise.
19813         * iconvdata/ibm922.h: Likewise.
19814         * iconvdata/ibm9448.h: Likewise.
19815         * iconvdata/isiri-3342.h: Likewise.
19816         * iconvdata/jis0201.h: Likewise.
19817         * include/link.h: Likewise.
19818         * include/netdb.h: Likewise.
19819         * inet/check_native.c: Likewise.
19820         * inet/check_pf.c: Likewise.
19821         * inet/getipv4sourcefilter.c: Likewise.
19822         * inet/getnameinfo.c: Likewise.
19823         * inet/getsourcefilter.c: Likewise.
19824         * inet/htonl.c: Likewise.
19825         * inet/setipv4sourcefilter.c: Likewise.
19826         * inet/setsourcefilter.c: Likewise.
19827         * inet/test-inet6_opt.c: Likewise.
19828         * inet/tst-network.c: Likewise.
19829         * locale/C-collate.c: Likewise.
19830         * locale/C-ctype.c: Likewise.
19831         * locale/C-time.c: Likewise.
19832         * locale/C-translit.h: Likewise.
19833         * locale/loadarchive.c: Likewise.
19834         * locale/programs/3level.h: Likewise.
19835         * locale/programs/charmap.c: Likewise.
19836         * locale/programs/charmap.h: Likewise.
19837         * locale/programs/ld-address.c: Likewise.
19838         * locale/programs/ld-collate.c: Likewise.
19839         * locale/programs/ld-ctype.c: Likewise.
19840         * locale/programs/ld-identification.c: Likewise.
19841         * locale/programs/ld-measurement.c: Likewise.
19842         * locale/programs/ld-messages.c: Likewise.
19843         * locale/programs/ld-monetary.c: Likewise.
19844         * locale/programs/ld-name.c: Likewise.
19845         * locale/programs/ld-numeric.c: Likewise.
19846         * locale/programs/ld-paper.c: Likewise.
19847         * locale/programs/ld-telephone.c: Likewise.
19848         * locale/programs/ld-time.c: Likewise.
19849         * locale/programs/linereader.c: Likewise.
19850         * locale/programs/locale.c: Likewise.
19851         * locale/programs/locarchive.c: Likewise.
19852         * locale/programs/locfile.h: Likewise.
19853         * locale/programs/repertoire.c: Likewise.
19854         * locale/programs/simple-hash.c: Likewise.
19855         * locale/programs/simple-hash.h: Likewise.
19856         * malloc/memusage.c: Likewise.
19857         * malloc/memusagestat.c: Likewise.
19858         * nis/nis_defaults.c: Likewise.
19859         * nis/nis_hash.c: Likewise.
19860         * nis/nis_print.c: Likewise.
19861         * nis/nis_xdr.c: Likewise.
19862         * nscd/connections.c: Likewise.
19863         * nscd/hstcache.c: Likewise.
19864         * nscd/nscd_gethst_r.c: Likewise.
19865         * nscd/nscd_getserv_r.c: Likewise.
19866         * nscd/nscd_helper.c: Likewise.
19867         * nscd/servicescache.c: Likewise.
19868         * nss/makedb.c: Likewise.
19869         * nss/nss_db/db-XXX.c: Likewise.
19870         * nss/nss_db/db-initgroups.c: Likewise.
19871         * nss/nss_db/db-netgrp.c: Likewise.
19872         * nss/nss_files/files-network.c: Likewise.
19873         * nss/nss_files/files-parse.c: Likewise.
19874         * posix/bug-regex5.c: Likewise.
19875         * posix/fnmatch_loop.c: Likewise.
19876         * posix/regcomp.c: Likewise.
19877         * posix/regexec.c: Likewise.
19878         * posix/tst-rfc3484-2.c: Likewise.
19879         * posix/tst-rfc3484-3.c: Likewise.
19880         * posix/tst-rfc3484.c: Likewise.
19881         * resolv/nss_dns/dns-canon.c: Likewise.
19882         * resolv/nss_dns/dns-network.c: Likewise.
19883         * resolv/res_init.c: Likewise.
19884         * resolv/res_mkquery.c: Likewise.
19885         * resolv/tst-aton.c: Likewise.
19886         * stdlib/cxa_atexit.c: Likewise.
19887         * stdlib/cxa_finalize.c: Likewise.
19888         * stdlib/gen-fpioconst.c: Likewise.
19889         * stdlib/strtol_l.c: Likewise.
19890         * string/tst-endian.c: Likewise.
19891         * sunrpc/auth_des.c: Likewise.
19892         * sunrpc/clnt_udp.c: Likewise.
19893         * sunrpc/rtime.c: Likewise.
19894         * sunrpc/svcauth_des.c: Likewise.
19895         * sunrpc/xdr.c: Likewise.
19896         * sunrpc/xdr_intXX_t.c: Likewise.
19897         * sunrpc/xdr_rec.c: Likewise.
19898         * sysdeps/generic/ldconfig.h: Likewise.
19899         * sysdeps/generic/ldsodefs.h: Likewise.
19900         * sysdeps/generic/memusage.h: Likewise.
19901         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19902         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19903         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19904         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19905         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19906         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19907         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19908         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19909         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19910         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19911         * sysdeps/posix/getaddrinfo.c: Likewise.
19912         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19913         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19914         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19915         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19916         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19917         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19918         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19919         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19920         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19921         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19922         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19923         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19924         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19925         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19926         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19927         * sysdeps/x86_64/dl-tls.h: Likewise.
19928         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19929         * time/alt_digit.c: Likewise.
19930         * time/era.c: Likewise.
19931         * wcsmbs/tst-c16c32-1.c: Likewise.
19933 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19935         * math/libm-test.inc (struct test_sincos_data): New type.
19936         (RUN_TEST_LOOP_sincos): New macro.
19937         (sincos_test_data): New variable.
19938         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19940 2013-05-16  Richard Henderson  <rth@redhat.com>
19942         * math/atest-exp2.c (LIMB64): New macro.
19943         (CONSTSZ): New macro.
19944         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19945         (hexdig): Move ...
19946         (print_mpn_fp): ... to function scope.
19947         (read_mpn_hex): Remove.
19948         (get_log2): Remove.
19949         (exp2_mpn): Use mp_log2.
19950         (main): Use mp_exp1.
19952 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19954         * math/libm-test.inc: Remove comment about not testing "inexact"
19955         exceptions.
19956         (INEXACT_EXCEPTION): New macro.
19957         (NO_INEXACT_EXCEPTION): Likewise.
19958         (INVALID_EXCEPTION_OK): Update value.
19959         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19960         (OVERFLOW_EXCEPTION_OK): Likewise.
19961         (UNDERFLOW_EXCEPTION_OK): Likewise.
19962         (IGNORE_ZERO_INF_SIGN): Likewise.
19963         (ERRNO_UNCHANGED): Likewise.
19964         (ERRNO_EDOM): Likewise.
19965         (ERRNO_ERANGE): Likewise.
19966         (test_exceptions): Handle testing "inexact" exceptions.
19967         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19968         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19969         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19970         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19971         INEXACT_EXCEPTION.
19972         (rint_towardzero_test_data): Likewise.
19973         (rint_downward_test_data): Likewise.
19974         (rint_upward_test_data): Likewise.
19976         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19977         with OVERFLOW_EXCEPTION.
19978         (exp10_test_data): Likewise.
19979         (exp2_test_data): Likewise.
19980         (expm1_test_data): Likewise.
19981         (lgamma_test_data): Likewise.
19982         (pow_test_data): Likewise.
19983         (tgamma_test_data): Likewise.
19984         (yn_test_data): Remove duplicate test of overflow.
19986         * math/libm-test.inc (struct test_cc_c_data): New type.
19987         (RUN_TEST_LOOP_cc_c): New macro.
19988         (cpow_test_data): New variable.
19989         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19991         * math/libm-test.inc (struct test_f_L_data): New type.
19992         (RUN_TEST_LOOP_f_L): New macro.
19993         (llrint_test_data): New variable.
19994         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19995         (llrint_tonearest_test_data): New variable.
19996         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19997         (llrint_towardzero_test_data): New variable.
19998         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19999         (llrint_downward_test_data): New variable.
20000         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20001         (llrint_upward_test_data): New variable.
20002         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20003         (llround_test_data): New variable.
20004         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20006 2013-05-13  Peter Collingbourne  <pcc@google.com>
20008         * math/atest-exp2.c (get_log2): Remove const attribute.
20010 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20012         * math/libm-test.inc (struct test_f_l_data): New type.
20013         (RUN_TEST_LOOP_f_l): New macro.
20014         (lrint_test_data): New variable.
20015         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20016         (lrint_tonearest_test_data): New variable.
20017         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20018         (lrint_towardzero_test_data): New variable.
20019         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20020         (lrint_downward_test_data): New variable.
20021         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20022         (lrint_upward_test_data): New variable.
20023         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20024         (lround_test_data): New variable.
20025         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20027 2013-05-15  Peter Collingbourne  <pcc@google.com>
20029         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20030         (EXTRACT_WORDS64) Use where appropriate.
20031         (INSERT_WORDS64) Likewise.
20033         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20034         constraints with x constraints.
20035         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20037         * malloc/obstack.c (_obstack_compat): Add initializer.
20039 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20041         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20042         si_trapno and add si_addr_lsb to _sifields.sigfault.
20043         (si_trapno): Remove macro.
20044         (si_addr_lsb): Define new macro.
20045         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20047 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20049         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20050         instead of TEST_f_l.
20051         (llrint_test_tonearest): Likewise.
20052         (llrint_test_towardzero): Likewise.
20053         (llrint_test_downward): Likewise.
20054         (llrint_test_upward): Likewise.
20055         (llround_test): Likewise.
20057         * math/libm-test.inc (struct test_f_i_data): Add comment.
20058         (RUN_TEST_LOOP_f_b): New macro.
20059         (RUN_TEST_LOOP_f_b_tg): Likewise.
20060         (finite_test_data): New variable.
20061         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20062         (isfinite_test_data): New variable.
20063         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20064         (isinf_test_data): New variable.
20065         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20066         (isnan_test_data): New variable.
20067         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20068         (isnormal_test_data): New variable.
20069         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20070         (issignaling_test_data): New variable.
20071         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20072         (signbit_test_data): New variable.
20073         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20075         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20076         with INVALID_EXCEPTION.
20077         (acosh_test_data): Likewise.
20078         (asin_test_data): Likewise.
20079         (atanh_test_data): Likewise.
20080         (fmod_test_data): Likewise.
20081         (log_test_data): Likewise.
20082         (log10_test_data): Likewise.
20083         (log2_test_data): Likewise.
20084         (pow_test_data): Likewise.
20085         (sqrt_test_data): Likewise.
20086         (y0_test_data): Likewise.
20087         (y1_test_data): Likewise.
20088         (yn_test_data): Likewise.
20090         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20091         function contents.
20093         * math/libm-test.inc (struct test_ff_i_data): New type.
20094         (RUN_TEST_LOOP_ff_i_tg): New macro.
20095         (isgreater_test_data): New variable.
20096         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20097         (isgreaterequal_test_data): New variable.
20098         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20099         (isless_test_data): New variable.
20100         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20101         (islessequal_test_data): New variable.
20102         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20103         (islessgreater_test_data): New variable.
20104         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20105         (isunordered_test_data): New variable.
20106         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20108 2013-05-14  David S. Miller  <davem@davemloft.net>
20110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20112 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20114         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20116         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20117         extra_test to int.
20118         (struct test_f_i_data): Change type of max_ulp to int.
20120         * math/libm-test.inc (test_ffI_f1_data): New type.
20121         (RUN_TEST_LOOP_ffI_f1): New macro.
20122         (remquo_test_data): New variable.
20123         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20125         * setjmp/tst-setjmp-fp.c: New file.
20126         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20127         (link-libm): New variable.
20128         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20130         * math/libm-test.inc (struct test_f_i_data): New type.
20131         (RUN_TEST_LOOP_f_i): New macro.
20132         (RUN_TEST_LOOP_f_i_tg): Likewise.
20133         (fpclassify_test_data): New variable.
20134         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20135         (ilogb_test_data): New variable.
20136         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20138         * math/libm-test.inc (scalbln_test): Correct function name in END
20139         call.
20141         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20142         (RUN_TEST_LOOP_fI_f1): New macro.
20143         (frexp_test_data): New variable.
20144         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20146         * math/libm-test.inc (struct test_fF_f1_data): New type.
20147         (RUN_TEST_LOOP_fF_f1): New macro.
20148         (modf_test_data): New variable.
20149         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20151         * math/libm-test.inc (struct test_f_f1_data): New type.
20152         (RUN_TEST_LOOP_f_f1): New macro.
20153         (gamma_test_data): New variable.
20154         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20155         (lgamma_test_data): New variable.
20156         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20158 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20160         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20161         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20162         (main): Comment "tls" pseudo-hwcap.
20164 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20166         * math/libm-test.inc (struct test_fl_f_data): New type.
20167         (RUN_TEST_LOOP_fl_f): New variable.
20168         (scalbln_test_data): New variable.
20169         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20171         * math/libm-test.inc (struct test_fi_f_data): New type.
20172         (RUN_TEST_LOOP_fi_f): New macro.
20173         (ldexp_test_data): New variable.
20174         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20175         (scalbn_test_data): New variable.
20176         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20178         * math/libm-test.inc (struct test_c_f_data): New type.
20179         (RUN_TEST_LOOP_c_f): New macro.
20180         (cabs_test_data): New variable.
20181         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20182         (carg_test_data): New variable.
20183         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20184         (cimag_test_data): New variable.
20185         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20186         (creal_test_data): New variable.
20187         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20189         * math/libm-test.inc (struct test_if_f_data): New type.
20190         (RUN_TEST_LOOP_if_f): New macro.
20191         (jn_test_data): New variable.
20192         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20193         (yn_test_data): New variable.
20194         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20196         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20198 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20200         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20201         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20203 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20205         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20206         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20207         (bench-deps): Add bench-timing.h.
20208         * benchtests-bench-skeleton.c: Include bench-timing.h.
20209         (main): Use TIMING_* macros instead of clock_gettime.
20210         * benchtests/bench-timing.h: New file.
20212         [BZ #14582]
20213         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20214         Renamed from _LIB_VERSION.
20215         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20217 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20219         * math/libm-test.inc (struct test_fff_f_data): New type.
20220         (RUN_TEST_LOOP_fff_f): New macro.
20221         (fma_test_data): New variable.
20222         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20223         (fma_towardzero_test_data): New variable.
20224         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20225         (fma_downward_test_data): New variable.
20226         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20227         (fma_upward_test_data): New variable.
20228         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20230         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20231         (struct test_c_c_data): New type.
20232         (RUN_TEST_LOOP_c_c): New macro.
20233         (cacos_test_data): New variable.
20234         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20235         (cacosh_test_data): New variable.
20236         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20237         (casin_test_data): New variable.
20238         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20239         (casinh_test_data): New variable.
20240         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20241         (catan_test_data): New variable.
20242         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20243         (catanh_test_data): New variable.
20244         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20245         (ccos_test_data): New variable.
20246         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20247         (ccosh_test_data): New variable.
20248         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20249         (cexp_test_data): New variable.
20250         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20251         (clog_test_data): New variable.
20252         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20253         (clog10_test_data): New variable.
20254         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20255         (conj_test_data): New variable.
20256         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20257         (cproj_test_data): New variable.
20258         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20259         (csin_test_data): New variable.
20260         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20261         (csinh_test_data): New variable.
20262         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20263         (csqrt_test_data): New variable.
20264         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20265         (ctan_test_data): New variable.
20266         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20267         (ctan_tonearest_test_data): New variable.
20268         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20269         (ctan_towardzero_test_data): New variable.
20270         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20271         (ctan_downward_test_data): New variable.
20272         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20273         (ctan_upward_test_data): New variable.
20274         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20275         (ctanh_test_data): New variable.
20276         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20277         (ctanh_tonearest_test_data): New variable.
20278         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20279         (ctanh_towardzero_test_data): New variable.
20280         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20281         (ctanh_downward_test_data): New variable.
20282         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20283         (ctanh_upward_test_data): New variable.
20284         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20285         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20286         of BUILD_COMPLEX.
20288         * math/libm-test.inc (struct test_ff_f_data): New type.
20289         (struct test_ff_f_data_nexttoward): Likewise.
20290         (RUN_TEST_LOOP_2_f): New macro.
20291         (RUN_TEST_LOOP_ff_f): Likewise.
20292         (atan2_test_data): New variable.
20293         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20294         (copysign_test_data): New variable.
20295         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20296         (fdim_test_data): New variable.
20297         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20298         (fmax_test_data): New variable.
20299         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20300         (fmin_test_data): New variable.
20301         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20302         (fmod_test_data): New variable.
20303         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20304         (hypot_test_data): New variable.
20305         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20306         (nextafter_test_data): New variable.
20307         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20308         (nexttoward_test_data): New variable.
20309         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20310         (pow_test_data): New variable.
20311         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20312         (pow_tonearest_test_data): New variable.
20313         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20314         (pow_towardzero_test_data): New variable.
20315         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20316         (pow_downward_test_data): New variable.
20317         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20318         (pow_upward_test_data): New variable.
20319         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20320         (remainder_test_data): New variable.
20321         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20322         (scalb_test_data): New variable.
20323         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20324         * sysdeps/i386/fpu/libm-test-ulps: Update.
20326 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20328         * math/libm-test.inc (fma_test): Use max_value instead of local
20329         variable fltmax.
20330         (nextafter_test): Likewise.
20332         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20333         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20334         (acos_downward_test_data): New variable.
20335         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20336         (acos_upward_test_data): New variable.
20337         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20338         (acosh_test_data): New variable.
20339         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20340         (asin_test_data): New variable.
20341         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20342         (asin_tonearest_test_data): New variable.
20343         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20344         (asin_towardzero_test_data): New variable.
20345         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20346         (asin_downward_test_data): New variable.
20347         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20348         (asin_upward_test_data): New variable.
20349         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20350         (asinh_test_data): New variable.
20351         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20352         (atan_test_data): New variable.
20353         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20354         (atanh_test_data): New variable.
20355         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20356         (cbrt_test_data): New variable.
20357         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20358         (ceil_test_data): New variable.
20359         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20360         (cos_test_data): New variable.
20361         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20362         (cos_tonearest_test_data): New variable.
20363         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20364         (cos_towardzero_test_data): New variable.
20365         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20366         (cos_downward_test_data): New variable.
20367         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20368         (cos_upward_test_data): New variable.
20369         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20370         (cosh_test_data): New variable.
20371         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20372         (cosh_tonearest_test_data): New variable.
20373         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20374         (cosh_towardzero_test_data): New variable.
20375         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20376         (cosh_downward_test_data): New variable.
20377         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20378         (cosh_upward_test_data): New variable.
20379         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20380         (erf_test_data): New variable.
20381         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20382         (erfc_test_data): New variable.
20383         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20384         (exp_test_data): New variable.
20385         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20386         (exp_tonearest_test_data): New variable.
20387         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20388         (exp_towardzero_test_data): New variable.
20389         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20390         (exp_downward_test_data): New variable.
20391         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20392         (exp_upward_test_data): New variable.
20393         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20394         (exp10_test_data): New variable.
20395         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20396         (exp2_test_data): New variable.
20397         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20398         (expm1_test_data): New variable.
20399         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20400         (fabs_test_data): New variable.
20401         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20402         (floor_test_data): New variable.
20403         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20404         (j0_test_data): New variable.
20405         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20406         (j1_test_data): New variable.
20407         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20408         (log_test_data): New variable.
20409         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20410         (log10_test_data): New variable.
20411         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20412         (log1p_test_data): New variable.
20413         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20414         (log2_test_data): New variable.
20415         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20416         (logb_test_data): New variable.
20417         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20418         (logb_downward_test_data): New variable.
20419         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20420         (nearbyint_test_data): New variable.
20421         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20422         (rint_test_data): New variable.
20423         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20424         (rint_tonearest_test_data): New variable.
20425         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20426         (rint_towardzero_test_data): New variable.
20427         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20428         (rint_downward_test_data): New variable.
20429         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20430         (rint_upward_test_data): New variable.
20431         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20432         (round_test_data): New variable.
20433         (round_test): Run tests with RUN_TEST_LOOP_f_f.
20434         (sin_test_data): New variable.
20435         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20436         (sin_tonearest_test_data): New variable.
20437         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20438         (sin_towardzero_test_data): New variable.
20439         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20440         (sin_downward_test_data): New variable.
20441         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20442         (sin_upward_test_data): New variable.
20443         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20444         (sinh_test_data): New variable.
20445         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20446         (sinh_tonearest_test_data): New variable.
20447         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20448         (sinh_towardzero_test_data): New variable.
20449         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20450         (sinh_downward_test_data): New variable.
20451         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20452         (sinh_upward_test_data): New variable.
20453         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20454         (sqrt_test_data): New variable.
20455         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20456         (tan_test_data): New variable.
20457         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20458         (tan_tonearest_test_data): New variable.
20459         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20460         (tan_towardzero_test_data): New variable.
20461         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20462         (tan_downward_test_data): New variable.
20463         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20464         (tan_upward_test_data): New variable.
20465         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20466         (tanh_test_data): New variable.
20467         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20468         (tgamma_test_data): New variable.
20469         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20470         (trunc_test_data): New variable.
20471         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20472         (y0_test_data): New variable.
20473         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20474         (y1_test_data): New variable.
20475         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20476         (significand_test_data): New variable.
20477         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20479 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
20481         [BZ #12387]
20482         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20484 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
20486         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20488 2013-05-10  Andreas Jaeger  <aj@suse.de>
20490         [BZ #15448]
20491         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20492         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20494 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20496         * math/gen-libm-test.pl (adjust_arg): New function.
20497         (special_functions): Handle generating output in both functions
20498         and arrays.
20499         (parse_args): Likewise.
20500         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
20501         $in_func argument to parse_args.
20502         * math/libm-test.inc (struct test_f_f_data): New type.
20503         (IF_ROUND_INIT_): New macro.
20504         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20505         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20506         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20507         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20508         (ROUND_RESTORE_): Likewise.
20509         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20510         (ROUND_RESTORE_FE_TONEAREST): Likewise.
20511         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20512         (ROUND_RESTORE_FE_UPWARD): Likewise.
20513         (RUN_TEST_LOOP_f_f): New macro.
20514         (acos_test_data): New variable.
20515         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20516         (acos_tonearest_test_data): New variable.
20517         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20519 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20521         * benchtests/bench-skeleton.c (startup): Fix coding style.
20523 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
20525         [BZ #6809]
20526         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20527         negative infinity argument.
20528         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20529         negative infinity argument.
20530         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20531         negative infinity argument.
20532         * math/libm-test.inc (tgamma_test): Expect errno to be set for
20533         domain errors.
20535 2013-05-10  Florian Weimer  <fweimer@redhat.com>
20537         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20538         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20539         * iconv/iconv_prog.c (main): Likewise.
20540         * locale/programs/charmap-dir.c (charmap_readdir)
20541         (fopen_uncompressed): Likewise.
20542         * locale/programs/locfile.c (siblings_uncached)
20543         (write_locale_data): Use lstat64 instead of lstat.
20544         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20545         stat.
20547 2013-05-10  Andreas Jaeger  <aj@suse.de>
20549         [BZ #15395]
20550         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20551         localization.
20552         Include <locale.h>.
20554 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
20556         * elf/dl-close.c (_dl_close_worker): Add comments.
20558 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
20560         [BZ #15359]
20561         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20562         high part of pi/2.
20563         (__ieee754_rem_pio2l): Update comments.
20565         [BZ #15429]
20566         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20567         high part of pi/2.
20568         (__ieee754_rem_pio2l): Update comments.
20570         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20571         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20573         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20574         M_PI_4l.
20576         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20577         (M_PI_34_LOG10El): Likewise.
20578         (M_PI2_LOG10El): Likewise.
20579         (M_PI4_LOG10El): Likewise.
20580         (M_PI_LOG10El): Likewise.
20582 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20586 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
20588         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20589         (MINUS_ZERO_INIT): Likewise.
20590         (PLUS_INFTY_INIT): Likewise.
20591         (MINUS_INFTY_INIT): Likewise.
20592         (QNAN_VALUE_INIT): Likewise.
20593         (MAX_VALUE_INIT): Likewise.
20594         (MIN_VALUE_INIT): Likewise.
20595         (MIN_SUBNORM_VALUE_INIT): Likewise.
20596         (plus_zero): Initialize with PLUS_ZERO_INIT.
20597         (minus_zero): Initialize with MINUS_ZERO_INIT.
20598         (plus_infty): Initialize with PLUS_INFTY_INIT.
20599         (minus_infty): Initialize with MINUS_INFTY_INIT.
20600         (qnan_value): Initialize with QNAN_VALUE_INIT.
20601         (max_value): Initialize with MAX_VALUE_INIT.
20602         (min_value): Initialize with MIN_VALUE_INIT.
20603         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20605         * math/libm-test.inc (RUN_TEST_if_f): New macro.
20606         (jn_test): Use TEST_if_f instead of TEST_ff_f.
20607         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20608         (yn_test): Use TEST_if_f instead of TEST_ff_f.
20610         * math/libm-test.inc (RUN_TEST_f_f): New macro.
20611         (RUN_TEST_2_f): Likewise.
20612         (RUN_TEST_ff_f): Likewise.
20613         (RUN_TEST_fi_f): Likewise.
20614         (RUN_TEST_fl_f): Likewise.
20615         (RUN_TEST_fff_f): Likewise.
20616         (RUN_TEST_c_f): Likewise.
20617         (RUN_TEST_f_f1): Likewise.
20618         (RUN_TEST_fF_f1): Likewise.
20619         (RUN_TEST_fI_f1): Likewise.
20620         (RUN_TEST_ffI_f1): Likewise.
20621         (RUN_TEST_c_c): Likewise.
20622         (RUN_TEST_cc_c): Likewise.
20623         (RUN_TEST_f_i): Likewise.
20624         (RUN_TEST_f_i_tg): Likewise.
20625         (RUN_TEST_ff_i_tg): Likewise.
20626         (RUN_TEST_f_b): Likewise.
20627         (RUN_TEST_f_b_tg): Likewise.
20628         (RUN_TEST_f_l): Likewise.
20629         (RUN_TEST_f_L): Likewise.
20630         (RUN_TEST_sincos): Likewise.
20631         * math/gen-libm-test.pl (new_test): Take new argument to indicate
20632         whether to show exceptions.  Do not include ");\n" in return
20633         value.
20634         (special_functions): Output call to RUN_TEST_sincos instead of
20635         check_float calls.  Update calls to new_test.
20636         (parse_args): Output call to single RUN_TEST_* macro instead of
20637         check_* calls and other assignments.  Update calls to new_test.
20639         [BZ #2546]
20640         [BZ #2560]
20641         [BZ #5159]
20642         [BZ #15426]
20643         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20644         input to result for tgamma overflow.
20645         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20646         (gamma_coeff): New variable.
20647         (NCOEFF): New macro.
20648         (gamma_positive): New function.
20649         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20650         underflow here.  Use gamma_positive instead of exp (lgamma) for
20651         other arguments.
20652         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20653         (gamma_coeff): New variable.
20654         (NCOEFF): New macro.
20655         (gammaf_positive): New function.
20656         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20657         underflow here.  Use gamma_positive instead of exp (lgamma) for
20658         other arguments.
20659         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20660         (gamma_coeff): New variable.
20661         (NCOEFF): New macro.
20662         (gammal_positive): New function.
20663         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20664         underflow here.  Use gamma_positive instead of exp (lgamma) for
20665         other arguments.
20666         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20667         (gamma_coeff): New variable.
20668         (NCOEFF): New macro.
20669         (gammal_positive): New function.
20670         (__ieee754_gammal_r): Handle positive infinity, overflow and
20671         underflow here.  Handle NaN the same as positive infinity.  Remove
20672         check x < 0xffffffff for negative integers.  Use gamma_positive
20673         instead of exp (lgamma) for other arguments.
20674         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20675         (gamma_coeff): New variable.
20676         (NCOEFF): New macro.
20677         (gammal_positive): New function.
20678         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20679         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20680         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20681         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20682         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20683         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20684         * sysdeps/generic/math_private.h (__gamma_productf): New
20685         prototype.
20686         (__gamma_product): Likewise.
20687         (__gamma_productl): Likewise.
20688         * math/Makefile (libm-calls): Add gamma_product.
20689         * math/libm-test.inc (tgamma_test): Add more tests.
20690         * sysdeps/i386/fpu/libm-test-ulps: Update.
20691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20693 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20695         * benchtests/bench-skeleton.c (main): Preheat CPU.
20697 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20699         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20701 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20703         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20704         and _dl_skip_args_internal.
20706 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20708         * manual/message.texi (Message Translation): Talk about users.
20709         Message to key mapping impacts design.
20711 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20713         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20715         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20717         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20718         * sysdeps/wordsize-64/glob64.c: ... here.
20720         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20721         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20722         New macros.
20724         * debug/getlogin_r_chk.c: Moved to ...
20725         * login/getlogin_r_chk.c: ... here.
20726         * debug/Makefile (routines): Move getlogin_r_chk to ...
20727         * login/Makefile (routines): ... here.
20728         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20729         * login/Versions (libc: GLIBC_2.4): ... here.
20731         * io/poll.c (__poll): Renamed from poll.
20732         Add libc_hidden_def.
20733         (poll): Define as weak alias.
20735         * debug/ptsname_r_chk.c: Moved to ...
20736         * login/ptsname_r_chk.c: ... here.
20737         * debug/Makefile (routines): Move ptsname_r_chk to ...
20738         * login/Makefile (routines): ... here.
20739         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20740         * login/Versions (libc: GLIBC_2.4): ... here.
20742         * posix/getlogin.c: Moved to ...
20743         * login/getlogin.c: ... here.
20744         * posix/getlogin_r.c: Moved to ...
20745         * login/getlogin_r.c: ... here.
20746         * posix/getlogin_r.c: Moved to ...
20747         * login/getlogin_r.c: ... here.
20748         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20749         * login/Makefile (routines): ... here.
20750         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20751         * login/Versions (libc: GLIBC_2.0): ... here.
20753         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20754         (setrlimit): Define as weak alias.
20756         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20757         Call __ names for open, ftruncate, and close.
20758         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20759         (truncate): Define as weak alias.
20761 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20763         * math/gen-libm-test.pl (parse_args): Initialize x before each
20764         test of frexp, modf and remquo.
20766         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20767         test signgam value.
20769 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20771         [BZ #15418]
20772         [BZ #15419]
20773         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20774         internal tests.
20775         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20777 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20779         * elf/dl-writev.h: New file.
20780         * elf/dl-misc.c: Include it.
20781         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20782         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20784 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20786         * math/libm-test.inc (noXFails): Remove variable.
20787         (noXPasses): Likewise.
20788         (BUILD_COMPLEX_INT): Remove macro.
20789         (print_screen): Remove xfail argument.
20790         (print_screen_max_error): Likewise.
20791         (update_stats): Likewise.
20792         (print_max_error): Likewise.  Update calls to other affected
20793         functions.
20794         (print_complex_max_error): Likewise.
20795         (test_single_exception): Update calls to print_screen.
20796         (test_single_errno): Likewise.
20797         (check_float_internal): Remove xfail argument.  Update calls to
20798         other affected functions.
20799         (check_float): Likewise.
20800         (check_complex): Likewise.
20801         (check_int): Likewise.
20802         (check_long): Likewise.
20803         (check_bool): Likewise.
20804         (check_longlong): Likewise.
20805         (main): Don't print noXFails and noXPasses.
20806         * math/gen-libm-test.pl (top level): Don't mention expected
20807         failure handling in comment.
20808         (new_test): Don't handle expected failures.
20809         (parse_args): Don't mention expected failure handling in comment.
20810         (generate_testfile): Don't handle expected failures.
20811         (parse_ulps): Likewise.
20812         (print_ulps_file): Likewise.
20813         (get_failure): Remove function.
20814         (output_test): Don't handle expected failures.
20815         * make/README.libm-test: Don't mention expected failure handling.
20817         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20818         (minus_zero): Likewise.
20819         (plus_infty): Likewise.
20820         (minus_infty): Likewise.
20821         (qnan_value): Likewise.
20822         (max_value): Likewise.
20823         (min_value): Likewise.
20824         (min_subnorm_value): Likewise.
20825         (initialize): Do not initialize those variables dynamically.
20827 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20829         * io/open.c (__open_2): Moved to ...
20830         * io/open_2.c: ... this new file.
20831         * io/open64.c (__open64_2): Moved to ...
20832         * io/open64_2.c: ... this new file.
20833         * io/openat.c (__openat_2): Moved to ...
20834         * io/openat_2.c: ... this new file.
20835         * io/openat64.c (__openat64_2): Moved to ...
20836         * io/openat64_2.c: ... this new file.
20837         * io/Makefile (routines): Add them.
20838         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20839         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20840         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20841         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20842         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20843         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20844         (__openat64): Add hidden_ver.
20845         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20846         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20848         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20849         Separately conditionalize setting of GLRO(dl_sysinfo) so
20850         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20851         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20853 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20855         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20856         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20857         definition.
20858         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20859         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20860         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20861         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20862         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20864 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20866         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20867         test signgam value.
20869         * math/libm-test.inc (hypot_test): Do not use
20870         IGNORE_ZERO_INF_SIGN.
20872 2013-05-03  Andreas Jaeger  <aj@suse.de>
20874         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20875         Linux 3.9.
20876         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20877         (PF_MAX): Adjust for VSOCK change.
20879 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20883 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20885         [BZ #15264]
20886         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20887         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20888         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20890 2013-05-02  David S. Miller  <davem@davemloft.net>
20892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20894 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20896         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20898 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20900         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20902 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20904         [BZ #14952]
20905         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20906         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20907         Use __attribute__ ((__gnu_inline__)).
20908         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20909         Don't use __attribute__ ((__gnu_inline__)).
20911 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20913         [BZ #15423]
20914         * math/s_catan.c (__catan): Handle small real or imaginary part of
20915         input specially to avoid spurious underflow.
20916         * math/s_catanf.c (__catanf): Likewise.
20917         * math/s_catanh.c (__catanh): Likewise.
20918         * math/s_catanhf.c (__catanhf): Likewise.
20919         * math/s_catanhl.c (__catanhl): Likewise.
20920         * math/s_catanl.c (__catanl): Likewise.
20921         * math/libm-test.inc (catan_test): Add more tests.
20922         (catanh_test): Likewise.
20923         * sysdeps/i386/fpu/libm-test-ulps: Update.
20924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20926 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20930 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20932         [BZ #15416]
20933         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20934         accurately for denominator in atan2.
20935         * math/s_catanf.c (__catanf): Likewise.
20936         * math/s_catanh.c (__catanh): Likewise.
20937         * math/s_catanhf.c (__catanhf): Likewise.
20938         * math/s_catanhl.c (__catanhl): Likewise.
20939         * math/s_catanl.c (__catanl): Likewise.
20940         * math/libm-test.inc (catan_test): Add more tests.
20941         (catanh_test): Likewise.
20942         * sysdeps/i386/fpu/libm-test-ulps: Update.
20943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20945 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20947         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20949         * benchtests/Makefile (bench): Remove slow benchmarks.
20950         * benchtests/atan-inputs: Add slow benchmark inputs.
20951         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20952         (BENCH_FUNC): Accept variant offset.
20953         (VARIANT): Define.
20954         * benchtests/bench-skeleton.c (main): Run benchmark for each
20955         variant.
20956         * benchtests/cos-inputs: Add slow benchmark inputs.
20957         * benchtests/exp-inputs: Likewise.
20958         * benchtests/pow-inputs: Likewise.
20959         * benchtests/sin-inputs: Likewise.
20960         * benchtests/slowatan-inputs: Remove.
20961         * benchtests/slowatan.c: Remove.
20962         * benchtests/slowcos-inputs: Remove.
20963         * benchtests/slowcos.c: Remove.
20964         * benchtests/slowexp-inputs: Remove.
20965         * benchtests/slowexp.c: Remove.
20966         * benchtests/slowpow-inputs: Remove.
20967         * benchtests/slowpow.c: Remove.
20968         * benchtests/slowsin-inputs: Remove.
20969         * benchtests/slowsin.c: Remove.
20970         * benchtests/slowtan-inputs: Remove.
20971         * benchtests/slowtan.c: Remove.
20972         * benchtests/tan-inputs: Add slow benchmark inputs.
20973         * scripts/bench.pl: Parse comments and directives.
20975         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20976         in CPPFLAGS.
20977         ($(objpfx)bench-%.c): Remove *-ITER.
20978         * benchtests/bench-modf.c: Remove definition of ITER.
20979         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20980         (main): Loop for DURATION seconds instead of fixed number of
20981         iterations.
20982         * scripts/bench.pl: Don't expect iterations in parameters.
20984 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20986         * io/fchdir.c (__fchdir): Renamed from fchdir.
20987         (fchdir): Define as weak alias.
20989 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20991         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20992         (ERRNO_EDOM): Likewise.
20993         (ERRNO_ERANGE): Likewise.
20994         (noErrnoTests): New variable.
20995         (init_max_error): Set errno to 0.
20996         (test_single_errno): New function.
20997         (test_errno): Likewise.
20998         (check_float_internal): Call test_errno.  Set errno to 0.
20999         (check_complex): Refer to errno tests in comment.
21000         (check_int): Call test_errno.  Set errno to 0.
21001         (check_long): Likewise.
21002         (check_bool): Likewise.
21003         (check_longlong): Likewise.
21004         (cos_test): Use ERRNO_* flags for errno tests instead of
21005         check_int.
21006         (expm1_test): Likewise.
21007         (fmod_test): Likewise.
21008         (ilogb_test): Likewise.
21009         (lgamma_test): Likewise.
21010         (pow_test): Likewise.
21011         (remainder_test): Likewise.
21012         (sin_test): Likewise.
21013         (tan_test): Likewise.
21014         (yn_test): Likewise.
21015         (initialize): Set errno to 0.
21016         (main): Print number of errno tests.
21017         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21019 2013-04-29  Andreas Jaeger  <aj@suse.de>
21021         [BZ #15084]
21022         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21023         and RES_USEVC.
21025         [BZ #15085]
21026         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21027         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21028         unimplemented.
21030         [BZ #15380]
21031         * stdlib/random.c (__initstate): Return NULL if
21032         __initstate fails.
21034         [BZ #15086]
21035         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21036         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21037         RES_SNGLKUPREOP.
21039 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21043 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21045         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21046         of individual tests.
21047         (casin_test): Likewise.
21048         (casinh_test): Likewise.
21050 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21052         [BZ #15409]
21053         * math/s_catan.c (__catan): Handle arguments with large real or
21054         imaginary part separately without squaring.
21055         * math/s_catanf.c (__catanf): Likewise.
21056         * math/s_catanh.c (__catanh): Likewise.
21057         * math/s_catanhf.c (__catanhf): Likewise.
21058         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21059         and redefine.
21060         (__catanhl): Handle arguments with large real or imaginary part
21061         separately without squaring.
21062         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21063         and redefine.
21064         (__catanl): Handle arguments with large real or imaginary part
21065         separately without squaring.
21066         * math/libm-test.inc (catan_test): Add more tests.
21067         (catanh_test): Likewise.
21068         * sysdeps/i386/fpu/libm-test-ulps: Update.
21069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21071 2013-04-27  Andreas Jaeger  <aj@suse.de>
21073         [BZ #15007]
21074         * stdlib/stdlib.h: Update guards for qecvt.
21075         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21076         <stdlib.h>.
21078 2013-04-27  Allan McRae  <allan@archlinux.org>
21080         * sysdeps/i386/fpu/libm-test-ulps: Update.
21082 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21084         [BZ #15406]
21085         * math/s_catan.c: Include <float.h>.
21086         (__catan): Ensure underflow exception occurs for underflowed
21087         result.
21088         * math/s_catanf.c: Include <float.h>.
21089         (__catanf): Ensure underflow exception occurs for underflowed
21090         result.
21091         * math/s_catanh.c: Include <float.h>.
21092         (__catanh): Ensure underflow exception occurs for underflowed
21093         result.
21094         * math/s_catanhf.c: Include <float.h>.
21095         (__catanhf): Ensure underflow exception occurs for underflowed
21096         result.
21097         * math/s_catanhl.c: Include <float.h>.
21098         (__catanhl): Ensure underflow exception occurs for underflowed
21099         result.
21100         * math/s_catanl.c: Include <float.h>.
21101         (__catanl): Ensure underflow exception occurs for underflowed
21102         result.
21103         * math/libm-test.inc (catan_test): Add more tests.
21104         (catanh_test): Likewise.
21106         [BZ #15405]
21107         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21108         underflowed result.
21109         * math/s_ccoshf.c (__ccoshf): Likewise.
21110         * math/s_ccoshl.c (__ccoshl): Likewise.
21111         * math/s_csin.c (__csin): Likewise.
21112         * math/s_csinf.c (__csinf): Likewise.
21113         * math/s_csinh.c (__csinh): Likewise.
21114         * math/s_csinhf.c (__csinhf): Likewise.
21115         * math/s_csinhl.c (__csinhl): Likewise.
21116         * math/s_csinl.c (__csinl): Likewise.
21117         * math/libm-test.inc (ccos_test): Add more tests.
21118         (ccosh_test): Likewise.
21119         (csin_test): Likewise.
21120         (csinh_test): Likewise.
21122 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21124         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21125         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21126         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21127         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21128         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21129         powerpc/power5+/fpu folders.
21130         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21133 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21137 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21139         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21140         additions to variable.
21141         [$(config-machine) = x86_64] (modules-names): Likewise.
21142         ($(objpfx)tst-audit3): Remove dependency.
21143         ($(objpfx)tst-audit3.out): Likewise.
21144         ($(objpfx)tst-audit4): Likewise.
21145         ($(objpfx)tst-audit4.out): Likewise.
21146         ($(objpfx)tst-audit5): Likewise.
21147         ($(objpfx)tst-audit5.out): Likewise.
21148         ($(objpfx)tst-audit6): Likewise.
21149         ($(objpfx)tst-audit6.out): Likewise.
21150         ($(objpfx)tst-audit7): Likewise.
21151         ($(objpfx)tst-audit7.out): Likewise.
21152         (tst-audit3-ENV): Remove variable.
21153         (tst-audit4-ENV): Likewise.
21154         (tst-audit5-ENV): Likewise.
21155         (tst-audit6-ENV): Likewise.
21156         (tst-audit7-ENV): Likewise.
21157         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21158         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21159         addition to variable.
21160         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21161         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21162         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21163         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21164         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21165         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21166         tst-audit3, tst-audit4 and tst-audit5.
21167         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21168         tst-audit6 and tst-audit7.
21169         [$(subdir) = elf] (modules-names): Add audit modules for those
21170         tests.
21171         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21172         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21173         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21174         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21175         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21176         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21177         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21178         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21179         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21180         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21181         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21182         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21183         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21184         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21185         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21186         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21187         Likewise.
21188         [$(subdir) = elf && $(config-cflags-avx) = yes]
21189         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21190         [$(subdir) = elf && $(config-cflags-avx) = yes]
21191         (CFLAGS-tst-auditmod4a.c): Likewise.
21192         [$(subdir) = elf && $(config-cflags-avx) = yes]
21193         (CFLAGS-tst-auditmod4b.c): Likewise.
21194         [$(subdir) = elf && $(config-cflags-avx) = yes]
21195         (CFLAGS-tst-auditmod6b.c): Likewise.
21196         [$(subdir) = elf && $(config-cflags-avx) = yes]
21197         (CFLAGS-tst-auditmod6c.c): Likewise.
21198         [$(subdir) = elf && $(config-cflags-avx) = yes]
21199         (CFLAGS-tst-auditmod7b.c): Likewise.
21200         * elf/tst-audit3.c: Move to ...
21201         * sysdeps/x86_64/tst-audit3.c: ... here.
21202         * elf/tst-audit4.c: Move to ...
21203         * sysdeps/x86_64/tst-audit4.c: ... here.
21204         * elf/tst-audit5.c: Move to ...
21205         * sysdeps/x86_64/tst-audit5.c: ... here.
21206         * elf/tst-audit6.c: Move to ...
21207         * sysdeps/x86_64/tst-audit6.c: ... here.
21208         * elf/tst-audit7.c: Move to ...
21209         * sysdeps/x86_64/tst-audit7.c: ... here.
21210         * elf/tst-auditmod3a.c: Move to ...
21211         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21212         * elf/tst-auditmod3b.c: Move to ...
21213         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21214         * elf/tst-auditmod4a.c: Move to ...
21215         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21216         * elf/tst-auditmod4b.c: Move to ...
21217         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21218         * elf/tst-auditmod5a.c: Move to ...
21219         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21220         * elf/tst-auditmod5b.c: Move to ...
21221         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21222         * elf/tst-auditmod6a.c: Move to ...
21223         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21224         * elf/tst-auditmod6b.c: Move to ...
21225         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21226         * elf/tst-auditmod6c.c: Move to ...
21227         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21228         * elf/tst-auditmod7a.c: Move to ...
21229         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21230         * elf/tst-auditmod7b.c: Move to ...
21231         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21233 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21235         [BZ #15366]
21236         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21237         define unconditionally.
21238         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21239         define unconditionally.
21240         (INT8_C, INT16_C, etc.): Likewise.
21242 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21244         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21245         __ehdr_start with hidden visibility.
21247         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21249 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21251         * math/libm-test.inc (cos_test): Use accurate hex constants.
21252         (sincost_test): Likewise.
21254 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21256         * math/libm-test.inc (catan_test): Add more tests.
21257         (catanh_test): Likewise.
21259         * math/s_catanf.c (__catanf): Use suffixed floating-point
21260         constants.
21261         * math/s_catanhf.c (__catanhf): Likewise.
21262         * math/s_catanhl.c (__catanhl): Likewise.
21263         * math/s_catanl.c (__catanl): Likewise.
21265         [BZ #15394]
21266         * math/s_catan.c (__catan): Calculate imaginary part of result
21267         with log1p not log unless computing log of number close to 0.
21268         * math/s_catanf.c (__catanf): Likewise.
21269         * math/s_catanl.c (__catanl): Likewise.
21270         * math/s_catanh.c (__catanh): Calculate real part of result with
21271         log1p not log unless computing log of number close to 0.
21272         * math/s_catanhf.c (__catanhf): Likewise.
21273         * math/s_catanhl.c (__catanhl): Likewise.
21274         * math/libm-test.inc (catan_test): Add more tests.
21275         (catanh_test): Likewise.
21276         * sysdeps/i386/fpu/libm-test-ulps: Update.
21277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21279 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21281         * benchtests/Makefile: Mention files in which fast and slow
21282         paths of math functions are implemented.
21284 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21286         * sysdeps/posix/timespec_get.c: New file.
21288 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21290         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21291         POWER.
21292         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21293         for POWER.
21294         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21295         powerpc/power5/fpu folders.
21296         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21297         * benchtests/Makefile: Add modf testcase.
21298         * benchtests/bench-modf.c: New file: Benchmark test for mo
21300 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21302         [BZ #14888]
21303         * time/Makefile (tests): Add tst-strptime-whitespace.
21304         * time/strptime_l.c (get_number): Use ISSPACE.
21305         (__strptime_internal): Likewise.
21306         * time/tst-strptime-whitespace.c: New test case.
21308 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21310         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21311         member.
21312         (_nss_files_init): Set it here.
21314 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21316         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21317         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21318         unsigned.
21320 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21322         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21324 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21326         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21327         size just once.
21329 2013-04-21  David S. Miller  <davem@davemloft.net>
21331         * po/ru.po: Update Russion translation from translation project.
21333 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21335         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21336         and setfsgid.
21338 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21340         * configure.in: Remove i386 configure warning. Remove i386 case.
21341         * configure: Regenerate.
21342         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21343         Add example to error message.
21344         * sysdeps/i386/configure: Regenerate.
21346 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21348         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21349         slowtan.
21350         * benchtests/cos-inputs: New file.
21351         * benchtests/slowcos-inputs: New file.
21352         * benchtests/slowcos.c: New file.
21353         * benchtests/slowtan-inputs: New file.
21354         * benchtests/slowtan.c: New file.
21355         * benchtests/tan-inputs: New file.
21357 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21359         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21360         considered kosher.
21362 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21364         * benchtests/Makefile: Include cppflags-iterator.mk to add
21365         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21367         * Makefile.in (bench-clean): New target.
21368         * benchtests/Makefile (bench-clean): Likewise.
21370 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21372         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21374 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21376         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21378 2013-04-15  Andreas Schwab  <schwab@suse.de>
21380         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21381         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21382         * nscd/pwdcache.c (cache_addpw): Likewise.
21383         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21384         more than recsize.
21386 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21388         * benchtests/Makefile (bench): Write all output to
21389         bench-out.tmp together.
21391 2013-04-15  Andreas Schwab  <schwab@suse.de>
21393         * nscd/nscd.c (main): Don't fork again after closing files.
21395 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21397         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21399         * benchtests/Rules (bench-deps): Collect dependencies into a
21400         single variable.  Add Makefile to dependencies.
21401         ($(objpfx)bench-%.c): Depend on bench-deps.
21403 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21404             Xavier Roche  <roche+kml2@exalead.com>
21406         [BZ #15361]
21407         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21408         just that it's a file descriptor.
21409         * manual/llio.texi (Synchronizing AIO Operations): Update description
21410         for EBADF error from aio_fsync.
21412 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21414         * Rules (bench): Move target definition...
21415         * benchtests/Makefile: ... here.
21417 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21419         * math/libm-test.inc (cos_test): Fix PI/2 test.
21420         (sincos_test): Likewise.
21421         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21422         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21424 2013-04-11  Andreas Schwab  <schwab@suse.de>
21426         [BZ #13988]
21427         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21428         accept exponent character only when digits were seen.
21429         * stdio-common/Makefile (tests): Add bug26.
21430         * stdio-common/bug26.c: New file.
21432         [BZ #14293]
21433         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21434         non-freeable.
21436 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21438         * Makeconfig (rtld-prefix): Define built linker prefix.
21439         * Rules (run-bench): Use it.
21440         * math/Makefile (run-regen-ulps): Likewise.
21442         * Rules (bench): Remove eval.
21444 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21445             Roland McGrath  <roland@hack.frob.com>
21446             Ondrej Bilka  <neleai@seznam.cz>
21448         [BZ #15346]
21449         * time/getdate.c: Include ctype.h and alloca.h.
21450         (__getdate_r): Trim leading and trailing spaces of input.
21451         * time/tst-getdate.c (tests): Add tests with leading and
21452         trailing spaces.
21454 2013-04-08  Roland McGrath  <roland@hack.frob.com>
21456         [BZ #14280]
21457         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21458         when computing value.
21460 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21462         * math/README.libm-test (How can I generate "libm-test-ulps"?):
21463         Use testrun.sh to run libm tests.
21465         [BZ #15309]
21466         * elf/dl-open.c (dl_open_worker): memset all of seen array.
21468 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
21470         [BZ #15264]
21471         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21473 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21475         * Makefile.in (regen-ulps): New target.
21476         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21477         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21478         [ifneq (no,$(PERL)] (regen-ulps): New target.
21479         [ifeq (no,$(PERL)] (regen-ulps): New target.
21480         * math/libm-test.inc (ulps_file_name): Define.
21481         (output_dir): New variable.
21482         (options): Add "output-dir" option.
21483         (parse_opt): Handle 'o' case.
21484         (main): If output_dir is non-NULL use it as a prefix
21485         otherwise use "".
21486         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21488 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21490         [BZ #10060, #10062]
21491         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21492         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21493         fail configure if __sync_val_compare_and_swap is not inlined.
21494         * sysdeps/i386/configure: Regenerate.
21495         * configure.in: Build for i686 when configured for i386.
21496         * configure: Regenerate.
21497         * README: Remove i386 reference.
21499 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
21501         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21502         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21504 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
21506         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21507         (lmsnanval): New variables.
21508         (F): Add conversion tests.
21509         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21510         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21512         * stdio-common/tstdiomisc.c (F): Properly collect individual
21513         tests' results.
21515         [BZ #14686, #15336]
21516         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21517         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21518         Instead, use input NaN values or generate a qNaN by arithmetic
21519         operation.  Also fix bugs to comply with the standard.
21520         * math/libm-test.inc (remainder_test): Add more tests.
21522         [BZ #15335, #15342]
21523         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21524         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21525         input NaN values or generate a qNaN by arithmetic operation.
21527         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21528         unreachable code.
21530         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21531         definitions.
21533 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
21535         [BZ #14478]
21536         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21537         underflowed result.
21538         * math/s_cexpf.c (__cexpf): Likewise.
21539         * math/s_cexpl.c (__cexpl): Likewise.
21540         * math/libm-test.inc (cexp_test): Add more tests.
21542 2013-04-03  Andreas Schwab  <schwab@suse.de>
21544         [BZ #15330]
21545         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21546         order arrays from heap if bigger than alloca cutoff.
21548 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
21550         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21551         (SNAN_TESTS_double): Refer to GCC PR56831.
21552         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21553         GCC PR56828.
21555 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21557         * Rules (bench): Move bench.out after the run is complete.
21559         * Rules (bench): Echo currently running benchmark.
21561         * benchtests/Makefile (bench): Add atan and slowatan.
21562         * benchtests/atan-inputs: New file.
21563         * benchtests/slowatan-inputs: New file.
21564         * benchtests/slowatan.c: New file.
21566         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21567         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21568         its value.
21570         [BZ #15305]
21571         * sysdeps/unix/sysv/linux/kernel-features.h
21572         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21573         __ASSUME_XFS_RESTRICTED_CHOWN.
21574         * sysdeps/unix/sysv/linux/pathconf.c
21575         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21576         Save and restore errno.
21578 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
21580         [BZ #15327]
21581         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21582         arguments using __kernel_casinh.
21583         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21584         arguments using __kernel_casinhf.
21585         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21586         arguments using __kernel_casinhl.
21587         * math/libm-test.inc (cacosh_test): Add more tests.
21588         * sysdeps/i386/fpu/libm-test-ulps: Update.
21589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21591 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21593         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21594         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21596         * bench/Makefile (bench): Add sin and slowsin.
21597         * benchtests/sin-inputs: New file.
21598         * benchtests/slowsin-inputs: New file.
21599         * benchtests/slowsin.c: New file.
21601         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21602         (bench): Add slowexp and slowpow.
21603         (exp-ITER): Increase iterations.
21604         (pow-ITER): Likewise.
21605         * benchtests/exp-inputs: Change input.
21606         * benchtests/pow-inputs: Likewise.
21607         * benchtests/slowexp-inputs: New file.
21608         * benchtests/slowexp.c: New file.
21609         * benchtests/slowpow-inputs: New file.
21610         * benchtests/slowpow.c: New file.
21612 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21614         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21615         instructions.
21616         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21617         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21618         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21619         * benchtests/Makefile: Add rint benchtest.
21620         * benchtests/rint-inputs: Input for rint benchtest.
21622 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
21624         * Versions.def (libm): Add GLIBC_2.18.
21625         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21626         hidden libm prototypes.
21627         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21628         * math/Makefile (libm-calls): Add s_issignaling.
21629         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21630         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
21631         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21632         declaration.
21633         * math/math.h [__USE_GNU] (issignaling): New macro.
21634         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21635         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21636         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21637         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21638         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21639         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21640         * manual/arith.texi (issignaling): New section.
21641         * manual/libm-err-tab.pl (@all_functions): Update comment.
21642         * math/gen-libm-test.pl (parse_args): Apply special handling for
21643         issignaling.
21644         * math/libm-test.inc (print_float, issignaling_test): New
21645         functions.
21646         (check_float_internal): Add issignaling checks.
21647         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21648         default definition.
21649         * sysdeps/powerpc/math-tests.h: New file.
21650         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21651         tests.
21652         * math/test-snan.c (TEST_FUNC): Likewise.
21654 2013-03-30  David S. Miller  <davem@davemloft.net>
21656         * po/de.po: Update from translation team.
21658 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21660         [BZ #10357]
21661         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21662         imaginary part less than 1.0 and real part less than 0.5
21663         specially.
21664         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21665         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21666         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21667         (cacos_test): Add more tests.
21668         (casin_test): Likewise.
21669         (casinh_test): Likewise.
21670         * sysdeps/i386/fpu/libm-test-ulps: Update.
21671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21673 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21675         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21676         ONE with its value.
21678         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21679         (__pow_mp): Replace ONE and MONE with their values.
21680         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21681         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21682         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21683         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21684         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21685         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21687         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21689         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21690         (__pow_mp): Replace ZERO and MZERO with their values.
21691         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21692         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21693         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21694         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21695         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21696         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21697         (__sqr): Likewise.
21699         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21701         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21703 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21705         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21706         Declare with __attribute__ ((weak)).
21707         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21708         Call __call_tls_dtors only if it's not NULL.
21710 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21712         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21713         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21714         magic __ehdr_start linker symbol if it's defined.
21715         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21716         them up here if it was already done.
21718         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21719         (_dl_aux_init): Use const in cast when setting it.
21720         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21721         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21722         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21724         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21725         Declare them here.
21726         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21727         * csu/libc-tls.c: Nor here.
21728         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21730         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21731         (__libc_message): Never call vsyslog.
21733 2013-03-28  Alan Modra  <amodra@gmail.com>
21735         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21736         Define as empty.
21737         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21738         Likewise.
21740 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21742         [BZ #15214]
21743         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21744         underflow.
21745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21747 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21749         [BZ #15304]
21750         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21751         Don't add gid passed as argument.
21753         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21755 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21757         [BZ #15307]
21758         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21759         imaginary part between 1.0 and 1.5 and real part less than 0.5
21760         specially.
21761         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21762         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21763         * math/libm-test.inc (cacos_test): Add more tests.
21764         (casin_test): Likewise.
21765         (casinh_test): Likewise.
21766         * sysdeps/i386/fpu/libm-test-ulps: Update.
21767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21769 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21771         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21772         constants.
21773         (norm): Likewise.
21774         (denorm): Likewise.
21775         (__dbl_mp): Likewise.
21776         (add_magnitudes): Likewise.
21777         (sub_magnitudes): Likewise.
21778         (__add): Likewise.
21779         (__sub): Likewise.
21780         (__mul): Likewise.
21781         (__sqr): Likewise.
21782         (__inv): Likewise.
21783         (__dvd): Likewise.
21785         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21786         commented code.
21787         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21788         (__dubcos): Likewise.
21789         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21790         (__ieee754_acos): Likewise.
21791         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21792         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21793         (__exp1): Likewise.
21794         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21795         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21796         (log1): Likewise.
21797         (my_log2): Likewise.
21798         (checkint): Likewise.
21799         * sysdeps/ieee754/dbl-64/e_remainder.c
21800         (__ieee754_remainder): Likewise.
21801         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21802         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21803         (bsloww): Likewise.
21804         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21806         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21807         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21808         MANTISSA_STORE_T to store computations on mantissa.  Use
21809         macros for rounding and division.
21810         (denorm): Likewise.
21811         (__dbl_mp): Likewise.
21812         (add_magnitudes): Likewise.
21813         (sub_magnitudes): Likewise.
21814         (__mul): Likewise.
21815         (__sqr): Likewise.
21816         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21817         powers of two in terms of TWOPOW macro.
21818         (mp_no): Make type of mantissa as MANTISSA_T.
21819         [!RADIXI]: Define RADIXI.
21820         [!TWO52]: Define TWO52.
21821         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21823 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21825         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21826         llroundl symbol when building for PPC32.
21828 2013-03-24  Mark H Weaver  <mhw@netris.org>
21830         * manual/arith.texi (Normalization Functions): Fix prototypes for
21831         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21833 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21835         [BZ #13889]
21836         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21837         high value to check if expl overflow.
21838         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21839         to check for underflow and overflow.
21840         * math/libm-test.inc: Add exp test.
21842 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21844         [BZ #11120]
21845         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21846         with NOT_IN_libc.
21848 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21850         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21851         symbol.
21853 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21855         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21856         wrap blocks consisting of several statements.
21858         * sysdeps/generic/math-tests.h: New file.
21859         * sysdeps/i386/fpu/math-tests.h: Likewise.
21860         * math/test-snan.c: Include it.
21861         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21863 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21865         [BZ #15285]
21866         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21867         (__ieee754_j0l): Do not improve calculations using cos of twice
21868         input for inputs above LDBL_MAX / 2.0L.
21869         (__ieee754_y0l): Likewise.
21870         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21871         (__ieee754_j1l): Do not improve calculations using cos of twice
21872         input for inputs above LDBL_MAX / 2.0L.
21873         (__ieee754_y1l): Likewise.
21874         * math/libm-test.inc (j0_test): Add another test.
21875         (j1_test): Likewise.
21876         (y0_test): Likewise.
21877         (y1_test): Likewise.
21878         * sysdeps/i386/fpu/libm-test-ulps: Update.
21880 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21882         * Rules ($(objpfx)bench-%.c): Include code from a C source
21883         file.
21885 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21887         [BZ #15287]
21888         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21889         imaginary part 1.0 and real part less than 0.5 specially.
21890         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21891         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21892         * math/libm-test.inc (cacos_test): Add more tests.
21893         (casin_test): Likewise.
21894         (casinh_test): Likewise.
21895         * sysdeps/i386/fpu/libm-test-ulps: Update.
21896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21898 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21900         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21901         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21903 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21905         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21906         * config.make.in (config-cflags-sse4): Remove variable.
21907         (config-cflags-avx): Likewise.
21908         (config-cflags-sse2avx): Likewise.
21909         (config-cflags-novzeroupper): Likewise.
21910         (config-asflags-i686): Likewise.
21911         (have-mfma4): Likewise.
21912         (have-as-vis3): Likewise.
21913         (MIG): Likewise.
21914         * configure.in (MIG): Do not AC_SUBST.
21915         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21916         (libc_cv_cc_sse4): Do not AC_SUBST.
21917         (libc_cv_cc_avx): Likewise.
21918         (libc_cv_cc_sse2avx): Likewise.
21919         (libc_cv_cc_novzeroupper): Likewise.
21920         (libc_cv_cc_fma4): Likewise.
21921         (libc_cv_as_i686): Likewise.
21922         (libc_cv_sparc_as_vis3): Likewise.
21923         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21924         LIBC_CONFIG_VAR.
21925         (config-asflags-i686): Likewise.
21926         (config-cflags-avx): Likewise.
21927         (config-cflags-sse2avx): Likewise.
21928         (have-mfma4): Likewise.
21929         (config-cflags-novzeroupper): Likewise.
21930         * sysdeps/mach/configure.in (MIG): Likewise.
21931         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21932         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21933         LIBC_CONFIG_VAR.
21934         (config-cflags-avx): Likewise.
21935         (config-cflags-sse2avx): Likewise.
21936         (have-mfma4): Likewise.
21937         (config-cflags-novzeroupper): Likewise.
21938         * configure: Regenerated.
21939         * sysdeps/i386/configure: Likewise.
21940         * sysdeps/mach/configure: Likewise.
21941         * sysdeps/sparc/configure: Likewise.
21942         * sysdeps/x86_64/configure: Likewise.
21944 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21946         [BZ #14812]
21947         * locale/programs/localedef.c (options): Put N_ translation marker
21948         on argument names, not just descriptions.
21950 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21952         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21954 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21956         [BZ #14176]
21957         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21959 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21961         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21962         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21963         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21964         [!BEFORE_ABORT] (before_abort): New function.
21965         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21966         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21967         (writev_for_fatal): New function.
21968         (WRITEV_FOR_FATAL): New macro; call that.
21969         (backtrace_and_maps): New function.
21970         (BEFORE_ABORT): New macro; call that.
21971         (struct str_list): Type removed.
21972         (__libc_message, __libc_fatal): Functions removed.
21973         Include <sysdeps/posix/libc_fatal.c> instead.
21975 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21977         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21978         constants.
21979         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21980         double constants.
21982 2013-03-19  Andreas Schwab  <schwab@suse.de>
21984         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21985         * sysdeps/gnu/configure: Regenerate.
21987         * configure.in: Substitute libc_cv_rtlddir.
21988         * configure: Regenerate.
21989         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21990         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21991         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21992         * elf/Makefile (install-others, CFLAGS-interp.c)
21993         (ldso_install, common-ldd-rewrite): Likewise.
21994         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21995         $(inst_slibdir)/$(rtld-installed-name).
21996         * scripts/rellns-sh: Add -p option.
21997         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21998         for source.
22000 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22002         * manual/nptl.texi: Renamed to ...
22003         * manual/threads.texi: ... this.
22004         * manual/Makefile (chapters): Update.
22006 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22008         [BZ #14812]
22009         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22010         on argument names, not just descriptions.
22011         * malloc/memusagestat.c (options): Likewise.
22012         * nss/getent.c (options): Likewise.
22014 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22016         [BZ #14812]
22017         * iconv/iconv_prog.c (options): Put N_ translation marker
22018         on argument names, not just descriptions.
22019         * iconv/iconvconfig.c (options): Likewise.
22021 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22023         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22024         implementation which is faster on all x86_64 architectures.
22025         Tested on AMD, Intel Nehalem, SNB, IVB.
22026         * sysdeps/x86_64/strnlen.S: Likewise.
22028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22029         Remove all multiarch strlen and strnlen versions.
22030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22031         Remove strlen and strnlen related parts.
22033         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22034         Inline strlen part.
22035         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22037         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22038         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22039         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22040         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22041         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22042         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22044 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22046         * manual/memory.texi (Malloc Tunable Parameters):
22047         Sort parameters alphabetically. Add comments for missing entries.
22049 2013-03-17  David S. Miller  <davem@davemloft.net>
22051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22053 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22055         [BZ #15283]
22056         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22057         for arguments at most half maximum finite value.
22058         * math/libm-test.inc (j0_test): Add more tests.
22059         (j1_test): Likewise.
22060         (y0_test): Likewise.
22061         (y1_test): Likewise.
22062         * sysdeps/i386/fpu/libm-test-ulps: Update.
22063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22065         [BZ #14155]
22066         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22067         1 / x and functions P and Q for arguments above 0x1p256L.
22068         (__ieee754_y0l): Likewise.
22069         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22070         (__ieee754_y1l): Likewise.
22071         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22072         (j1_test): Likewise.
22073         (y0_test): Likewise.
22074         (y1_test): Likewise.
22076 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22078         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22079         variable.
22081 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22083         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22084         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22085         zero since it's initialized to EXEC_PAGESIZE.
22087         * sysdeps/unix/sysv/linux/ldsodefs.h
22088         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22089         * sysdeps/generic/ldsodefs.h: ... here.
22091 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22093         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22095         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22096         math/test-snan.c.
22097         * math/test-snan.c: Renamed from
22098         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22099         * math/Makefile (tests): Add test-snan.
22100         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22101         test-powerpc-snan.
22103         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22104         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22105         functions.
22106         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22107         __builtin_nan family of functions.
22108         * math/libm-test.inc (initialize): Initialize qnan_value with
22109         __builtin_nan family of functions.
22110         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22111         Remove variables.
22112         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22113         Remove functions.
22114         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22115         storage class.  Initialize qNaN_var and sNaN_var with
22116         __builtin_nan and __builtin_nans families of functions,
22117         respectively.
22119         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22120         (sqrt_test): Remove duplicate test with qNaN input.
22121         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22122         (round_test, signbit_test, significand_test): Note missing +/-Inf
22123         as well as qNaN tests.
22125         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22126         qNaN_var.  Fix a few strings, too.
22127         * math/libm-test.inc (nan_value): Rename to qnan_value.
22128         * math/gen-libm-test.pl (%beautify): Adjust to that.
22129         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22130         * math/test-misc.c (main): Likewise.
22131         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22132         to __qnan_bytes, and __qnan_union, respectively.
22133         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22134         Likewise.
22135         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22136         and lqnanval, respectively.
22137         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22138         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22139         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22140         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22142         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22143         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22144         doubles.
22146         * math/test-misc.c (main): Fix copy'n'pastos.
22147         * misc/tst-efgcvt.c (special): Likewise.
22149         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22150         Remove declarations.
22152 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22154         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22155         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22156         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22157         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22159 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22161         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22162         macro to return vdso values correctly in IFUNC implementations.
22163         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22164         Optimization by using IFUNC.
22166 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22167             Richard Henderson  <rth@redhat.com>
22168             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22170         * Makefile.in (bench): New target.
22171         * NEWS: Mention the benchmark framework.
22172         * Rules (bench): Likewise.
22173         (binaries-bench): Generate binaries for functions to
22174         benchmark.
22175         * benchtests/Makefile: New makefile for benchmark tests.
22176         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22177         programs.
22178         * benchtests/exp-inputs: New input file for EXP function.
22179         * benchtests/pow-inputs: New input file for POW function.
22180         * scripts/bench.pl: New script to generate source files for
22181         benchmark programs.
22183 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22185         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22186         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22187         computations on mantissa.  Use macros for rounding and
22188         division.
22189         (denorm): Likewise.
22190         (__dbl_mp): Likewise.
22191         (add_magnitudes): Likewise.
22192         (sub_magnitudes): Likewise.
22193         (__mul): Likewise.
22194         (__sqr): Likewise.
22195         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22196         powers of two in terms of TWOPOW macro.
22197         (mp_no): Make type of mantissa as MANTISSA_T.
22198         [!RADIXI]: Define RADIXI.
22199         [!TWO52]: Define TWO52.
22200         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22202         * manual/nptl.texi (cindex): Modify threads to pthreads.
22204 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22206         * sysdeps/x86_64/preconfigure: Regenerated.
22208 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22210         [BZ #14155]
22211         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22212         0x1p28 and above.
22213         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22214         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22215         0x1p28 and above.
22216         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22217         * math/libm-test.inc (j0_test): Do not allow one spurious
22218         underflow exception.
22219         (y1_test): Likewise.
22221 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22223         * manual/Makefile (chapters): Add nptl.
22224         * manual/debug.texi (Debugging Support): Add link to Threads
22225         chapter.
22226         * manual/nptl.texi: New file.
22228         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22230 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22232         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22233         for non-NULL pointer before the memory validity test. Pointed
22234         out by Holger Brunck <holger.brunck@keymile.com>.
22236 2013-03-13  Andreas Schwab  <schwab@suse.de>
22238         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22239         instead of .os.
22241 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22243         * timezone/zic.c: Update from tzcode 2013b.
22245 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22247         * manual/install.texi (Configuring and compiling):
22248         Mention i686 and i586.
22249         * INSTALL: Regenerate.
22251 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22253         * sysdeps/init_array/elf-init.c: New file.
22254         * csu/elf-init.c
22255         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22256         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22258         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22259         __gmon_start__ as global, but as static with a .preinit_array pointer.
22260         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22261         * sysdeps/init_array/crti.S: New file, empty except for comments.
22262         * sysdeps/init_array/crtn.S: Likewise.
22264 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22266         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22267         definining bcopy.
22268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22269         Remove Prefer_SSE_for_memop.
22270         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22271         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22272         HAS_PREFER_SSE_FOR_MEMOP.
22273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22274         memset-x86-64.
22275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22276         Remove bzero, memset ifunc support.
22277         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22278         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22279         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22280         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22282 2013-03-11  Andreas Schwab  <schwab@suse.de>
22284         [BZ #15234]
22285         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22286         by SHLIB_COMPAT.
22287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22288         (GLIBC_2.16): Remove pthread_atfork.
22290 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22292         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22293         (ptestcases.h): Likewise.
22295 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22297         * Makeconfig ($(common-objpfx)config.status): Depend on
22298         sysdeps/*/preconfigure{,.in} too.
22300 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22302         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22303         (__free_hook): Use void * instead of __malloc_ptr_t.
22304         (__malloc_hook): Likewise.
22305         (__realloc_hook): Likewise.
22306         (__memalign_hook): Likewise.
22307         (__after_morecore_hook): Likewise.
22308         * malloc/arena.c (save_malloc_hook): Likewise.
22309         (save_free_hook): Likewise.
22310         * malloc/hooks.c (malloc_hook_ini): Likewise.
22311         (realloc_hook_ini): Likewise.
22312         (memalign_hook_ini): Likewise.
22313         * malloc/malloc.c (malloc_hook_ini): Likewise.
22314         (realloc_hook_ini): Likewise.
22315         (memalign_hook_ini): Likewise.
22316         (__free_hook): Likewise.
22317         (__malloc_hook): Likewise.
22318         (__realloc_hook): Likewise.
22319         (__memalign_hook): Likewise.
22320         (__libc_malloc): Likewise.
22321         (__libc_free): Likewise.
22322         (__libc_realloc): Likewise.
22323         (__libc_memalign): Likewise.
22324         (__libc_valloc): Likewise.
22325         (__libc_pvalloc): Likewise.
22326         (__libc_calloc): Likewise.
22327         (__posix_memalign): Likewise.
22328         * malloc/morecore.c (__sbrk): Likewise.
22329         (__default_morecore): Likewise.
22331         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22333         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22334         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22335         __malloc_ptrdiff_t.
22337         * malloc/malloc.h (__malloc_size_t): Remove macro.
22338         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22339         __malloc_size_t.
22340         (old_memalign_hook): Likewise.
22341         (old_realloc_hook): Likewise.
22342         (struct hdr): Likewise.
22343         (flood): Likewise.
22344         (mallochook): Likewise.
22345         (memalignhook): Likewise.
22346         (reallochook): Likewise.
22347         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22348         (tr_old_realloc_hook): Likewise.
22349         (tr_old_memalign_hook): Likewise.
22350         (tr_mallochook): Likewise.
22351         (tr_reallochook): Likewise.
22352         (tr_memalignhook): Likewise.
22354 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22356         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22357         default_ldbl_pack and using as default implementation.
22358         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22359         implementation.
22360         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22361         redundant definition.
22362         (ldbl_insert_mantissa): Likewise.
22363         (ldbl_canonicalize): Likewise.
22364         (ldbl_nearbyint): Likewise.
22365         (ldbl_pack): Rename to ldbl_pack_ppc.
22366         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22367         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22368         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22370 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22372         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22373         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22374         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22375         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22377         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22378         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22379         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22381 2013-03-07  Andreas Jaeger  <aj@suse.de>
22383         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22384         bits/mman-linux.h.
22386 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22388         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22389         Include mpa.h and declare __MPEXP.
22390         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22391         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22392         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22393         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22394         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22395         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22396         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22398         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22399         (__slowpow): Use long double EXPL and LOGL functions to
22400         compute POW.
22401         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22402         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22403         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22404         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22405         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22406         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22409         intermediate variable to calculate exponent.
22410         (__sqr): Likewise.
22411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22412         Likewise.
22413         (__sqr): Likewise.
22415         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22416         [!NO__SQR]: Define __sqr.
22417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22418         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22419         sysdeps/ieee754/dbl-64/mpa.c.
22420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22422         [BZ #12723]
22423         * posix/Makefile (tests): Add tst-pathconf.
22424         * posix/tst-pathconf.c: New test case.
22425         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22426         _PC_PIPE_BUF.
22427         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22429 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
22431         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22433 2013-03-06  Andreas Jaeger  <aj@suse.de>
22435         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22436         definition via __MAP_ANONYMOUS.
22438         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22439         it's not part of Linux headers.
22441         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22442         (MAP_HUGE_MASK): Define.
22444         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22445         Define.
22446         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22447         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22448         Define.
22449         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22450         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22451         Define.
22452         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22453         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22454         Define.
22455         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22457         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22458         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22459         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22460         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22461         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22462         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22464         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22465         Handle f2fs.
22467         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22468         Handle f2fs and efivarfs.
22470         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22471         f2fs.
22473         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22474         (EFIVARFS_MAGIC): Add.
22475         (F2FS_LINK_MAX): Add.
22477 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22479         * stdio-common/vfprintf.c: Replace __builtin_expect with
22480         __glibc_unlikely.
22482 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
22484         [BZ #13550]
22485         * sysdeps/generic/bp-sym.h: Remove file.
22486         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22487         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22488         <bp-sym.h> and <bp-asm.h>.
22489         (__longjmp): Don't use BP_SYM.
22490         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22491         and <bp-asm.h>.
22492         (memcpy): Don't use BP_SYM.
22493         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22494         <bp-sym.h> and <bp-asm.h>.
22495         (memcpy): Don't use BP_SYM.
22496         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22497         <bp-asm.h>.
22498         (memcpy): Don't use BP_SYM.
22499         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22500         <bp-asm.h>.
22501         (memset): Don't use BP_SYM.
22502         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22503         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22504         (__bzero): Don't use BP_SYM.
22505         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22506         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22507         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22508         <bp-sym.h> and <bp-asm.h>.
22509         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22510         pointers.
22511         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22512         <bp-sym.h> and <bp-asm.h>.
22513         (memcpy): Don't use BP_SYM.
22514         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22515         <bp-sym.h> and <bp-asm.h>.
22516         (memset): Don't use BP_SYM.
22517         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22518         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22519         (__bzero): Don't use BP_SYM.
22520         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22521         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22522         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22523         <bp-sym.h> and <bp-asm.h>.
22524         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22525         pointers.
22526         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22527         <bp-sym.h> and <bp-asm.h>.
22528         (memcpy): Don't use BP_SYM.
22529         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22530         <bp-sym.h> and <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/power7/memchr.S: Don't include
22538         <bp-sym.h> and <bp-asm.h>.
22539         (__memchr): Don't use BP_SYM.
22540         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22541         <bp-sym.h> and <bp-asm.h>.
22542         (memcmp): Don't use BP_SYM.  Remove comment about bounded
22543         pointers.
22544         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22545         <bp-sym.h> and <bp-asm.h>.
22546         (memcpy): Don't use BP_SYM.
22547         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22548         <bp-sym.h> and <bp-asm.h>.
22549         (__mempcpy): Don't use BP_SYM.
22550         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22551         <bp-sym.h> and <bp-asm.h>.
22552         (__memrchr): Don't use BP_SYM.
22553         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22554         <bp-sym.h> and <bp-asm.h>.
22555         (memset): Don't use BP_SYM.
22556         (__bzero): Likewise.
22557         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22558         <bp-sym.h> and <bp-asm.h>.
22559         (__rawmemchr): Don't use BP_SYM.
22560         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22561         <bp-sym.h> and <bp-asm.h>.
22562         (__STRCMP): Don't use BP_SYM.
22563         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22564         <bp-sym.h> and <bp-asm.h>.
22565         (strchr): Don't use BP_SYM.
22566         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22567         <bp-sym.h> and <bp-asm.h>.
22568         (__strchrnul): Don't use BP_SYM.
22569         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22570         <bp-sym.h> and <bp-asm.h>.
22571         (strlen): Don't use BP_SYM.
22572         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22573         <bp-sym.h> and <bp-asm.h>.
22574         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22575         pointers.
22576         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22577         <bp-sym.h> and <bp-asm.h>.
22578         (__strnlen): Don't use BP_SYM.
22579         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22580         <bp-sym.h> and <bp-asm.h>.
22581         (__GI__setjmp): Don't use BP_SYM.
22582         (_setjmp): Likewise.
22583         (__sigsetjmp): Likewise.
22584         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22585         (L(start_addresses)): Don't use BP_SYM.
22586         (_start): Likewise.
22587         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22588         <bp-asm.h>.
22589         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22590         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22591         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22592         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22593         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22594         <bp-asm.h>.
22595         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22596         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
22597         about bounded pointers.
22598         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22599         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22600         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22601         <bp-asm.h>.
22602         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22603         about bounded pointers.  Remove GKM FIXME comments.
22604         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22605         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22606         <bp-asm.h>.
22607         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22608         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
22609         Remove GKM FIXME comments.
22610         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22611         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22612         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22613         <bp-asm.h>.
22614         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
22615         about bounded pointers.  Remove GKM FIXME comment.
22616         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22617         and <bp-asm.h>.
22618         (strncmp): Don't use BP_SYM.  Remove comment about bounded
22619         pointers.
22620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22621         <bp-sym.h> and <bp-asm.h>.
22622         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22624         <bp-sym.h> and <bp-asm.h>.
22625         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22626         comment.
22628 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22630         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22631         call free(NULL).
22633 2013-03-05  David S. Miller  <davem@davemloft.net>
22635         * po/es.po: Update from translation team.
22637 2013-03-05  Andreas Jaeger  <aj@suse.de>
22639         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22640         <bits/mman-linux.h>.
22641         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22642         is fine.
22643         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22644         <bits/mman-linux.h> to end of file.
22645         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22646         is fine.
22647         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22648         <bits/mman-linux.h> to end of file.
22649         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22650         is fine.
22651         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22652         <bits/mman-linux.h> to end of file.
22654         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22655         (MCL_CURRENT, MCL_FUTURE): Define here.
22657 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22659         [BZ #15232]
22660         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22661         attribute_hidden.
22662         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22664 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22666         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22667         fourth parameter needed for rt_sigprocmask syscall.
22668         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22669         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22670         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22671         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22672         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22673         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22675 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22677         [BZ #13550]
22678         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22679         comment about bounded pointers.
22680         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22681         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22683 2013-03-04  Andreas Jaeger  <aj@suse.de>
22685         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22686         common definitions.
22688         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22689         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22690         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22691         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22692         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22693         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22695 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22697         [BZ #15055]
22698         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22699         __ieee754_sqrl instead of __sqrl.
22701 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22703         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22704         * sysdeps/powerpc/fpu_control.h: ... here.
22705         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22706         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22707         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22708         * sysdeps/powerpc/bits/mathinline.h: ... here.
22710 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22712         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22713         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22714         to just [NEED_DL_SYSINFO_DSO].
22715         * elf/dl-support.c: Likewise.
22716         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22717         * elf/rtld.c (dl_main): Likewise.
22718         * elf/setup-vdso.h (setup_vdso): Likewise.
22719         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22720         * sysdeps/unix/sysv/linux/dl-sysdep.c
22721         (_dl_discover_osversion): Likewise.
22723 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22725         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22726         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22728 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22730         * NEWS: Mention libm performance improvements and non-x86 PI
22731         futex support.
22733         * csu/libc-start.c (__pthread_initialize_minimal): Change
22734         function arguments.
22735         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22737 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22739         [BZ #13550]
22740         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22741         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22742         <bp-sym.h> and <bp-asm.h>.
22743         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22744         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22745         and <bp-asm.h>.
22746         (memcpy): Don't use BP_SYM.
22747         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22748         <bp-asm.h>.
22749         (__mpn_add_n): Don't use BP_SYM.
22750         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22751         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22752         and <bp-asm.h>.
22753         (__mpn_addmul_1): Don't use BP_SYM.
22754         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22755         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22756         <bp-sym.h>.
22757         (_setjmp): Don't use BP_SYM.
22758         (__novmx_setjmp): Likewise.
22759         (__GI__setjmp): Likewise.
22760         (__vmx_setjmp): Likewise.
22761         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22762         <bp-sym.h>.
22763         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22764         (__bzero): Don't use BP_SYM.
22765         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22766         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22767         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22768         <bp-sym.h> and <bp-asm.h>.
22769         (memcpy): Don't use BP_SYM.
22770         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22771         <bp-sym.h> and <bp-asm.h>.
22772         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22773         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22774         <bp-sym.h> and <bp-asm.h>.
22775         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22776         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22777         <bp-asm.h>.
22778         (__mpn_lshift): Don't use BP_SYM.
22779         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22780         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22781         <bp-asm.h>.
22782         (memset): Don't use BP_SYM.
22783         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22784         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22785         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22786         <bp-asm.h>.
22787         (__mpn_mul_1): Don't use BP_SYM.
22788         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22789         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22790         <bp-sym.h> and <bp-asm.h>.
22791         (memcmp): Don't use BP_SYM.
22792         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22793         <bp-sym.h> and <bp-asm.h>.
22794         (memcpy): Don't use BP_SYM.
22795         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22796         <bp-sym.h> and <bp-asm.h>.
22797         (memset): Don't use BP_SYM.
22798         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22799         <bp-sym.h> and <bp-asm.h>.
22800         (strncmp): Don't use BP_SYM.
22801         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22802         <bp-sym.h> and <bp-asm.h>.
22803         (memcpy): Don't use BP_SYM.
22804         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22805         <bp-sym.h> and <bp-asm.h>.
22806         (memset): Don't use BP_SYM.
22807         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22808         <bp-sym.h> and <bp-asm.h>.
22809         (__memchr): Don't use BP_SYM.
22810         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22811         <bp-sym.h> and <bp-asm.h>.
22812         (memcmp): Don't use BP_SYM.
22813         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22814         <bp-sym.h> and <bp-asm.h>.
22815         (memcpy): Don't use BP_SYM.
22816         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22817         <bp-sym.h> and <bp-asm.h>.
22818         (__mempcpy): Don't use BP_SYM.
22819         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22820         <bp-sym.h> and <bp-asm.h>.
22821         (__memrchr): Don't use BP_SYM.
22822         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22823         <bp-sym.h> and <bp-asm.h>.
22824         (memset): Don't use BP_SYM.
22825         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22826         <bp-sym.h> and <bp-asm.h>.
22827         (__rawmemchr): Don't use BP_SYM.
22828         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22829         <bp-sym.h> and <bp-asm.h>.
22830         (__STRCMP): Don't use BP_SYM.
22831         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22832         <bp-sym.h> and <bp-asm.h>.
22833         (strchr): Don't use BP_SYM.
22834         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22835         <bp-sym.h> and <bp-asm.h>.
22836         (__strchrnul): Don't use BP_SYM.
22837         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22838         <bp-sym.h> and <bp-asm.h>.
22839         (strlen): Don't use BP_SYM.
22840         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22841         <bp-sym.h> and <bp-asm.h>.
22842         (strncmp): Don't use BP_SYM.
22843         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22844         <bp-sym.h> and <bp-asm.h>.
22845         (__strnlen): Don't use BP_SYM.
22846         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22847         <bp-asm.h>.
22848         (__mpn_rshift): Don't use BP_SYM.
22849         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22850         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22851         <bp-sym.h> and <bp-asm.h>.
22852         (__sigsetjmp): Don't use BP_SYM.
22853         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22854         (L(start_addresses)): Don't use BP_SYM.
22855         (_start): Likewise.
22856         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22857         <bp-asm.h>.
22858         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22859         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22860         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22861         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22862         <bp-asm.h>.
22863         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22864         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22865         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22866         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22867         <bp-asm.h>.
22868         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22869         comments.
22870         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22871         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22872         <bp-asm.h>.
22873         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22874         FIXME comments.
22875         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22876         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22877         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22878         <bp-asm.h>.
22879         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22880         comment.
22881         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22882         and <bp-asm.h>.
22883         (strncmp): Don't use BP_SYM,
22884         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22885         <bp-asm.h>.
22886         (__mpn_sub_n): Don't use BP_SYM.
22887         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22888         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22889         and <bp-asm.h>.
22890         (__mpn_submul_1): Don't use BP_SYM.
22891         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22893         <bp-sym.h> and <bp-asm.h>.
22894         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22896         <bp-sym.h> and <bp-asm.h>.
22897         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22898         comment.
22900 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22903         Use ZK to minimize writes to Z.
22904         (sub_magnitudes): Simplify code a bit.
22905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22906         Use ZK to minimize writes to Z.
22907         (sub_magnitudes): Simplify code a bit.
22909 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22911         * csu/gmon-start.c: Add special exception to license text.
22913 2013-02-27  Richard Henderson  <rth@redhat.com>
22915         * scripts/config.guess: Update from config.git.
22916         * scripts/config.sub: Likewise.
22918 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22920         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22922         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22924         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22926         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22928         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22930 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22932         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22933         [$(build-shared = yes].
22935 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22937         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22938         (__mul): Reduce iterations for calculating mantissa.
22940         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22941         MPTWO.
22942         (__mpranred): Likewise.
22944         [BZ #15160]
22945         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22946         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22948 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22950         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22951         Define __attribute__.
22953 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22955         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22956         unused.
22957         * posix/regex_internal.h (__attribute): Remove.
22958         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22959         (re_string_context_at): Likewise.
22960         (bitset_not): Use __attribute__ and mark function as possibly
22961         unused.
22962         (bitset_merge): Likewise.
22963         (bitset_mask): Likewise.
22964         (re_string_char_size_at): Likewise.
22965         (re_string_wchar_at): Likewise.
22966         (re_string_elem_size_at): Likewise.
22968 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22970         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22971         code.
22972         (cc32): Likewise.
22974         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22975         (__acr): Likewise.
22976         (__cpy): Likewise.
22977         (norm): Likewise.
22978         (denorm): Likewise.
22979         (__dbl_mp): Likewise.
22980         (add_magnitudes): Likewise.
22981         (sub_magnitudes): Likewise.
22982         (__mul): Likewise.
22983         (__inv): Likewise.
22985         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22986         style.
22988         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22989         style.
22991         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22992         code.
22994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22995         up changes with default code.
22996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22997         Likewise.
22999 2013-02-24  Allan McRae  <allan@archlinux.org>
23001         * manual/socket.texi (The Internet Namespace): Order menu items
23002         to match that in the file.
23004         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23005         node listing of the info page menu.
23007 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23009         [BZ #13550]
23010         * sysdeps/i386/bp-asm.h: Remove file.
23011         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23012         (PARMS): Do not use macros from bp-asm.h.
23013         (S1): Likewise.
23014         (S2): Likewise.
23015         (SIZE): Likewise.
23016         (__mpn_add_n): Do not use BP_SYM
23017         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23018         "bp-asm.h".
23019         (PARMS): Do not use macros from bp-asm.h.
23020         (S1): Likewise.
23021         (SIZE): Likewise.
23022         (__mpn_addmul_1): Do not use BP_SYM
23023         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23024         "bp-asm.h".
23025         (PARMS): Do not use macros from bp-asm.h.
23026         (SIGMSK): Likewise.
23027         (_setjmp): Likewise.  Do not use BP_SYM.
23028         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23029         "bp-asm.h".
23030         (PARMS): Do not use macros from bp-asm.h.
23031         (SIGMSK): Likewise.
23032         (setjmp): Likewise.  Do not use BP_SYM.
23033         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23034         "bp-asm.h".
23035         (PARMS): Do not use macros from bp-asm.h.
23036         (__frexp): Do not use BP_SYM.
23037         (frexp): Likewise.
23038         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23039         "bp-asm.h".
23040         (PARMS): Do not use macros from bp-asm.h.
23041         (__frexpf): Do not use BP_SYM.
23042         (frexpf): Likewise.
23043         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23044         "bp-asm.h".
23045         (PARMS): Do not use macros from bp-asm.h.
23046         (__frexpl): Do not use BP_SYM.
23047         (frexpl): Likewise.
23048         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23049         "bp-asm.h".
23050         (PARMS): Do not use macros from bp-asm.h.
23051         (__remquo): Do not use BP_SYM.
23052         (remquo): Likewise.
23053         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23054         "bp-asm.h".
23055         (PARMS): Do not use macros from bp-asm.h.
23056         (__remquof): Do not use BP_SYM.
23057         (remquof): Likewise.
23058         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23059         "bp-asm.h".
23060         (PARMS): Do not use macros from bp-asm.h.
23061         (__remquol): Do not use BP_SYM.
23062         (remquol): Likewise.
23063         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23064         "bp-asm.h".
23065         (PARMS): Do not use macros from bp-asm.h.
23066         (DEST): Likewise.
23067         (SRC): Likewise.
23068         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23069         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23070         "bp-asm.h".
23071         (PARMS): Do not use macros from bp-asm.h.
23072         (strlen): Do not use BP_SYM.
23073         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23074         "bp-asm.h".
23075         (PARMS): Do not use macros from bp-asm.h.
23076         (S1): Likewise.
23077         (S2): Likewise.
23078         (SIZE): Likewise.
23079         (__mpn_add_n): Do not use BP_SYM.
23080         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23081         "bp-asm.h".
23082         (PARMS): Do not use macros from bp-asm.h.
23083         (S1): Likewise.
23084         (SIZE): Likewise.
23085         (__mpn_addmul_1): Do not use BP_SYM.
23086         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23087         weak_alias.
23088         (bzero): Likewise.
23089         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23090         "bp-asm.h".
23091         (PARMS): Do not use macros from bp-asm.h.
23092         (S): Likewise.
23093         (SIZE): Likewise.
23094         (__mpn_lshift): Do not use BP_SYM.
23095         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23096         "bp-asm.h".
23097         (PARMS): Do not use macros from bp-asm.h.
23098         (DEST): Likewise.
23099         (SRC): Likewise.
23100         (LEN): Likewise.
23101         (memcpy): Likewise.  Do not use BP_SYM.
23102         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23103         libc_hidden_def and weak_alias.
23104         (mempcpy): Do not use BP_SYM in weak_alias.
23105         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23106         "bp-asm.h".
23107         (PARMS): Do not use macros from bp-asm.h.
23108         (DEST): Likewise.
23109         (LEN): Likewise.
23110         [!BZERO_P] (CHR): Likewise.
23111         (memset): Likewise.  Do not use BP_SYM.
23112         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23113         "bp-asm.h".
23114         (PARMS): Do not use macros from bp-asm.h.
23115         (S1): Likewise.
23116         (SIZE): Likewise.
23117         (__mpn_mul_1): Do not use BP_SYM.
23118         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23119         "bp-asm.h".
23120         (PARMS): Do not use macros from bp-asm.h.
23121         (S): Likewise.
23122         (SIZE): Likewise.
23123         (__mpn_rshift): Do not use BP_SYM.
23124         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23125         "bp-asm.h".
23126         (PARMS): Do not use macros from bp-asm.h.
23127         (STR): Likewise.
23128         (CHR): Likewise.
23129         (strchr): Likewise.  Do not use BP_SYM.
23130         (index): Do not use BP_SYM in weak_alias.
23131         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23132         "bp-asm.h".
23133         (PARMS): Do not use macros from bp-asm.h.
23134         (DEST): Likewise.
23135         (SRC): Likewise.
23136         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23137         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23138         "bp-asm.h".
23139         (PARMS): Do not use macros from bp-asm.h.
23140         (strlen): Do not use BP_SYM.
23141         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23142         "bp-asm.h".
23143         (PARMS): Do not use macros from bp-asm.h.
23144         (S1): Likewise.
23145         (S2): Likewise.
23146         (SIZE): Likewise.
23147         (__mpn_sub_n): Do not use BP_SYM.
23148         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23149         "bp-asm.h".
23150         (PARMS): Do not use macros from bp-asm.h.
23151         (S1): Likewise.
23152         (SIZE): Likewise.
23153         (__mpn_submul_1): Do not use BP_SYM.
23154         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23155         "bp-asm.h".
23156         (PARMS): Do not use macros from bp-asm.h.
23157         (S1): Likewise.
23158         (S2): Likewise.
23159         (SIZE): Likewise.
23160         (__mpn_add_n): Do not use BP_SYM.
23161         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23162         weak_alias.
23163         (bzero): Likewise.
23164         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23165         "bp-asm.h".
23166         (PARMS): Do not use macros from bp-asm.h.
23167         (BLK2): Likewise.
23168         (LEN): Likewise.
23169         (memcmp): Do not use BP_SYM.
23170         (bcmp): Do not use BP_SYM in weak_alias.
23171         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23172         "bp-asm.h".
23173         (PARMS): Do not use macros from bp-asm.h.
23174         (DEST): Likewise.
23175         (SRC): Likewise.
23176         (LEN): Likewise.
23177         (memcpy): Likewise.  Do not use BP_SYM.
23178         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23179         "bp-asm.h".
23180         (PARMS): Do not use macros from bp-asm.h.
23181         (DEST): Likewise.
23182         (SRC): Likewise.
23183         (LEN): Likewise.
23184         (memmove): Likewise.  Do not use BP_SYM.
23185         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23186         "bp-asm.h".
23187         (PARMS): Do not use macros from bp-asm.h.
23188         (DEST): Likewise.
23189         (SRC): Likewise.
23190         (LEN): Likewise.
23191         (__mempcpy): Likewise.  Do not use BP_SYM.
23192         (mempcpy): Do not use BP_SYM in weak_alias.
23193         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23194         "bp-asm.h".
23195         (PARMS): Do not use macros from bp-asm.h.
23196         (DEST): Likewise.
23197         (LEN): Likewise.
23198         [!BZERO_P] (CHR): Likewise.
23199         (memset): Likewise.  Do not use BP_SYM.
23200         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23201         "bp-asm.h".
23202         (PARMS): Do not use macros from bp-asm.h.
23203         (STR2): Likewise.
23204         (strcmp): Do not use BP_SYM.
23205         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23206         "bp-asm.h".
23207         (PARMS): Do not use macros from bp-asm.h.
23208         (STR): Likewise.
23209         (DELIM): Likewise.
23210         [USE_AS_STRTOK_R] (SAVE): Likewise.
23211         (FUNCTION): Likewise.  Do not use BP_SYM.
23212         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23213         aliases.
23214         (strtok_r): Likewise.
23215         (__GI___strtok_r): Likewise.
23216         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23217         (PARMS): Do not use macros from bp-asm.h.
23218         (S): Likewise.
23219         (SIZE): Likewise.
23220         (__mpn_lshift): Do not use BP_SYM.
23221         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23222         (PARMS): Do not use macros from bp-asm.h.
23223         (STR): Likewise.
23224         (CHR): Likewise.
23225         (__memchr): Do not use BP_SYM.
23226         (memchr): Do not use BP_SYM in weak_alias.
23227         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23228         (PARMS): Do not use macros from bp-asm.h.
23229         (BLK2): Likewise.
23230         (LEN): Likewise.
23231         (memcmp): Do not use BP_SYM.
23232         (bcmp): Do not use BP_SYM in weak_alias.
23233         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23234         (PARMS): Do not use macros from bp-asm.h.
23235         (S1): Likewise.
23236         (SIZE): Likewise.
23237         (__mpn_mul_1): Do not use BP_SYM.
23238         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23239         "bp-asm.h".
23240         (PARMS): Do not use macros from bp-asm.h.
23241         (STR): Likewise.
23242         (CHR): Likewise.
23243         (__rawmemchr): Do not use BP_SYM.
23244         (rawmemchr): Do not use BP_SYM in weak_alias.
23245         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23246         (PARMS): Do not use macros from bp-asm.h.
23247         (S): Likewise.
23248         (SIZE): Likewise.
23249         (__mpn_rshift): Do not use BP_SYM.
23250         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23251         (PARMS): Do not use macros from bp-asm.h.
23252         (SIGMSK): Likewise.
23253         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23254         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23255         (_start): Do not use BP_SYM.
23256         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23257         (PARMS): Do not use macros from bp-asm.h.
23258         (DEST): Likewise.
23259         (SRC): Likewise.
23260         (__stpcpy): Likewise.  Do not use BP_SYM.
23261         (stpcpy): Do not use BP_SYM in weak_alias.
23262         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23263         "bp-asm.h".
23264         (PARMS): Do not use macros from bp-asm.h.
23265         (DEST): Likewise.
23266         (SRC): Likewise.
23267         (LEN): Likewise.
23268         (__stpncpy): Likewise.  Do not use BP_SYM.
23269         (stpncpy): Do not use BP_SYM in weak_alias.
23270         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23271         (PARMS): Do not use macros from bp-asm.h.
23272         (STR): Likewise.
23273         (CHR): Likewise.
23274         (strchr): Likewise.  Do not use BP_SYM.
23275         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23276         "bp-asm.h".
23277         (PARMS): Do not use macros from bp-asm.h.
23278         (STR): Likewise.
23279         (CHR): Likewise.
23280         (__strchrnul): Likewise.  Do not use BP_SYM.
23281         (strchrnul): Do not use BP_SYM in weak_alias.
23282         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23283         "bp-asm.h".
23284         (PARMS): Do not use macros from bp-asm.h.
23285         (STOP): Likewise.
23286         (strcspn): Do not use BP_SYM.
23287         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23288         "bp-asm.h".
23289         (PARMS): Do not use macros from bp-asm.h.
23290         (STR): Likewise.
23291         (STOP): Likewise.
23292         (strpbrk): Likewise.  Do not use BP_SYM.
23293         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23294         "bp-asm.h".
23295         (PARMS): Do not use macros from bp-asm.h.
23296         (STR): Likewise.
23297         (CHR): Likewise.
23298         (strrchr): Likewise.  Do not use BP_SYM.
23299         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23300         (PARMS): Do not use macros from bp-asm.h.
23301         (SKIP): Likewise.
23302         (strspn): Do not use BP_SYM.
23303         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23304         (PARMS): Do not use macros from bp-asm.h.
23305         (STR): Likewise.
23306         (DELIM): Likewise.
23307         (SAVE): Likewise.
23308         (FUNCTION): Likewise.  Do not use BP_SYM.
23309         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23310         aliases.
23311         (strtok_r): Likewise.
23312         (__GI___strtok_r): Likewise.
23313         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23314         (PARMS): Do not use macros from bp-asm.h.
23315         (S1): Likewise.
23316         (S2): Likewise.
23317         (SIZE): Likewise.
23318         (__mpn_sub_n): Do not use BP_SYM.
23319         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23320         "bp-asm.h".
23321         (PARMS): Do not use macros from bp-asm.h.
23322         (S1): Likewise.
23323         (SIZE): Likewise.
23324         (__mpn_submul_1): Do not use BP_SYM.
23325         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23326         <bp-sym.h>.
23327         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23328         and <bp-asm.h>.
23329         (PARMS): Do not use macros from bp-asm.h.
23330         (FLAGS): Likewise.
23331         (PTID): Likewise.
23332         (TLS): Likewise.
23333         (CTID): Likewise.
23334         (__clone): Do not use BP_SYM.
23335         (clone): Do not use BP_SYM in weak_alias.
23336         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23337         and <bp-asm.h>.
23338         (PARMS): Do not use macros from bp-asm.h.
23339         (LEN): Likewise.
23340         (__mmap64): Do not use BP_SYM.
23341         (mmap64): Do not use BP_SYM in weak_alias.
23342         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23343         <bp-sym.h> and <bp-asm.h>.
23344         (PARMS): Do not use macros from bp-asm.h.
23345         (__posix_fadvise64_l64): Do not use BP_SYM.
23346         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23347         (PARMS): Do not use macros from bp-asm.h.
23348         (NSOPS): Likewise.
23349         (semtimedop): Do not use BP_SYM.
23350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23351         and <bp-asm.h>.
23353 2013-02-21  Allan McRae  <allan@archlinux.org>
23355         * manual/message.texi (Charset conversion in gettext):
23356         Move @end statement to beginning of line.
23358 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23361         static.
23362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23363         Likewise.
23365         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23366         (denorm): Likewise.
23367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23368         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23370 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23372         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23373         tail-call to the resolved function if pltexit isn't needed.
23375 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23378         or Y being zero as being unlikely.
23379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23380         Likewise.
23382 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23384         * manual/nss.texi (System Databases and Name Service Switch):
23385         Remove frobnicate @pxref.
23387 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23389         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23390         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23392 2013-02-20  Petr Machata  <pmachata@redhat.com>
23394         * elf/elf.h (R_ARM_TARGET1): New macro.
23395         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23396         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23397         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23398         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23399         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23400         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23401         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23402         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23403         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23404         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23405         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23406         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23407         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23408         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23409         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23410         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23411         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23412         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23413         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23414         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23415         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23416         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23417         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23418         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23419         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23420         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23421         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23422         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23423         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23424         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23425         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23426         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23427         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23428         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23429         (R_ARM_THM_GOT_BREL12): Likewise.
23430         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23431         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23432         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23433         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23434         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23435         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23436         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23437         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23438         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23440 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23442         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23443         __attribute_used__ to __attribute__ ((unused)).
23445 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23447         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23448         powerpc mpa.c.
23449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23450         comment formatting.
23451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23453 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
23455         [BZ #13550]
23456         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23457         Remove macro.
23458         (ENTER): Remove both macro definitions.
23459         (LEAVE): Likewise.
23460         (CHECK_BOUNDS_LOW): Likewise.
23461         (CHECK_BOUNDS_HIGH): Likewise.
23462         (CHECK_BOUNDS_BOTH): Likewise.
23463         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23464         (RETURN_BOUNDED_POINTER): Likewise.
23465         (RETURN_NULL_BOUNDED_POINTER): Likewise.
23466         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23467         (POP_ERRNO_LOCATION_RETURN): Likewise.
23468         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23469         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23470         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23471         macros.
23472         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23473         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23474         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23475         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23476         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23477         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23478         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23479         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23480         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23481         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23482         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23483         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23484         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23485         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23486         removed macros.
23487         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23488         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23489         macros.
23490         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23491         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23492         * sysdeps/i386/i586/memset.S (memset): Likewise.
23493         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23494         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23495         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23496         macros.
23497         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23498         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23499         Change uses of L(2) to L(out).
23500         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23501         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23502         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23503         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23504         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23505         removed macros.
23506         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23507         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23508         macros.
23509         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23510         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23511         (RETURN): Do not use macro LEAVE.
23512         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23513         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23514         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23515         * sysdeps/i386/i686/memset.S (memset): Likewise.
23516         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23517         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23518         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23519         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23520         Likewise.
23521         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23522         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
23523         L(1_2) and L(1_3) into L(1).
23524         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23525         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23526         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23527         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23528         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23529         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23530         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23531         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23532         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23533         macros.
23534         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23535         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23536         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23537         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23538         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23539         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23540         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23541         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23542         * sysdeps/i386/strcspn.S (strcspn): Likewise.
23543         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23544         * sysdeps/i386/strrchr.S (strrchr): Likewise.
23545         * sysdeps/i386/strspn.S (strspn): Likewise.
23546         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23547         conditional code.
23548         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23549         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23550         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23551         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
23552         L(1_3) into L(1_1).
23553         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23554         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23555         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23556         macros.
23557         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23559 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
23561         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23562         macro.
23564 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23566         * math/atest-exp.c (exp_mpn): Remove ROUND.
23567         * math/atest-exp2.c (exp_mpn): Likewise.
23568         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23570         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23571         * stdlib/tst-tls-atexit-lib.c: Likewise.
23572         * stdlib/tst-tls-atexit.c: Likewise.
23574 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23576         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23577         and __attribute_alloc_size__.
23579 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23581         * include/programs/xmalloc.h: Change __attribute_alloc_size to
23582         __attribute_alloc_size__.
23583         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23584         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23586 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
23588         * include/programs/xmalloc.h: New file.
23589         * catgets/gencat.c: Include it.
23590         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23591         * elf/pldd.c: Likewise.
23592         * iconv/iconv_charmap.c: Likewise.
23593         * iconv/iconvconfig.c: Likewise.
23594         * iconv/strtab.c: Likewise.
23595         * locale/programs/locale.c: Likewise.
23596         * locale/programs/localedef.h: Likewise.
23597         * locale/programs/simple-hash.c: Likewise.
23598         * nscd/nscd.h: Likewise.
23599         * nss/makedb.c: Likewise.
23600         * sysdeps/generic/ldconfig.h: Likewise.
23602 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23604         * Versions.def: Add GLIBC_2.18.
23605         * include/link.h (struct link_map): New member l_tls_dtor_count.
23606         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23607         (__call_tls_dtors): Likewise.
23608         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23609         __cxa_thread_atexit_impl.
23610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23611         Likewise.
23612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23613         Likewise.
23614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23615         Likewise.
23616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23617         Likewise.
23618         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23620         Likewise.
23621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23622         Likewise.
23623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23625         Likewise.
23626         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23627         (tests): Add test case tst-tls-atexit.
23628         (modules-names): Add shared library for tst-tls-atexit.
23629         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23630         (GLIBC_PRIVATE): Add __call_tls_dtors.
23631         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23632         for libstdc++.
23633         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23634         * stdlib/tst-tls-atexit.c: New test case.
23635         * stdlib/tst-tls-atexit-lib.c: New test case.
23637         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23639         * elf/Versions (ld): Add _dl_find_dso_for_object.
23640         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23641         * elf/dl-open.c (_dl_find_dso_for_object): New function.
23642         (dl_open_worker): Use _dl_find_dso_for_object.
23643         * elf/dl-sym.c (do_sym): Likewise.
23644         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23646 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23648         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23649         Syntactic changes only.
23650         (_dl_runtime_profile): Do a tail-call to the resolved function.
23652 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23654         [BZ #13550]
23655         * sysdeps/x86_64/bp-asm.h: Remove file.
23656         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23657         <bp-sym.h> and <bp-asm.h>.
23658         (__clone): Do not use BP_SYM.
23659         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23660         <bp-sym.h> and <bp-asm.h>.
23661         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23662         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23663         "bp-asm.h".
23664         (_setjmp): Do not use BP_SYM.
23665         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23666         "bp-asm.h".
23667         (setjmp): Do not use BP_SYM.
23668         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23669         libc_hidden_def.
23670         (mempcpy): Do not use BP_SYM in weak_alias.
23671         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23672         "bp-asm.h".
23673         (strchr): Do not use BP_SYM.
23674         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23675         "bp-asm.h".
23676         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23677         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23678         (_start): Do not use BP_SYM.
23679         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23680         "bp-asm.h".
23681         (strcat): Do not use BP_SYM.
23682         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23683         "bp-asm.h".
23684         (STRCMP): Do not use BP_SYM.
23685         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23686         "bp-asm.h".
23687         (STRCPY): Do not use BP_SYM.
23688         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23689         "bp-asm.h".
23690         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23691         "bp-asm.h".
23692         (FUNCTION): Do not use BP_SYM.
23693         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23694         weak_alias.
23695         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23697 2013-02-17  Andreas Jaeger  <aj@suse.de>
23699         * time/Versions: Sort entries.
23700         * string/Versions: Likewise.
23701         * resolv/Versions: Likewise.
23702         * posix/Versions: Likewise.
23703         * iconv/Versions: Likewise.
23704         * elf/Versions: Likewise.
23705         * wcsmbs/Versions: Likewise.
23707 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23709         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23710         loop termination condition.
23712         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23713         variable to calculate EZ.
23714         (__sqr): Likewise.
23716         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23717         the lower precision input.
23719 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23721         [BZ #13550]
23722         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23723         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23724         (run-via-rtld-prefix): Do not handle %-bp tests.
23725         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23726         (all-object-suffixes): Remove .ob.
23727         (bppfx): Remove variable.
23728         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23729         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23730         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23731         [$(build-bounded) = yes] (libtype.ob): Likewise.
23732         * Makerules (elide-routines.ob): Remove variable.
23733         (do-tests-clean): Do not handle *-bp.out.
23734         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23735         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23736         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23737         (tests): Do not include $(tests-bp.out).
23738         (xtests): Do not include $(xtests-bp.out).
23739         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23740         [$(build-bounded) = yes] ($(addprefix
23741         $(objpfx),$(binaries-bounded))): Remove rule.
23742         ($(objpfx)%-bp.out): Remove rule.
23743         * config.make.in (build-bounded): Remove variable.
23744         * crypt/Makefile [$(build-bounded) = yes]
23745         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23746         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23747         append to variable.
23748         [$(build-bounded) = yes] (install-lib): Likewise.
23749         [$(build-bounded) = yes] (generated): Likewise.
23750         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23751         Remove rule.
23752         * intl/Makefile [$(build-bounded) = yes]
23753         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23754         * math/Makefile [$(build-bounded) = yes]
23755         ($(tests:%=$(objpfx)%-bp): Likewise.
23756         * misc/Makefile [$(build-bounded) = yes]
23757         ($(objpfx)tst-tsearch-bp): Likewise.
23758         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23759         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23760         Remove dependency.
23761         * string/Makefile (o-objects.ob): Remove variable.
23762         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23763         (CFLAGS-.ob): Remove variable.
23764         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23765         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23766         both definitions of variable.
23767         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23768         (ASFLAGS-.ob): Remove variable.
23770 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23772         [BZ #13550]
23773         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23774         Remove __BOUNDED_POINTERS__ from condition.
23775         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23776         * string/bits/string2.h [!__NO_STRING_INLINES &&
23777         !__BOUNDED_POINTERS__]: Likewise.
23778         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23779         Likewise.
23780         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23781         Remove conditional code.
23782         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23783         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23784         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23785         condition.
23787         [BZ #13550]
23788         * csu/libc-start.c: Do not include <bp-sym.h>.
23789         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23790         * elf/dl-open.c: Do not include <bp-sym.h>.
23791         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23792         * math/fegetenv.c: Do not include <bp-sym.h>.
23793         (fegetenv): Do not use BP_SYM in versioned symbols.
23794         * nptl/sysdeps/pthread/bits/libc-lockP.h
23795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23796         <bp-sym.h>.
23797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23798         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23800         (__pthread_mutex_destroy): Likewise.
23801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23802         (__pthread_mutex_lock): Likewise.
23803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23804         (__pthread_mutex_trylock): Likewise.
23805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23806         (__pthread_mutex_unlock): Likewise.
23807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23808         (__pthread_mutexattr_init): Likewise.
23809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23810         (__pthread_mutexattr_destroy): Likewise.
23811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23812         (__pthread_mutexattr_settype): Likewise.
23813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23814         (__pthread_rwlock_init): Likewise.
23815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23816         (__pthread_rwlock_destroy): Likewise.
23817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23818         (__pthread_rwlock_rdlock): Likewise.
23819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23820         (__pthread_rwlock_tryrdlock): Likewise.
23821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23822         (__pthread_rwlock_wrlock): Likewise.
23823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23824         (__pthread_rwlock_trywrlock): Likewise.
23825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23826         (__pthread_rwlock_unlock): Likewise.
23827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23828         (__pthread_key_create): Likewise.
23829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23830         (__pthread_setspecific): Likewise.
23831         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23832         (__pthread_getspecific): Likewise.
23833         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23834         Likewise.
23835         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23836         (_pthread_cleanup_push_defer): Likewise.
23837         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23838         (_pthread_cleanup_pop_restore): Likewise.
23839         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23840         (pthread_setcancelstate): Likewise.
23841         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23842         <bp-sym.h>.
23843         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23844         (memchr): Do not use BP_SYM in weak_alias.
23845         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23846         (fegetenv): Do not use BP_SYM in versioned symbols.
23847         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23848         (fesetenv): Do not use BP_SYM in versioned symbols.
23849         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23850         (feupdateenv): Do not use BP_SYM in versioned symbols.
23851         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23852         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23853         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23854         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23855         (open64): Do not use BP_SYM in weak_alias.
23856         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23857         (fegetenv): Do not use BP_SYM in versioned symbols.
23858         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23859         (fesetenv): Do not use BP_SYM in versioned symbols.
23860         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23861         (feupdateenv): Do not use BP_SYM in versioned symbols.
23862         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23863         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23864         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23865         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23866         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23867         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23868         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23869         <bp-sym.h>.
23870         (__libc_start_main): Do not use BP_SYM.
23872 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23875         redundant return line.
23876         (norm): Likewise.
23877         (denorm): Likewise.
23878         (dbl_mp): Likewise.
23879         (sub_magnitudes): Likewise.
23880         (__add): Likewise.
23881         (__sub): Likewise.
23882         (__mul): Likewise.
23883         (__inv): Likewise.
23884         (__dvd): Likewise.
23885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23886         (norm): Likewise.
23887         (denorm): Likewise.
23888         (dbl_mp): Likewise.
23889         (sub_magnitudes): Likewise.
23890         (__add): Likewise.
23891         (__sub): Likewise.
23892         (__mul): Likewise.
23893         (__inv): Likewise.
23894         (__dvd): Likewise.
23896         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23897         instead of __mul.
23898         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23899         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23900         (cc32): Likewise.
23902         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23903         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23904         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23905         of __mul for squares.
23906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23907         function
23908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23909         Likewise.
23910         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23911         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23913 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23915         [BZ #13550]
23916         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23917         code.
23918         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23919         prototype or function definition.  Rename ubp_* variables and
23920         parameters.  Remove argv definitions conditional on
23921         [__BOUNDED_POINTERS__].
23922         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23923         * elf/dl-runtime.c (_dl_fixup): Likewise.
23924         * include/set-hooks.h (RUN_HOOK): Likewise.
23925         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23926         definition.
23927         * string/strcpy.c (strcpy): Do not use __unbounded.
23928         * sysdeps/generic/frame.h (struct layout): Likewise.
23929         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23930         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23931         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23932         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23933         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23934         (__backtrace): Likewise.
23935         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23936         use __ptrvalue.
23937         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23938         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23939         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23940         Likewise.
23941         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23942         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23943         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23944         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23945         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23946         Do not use __unbounded.
23947         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23948         Rename __unboundedrlimits parameter to rlimits in prototype.
23949         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23950         Do not use __unbounded.
23951         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23952         not use __ptrvalue.
23953         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23954         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23955         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23956         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23957         __ptrvalue or __unbounded.
23958         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23959         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23960         use __unbounded.
23961         (__new_msgctl): Do not use __ptrvalue.
23962         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23963         __unbounded.
23964         (__libc_msgrcv): Do not use __ptrvalue.
23965         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23966         startup_info): Do not use __unbounded.
23967         (__libc_start_main): Likewise.  Rename ubp_* variables and
23968         parameters.  Remove argv definitions conditional on
23969         [__BOUNDED_POINTERS__].
23970         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23971         __ptrvalue.
23972         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23973         use __unbounded.
23974         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23975         or __ptrvalue.
23976         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23977         use __unbounded.
23978         (__new_shmctl): Do not use __ptrvalue.
23979         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23980         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23981         Likewise.
23982         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23983         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23984         (__libc_sigaction): Likewise.
23985         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23986         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23987         Likewise.
23988         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23990 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23992         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23994         * string/mempcpy.c: Implement by calling memcpy.
23996 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23998         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24000         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24001         evaluation.
24003         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24004         values in the mantissa.
24006         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24007         minimize writes to Z.
24008         (sub_magnitudes): Simplify code a bit.
24010 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24012         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24013         from the message.  The linker prefixes all warnings with that already.
24015 2013-02-12  Andreas Schwab  <schwab@suse.de>
24017         [BZ #15078]
24018         * posix/regexec.c (extend_buffers): Add parameter min_len.
24019         (check_matching): Pass minimum needed length.
24020         (clean_state_log_if_needed): Likewise.
24021         (get_subexp): Likewise.
24022         * posix/Makefile (tests): Add bug-regex34.
24023         (bug-regex34-ENV): Define.
24024         * posix/bug-regex34.c: New file.
24026         [BZ #11561]
24027         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24028         elements compare against the byte sequence of it, not its name.
24029         * posix/Makefile (tests): Add bug-regex35.
24030         (bug-regex35-ENV): Define.
24031         * posix/bug-regex35.c: New file.
24033 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24035         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24036         comment.
24037         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24038         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24039         (CHECK_EOL): Add undef.
24041 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24043         * bits/stdlib-bsearch.h: New file.
24044         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24045         * stdlib/stdlib.h: Likewise.
24047 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24049         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24050         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24051         declaration.
24052         * manual/search.texi (Array Search Function): Add missing const in
24053         lfind prototype.
24054         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24055         declaration to use rlim_t.
24056         (Basic Scheduling Functions): Remove erroneous const from
24057         sched_getparam prototype.  Remove erroneous * from
24058         sched_get_priority_max and sched_get_priority_min prototypes.
24059         (Resource Usage): Fix summary @comment on vtimes to refer to
24060         sys/vtimes.h rather than vtimes.h.
24061         Add missing *s in vtimes prototype.
24062         (Limits on Resources): Fix ulimit prototype to return long int.
24063         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24064         prototypes to use long int rather than double.
24065         (BSD Random): Fix initstate and setstate to use char *, not void *.
24066         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24067         prototype to make second argument 'struct aiocb64 *const[]'.
24068         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24069         (Status of AIO Operations): Remove erroneous const in aio_return and
24070         aio_return64 prototypes.
24071         (Synchronizing I/O): Fix sync prototype to return void.
24072         * manual/startup.texi (Suboptions): Remove an erroneous const in
24073         getsubopt prototype.
24074         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24075         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24076         use size_t rather than int.
24077         (Scanning All Users): Likewise for getpwent_r.
24078         (Setting Groups): Add missing const to setgroups prototype.
24079         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24080         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24081         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24082         'const void *' rather than 'const char *'.
24083         (Host Address Functions): Likewise for inet_ntop.
24084         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24085         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24086         ssize_t for return value.
24087         (Sending Data): Likewise for send, sendto, sendmsg.
24088         (Socket Option Functions): Add a missing const in setsockopt prototype.
24089         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24090         use wchar_t for the argument.
24091         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24092         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24093         take no arguments.
24094         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24095         double/float/long double for second argument.
24096         Fix return types of significand, significandf, significandl.
24097         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24098         argument in fchmod prototype.
24099         (File Owner): Use uid_t and gid_t in fchown prototype.
24100         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24101         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24102         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24103         use 'const struct dirent **' as argument types to CMP function pointer
24104         argument.
24105         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24106         (File Times): Fix summary magic @comment for struct utimbuf and utime
24107         to refer to utime.h, not time.h.
24108         * manual/string.texi (Argz Functions): Add missing const in
24109         argz_extract and argz_next prototypes.
24110         (Finding Tokens in a String): Likewise for basename.
24111         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24112         (Copying and Concatenation): Fix typo in wmemmove prototype.
24113         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24114         (Signal Stack): Remove erroneous const in sigstack prototype.
24115         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24116         prototype.
24117         (Simple Calendar Time): Likewise for stime.
24118         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24119         prototype.
24120         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24121         say sys/sysctl.h instead.
24122         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24123         and vsyslog prototypes.
24125 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24127         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24128         Remove.
24130 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24132         * misc/sys/mman.h: Fix typo in mremap comment.
24134 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24136         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24137         the '\0' terminator.
24139 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24141         [BZ #13550]
24142         * debug/segfault.c: Don't include <bp-checks.h>.
24143         * sysdeps/generic/bp-checks.h: Remove file.
24144         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24145         (__GETDENTS): Don't use CHECK_N.
24146         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24147         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24148         (__getgroups): Don't use CHECK_N.
24149         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24150         (setgroups): Don't use CHECK_N.
24151         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24152         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24153         (__libc_msgrcv): Don't use CHECK_N.
24154         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24155         (__libc_msgsnd): Don't use CHECK_N.
24156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24157         <bp-checks.h>.
24158         (__libc_pread): Don't use CHECK_N.
24159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24160         include <bp-checks.h>.
24161         (__libc_pread64): Don't use CHECK_N.
24162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24163         include <bp-checks.h>.
24164         (__libc_pwrite): Don't use CHECK_N.
24165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24166         include <bp-checks.h>.
24167         (__libc_pwrite64): Don't use CHECK_N.
24168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24169         <bp-checks.h>.
24170         (__libc_pread): Don't use CHECK_N.
24171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24172         include <bp-checks.h>.
24173         (__libc_pread64): Don't use CHECK_N.
24174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24175         include <bp-checks.h>.
24176         (__libc_pwrite): Don't use CHECK_N.
24177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24178         include <bp-checks.h>.
24179         (__libc_pwrite64): Don't use CHECK_N.
24180         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24181         (do_pread): Don't use CHECK_N.
24182         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24183         (do_pread64): Don't use CHECK_N.
24184         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24185         (do_pwrite): Don't use CHECK_N.
24186         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24187         (do_pwrite64): Don't use CHECK_N.
24188         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24189         (__libc_readv): Don't use CHECK_N.
24190         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24191         (semop): Don't use CHECK_N.
24192         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24193         <bp-checks.h>.
24194         (semtimedop): Don't use CHECK_N.
24195         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24196         (__libc_pread): Don't use CHECK_N.
24197         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24198         <bp-checks.h>.
24199         (__libc_pread64): Don't use CHECK_N.
24200         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24201         <bp-checks.h>.
24202         (__libc_pwrite): Don't use CHECK_N.
24203         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24204         <bp-checks.h>.
24205         (__libc_pwrite64): Don't use CHECK_N.
24206         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24207         <bp-checks.h>.
24208         (__libc_msgrcv): Don't use CHECK_N.
24209         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24210         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24211         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24212         (__libc_writev): Don't use CHECK_N.
24214 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24216         * string/strcpy.c: Removed unused variable.
24218         * Makeconfig (+sysdep-includes): Define with := rather than =.
24219         Use an existing include/ subdir of each sysdeps dir before it.
24221 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24223         * nscd/connection.c (register_traced_file): Comment function.
24224         [HAVE_INOTIFY] (union __inev): Define.
24225         [HAVE_INOTIFY] (inotify_check_files): New function.
24226         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24227         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24228         clear_db_cache.
24229         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24231 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24233         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24234         loaded if not already and that a failure is permanent.
24236 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24238         [BZ #15006]
24239         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24240         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24242 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24244         [BZ #13550]
24245         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24246         (CHECK_1_NULL_OK): Likewise.
24247         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24248         (__fxstat): Do not use CHECK_1.
24249         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24250         <bp-checks.h>.
24251         (___fxstat64): Do not use CHECK_1.
24252         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24253         <bp-checks.h>.
24254         (__fxstatat): Do not use CHECK_1.
24255         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24256         <bp-checks.h>.
24257         (__fxstatat64): Do not use CHECK_1.
24258         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24259         <bp-checks.h>.
24260         (__fxstat): Do not use CHECK_1.
24261         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24262         <bp-checks.h>.
24263         (__fxstatat): Do not use CHECK_1.
24264         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24265         <bp-checks.h>.
24266         (__getresgid): Do not use CHECK_1.
24267         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24268         <bp-checks.h>.
24269         (__getresuid): Do not use CHECK_1.
24270         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24271         <bp-checks.h>.
24272         (__lxstat): Do not use CHECK_1.
24273         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24274         <bp-checks.h>.
24275         (__old_msgctl): Do not use CHECK_1.
24276         (__new_msgctl): Likewise.
24277         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24278         <bp-checks.h>.
24279         (__new_setrlimit): Do not use CHECK_1.
24280         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24281         <bp-checks.h>.
24282         (__old_shmctl): Do not use CHECK_1.
24283         (__new_shmctl): Likewise.
24284         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24285         <bp-checks.h>.
24286         (__xstat): Do not use CHECK_1.
24287         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24288         (__lxstat): Do not use CHECK_1.
24289         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24290         <bp-checks.h>.
24291         (___lxstat64): Do not use CHECK_1.
24292         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24293         (__old_msgctl): Do not use CHECK_1.
24294         (__new_msgctl): Likewise.
24295         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24296         <bp-checks.h>.
24297         (__gettimeofday): Do not use CHECK_1.
24298         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24299         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24300         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24301         <bp-checks.h>.
24302         (__gettimeofday): Do not use CHECK_1.
24303         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24304         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24305         (__new_shmctl): Do not use CHECK_1.
24306         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24307         <bp-checks.h>.
24308         (do_sigtimedwait): Do not use CHECK_1.
24309         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24310         <bp-checks.h>.
24311         (do_sigwaitinfo): Do not use CHECK_1.
24312         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24313         <bp-checks.h>.
24314         (msgctl): Do not use CHECK_1.
24315         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24316         <bp-checks.h>.
24317         (shmctl): Do not use CHECK_1.
24318         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24319         (ustat): Do not use CHECK_1.
24320         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24321         <bp-checks.h>.
24322         (__fxstat): Do not use CHECK_1.
24323         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24324         <bp-checks.h>.
24325         (__fxstatat): Do not use CHECK_1.
24326         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24327         <bp-checks.h>.
24328         (__lxstat): Do not use CHECK_1.
24329         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24330         <bp-checks.h>.
24331         (__xstat): Do not use CHECK_1.
24332         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24333         (__xstat): Do not use CHECK_1.
24334         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24335         (___xstat64): Do not use CHECK_1.
24337         [BZ #13550]
24338         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24339         definitions.
24340         (CHECK_BOUNDS_HIGH): Likewise.
24341         * string/strcpy.c: Do not include <bp-checks.h>.
24342         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24344 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24346         * nscd/nscd-client.h (__nscd_drop_map_ref):
24347         Add __attribute__ ((unused)).
24348         * nis/nss-nisplus.h (niserr2nss): Likewise.
24350         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24351         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24353         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24354         Remove inline keyword.
24355         * include/rounding-mode.h (round_away): Likewise.
24356         * libio/wfileops.c (adjust_wide_data): Likewise.
24357         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24358         (__m128i_strloadu_tolower): Likewise.
24359         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24360         (__m128i_strloadu_tolower): Likewise.
24361         * time/mktime.c (ydhms_diff): Likewise.
24362         * locale/elem-hash.h (elem_hash): Likewise.
24363         * locale/setlocale.c (setdata): Likewise.
24364         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24365         (re_string_wchar_at): Likewise.
24366         (bitset_not, bitset_merge, bitset_mask): Likewise.
24367         [!(__GNUC__ > 3)] (inline): Remove macro.
24368         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24369         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24370         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24371         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24372         * string/memcmp.c (memcmp_bytes): Likewise.
24373         * locale/programs/locarchive.c (compute_hashval): Likewise.
24374         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24375         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24376         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24377         * nss/getent.c (print_rpc, print_protocols): Likewise.
24378         (print_passwd, print_group, print_aliases): Likewise.
24379         * nis/nss-nisplus.h (niserr2nss): Likewise.
24380         * nscd/connections.c (restart_p): Likewise.
24381         Change return type to bool.
24383 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24385         * Makeconfig (all-Depend-files): Add existing
24386         $(sorted-subdirs:=/Depend) files.
24387         (all-subdirs): Remove nss.
24388         * sysdeps/unix/inet/Subdirs: Add it here instead.
24389         * hesiod/Depend: New file.
24391         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24392         instead of calling alloca.
24394         * io/lseek.c (__lseek): Rename to __libc_lseek.
24395         Define __lseek as an alias.
24397         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24399 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24401         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24402         else clause and remove check for non-standard endianness.
24404 2013-02-04  David S. Miller  <davem@davemloft.net>
24406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24408 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24410         [BZ #13550]
24411         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24412         (__ubp_memchr): Remove prototype.
24413         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24414         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24415         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24416         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24417         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24418         Remove alias.
24419         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24420         (__ubp_memchr): Likewise.
24421         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24422         (__ubp_memchr): Likewise.
24423         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24424         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24425         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24426         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24427         CHECK_STRING.
24428         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24429         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24430         (__getcwd): Do not use CHECK_STRING.
24431         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24432         <bp-checks.h>.
24433         (__real_chown): Do not use CHECK_STRING.
24434         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24435         <bp-checks.h>.
24436         (fchownat): Do not use CHECK_STRING.
24437         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24438         CHECK_STRING.
24439         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24440         <bp-checks.h>.
24441         (__lchown): Do not use CHECK_STRING.
24442         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24443         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24444         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24445         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24447         include <bp-checks.h>.
24448         (truncate64): Do not use CHECK_STRING.
24449         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24450         <bp-checks.h>.
24451         (__real_chown): Do not use CHECK_STRING.
24452         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24453         <bp-checks.h>.
24454         (__lchown): Do not use CHECK_STRING.
24455         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24456         <bp-checks.h>.
24457         (__chown): Do not use CHECK_STRING.
24458         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24459         <bp-checks.h>.
24460         (truncate64): Do not use CHECK_STRING.
24461         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24462         Likewise.
24463         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24464         (__xmknod): Do not use CHECK_STRING.
24465         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24466         <bp-checks.h>.
24467         (__xmknodat): Do not use CHECK_STRING.
24468         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24469         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24471 2013-02-04  Andreas Schwab  <schwab@suse.de>
24473         [BZ #14142]
24474         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24475         * include/netdb.h: Likewise for h_errno.
24476         * elf/tst-stackguard1.c: Include <tls.h>.
24478 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
24480         * elf/link.h (struct link_map): Extend the l_addr comment.
24481         * include/link.h (struct link_map): Likewise.
24483 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
24485         [BZ #13550]
24486         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24487         (BOUNDED_1): Remove macro.
24488         * debug/backtrace.c: Don't include <bp-checks.h>.
24489         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24490         (__backtrace): Likewise.
24491         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24492         <bp-checks.h>.
24493         (__backtrace): Don't use BOUNDED_1.
24494         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24495         <bp-checks.h>.
24496         (__backtrace): Don't use BOUNDED_1.
24497         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24498         (__backtrace): Don't use BOUNDED_1.
24499         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24500         (shmat): Don't use BOUNDED_N.
24502 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
24504         [BZ #13550]
24505         * sysdeps/generic/bp-start.h: Remove file.
24506         * csu/libc-start.c: Don't include <bp-start.h>.
24507         (LIBC_START_MAIN): Set up __environ directly instead of using
24508         INIT_ARGV_and_ENVIRON.
24509         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24510         <bp-start.h>.
24512         [BZ #13550]
24513         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24514         definitions.
24515         (CHECK_FCNTL): Likewise.
24516         (CHECK_N_PAGES): Likewise.
24518         [BZ #13550]
24519         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24520         definitions.
24521         (CHECK_SIGSET_NULL_OK): Likewise.
24522         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24523         <bp-checks.h>.
24524         (sigpending): Don't use CHECK_SIGSET.
24525         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24526         <bp-checks.h>.
24527         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24528         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24529         <bp-checks.h>.
24530         (do_sigsuspend): Don't use CHECK_SIGSET.
24531         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24532         use CHECK_SIGSET.
24533         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24534         (do_sigwait): Don't use CHECK_SIGSET.
24535         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24536         use CHECK_SIGSET.
24537         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24538         include <bp-checks.h>.
24539         (sigpending): Don't use CHECK_SIGSET.
24540         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24541         include <bp-checks.h>.
24542         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24543         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24544         <bp-checks.h>.
24545         (sigpending): Don't use CHECK_SIGSET.
24546         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24547         <bp-checks.h>.
24548         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24550         [BZ #13550]
24551         * sysdeps/generic/bp-semctl.h: Remove file.
24552         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24553         <bp-checks.h> and <bp-semctl.h>.
24554         (__old_semctl): Don't use CHECK_SEMCTL.
24555         (__new_semctl): Likewise.
24556         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24557         and <bp-semctl.h>.
24558         (__old_semctl): Don't use CHECK_SEMCTL.
24559         (__new_semctl): Likewise.
24560         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24561         <bp-checks.h> and <bp-semctl.h>.
24562         (__old_semctl): Don't use CHECK_SEMCTL.
24563         (__new_semctl): Likewise.
24564         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24565         <bp-checks.h> and <bp-semctl.h>.
24566         (semctl): Don't use CHECK_SEMCTL.
24568         [BZ #13550]
24569         * Makerules (elide-bp-thunks): Remove variable.
24570         (elide-routines.oS): Don't use $(elide-bp-thunks).
24571         (elide-routines.os): Likewise.
24572         (elide-routines.o): Likewise.
24573         (elide-routines.op): Likewise.
24574         (elide-routines.og): Likewise.
24575         (objects): Don't use $(bp-thunks).
24576         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24577         include.
24578         (common-generated): Do not add s-proto-bp.d.
24579         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24580         (int): Likewise.
24581         (typ): Likewise.
24582         Do not generate makefile rules for bounded-pointer thunks.
24583         * sysdeps/generic/bp-thunks.h: Remove file.
24584         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24585         * sysdeps/unix/s-proto-bp.S: Likewise.
24587         [BZ #15062]
24588         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24589         parts of result separately when argument is not close to line from
24590         -i to i and one part of argument is small.
24591         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24592         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24593         * math/libm-test.inc (cacos_test): Add more tests.
24594         (casin_test): Likewise.
24595         (casinh_test): Likewise.
24596         * sysdeps/i386/fpu/libm-test-ulps: Update.
24597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24599 2013-01-31  David S. Miller  <davem@davemloft.net>
24601         * po/de.po: Update from translation team.
24603 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
24605         * time/tzfile.c: Include stdint.h for SIZE_MAX.
24607 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
24609         * configure.in (_AC_PROG_CC_C89): New definition.
24610         * configure: Regenerate.
24612         * configure.in (AC_PROG_CPP): New definition.
24613         * configure: Regenerate.
24615 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24617         * debug/tst-backtrace.h: New file.
24618         * debug/tst-backtrace2.c: Include tst-backtrace.h.
24619         (ret): Remove variable.
24620         (x): Likewise.
24621         (FAIL): Remove macro.
24622         (NO_INLINE): Likewise.
24623         (fn1): Use match function instead of strstr.
24624         * debug/tst-backtrace3.c: Include tst-backtrace.h.
24625         (ret): Remove variable.
24626         (x): Likewise.
24627         (FAIL): Remove macro.
24628         (NO_INLINE): Likewise.
24629         (fn): Use match function instead of strstr.
24630         * debug/tst-backtrace4.c: Include tst-backtrace.h.
24631         (ret): Remove variable.
24632         (x): Likewise.
24633         (FAIL): Remove macro.
24634         (NO_INLINE): Likewise.
24635         (handle_signal): Use match function instead of strstr.
24636         * debug/tst-backtrace5.c: Include tst-backtrace.h.
24637         (ret): Remove variable.
24638         (x): Likewise.
24639         (FAIL): Remove macro.
24640         (NO_INLINE): Likewise.
24641         (handle_signal): Use match function instead of strstr.
24643 2013-01-23  Roland McGrath  <roland@hack.frob.com>
24645         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24647 2013-01-23  David S. Miller  <davem@davemloft.net>
24649         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24650         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24651         argument of CAS if possible.
24652         * sysdeps/sparc/sparc64/bits/atomic.h
24653         (__arch_compare_and_exchange_val_32_acq): Likewise.
24654         (__arch_compare_and_exchange_val_64_acq): Likewise.
24656 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24658         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24659         * sysdeps/posix/ulimit.c: ... this.
24660         Include <limits.h>.
24661         * sysdeps/unix/bsd/ulimit.c: Remove file.
24663 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24665         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24666         (LDFLAGS-tst-array5): Likewise.
24668 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24670         [BZ #15036]
24671         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24672         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24673         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24674         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24676 2013-01-21  David S. Miller  <davem@davemloft.net>
24678         * sysdeps/sparc/backtrace.c: New file.
24679         * sysdeps/sparc/sparc32/backtrace.h: New file.
24680         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24681         * sysdeps/sparc/sparc64/backtrace.h: New file.
24682         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24683         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24684         -funwind-tables.
24686 2013-01-21  Andreas Schwab  <schwab@suse.de>
24688         [BZ #15020]
24689         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24690         closed its stdout.
24692 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24694         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24695         "mpa2.h".
24696         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24698 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24699             Mark Mitchell  <mark@codesourcery.com>
24700             Tom de Vries  <tom@codesourcery.com>
24701             Paul Pluzhnikov  <ppluzhnikov@google.com>
24703         * debug/tst-backtrace2.c: New file.
24704         * debug/tst-backtrace3.c: Likewise.
24705         * debug/tst-backtrace4.c: Likewise.
24706         * debug/tst-backtrace5.c: Likewise.
24707         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24708         (CFLAGS-tst-backtrace3.c): Likewise.
24709         (CFLAGS-tst-backtrace4.c): Likewise.
24710         (CFLAGS-tst-backtrace5.c): Likewise.
24711         (LDFLAGS-tst-backtrace2): Likewise.
24712         (LDFLAGS-tst-backtrace3): Likewise.
24713         (LDFLAGS-tst-backtrace4): Likewise.
24714         (LDFLAGS-tst-backtrace5): Likewise.
24715         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24716         tst-backtrace4 and tst-backtrace5.
24718 2013-01-18  Anton Blanchard  <anton@samba.org>
24719             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24721         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24722         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24723         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24724         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24726         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24727         "+r" and remove output regs list as redundant.  Add explicit inline
24728         asm to specify register of return val to work around compiler codegen
24729         bug.  Remove (int) cast on return value.  Add return type parameter to
24730         use in macro so that this macro does not truncate return value for
24731         64-bit values.
24732         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24733         pass to INTERNAL_VSYSCALL_NCS.
24734         (INLINE_VSYSCALL): Add 'long int' as return type to
24735         INTERNAL_VSYSCALL_NCS macro invocation.
24736         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24737         INTERNAL_VSYSCALL_NCS macro invocation.
24738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24740 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24742         [BZ #14496]
24743         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24744         Fix application of SIMD FP exception mask.
24746         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24747         mp_no from a power of two.
24748         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24749         __mpexp_twomm1.  Use __pow_mp.
24751         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24752         multiplication.
24754 2013-01-17  David S. Miller  <davem@davemloft.net>
24756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24758 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24760         [BZ #15023]
24761         * include/complex.h: Condition contents on [!_COMPLEX_H].
24762         (__kernel_casinhf): New prototype.
24763         (__kernel_casinh): Likewise.
24764         (__kernel_casinhl): Likewise.
24765         * math/Makefile (libm_calls): Add k_casinh.
24766         * math/k_casinh.c: New file.
24767         * math/k_casinhf.c: Likewise.
24768         * math/k_casinhl.c: Likewise.
24769         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24770         finite nonzero arguments.
24771         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24772         finite nonzero arguments.
24773         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24774         finite nonzero arguments.
24775         * math/s_casinh.c: Do not include <float.h>.
24776         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24777         * math/s_casinhf.c: Do not include <float.h>.
24778         (__casinhf): Move code for finite nonzero arguments to
24779         k_casinhf.c.
24780         * math/s_casinhl.c: Do not include <float.h>.
24781         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24782         redefine.
24783         (__casinhl): Move code for finite nonzero arguments to
24784         k_casinhl.c.
24785         * math/libm-test.inc (cacos_test): Add more tests.
24786         * sysdeps/i386/fpu/libm-test-ulps: Update.
24787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24789 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24791         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24792         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24793         [!HAVE_MREMAP]: Remove [defined linux] case.
24794         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24796 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24798         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24800 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24802         * elf/elf.h (R_386_SIZE32): New relocation.
24803         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24804         R_386_SIZE32.
24805         (elf_machine_rela): Likewise.
24806         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24807         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24809 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24811         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24812         (FP_FAST_FMA): Do not define.
24813         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24814         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24815         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24816         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24817         !_SOFT_FLOAT]: Likewise.
24818         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24819         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24820         value.
24821         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24822         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24823         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24824         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24825         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24826         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24827         file.
24829 2013-01-16  Andreas Schwab  <schwab@suse.de>
24831         [BZ #14327]
24832         * include/stdlib.h (__mktemp): Add declaration.
24833         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24834         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24836 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24838         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24839         definitions.
24840         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24841         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24842         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24843         definitions here.
24844         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24845         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24846         definitions.
24847         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24848         and ONE.
24849         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24850         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24851         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24852         definitions.
24853         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24854         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24855         definitions.
24856         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24858         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24860 2013-01-15  David S. Miller  <davem@davemloft.net>
24862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24863         trunc{,f} to libm-sysdep_routes.
24864         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24866         file.
24867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24869         file.
24870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24871         file.
24872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24874         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24875         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24876         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24877         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24878         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24879         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24882         nearbyint{,f} to libm-sysdep_routes.
24883         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24885         New file.
24886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24887         file.
24888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24889         New file.
24890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24891         file.
24892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24894         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24895         file.
24896         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24897         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24898         file.
24899         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24900         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24901         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24903         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24904         libc_feholdexcept and libc_fesetenv.
24906 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24908         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24910 2013-01-14  David S. Miller  <davem@davemloft.net>
24912         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24913         (SPARC_ASM_VIS2_IFUNC): Likewise.
24914         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24916         use of 'siam' instruction.
24917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24918         Likewise.
24919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24920         Likewise.
24921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24922         Likewise.
24923         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24924         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24925         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24928         file.
24929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24930         file.
24931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24932         file.
24933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24934         file.
24935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24937         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24938         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24940         new VIS2 routines.
24941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24944         Likewise.
24945         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24947         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24950         routines to libm-sysdep_routines.
24951         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24954         fdim/fdimf to libm-sysdep_routines.
24955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24956         file.
24957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24959         file.
24960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24963         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24964         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24965         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24966         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24968 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24970         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24971         to optimize copies.
24973         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24978         local variable MPTWO.
24979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24980         Likewise.
24982 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24984         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24985         GLOB_NOESCAPE.
24987 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24989         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24991 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24993         * manual/pattern.texi (glob_t): Document gl_flags.
24994         (glob64_t): Likewise.
24996 2013-01-11  David S. Miller  <davem@davemloft.net>
24998         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24999         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25000         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25001         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25002         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25003         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25004         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25005         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25006         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25007         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25008         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25009         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25010         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25012         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25013         sparc V9 rather than using V8 code.
25014         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25015         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25017         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25018         Move to...
25019         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25020         Here.
25022 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25024         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25025         not in the main loop.
25026         * configure: Regenerated.
25028 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25030         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25031         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25032         to just #else.
25033         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25034         [!__GLIBC_HAVE_LONG_LONG] case.
25035         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25036         condition to just #else.
25037         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25038         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25039         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25040         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25041         unconditional.
25042         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25043         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25044         #elif condition to just #else.
25045         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25046         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25047         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25048         #elif condition to just #else.
25050 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25052         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25053         (EF_MIPS_ARCH_64): Fix value.
25054         (EF_MIPS_ARCH_32R2): New.
25055         (EF_MIPS_ARCH_64R2): New.
25057 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25059         * Makeconfig (+link-pie-before-libc): New.
25060         (+link-pie-after-libc): Likewise.
25061         (+link-pie-tests): Likewise.
25062         (+link-pie): Rewritten.
25063         (link-before-libc): Remove $(config-LDFLAGS).
25064         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25065         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25066         (config-LDFLAGS): Renamed to ...
25067         (rtld-LDFLAGS): This.
25068         (rtld-tests-LDFLAGS): New macro.
25069         (link-libc-rpath-link): Likewise.
25070         (link-libc-tests-rpath-link): Likewise.
25071         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25072         (link-libc): Prepand $(link-libc-rpath-link).
25073         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25074         (test-program-prefix): New macro.
25075         (test-via-rtld-prefix): Likewise.
25076         (test-program-cmd): Likewise.
25077         (host-test-program-cmd): Likewise.
25078         * Makefile ($(common-objpfx)testrun.sh): Replace
25079         $(run-program-prefix) with $(test-program-prefix).
25080         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25081         $(rtld-LDFLAGS).
25082         ($(common-objpfx)shlib.lds): Likewise.
25083         (build-module-helper): Likewise.
25084         ($(common-objpfx)format.lds): Likewise.
25085         * Rules (binaries-pie-tests): New.
25086         (binaries-pie-notests): Likewise.
25087         (binaries-pie): Rewritten.
25088         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25089         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25090         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25091         (make-test-out): Replace $(host-built-program-cmd) with
25092         $(host-test-program-cmd).
25093         * config.make.in (build-hardcoded-path-in-tests): New variable.
25094         * configure.in (--enable-hardcoded-path-in-tests): New configure
25095         option.
25096         (hardcoded_path_in_tests): New AC_SUBST.
25097         * configure: Regenerated.
25098         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25099         $(built-program-cmd) with $(test-program-cmd).
25100         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25101         (test_program_cmd): This.
25102         * elf/Makefile ($(objpfx)order.out): Run test with
25103         $(test-program-prefix).
25104         ($(objpfx)order2.out): Likewise.
25105         ($(objpfx)tst-initorder.out): Likewise.
25106         ($(objpfx)tst-initorder2.out): Likewise.
25107         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25108         $(test-program-cmd).
25109         ($(objpfx)tst-array1-static.out): Likewise.
25110         ($(objpfx)tst-array2.out): Likewise.
25111         ($(objpfx)tst-array3.out): Likewise.
25112         ($(objpfx)tst-array4.out): Likewise.
25113         ($(objpfx)tst-array5.out): Likewise.
25114         ($(objpfx)tst-array5-static.out): Likewise.
25115         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25116         $(test-program-cmd).
25117         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25118         $(run-program-prefix) with $(test-program-prefix).
25119         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25120         (test_program_prefix): This.
25121         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25122         $(run-program-prefix) with $(test-program-prefix).
25123         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25124         (test_program_prefix): This.
25125         * iconvdata/tst-tables.sh: Likewise.
25126         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25127         $(run-program-prefix) with $(test-program-prefix).
25128         ($(objpfx)tst-translit.out): Likewise.
25129         ($(objpfx)tst-gettext2.out): Likewise.
25130         ($(objpfx)tst-gettext4.out): Likewise.
25131         ($(objpfx)tst-gettext6.out): Likewise.
25132         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25133         (test_program_prefix): This.
25134         * intl/tst-gettext2.sh: Likewise.
25135         * intl/tst-gettext4.sh  Likewise.
25136         * intl/tst-gettext6.sh: Likewise.
25137         * intl/tst-translit.sh: Likewise.
25138         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25139         with $(test-program-cmd).
25140         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25141         $(run-program-prefix) with $(test-program-prefix).
25142         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25143         (test_program_prefix): This.
25144         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25145         $(run-program-prefix) with $(test-program-prefix).
25146         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25147         (test_program_prefix): This.
25148         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25149         * posix/Makefile ($(objpfx)globtest.out): Replace
25150         $(run-via-rtld-prefix) and $(test-wrapper) with
25151         $(test-program-prefix) and $(test-via-rtld-prefix).
25152         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25153         $(test-program-prefix).
25154         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25155         $(host-test-program-cmd).
25156         (tst-spawn-ARGS): Likewise.
25157         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25158         $(test-program-prefix).
25159         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25160         (test_via_rtld_prefix): This.
25161         (test_wrapper): Renamed to ...
25162         (test_program_prefix): This.
25163         (run_program_prefix): Replaced by test_program_prefix.
25164         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25165         (test_program_prefix): This.
25166         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25167         with $(host-test-program-cmd).
25168         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25169         $(run-program-prefix) with $(test-program-prefix).
25170         ($(objpfx)tst-printf.out): Likewise.
25171         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25172         $(test-program-cmd).
25173         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25174         (test_program_prefix): This.
25175         * stdio-common/tst-unbputc.sh: Likewise.
25176         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25177         $(run-program-prefix) with $(test-program-prefix).
25178         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25179         (test_program_prefix): This.
25180         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25181         $(built-program-cmd) with $(test-program-cmd).
25183 2013-01-11  Andreas Jaeger  <aj@suse.de>
25185         [BZ #15003]
25186         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25187         value. Sync with Linux 3.7.
25189 2013-01-10  David S. Miller  <davem@davemloft.net>
25191         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25192         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25193         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25195 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25197         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25198         never set.
25199         * configure: Regenerated.
25201 2013-01-10  David S. Miller  <davem@davemloft.net>
25203         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25204         sparc V9 rather than using V8 code.
25205         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25206         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25208 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25210         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25211         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25212         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25213         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25214         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25215         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25216         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25217         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25218         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25219         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25220         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25221         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25222         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25223         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25224         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25225         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25226         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25227         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25228         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25229         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25230         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25231         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25232         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25233         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25234         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25235         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25236         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25238 2013-01-10  David S. Miller  <davem@davemloft.net>
25240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25242 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25244         * posix/Makefile (tests-static): New variable.
25245         (tests): Add $(tests-static).
25246         (tst-exec-static-ARGS): New variable.
25247         (tst-spawn-static-ARGS): Likewise.
25248         * posix/tst-exec-static.c: New file.
25249         * posix/tst-spawn-static.c: Likewise.
25250         * posix/tst-exec.c: Support run directly.
25251         * posix/tst-spawn.c: Likewise.
25253 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25255         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25256         long.
25257         * math/bits/mathcalls.h (llrint): Likewise.
25258         (llround): Likewise.
25259         * stdlib/stdlib.h (struct drand48_data): Likewise.
25260         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25261         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25262         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25263         Likewise.
25264         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25265         Likewise.
25266         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25267         (elf_greg_t): Likewise.
25268         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25269         (__jmp_buf): Likewise.
25270         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25271         definitions.
25272         (llrint): Likewise, for all definitions.
25273         (llrintl): Likewise.
25275         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25276         Remove [__GNUC__] condition.
25277         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25278         condition to just [__USE_ISOC99].
25279         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25281 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25283         [BZ #14200]
25284         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25285         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25286         defined.
25287         (_POSIX_V6_ILP32_OFF32): Likewise.
25288         (_XBS5_ILP32_OFF32): Likewise.
25289         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25290         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25292 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25294         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25297         doubles __mpexp_twomm1.  Adjust usage.
25298         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25299         Remove.
25301 2013-01-10  Andreas Schwab  <schwab@suse.de>
25303         [BZ #14964]
25304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25305         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25307 2013-01-09  David S. Miller  <davem@davemloft.net>
25309         [BZ #15003]
25310         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25311         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25312         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25313         (TCP_FASTOPEN): Define.
25314         (tcp_repair_opt): New structure.
25315         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25316         enum values.
25317         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25318         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25319         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25320         (tcp_cookie_transactions): New structure.
25322 2013-01-09  Anton Blanchard  <anton@samba.org>
25324         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25325         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25326         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25327         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25329 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25331         * include/features.h (__USE_ANSI): Remove.
25333 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25335         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25337         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25339 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25341         * sysdeps/s390/fpu/libm-test-ulps: Update.
25343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25345         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25346         (__acr): Likewise.
25347         (__cpy): Likewise.
25348         (norm): Likewise.
25349         (denorm): Likewise.
25350         (__mp_dbl): Likewise.
25351         (__dbl_mp): Likewise.
25352         (add_magnitudes): Likewise.
25353         (sub_magnitudes): Likewise.
25354         (__add): Likewise.
25355         (__sub): Likewise.
25356         (__mul): Likewise.
25357         (__inv): Likewise.
25358         (__dvd): Likewise.
25359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25360         (__acr): Likewise.
25361         (__cpy): Likewise.
25362         (norm): Likewise.
25363         (denorm): Likewise.
25364         (__mp_dbl): Likewise.
25365         (__dbl_mp): Likewise.
25366         (add_magnitudes): Likewise.
25367         (sub_magnitudes): Likewise.
25368         (__add): Likewise.
25369         (__sub): Likewise.
25370         (__mul): Likewise.
25371         (__inv): Likewise.
25372         (__dvd): Likewise.
25373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25374         (__acr): Likewise.
25375         (__cpy): Likewise.
25376         (norm): Likewise.
25377         (denorm): Likewise.
25378         (__mp_dbl): Likewise.
25379         (__dbl_mp): Likewise.
25380         (add_magnitudes): Likewise.
25381         (sub_magnitudes): Likewise.
25382         (__add): Likewise.
25383         (__sub): Likewise.
25384         (__mul): Likewise.
25385         (__inv): Likewise.
25386         (__dvd): Likewise.
25388 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25390         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25391         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25392         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25393         2 && __USE_EXTERN_INLINES]: Likewise.
25395 2013-01-08  Andreas Jaeger  <aj@suse.de>
25397         [BZ# 14985]
25398         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25399         Remove.
25400         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25401         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25403 2013-01-07  Anton Blanchard  <anton@samba.org>
25405         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25406         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25407         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25408         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25409         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25410         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25411         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25412         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25414         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25415         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25416         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25417         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25418         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25419         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25420         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25421         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25422         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25423         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25424         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25425         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25426         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25427         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25428         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25429         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25430         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25431         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25432         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25433         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25434         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25435         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25437         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25438         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25439         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25440         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25441         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25442         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25443         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25444         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25445         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25446         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25447         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25449 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
25451         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25452         (__MALLOC_PMT): Likewise.
25453         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25454         [__GNUC__], only on [_LIBC].
25455         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25456         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25457         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25458         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25459         forward declaration.
25460         (realloc_hook_ini): Likewise.
25461         (memalign_hook_ini): Likewise.
25462         (__libc_memalign): Do not use __MALLOC_PMT in variable
25463         declaration.
25464         (__libc_valloc): Likewise.
25465         (__libc_pvalloc): Likewise.
25466         (__libc_calloc): Likewise.
25467         (__posix_memalign): Likewise.
25469         [BZ #14996]
25470         * math/s_casinh.c: Include <float.h>.
25471         (__casinh): Do not do computation with squaring and square root
25472         for large arguments.
25473         * math/s_casinhf.c: Include <float.h>.
25474         (__casinhf): Do not do computation with squaring and square root
25475         for large arguments.
25476         * math/s_casinhl.c: Include <float.h>.
25477         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25478         (__casinhl): Do not do computation with squaring and square root
25479         for large arguments.
25480         * math/libm-test.inc (casin_test): Add more tests.
25481         (casinh_test): Likewise.
25482         * sysdeps/i386/fpu/libm-test-ulps: Update.
25483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25485 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
25487         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25488         (__x86_64_raw_data_cache_size): Likewise.
25489         (__x86_64_data_cache_size_half): Likewise.
25490         (__x86_64_raw_data_cache_size_half): Likewise.
25491         (__x86_64_shared_cache_size): Likewise.
25492         (__x86_64_raw_shared_cache_size): Likewise.
25493         (__x86_64_shared_cache_size_half): Likewise.
25494         (__x86_64_raw_shared_cache_size_half): Likewise.
25495         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25496         to ...
25497         (__x86_data_cache_size): This.
25498         (__x86_64_raw_data_cache_size): Renamed to ...
25499         (__x86_raw_data_cache_size): This.
25500         (__x86_64_data_cache_size_half): Renamed to ...
25501         (__x86_data_cache_size_half): This.
25502         (__x86_64_raw_data_cache_size_half): Renamed to ...
25503         (__x86_raw_data_cache_size_half): This.
25504         (__x86_64_shared_cache_size): Renamed to ...
25505         (__x86_shared_cache_size): This.
25506         (__x86_64_raw_shared_cache_size): Renamed to ...
25507         (__x86_raw_shared_cache_size): This.
25508         (__x86_64_shared_cache_size_half): Renamed to ...
25509         (__x86_shared_cache_size_half): This.
25510         (__x86_64_raw_shared_cache_size_half): Renamed to ...
25511         (__x86_raw_shared_cache_size_half): This.
25512         * sysdeps/x86_64/memcpy.S: Updated.
25513         * sysdeps/x86_64/memset.S: Likewise.
25514         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25515         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25516         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25518 2013-01-04  David S. Miller  <davem@davemloft.net>
25520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25522 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
25524         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25525         1 to avoid redefinition warning.
25526         (__USE_GNU): Don't define.
25527         (init_signaling_nan): Protoize.
25529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25531 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25533         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25535         (__cpymn): Likewise.
25536         (norm): Remove commented code.
25537         (denorm): Likewise.
25538         (__mp_dbl): Likewise.
25539         (__inv): Likewise.
25540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25541         (__cpymn): Likewise.
25542         (norm): Remove commented code.
25543         (denorm): Likewise.
25544         (__mp_dbl): Likewise.
25545         (__inv): Likewise.
25547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25548         mp_no value for 1.0 and 2.0.
25549         (norm): Use RADIXI instead of radixi.d.
25550         (denorm): Likewise.
25551         (__mul): Use 0.0 instead of zero.d.
25552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25553         mp_no value for 1.0 and 2.0.
25554         (norm): Use RADIXI instead of radixi.d.
25555         (denorm): Likewise.
25556         (__mul): Use 0.0 instead of zero.d.
25558 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
25560         [BZ #14994]
25561         * math/s_casinh.c (__casinh): Reduce finite argument to first
25562         quadrant then set signs of results at the end.
25563         * math/s_casinhf.c (__casinhf): Likewise.
25564         * math/s_casinhl.c (__casinhl): Likewise.
25565         * math/libm-test.inc (casin_test): Add more tests.
25566         (casinh_test): Likewise.
25567         * sysdeps/i386/fpu/libm-test-ulps: Update.
25568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25570 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25572         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25574         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25576         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25577         declarations.
25578         (denorm): Likewise.
25579         (__mp_dbl): Likewise.
25580         (__inv): Likewise.
25582         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25583         and adjust the header comment.
25585         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25586         variable name from declaration.
25588 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
25590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25591         Initialize COMMON_CPUID_INDEX_7 element.
25592         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25593         (CPUID_RTM): Likewise.
25594         (HAS_RTM): Likewise.
25595         (COMMON_CPUID_INDEX_7): New enum.
25597 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
25599         [BZ #14981]
25600         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25601         size is zero, record memory as freed.
25603 2013-01-03  Andreas Jaeger  <aj@suse.de>
25605         * po/ia.po: Add new Interlingua translation.
25607 2012-01-03  Allan McRae  <allan@archlinux.org>
25609         * locale/programs/localedef.c: Fix description of '--posix' flag.
25611 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
25613         * NEWS: Update dates in second copyright notice.
25614         * README: Update copyright dates in example.
25615         * manual/libc.texinfo: Update copyright dates.
25616         * scripts/test-installation.pl: Update copyright date in --version
25617         output.
25619         * hurd/ctty-input.c: Fix copyright notice formatting.
25620         * hurd/ctty-output.c: Likewise.
25621         * hurd/dtable.c: Likewise.
25622         * hurd/hurd-raise.c: Likewise.
25623         * hurd/hurdprio.c: Likewise.
25624         * hurd/msgportdemux.c: Likewise.
25625         * misc/sys/file.h: Likewise.
25626         * misc/sys/ioctl.h: Likewise.
25627         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25628         * sysdeps/mach/hurd/chdir.c: Likewise.
25629         * sysdeps/mach/hurd/fchdir.c: Likewise.
25630         * sysdeps/mach/hurd/rename.c: Likewise.
25631         * sysdeps/mach/hurd/rmdir.c: Likewise.
25632         * sysdeps/mach/hurd/seekdir.c: Likewise.
25633         * sysdeps/mach/hurd/setsid.c: Likewise.
25634         * sysdeps/posix/wait3.c: Likewise.
25636         * All files with FSF copyright notices: Update copyright dates
25637         using scripts/update-copyrights.
25638         * intl/plural.c: Regenerated.
25639         * locale/programs/charmap-kw.h: Likewise.
25640         * locale/programs/locfile-kw.h: Likewise.
25642 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25644         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25645         four values.
25647         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25648         calculation loop and add branch prediction.
25650         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25651         check access beyond bounds of m1np.
25653         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25654         MPTWO.
25655         (__inv): Remove local variable MPTWO to use the global
25656         constant.
25657         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25658         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25659         variable MPTWO.
25660         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25661         MP3HALFS static const.
25663 2013-01-01  David S. Miller  <davem@davemloft.net>
25665         * po/ca.po: Update from translation team.
25667 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25669         * scripts/update-copyrights: New file.
25670         * Makeconfig: Reformat copyright notice.
25671         * ctype/ctype.h: Likewise.
25672         * debug/swprintf_chk.c: Likewise.
25673         * elf/dl-cache.c: Likewise.
25674         * elf/dl-debug.c: Likewise.
25675         * elf/dl-object.c: Likewise.
25676         * grp/initgroups.c: Likewise.
25677         * hurd/Makefile: Likewise.
25678         * hurd/hurd/signal.h: Likewise.
25679         * hurd/hurdfault.c: Likewise.
25680         * hurd/hurdioctl.c: Likewise.
25681         * hurd/hurdlookup.c: Likewise.
25682         * hurd/intr-msg.c: Likewise.
25683         * iconv/gconv_open.c: Likewise.
25684         * libio/swprintf.c: Likewise.
25685         * locale/lc-ctype.c: Likewise.
25686         * locale/nl_langinfo.c: Likewise.
25687         * mach/Machrules: Likewise.
25688         * mach/Makefile: Likewise.
25689         * malloc/obstack.h: Likewise.
25690         * manual/Makefile: Likewise.
25691         * manual/tsort.awk: Likewise.
25692         * misc/bits/stab.def: Likewise.
25693         * nis/nis_print_group_entry.c: Likewise.
25694         * nis/nis_table.c: Likewise.
25695         * nis/nss_compat/compat-pwd.c: Likewise.
25696         * nis/nss_compat/compat-spwd.c: Likewise.
25697         * po/Makefile: Likewise.
25698         * posix/fnmatch.c: Likewise.
25699         * posix/regex.h: Likewise.
25700         * resolv/Makefile: Likewise.
25701         * resolv/nss_dns/dns-network.c: Likewise.
25702         * resolv/res_hconf.c: Likewise.
25703         * scripts/gen-sorted.awk: Likewise.
25704         * soft-fp/soft-fp.h: Likewise.
25705         * stdio-common/printf.h: Likewise.
25706         * stdlib/monetary.h: Likewise.
25707         * stdlib/random.c: Likewise.
25708         * stdlib/random_r.c: Likewise.
25709         * sysdeps/generic/Makefile: Likewise.
25710         * sysdeps/gnu/Makefile: Likewise.
25711         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25712         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25713         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25715         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25716         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25717         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25718         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25719         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25721         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25722         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25723         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25724         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25725         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25726         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25727         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25728         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25730         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25731         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25732         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25733         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25734         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25735         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25736         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25737         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25738         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25739         * sysdeps/mach/hurd/errnos.awk: Likewise.
25740         * sysdeps/mach/hurd/fork.c: Likewise.
25741         * sysdeps/mach/hurd/getcwd.c: Likewise.
25742         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25743         * sysdeps/mach/hurd/mmap.c: Likewise.
25744         * sysdeps/mach/hurd/utimes.c: Likewise.
25745         * sysdeps/mach/hurd/xmknod.c: Likewise.
25746         * sysdeps/posix/profil.c: Likewise.
25747         * sysdeps/posix/readdir_r.c: Likewise.
25748         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25749         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25750         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25751         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25753         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25754         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25755         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25757         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25758         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25759         * sysdeps/pthread/lio_listio.c: Likewise.
25760         * sysdeps/sparc/dl-procinfo.h: Likewise.
25761         * sysdeps/unix/i386/sysdep.S: Likewise.
25762         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25763         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25764         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25765         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25767         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25768         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25769         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25770         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25771         * sysdeps/wordsize-32/divdi3.c: Likewise.
25772         * time/sys/time.h: Likewise.
25773         * wcsmbs/Makefile: Likewise.
25775 2013-01-01  David S. Miller  <davem@davemloft.net>
25777         * po/fr.po: Update from translation team.
25779         * catgets/gencat.c: Update copyright year.
25780         * csu/version.c: Likewise.
25781         * debug/catchsegv.sh: Likewise.
25782         * debug/pcprofiledump.c: Likewise.
25783         * debug/xtrace.sh: Likewise.
25784         * elf/ldconfig.c: Likewise.
25785         * elf/ldd.bash.in: Likewise.
25786         * elf/pldd.c: Likewise.
25787         * elf/sotruss.ksh: Likewise.
25788         * elf/sprof.c: Likewise.
25789         * iconv/iconv_prog.c: Likewise.
25790         * iconv/iconvconfig.c: Likewise.
25791         * locale/programs/locale.c: Likewise.
25792         * locale/programs/localedef.c: Likewise.
25793         * login/programs/pt_chown.c: Likewise.
25794         * malloc/memusage.sh: Likewise.
25795         * malloc/memusagestat.c: Likewise.
25796         * malloc/mtrace.pl: Likewise.
25797         * nscd/nscd.c: Likewise.
25798         * nss/getent.c: Likewise.
25799         * nss/makedb.c: Likewise.
25800         * posix/getconf.c: Likewise.
25802 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25804         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25805         numbers.
25807 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25809         * math/bits/mathcalls.h (modf): Use __nonnull.
25811 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25813         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25814         (split): Use macro CN instead of the bare value.
25815         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25816         could be used.
25817         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25818         instead of the bare value.
25819         (power1): Likewise.
25821 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25823         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25824         __ATAN_TWOM.
25825         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25827         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25828         their values.
25829         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25830         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25831         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25832         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25834 2012-12-28  Andreas Jaeger  <aj@suse.de>
25836         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25837         values are from Linux 3.7.
25839         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25840         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25842 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25844         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25845         TRUE case.
25847         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25848         (norm): Likewise.
25849         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25850         variables with preprocessor constants.
25851         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25852         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25853         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25855 2012-12-27  Bruno Haible  <bruno@clisp.org>
25857         [BZ #14317]
25858         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25859         only if needed.
25861 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25863         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25864         and use variable directly.
25865         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25867         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25868         MPONE.
25869         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25870         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25871         variable MPONE.
25872         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25874         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25875         include directive.  Remove local variable MPONE.
25876         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25877         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25878         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25880 2012-12-25  David S. Miller  <davem@davemloft.net>
25882         * version.h (RELEASE): Set to "development".
25883         (VERSION): Set to "2.17.90".
25884         * NEWS: Add 2.18 section.
25886 2012-12-21  David S. Miller  <davem@davemloft.net>
25888         * po/hr.po: Update from translation team.
25890 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25892         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25894 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25896         * NEWS:  Mention new memcpy for MIPS.
25898 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25900         * manual/contrib.texi (Contributors): Spelling correction.
25902 2012-12-15  David S. Miller  <davem@davemloft.net>
25904         * po/ru.po: Update from translation team.
25906 2012-12-13  David S. Miller  <davem@davemloft.net>
25908         * NEWS: Mention IFUNC testsuite enhancements.
25910         * po/pl.po: Update from translation team.
25911         * po/bg.po: Likewise.
25913         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25914         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25916 2012-12-11  David S. Miller  <davem@davemloft.net>
25918         * po/sv.po: Update from translation team.
25920         * po/vi.po: Update from translation team.
25922         * po/cs.po: Update from translation team.
25924         * po/de.po: Update from translation team.
25925         * po/eo.po: Likewise.
25926         * po/nl.po: Likewise.
25928 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25930         [BZ #14246]
25931         * manual/argp.texi (Argp Helper Functions): Move node to follow
25932         Argp Parsing State.
25934         [BZ #14872]
25935         * manual/conf.texi (Limits on File System Capacity): Mention if
25936         terminating null is included in the max size.
25938 2012-12-10  Andreas Jaeger  <aj@suse.de>
25940         * po/cs.po: Update from translation team.
25942 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25944         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25945         void pointer and cast to uintptr_t.
25946         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25947         path.
25948         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25949         * sysdeps/s390/s390-64/memset.S: Likewise.
25951 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25953         [BZ #14833]
25954         * menual/message.texi (Message Translation): Fix typos.
25955         (Helper programs for gettext): Likewise.
25957 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25959         [BZ #14898]
25960         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25961         Change to -1.
25963 2012-12-07  David S. Miller  <davem@davemloft.net>
25965         * po/libc.pot: Update.
25967 2012-12-07  Richard Henderson  <rth@redhat.com>
25969         [BZ #10114]
25970         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25971         normal/normal case to before the switch.
25972         (_FP_DIV): Likewise.
25974 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25975             Mike Frysinger  <vapier@gentoo.org>
25977         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25978         check for __NR_fadvise64_64.
25980 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25982         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25983         0, not just to plain "0" as a statement.
25984         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25985         with cw.
25987 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25989         * NEWS: Use sourceware.org in Bugzilla URL.
25991 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25994         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25996         * stdio-common/tst-put-error.c (do_test): Add newline to the
25997         padded test to ensure flush.
25999 2012-12-05  Jeff Law  <law@redhat.com>
26001         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26003 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26005         * README: Don't refer to ports add-on as distributed separately.
26006         Mention AArch64 in list of systems supported in the ports add-on.
26008         * LICENSES: Add more non-FSF copyright and license notices.
26010         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26011         ((unused)).
26013         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26015         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26016         10000 as width of padded output.
26018 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26020         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26022         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26023         variable LX with __attribute__ ((unused)).
26024         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26025         Likewise.
26026         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26027         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26028         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26029         with __attribute__ ((unused)).
26031 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26033         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26035 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26037         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26038         (CFLAGS-nldbl-acos.c): New variable.
26039         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26040         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26041         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26042         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26043         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26044         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26045         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26046         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26047         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26048         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26049         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26050         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26051         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26052         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26053         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26054         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26055         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26056         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26057         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26058         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26059         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26060         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26061         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26062         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26063         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26064         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26065         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26066         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26067         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26068         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26069         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26070         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26071         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26072         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26073         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26074         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26075         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26076         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26077         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26078         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26079         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26080         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26081         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26082         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26083         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26084         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26085         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26086         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26087         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26088         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26089         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26090         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26091         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26092         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26093         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26094         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26095         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26096         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26097         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26098         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26099         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26100         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26101         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26102         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26103         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26104         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26105         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26106         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26107         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26108         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26109         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26110         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26111         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26112         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26113         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26114         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26115         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26116         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26117         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26118         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26119         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26120         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26121         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26122         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26123         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26124         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26125         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26126         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26127         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26128         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26129         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26130         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26131         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26132         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26133         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26134         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26135         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26138         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26140         [BZ #14914]
26141         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26142         whole low double instead of just low 47 bits when splitting values
26143         into two parts.
26145 2012-12-03  Allan McRae  <allan@archlinux.org>
26147         * manual/stdio.texi (Predefined Printf Handlers): Remove
26148         @hsep and @vsep usage.
26150 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26152         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26153         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26155 2012-12-03  Jeff Law  <law@redhat.com>
26157         * time/sys/time.h (settimeofday): Do not mark TV argument
26158         as __nonnull.
26160 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26162         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26163         when currently writing and seek to current position when not.
26164         * libio/Makefile (tests): Remove bug-fclose1.
26165         * libio/bug-fclose1.c: Delete.
26167 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26169         * manual/arith.texi (feenableexcept): Fix typo.
26170         (fedisableexcept): Likewise.
26172 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26174         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26175         second, differently-typed declaration, rather than a cast.
26177 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26179         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26180         * include/rpc/svc.h: ... here.
26182 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26184         [BZ #13013]
26185         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26186         depending n and resplen2 to catch cases where answer
26187         equals answerp2.
26189 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26191         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26192         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26194 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26196         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26198 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26200         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26202 2012-11-28  Jeff Law  <law@redhat.com>
26204         [BZ #13761]
26205         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26206         dataset_temporary.  Track alloca usage into alloca_used.
26207         If dataset is large allocate and release it via malloc/free.
26209 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26211         [BZ #14197]
26212         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26214 2012-11-28  David S. Miller  <davem@davemloft.net>
26216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26218 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26220         [BZ #14803]
26221         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26222         of pi/2 rounded to nearest to 64 bits.
26223         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26224         nearest to 64 bits.
26225         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26226         bits.
26228 2012-11-28  Jeff Law <law@redhat.com>
26229             Martin Osvald <mosvald@redhat.com>
26231         [BZ #14889]
26232         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26233         * sunrpc/svc.c: Include time.h.
26234         (__svc_accept_failed): New function.
26235         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26236         any reason other than EINTR, call __svc_accept_failed.
26237         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26238         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26240 2012-11-28  Andreas Schwab  <schwab@suse.de>
26242         * scripts/abilist.awk: Also handle indirect functions in .opd
26243         section.
26245 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26247         [BZ #13881]
26248         * sysdeps/x86/fpu/powl_helper.c: New file.
26249         * sysdeps/x86/fpu/Makefile: Likewise.
26250         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26251         (p3): New object.
26252         (__ieee754_powl): Use __powl_helper for finite arguments except
26253         integer exponents below 8.
26254         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26255         (p3): New object.
26256         (__ieee754_powl): Use __powl_helper for finite arguments except
26257         integer exponents below 8.
26258         * math/libm-test.inc (pow_test): Add more tests and enable some
26259         previously disabled tests.
26260         * sysdeps/i386/fpu/libm-test-ulps: Update.
26261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26263 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26264             Carlos O'Donell  <carlos_odonell@mentor.com>
26266         * nss/makedb.c (is_prime): Assert that input is odd and greater
26267         than 4.  Note that fact in a comment too.
26268         (next_prime): Add 4 to input.
26270 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26272         [BZ #11741]
26273         * libio/Makefile (tests): Add test case tst-fwrite-error.
26274         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26275         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26276         * libio/tst-fwrite-error.c: New test case.
26278 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26280         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26281         before casting to void *.
26282         * include/libc-internal.h (__pointer_type): New macro.
26283         (__integer_if_pointer_type_sub): Likewise.
26284         (__integer_if_pointer_type): Likewise.
26285         (cast_to_integer): Likewise.
26286         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26287         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26288         before casting to atomic64_t.
26289         (atomic_exchange_acq): Likewise.
26290         (__arch_exchange_and_add_body): Likewise.
26291         (__arch_add_body): Likewise.
26292         (atomic_add_negative): Likewise.
26293         (atomic_add_zero): Likewise.
26295 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26297         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26298         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26299         (add_fdes): Likewise.
26300         (linear_search_fdes): Likewise.
26301         (binary_search_unencoded_fdes): Likewise.
26303 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26305         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26307 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26309         * configure.in: Autodetect C++ header directories.
26310         * configure: Regenerated.
26312 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26314         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26316 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26320 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26322         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26323         LDBL_MANT_DIG == 106]: Disable some tests.
26324         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26325         Likewise.
26326         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26327         Likewise.
26329         [BZ #14871]
26330         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26331         input for small inputs.  Return +/- pi/2 for large inputs.
26332         * math/libm-test.inc (atan_test): Add more tests.
26334         * sysdeps/generic/unwind-dw2-fde-glibc.c
26335         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26336         __attribute__ ((unused)).
26338         [BZ #14645]
26339         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26340         x * y if x and y are nonzero and z is zero.
26342         [BZ #14811]
26343         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26344         nonzero exponents with absolute value below 0x1p-117 to +/-
26345         0x1p-117.
26347         [BZ #14869]
26348         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26349         up arguments below 2**-450, not just those below 2**-500.
26350         * math/libm-test.inc (hypot_test): Add another test.
26352         [BZ #14868]
26353         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26354         Return a+b for ratio over 2**120, not 2**60.
26355         * math/libm-test.inc (hypot_test): Add another test.
26357         * math/libm-test.inc (clog_test): Use
26358         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26359         (clog10_test): Likewise.
26361         [BZ #6778]
26362         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26364 2012-11-22  Andreas Schwab  <schwab@suse.de>
26366         * sysdeps/i386/fpu/libm-test-ulps: Update.
26368 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26370         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26371         printf output with newline.
26373 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26375         [BZ #14865]
26376         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26377         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26378         -z nodlopen, -z initfirst and -z execstack support.
26379         * configure: Regenerated.
26381         * elf/elf.h (DF_1_NODIRECT): New macro.
26382         (DF_1_IGNMULDEF): Likewise.
26383         (DF_1_NOKSYMS): Likewise.
26384         (DF_1_NOHDR): Likewise.
26385         (DF_1_EDITED): Likewise.
26386         (DF_1_NORELOC): Likewise.
26387         (DF_1_SYMINTPOSE): Likewise.
26388         (DF_1_GLOBAUDIT): Likewise.
26389         (DF_1_SINGLETON): Likewise.
26390         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26391         DT_1_SUPPORTED_MASK bits.
26392         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26394 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26396         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26398 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26400         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26401         macro.
26403         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26404         (sendmmsg): Move declarations...
26405         * socket/sys/socket.h: ... here.
26406         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26407         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26408         include it from...
26409         * socket/recvmmsg.c: ... this new file.
26410         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26411         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26412         definition of __sendmmsg hidden.
26413         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26414         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26415         Move ENOSYS stub into and include it from...
26416         * socket/sendmmsg.c: ... this new file.
26417         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26418         (sysdep_routines): Move recvmmsg and sendmmsg...
26419         * socket/Makefile (routines): ... here.
26420         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26421         (GLIBC_PRIVATE): Add __sendmmsg.
26422         * include/sys/socket.h (__sendmmsg): Add declarations.
26423         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26424         sendmmsg.
26426 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
26428         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26429         variable I1 with __attribute__ ((unused)).
26430         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26432 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26434         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26435         DUMMY variables with __attribute__ ((unused)).
26437         * bits/byteswap.h: Include <bits/types.h>.
26438         (__bswap_64): Use __uint64_t instead of unsigned long long int.
26440 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26442         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26443         string_t.  Do not manually set errno.
26444         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26445         length with __strnlen.  Make sure to both set errno and return it on
26446         failure.
26448 2012-11-19  David S. Miller  <davem@davemloft.net>
26450         With help from Joseph Myers.
26451         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26452         very large arguments properly.
26453         * math/libm-test.inc (atan_test): New tests.
26454         (atan2_test): New tests.
26455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26458 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
26460         [BZ #14856]
26461         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26462         Define to 3.
26464         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26465         [POSIX] (EADDRNOTAVAIL): Likewise.
26466         [POSIX] (EAFNOSUPPORT): Likewise.
26467         [POSIX] (EALREADY): Likewise.
26468         [POSIX] (ECONNABORTED): Likewise.
26469         [POSIX] (ECONNREFUSED): Likewise.
26470         [POSIX] (ECONNRESET): Likewise.
26471         [POSIX] (EDESTADDRREQ): Likewise.
26472         [POSIX] (EDQUOT): Likewise.
26473         [POSIX] (EHOSTUNREACH): Likewise.
26474         [POSIX] (EIDRM): Likewise.
26475         [POSIX] (EISCONN): Likewise.
26476         [POSIX] (ELOOP): Likewise.
26477         [POSIX] (EMULTIHOP): Likewise.
26478         [POSIX] (ENETDOWN): Likewise.
26479         [POSIX] (ENETUNREACH): Likewise.
26480         [POSIX] (ENOBUFS): Likewise.
26481         [POSIX] (ENODATA): Likewise.
26482         [POSIX] (ENOLINK): Likewise.
26483         [POSIX] (ENOMSG): Likewise.
26484         [POSIX] (ENOPROTOOPT): Likewise.
26485         [POSIX] (ENOSR): Likewise.
26486         [POSIX] (ENOSTR): Likewise.
26487         [POSIX] (ENOTCONN): Likewise.
26488         [POSIX] (ENOTSOCK): Likewise.
26489         [POSIX] (EOPNOTSUPP): Likewise.
26490         [POSIX] (EOVERFLOW): Likewise.
26491         [POSIX] (EPROTO): Likewise.
26492         [POSIX] (EPROTONOSUPPORT): Likewise.
26493         [POSIX] (EPROTOTYPE): Likewise.
26494         [POSIX] (ESTALE): Likewise.
26495         [POSIX] (ETIME): Likewise.
26496         [POSIX] (ETXTBSY): Likewise.
26497         [POSIX] (EWOULDBLOCK): Likewise.
26498         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26499         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26500         [POSIX] (SEEK_CUR): Likewise.
26501         [POSIX] (SEEK_END): Likewise.
26502         [POSIX || UNIX98] (mode_t): Do not require.
26503         [POSIX] (off_t): Likewise.
26504         [POSIX] (pid_t): Likewise.
26505         [POSIX] (sys/stat.h): Do not allow header.
26506         [POSIX] (unistd.h): Likewise.
26507         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26508         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26509         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26510         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26511         require.
26512         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26513         sigevent): Specify elements.
26514         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26515         entry.
26516         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26517         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26519         * conform/data/cpio.h-data [POSIX]: Disable whole file.
26520         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26521         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26522         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26523         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26524         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26525         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26526         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26527         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26528         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26529         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26530         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26531         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26532         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26533         Likewise.
26534         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26535         Likewise.
26536         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26537         Likewise.
26538         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26539         Likewise.
26540         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26541         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26542         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26543         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26544         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26545         Specify lower bound on value.
26546         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26547         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26548         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26549         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26550         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26551         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26552         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26553         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26554         value.
26555         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26556         as optional.
26557         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26558         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26559         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26560         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26561         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26562         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26563         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26564         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26565         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26566         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26567         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26568         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26569         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26570         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26571         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26572         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26573         entry.
26574         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26575         optional.
26576         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26577         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26578         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26579         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26580         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26581         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26582         Likewise.
26583         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26584         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26585         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26586         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26587         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
26588         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26589         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26590         as optional.
26591         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26592         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26593         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26594         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26595         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26596         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26597         specify as optional.
26598         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26599         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26600         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26601         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26602         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26603         [XPG3] (NL_LANGMAX): Likewise.
26604         [POSIX || XPG3] (NL_MSGMAX): Likewise.
26605         [POSIX || XPG3] (NL_NMAX): Likewise.
26606         [POSIX || XPG3] (NL_SETMAX): Likewise.
26607         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26608         [XPG3] (NZERO): Likewise.
26609         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26610         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26611         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26612         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26613         (REG_ERANGE): Expect.
26614         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26615         optional-constant.
26616         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26617         Use (void) in prototype.
26618         [POSIX] (*_t): Allow.
26619         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26620         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26621         (WRDE_BADVAL): Expect.
26623         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26624         expect.
26625         [XPG3 || XPG4] (O_RSYNC): Likewise.
26626         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26627         Likewise.
26628         [XPG3 || XPG4] (pthread_sigmask): Likewise.
26629         [XPG3 || XPG4] (sigqueue): Likewise.
26630         [XPG3 || XPG4] (sigtimedwait): Likewise.
26631         [XPG3 || XPG4] (sigwaitinfo): Likewise.
26632         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26633         [XPG3 || XPG4] (vsnprintf): Likewise.
26634         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26635         Likewise.
26636         [XPG3 || XPG4] (blksize_t): Likewise.
26637         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26638         Likewise.
26639         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26640         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26641         [XPG3 || XPG4] (struct itimerspec): Likewise.
26642         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26643         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26644         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26645         [XPG3 || XPG4] (clockid_t): Likewise.
26646         [XPG3 || XPG4] (timer_t): Likewise.
26647         [XPG3 || XPG4] (clock_getres): Likewise.
26648         [XPG3 || XPG4] (clock_gettime): Likewise.
26649         [XPG3 || XPG4] (clock_settime): Likewise.
26650         [XPG3 || XPG4] (nanosleep): Likewise.
26651         [XPG3 || XPG4] (timer_create): Likewise.
26652         [XPG3 || XPG4] (timer_delete): Likewise.
26653         [XPG3 || XPG4] (timer_gettime): Likewise.
26654         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26655         [XPG3 || XPG4] (timer_settime): Likewise.
26656         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26657         [XPG3 || XPG4] (getlogin_r): Likewise.
26658         [XPG3 || XPG4] (pread): Likewise.
26659         [XPG3 || XPG4] (pthread_atfork): Likewise.
26660         [XPG3 || XPG4] (pwrite): Likewise.
26662         [BZ #14835]
26663         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26664         <bits/siginfo.h>.
26666 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26668         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26669         finalizing MALLSTREAM.
26671         * sysdeps/mach/hurd/syncfs.c: New file.
26673 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26675         [BZ #14719]
26676         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26677         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26678         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26679         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26680         (_nss_dns_gethostbyname4_r): Likewise.
26681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26682         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26684 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26686         [BZ #13763]
26687         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26689 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26691         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26692         * elf/cache.c (print_entry): Print ",AArch64" for
26693         FLAG_AARCH64_LIB64
26695         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26696         * elf/cache.c (print_entry): Print ",hard-float" for
26697         FLAG_ARM_LIBHF.
26699 2012-11-18  David S. Miller  <davem@davemloft.net>
26701         With help from Joseph Myers.
26702         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26703         cutoff to 2**-13.
26704         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26705         cutoff to 2**-25.
26706         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26707         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26708         small.
26709         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26710         * math/libm-test.inc (y0_test): New tests.
26711         (y1_test): New tests.
26712         * sysdeps/i386/fpu/libm-test-ulps: Update.
26713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26716 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26718         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26719         64-bit targets.
26720         * configure: Regenerated.
26722 2012-11-17  David S. Miller  <davem@davemloft.net>
26724         [BZ #14811]
26725         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26726         nonzero exponents with absolute value below 0x1p-128 to +/-
26727         0x1p-128.
26729 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26731         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26733         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26735         * posix/getconf-speclist.c: New file.
26736         * posix/posix-envs.def: Likewise.
26737         * posix/confstr.c (START_ENV_GROUP): New macro.
26738         (END_ENV_GROUP): Likewise.
26739         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26740         (KNOWN_PRESENT_ENV_STRING): Likewise.
26741         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26742         (UNKNOWN_ENVIRONMENT): Likewise.
26743         (confstr): Include posix-envs.def instead of handling
26744         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26745         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26746         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26747         (END_ENV_GROUP): Likewise.
26748         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26749         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26750         (UNKNOWN_ENVIRONMENT): Likewise.
26751         (__sysconf): Include posix-envs.def instead of handling associated
26752         cases directly here.
26753         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26754         preprocessing getconf-speclist.c rather than running getconf or
26755         generating empty file.
26757 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26759         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26761 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26763         [BZ #14672]
26764         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26766 2012-11-16  David S. Miller  <davem@davemloft.net>
26768         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26769         smaller than LDBL_EPSILON/2.0L, just return xm1.
26771 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26773         * elf/tst-array1.c (init): Set constructor priority to 1000.
26774         (fini): Set destructor priority to 1000.
26775         * elf/tst-array2dep.c: Likewise.
26777 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26779         [BZ #11741]
26780         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26781         (_IO_new_file_xsputn): Also return EOF if none of the input
26782         data was written when overflow failed.
26783         * libio/iopadn.c (_IO_padn): Likewise.
26784         * libio/iowpadn.c (_IO_wpadn): Likewise.
26785         * stdio-common/tst-put-error.c: Add copyright notice.
26786         (do_test): Add case for printing padded string.
26787         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26788         _IO_padn returned error.
26789         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26790         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26791         return EOF.
26793 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26795         * libio/libioP.h: Add comment note that the references to C++
26796         bits are now obsolete.
26798 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26800         * math/libm-test.inc (check_complex): Use asprintf.
26802 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26804         * debug/pcprofiledump.c (print_version): Update copyright year.
26805         * malloc/memusagestat.c (print_version): Likewise.
26807 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26809         [BZ #14831]
26810         * elf/Makefile (tests): Add tst-audit8.
26811         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26812         ($(objpfx)tst-audit8.out): New target.
26813         (tst-audit8-ENV): New variable.
26814         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26815         audit if l_reloc_result is NULL.
26816         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26817         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26818         * elf/tst-audit8.c: New file.
26820 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26822         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26823         * misc/Makefile (CFLAGS-select.c): Define.
26824         * posix/Makefile (CFLAGS-pause.c): Define.
26826 2012-11-13  David S. Miller  <davem@davemloft.net>
26828         * crypt/Makefile: Move test targets after toplevel Rules
26829         inclusion.  Grab any necessary sysdep routines when linking.
26830         * crypt/md5.c (md5_process_block): Remove define, we will always
26831         name it __md5_process_block.
26832         (md5_finish_ctx): Update md5_process_block call.
26833         (md5_stream): Likewise.
26834         (md5_process_bytes): Likewise.
26835         (md5_process_block): Rename to __md5_process_block and move to ...
26836         * crypt/md5-block.c: ... here.
26837         * crypt/sha256.c (sha256_process_block): Move to ...
26838         * crypt/sha256-block.c: ... here.
26839         * crypt/sha512.c (sha512_process_block): Move to ...
26840         * crypt/sha512-block.c: ... here.
26841         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26842         path.
26843         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26844         * sysdeps/sparc/sparc64/multiarch/Makefile
26845         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26846         crypt subdir.
26847         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26848         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26849         multiarch changes.
26850         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26851         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26852         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26853         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26854         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26855         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26856         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26857         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26858         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26859         file.
26860         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26861         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26862         file.
26863         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26865 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26867         * timezone/tzselect.ksh: Update from tzcode git revision
26868         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26869         * timezone/zdump.c: Likewise.
26870         * timezone/zic.c: Likewise.
26871         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26872         in TZVERSION setting, not $(PKGVERSION).
26873         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26874         REPORT_BUGS_TO settings.
26876         [BZ #14838]
26877         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26878         macro.
26880 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26882         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26883         detection to immediately after _FP_ROUND().
26884         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26885         bits are 0.
26887 2012-11-11  David S. Miller  <davem@davemloft.net>
26889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26890         inttypes.h
26891         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26892         __close rather than their public counterparts.
26894 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26896         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26897         file.
26898         [UNIX98] (sem_timedwait): Do not expect.
26899         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26900         [XPG4 || UNIX98] (sockatmark): Do not expect.
26901         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26902         (clock_getcpuclockid): Do not expect.
26903         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26904         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26905         Do not expect.
26906         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26907         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26908         [UNIX98] (vwscanf): Likewise.
26909         [UNIX98] (vswscanf): Likewise.
26911 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26913         * timezone/version.h: Remove file.
26914         * timezone/README: Do not refer to version.h.
26915         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26916         $(objpfx)version.h.
26917         ($(objpfx)zdump.o): Likewise.
26918         ($(objpfx)version.h): New target.
26920         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26921         2012i.
26922         * timezone/README: Don't mention modification to tzselect.ksh.
26923         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26924         work on unmodified tzselect.ksh.  Substitute version numbers in
26925         tzselect.ksh.
26927         * Makefile (format-me): Remove.
26928         (INSTALL): Adjust indentation.  Use commands directly instead of
26929         using $(format-me).
26931         * aclocal.m4 (ACX_PKGVERSION): New macro.
26932         (ACX_BUGURL): Likewise.
26933         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26934         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26935         (REPORT_BUGS_TO): Likewise.
26936         * configure: Regenerated.
26937         * config.h.in (PKGVERSION): New macro.
26938         (REPORT_BUGS_TO): Likewise.
26939         * config.make.in (PKGVERSION): New variable.
26940         (PKGVERSION_TEXI): Likewise.
26941         (REPORT_BUGS_TO): Likewise.
26942         (REPORT_BUGS_TEXI): Likewise.
26943         * Makefile (format-me): Use -I$(common-objpfx)manual.
26944         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26945         ($(common-objpfx)manual/%): New target.
26946         (manual/%): Remove target.
26947         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26948         (print_version): Use PKGVERSION.
26949         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26950         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26951         and REPORT_BUGS_TO.
26952         ($(objpfx)xtrace): Likewise.
26953         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26954         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26955         (print_version): Use PKGVERSION.
26956         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26957         (do_version): Use PKGVERSION.
26958         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26959         REPORT_BUGS_TO.
26960         (common-ldd-rewrite): Likewise.
26961         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26962         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26963         (print_version): Use PKGVERSION.
26964         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26965         * elf/pldd.c (argp_program_bug_address): Remove variable.
26966         (more_help): New function.
26967         (argp): Use more_help.
26968         (print_version): Use PKGVERSION.
26969         * elf/sln.c (main): Use PKGVERSION.
26970         (usage): Use REPORT_BUGS_TO.
26971         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26972         (top level): Use PKGVERSION.
26973         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26974         (print_version): Use PKGVERSION.
26975         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26976         (print_version): Use PKGVERSION.
26977         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26978         (print_version): Use PKGVERSION.
26979         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26980         (print_version): Use PKGVERSION.
26981         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26982         (print_version): Use PKGVERSION.
26983         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26984         (print_version): Use PKGVERSION.
26985         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26986         and BUGURL.
26987         ($(objpfx)memusage): Likewise.
26988         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26989         (do_version): Use PKGVERSION.
26990         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26991         (print_version): Use PKGVERSION.
26992         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26993         ($PKGVERSION): New variable.
26994         ($REPORT_BUGS_TO): Likewise.
26995         (usage): Use $REPORT_BUGS_TO.
26996         (top level): Use $PKGVERSION.
26997         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26998         ($(objpfx)pkgvers.texi): New rule.
26999         ($(objpfx)stamp-pkgvers): Likewise.
27000         * manual/install.texi: Include pkgvers.texi.
27001         (--with-pkgversion): Document new configure option.
27002         (--with-bugurl): Likewise.
27003         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27004         than necessarily for this particular distribution.  Use
27005         REPORT_BUGS_TO for where to report bugs.
27006         * INSTALL: Regenerated.
27007         * manual/libc.texinfo: Include pkgvers.texi.
27008         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27009         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27010         (print_version): Use PKGVERSION.
27011         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27012         (print_version): Use PKGVERSION.
27013         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27014         (print_version): Use PKGVERSION.
27015         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27016         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27017         macro.
27018         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27019         (print_version): Use PKGVERSION.
27020         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27021         (print_version): Use PKGVERSION.
27022         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27023         and PKGVERSION.
27025         * timezone/checktab.awk: Update from tzcode 2012i.
27026         * timezone/ialloc.c: Likewise.
27027         * timezone/private.h: Likewise.
27028         * timezone/scheck.c: Likewise.
27029         * timezone/tzfile.h: Likewise.
27030         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27031         (TZVERSION): Hardcode tzcode version number.
27032         * timezone/zdump.c: Update from tzcode 2012i.
27033         * timezone/zic.c: Likewise.
27034         * timezone/version.h: New file.
27035         * timezone/README: Describe version.h.  Update upstream location.
27037         [BZ #14824]
27038         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27039         (mktemp): Enable declaration.
27040         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27041         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27042         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27043         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27044         Likewise.
27045         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27046         Likewise.
27047         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27048         Likewise.
27049         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27050         Likewise.
27051         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27052         Likewise.
27053         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27054         Likewise.
27056         [BZ #14821]
27057         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27058         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27059         for copies of such integer values.
27060         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27061         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27063 2012-11-09  Andreas Jaeger  <aj@suse.de>
27065         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27066         definitions and declarations that are provided by
27067         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27069 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27071         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27072         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27073         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27074         definition.
27076 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27078         * elf/elf.h: Update comment before AArch64 relocations.
27080 2012-11-07  David S. Miller  <davem@davemloft.net>
27082         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27083         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27084         (__start_context): Declare.
27085         (__makecontext_ret): Delete.
27086         (__makecontext): Hook up __start_context instead of
27087         __makecontext_ret.
27088         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27089         (sysdep_routines): Add __start_context when in stdlib.
27091 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27093         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27094         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27095         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27096         hardcoded "nm".
27097         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27098         (READELF): New variable.  Use it instead of hardcoded "readelf".
27100 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27102         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27103         * sysdeps/x86/Makefile: Here.
27104         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27105         * sysdeps/x86/tst-xmmymm.sh: This.
27107 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27109         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27110         expectations.
27111         [UNIX98] (pthread_barrier_t): Do not expect.
27112         [UNIX98] (pthread_barrierattr_t): Likewise.
27113         [UNIX98] (pthread_spinlock_t): Likewise.
27114         [UNIX98] (pthread_barrier_destroy): Likewise.
27115         [UNIX98] (pthread_barrier_init): Likewise.
27116         [UNIX98] (pthread_barrier_wait): Likewise.
27117         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27118         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27119         [UNIX98] (pthread_barrierattr_init): Likewise.
27120         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27121         [UNIX98] (pthread_getcpuclockid): Likewise.
27122         [UNIX98] (pthread_mutex_timedlock): Likewise.
27123         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27124         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27125         [UNIX98] (pthread_sigmask): Likewise.
27126         [UNIX98] (pthread_spin_destroy): Likewise.
27127         [UNIX98] (pthread_spin_init): Likewise.
27128         [UNIX98] (pthread_spin_lock): Likewise.
27129         [UNIX98] (pthread_spin_trylock): Likewise.
27130         [UNIX98] (pthread_spin_unlock): Likewise.
27131         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27132         Do not expect.
27133         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27134         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27135         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27136         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27137         [XPG3 || XPG4] (pthread_key_t): Likewise.
27138         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27139         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27140         [XPG3 || XPG4] (pthread_once_t): Likewise.
27141         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27142         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27143         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27144         [XPG3 || XPG4] (pthread_t): Likewise.
27146         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27147         not expect.
27148         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27150         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27151         Change function return type to int.
27153         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27154         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27155         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27156         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27157         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27158         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27159         [!POSIX] (posix_madvise): Likewise.
27160         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27161         && !UNIX98].
27162         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27163         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27164         (mode_t): Likewise.
27165         (posix_mem_offset): Likewise.
27166         (posix_typed_mem_get_info): Likewise.
27167         (posix_typed_mem_open): Likewise.
27169         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27170         Change condition to [XOPEN2K8].
27172         * conform/conformtest.pl: Preprocess allow-header data with -x c
27173         instead of from stdin.
27174         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27175         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27176         [C99-based standards] (cerfc): Likewise.
27177         [C99-based standards] (cexp2): Likewise.
27178         [C99-based standards] (cexpm1): Likewise.
27179         [C99-based standards] (clog10): Likewise.
27180         [C99-based standards] (clog1p): Likewise.
27181         [C99-based standards] (clog2): Likewise.
27182         [C99-based standards] (clgamma): Likewise.
27183         [C99-based standards] (ctgamma): Likewise.
27184         [C99-based standards] (cerff): Likewise.
27185         [C99-based standards] (cerfcf): Likewise.
27186         [C99-based standards] (cexp2f): Likewise.
27187         [C99-based standards] (cexpm1f): Likewise.
27188         [C99-based standards] (clog10f): Likewise.
27189         [C99-based standards] (clog1pf): Likewise.
27190         [C99-based standards] (clog2f): Likewise.
27191         [C99-based standards] (clgammaf): Likewise.
27192         [C99-based standards] (ctgammaf): Likewise.
27193         [C99-based standards] (cerfl): Likewise.
27194         [C99-based standards] (cerfcl): Likewise.
27195         [C99-based standards] (cexp2l): Likewise.
27196         [C99-based standards] (cexpm1l): Likewise.
27197         [C99-based standards] (clog10l): Likewise.
27198         [C99-based standards] (clog1pl): Likewise.
27199         [C99-based standards] (clog2l): Likewise.
27200         [C99-based standards] (clgammal): Likewise.
27201         [C99-based standards] (ctgammal): Likewise.
27202         * conform/data/inttypes.h-data [C99-based standards]: Include
27203         stdint.h-data.  Remove all expectations for stdint.h contents.
27204         [C99-based standards] (PRI*): Do not allow.
27205         [C99-based standards] (SCN*): Likewise.
27206         [C99-based standards] (*_t): Likewise.
27207         [C99-based-standards] (PRId8): Expect macro.
27208         [C99-based-standards] (PRIi8): Likewise.
27209         [C99-based-standards] (PRIo8): Likewise.
27210         [C99-based-standards] (PRIu8): Likewise.
27211         [C99-based-standards] (PRIx8): Likewise.
27212         [C99-based-standards] (PRIX8): Likewise.
27213         [C99-based-standards] (SCNd8): Likewise.
27214         [C99-based-standards] (SCNi8): Likewise.
27215         [C99-based-standards] (SCNo8): Likewise.
27216         [C99-based-standards] (SCNu8): Likewise.
27217         [C99-based-standards] (SCNx8): Likewise.
27218         [C99-based-standards] (PRIdLEAST8): Likewise.
27219         [C99-based-standards] (PRIiLEAST8): Likewise.
27220         [C99-based-standards] (PRIoLEAST8): Likewise.
27221         [C99-based-standards] (PRIuLEAST8): Likewise.
27222         [C99-based-standards] (PRIxLEAST8): Likewise.
27223         [C99-based-standards] (PRIXLEAST8): Likewise.
27224         [C99-based-standards] (SCNdLEAST8): Likewise.
27225         [C99-based-standards] (SCNiLEAST8): Likewise.
27226         [C99-based-standards] (SCNoLEAST8): Likewise.
27227         [C99-based-standards] (SCNuLEAST8): Likewise.
27228         [C99-based-standards] (SCNxLEAST8): Likewise.
27229         [C99-based-standards] (PRIdFAST8): Likewise.
27230         [C99-based-standards] (PRIiFAST8): Likewise.
27231         [C99-based-standards] (PRIoFAST8): Likewise.
27232         [C99-based-standards] (PRIuFAST8): Likewise.
27233         [C99-based-standards] (PRIxFAST8): Likewise.
27234         [C99-based-standards] (PRIXFAST8): Likewise.
27235         [C99-based-standards] (SCNdFAST8): Likewise.
27236         [C99-based-standards] (SCNiFAST8): Likewise.
27237         [C99-based-standards] (SCNoFAST8): Likewise.
27238         [C99-based-standards] (SCNuFAST8): Likewise.
27239         [C99-based-standards] (SCNxFAST8): Likewise.
27240         [C99-based-standards] (PRId16): Likewise.
27241         [C99-based-standards] (PRIi16): Likewise.
27242         [C99-based-standards] (PRIo16): Likewise.
27243         [C99-based-standards] (PRIu16): Likewise.
27244         [C99-based-standards] (PRIx16): Likewise.
27245         [C99-based-standards] (PRIX16): Likewise.
27246         [C99-based-standards] (SCNd16): Likewise.
27247         [C99-based-standards] (SCNi16): Likewise.
27248         [C99-based-standards] (SCNo16): Likewise.
27249         [C99-based-standards] (SCNu16): Likewise.
27250         [C99-based-standards] (SCNx16): Likewise.
27251         [C99-based-standards] (PRIdLEAST16): Likewise.
27252         [C99-based-standards] (PRIiLEAST16): Likewise.
27253         [C99-based-standards] (PRIoLEAST16): Likewise.
27254         [C99-based-standards] (PRIuLEAST16): Likewise.
27255         [C99-based-standards] (PRIxLEAST16): Likewise.
27256         [C99-based-standards] (PRIXLEAST16): Likewise.
27257         [C99-based-standards] (SCNdLEAST16): Likewise.
27258         [C99-based-standards] (SCNiLEAST16): Likewise.
27259         [C99-based-standards] (SCNoLEAST16): Likewise.
27260         [C99-based-standards] (SCNuLEAST16): Likewise.
27261         [C99-based-standards] (SCNxLEAST16): Likewise.
27262         [C99-based-standards] (PRIdFAST16): Likewise.
27263         [C99-based-standards] (PRIiFAST16): Likewise.
27264         [C99-based-standards] (PRIoFAST16): Likewise.
27265         [C99-based-standards] (PRIuFAST16): Likewise.
27266         [C99-based-standards] (PRIxFAST16): Likewise.
27267         [C99-based-standards] (PRIXFAST16): Likewise.
27268         [C99-based-standards] (SCNdFAST16): Likewise.
27269         [C99-based-standards] (SCNiFAST16): Likewise.
27270         [C99-based-standards] (SCNoFAST16): Likewise.
27271         [C99-based-standards] (SCNuFAST16): Likewise.
27272         [C99-based-standards] (SCNxFAST16): Likewise.
27273         [C99-based-standards] (PRId32): Likewise.
27274         [C99-based-standards] (PRIi32): Likewise.
27275         [C99-based-standards] (PRIo32): Likewise.
27276         [C99-based-standards] (PRIu32): Likewise.
27277         [C99-based-standards] (PRIx32): Likewise.
27278         [C99-based-standards] (PRIX32): Likewise.
27279         [C99-based-standards] (SCNd32): Likewise.
27280         [C99-based-standards] (SCNi32): Likewise.
27281         [C99-based-standards] (SCNo32): Likewise.
27282         [C99-based-standards] (SCNu32): Likewise.
27283         [C99-based-standards] (SCNx32): Likewise.
27284         [C99-based-standards] (PRIdLEAST32): Likewise.
27285         [C99-based-standards] (PRIiLEAST32): Likewise.
27286         [C99-based-standards] (PRIoLEAST32): Likewise.
27287         [C99-based-standards] (PRIuLEAST32): Likewise.
27288         [C99-based-standards] (PRIxLEAST32): Likewise.
27289         [C99-based-standards] (PRIXLEAST32): Likewise.
27290         [C99-based-standards] (SCNdLEAST32): Likewise.
27291         [C99-based-standards] (SCNiLEAST32): Likewise.
27292         [C99-based-standards] (SCNoLEAST32): Likewise.
27293         [C99-based-standards] (SCNuLEAST32): Likewise.
27294         [C99-based-standards] (SCNxLEAST32): Likewise.
27295         [C99-based-standards] (PRIdFAST32): Likewise.
27296         [C99-based-standards] (PRIiFAST32): Likewise.
27297         [C99-based-standards] (PRIoFAST32): Likewise.
27298         [C99-based-standards] (PRIuFAST32): Likewise.
27299         [C99-based-standards] (PRIxFAST32): Likewise.
27300         [C99-based-standards] (PRIXFAST32): Likewise.
27301         [C99-based-standards] (SCNdFAST32): Likewise.
27302         [C99-based-standards] (SCNiFAST32): Likewise.
27303         [C99-based-standards] (SCNoFAST32): Likewise.
27304         [C99-based-standards] (SCNuFAST32): Likewise.
27305         [C99-based-standards] (SCNxFAST32): Likewise.
27306         [C99-based-standards] (PRId64): Likewise.
27307         [C99-based-standards] (PRIi64): Likewise.
27308         [C99-based-standards] (PRIo64): Likewise.
27309         [C99-based-standards] (PRIu64): Likewise.
27310         [C99-based-standards] (PRIx64): Likewise.
27311         [C99-based-standards] (PRIX64): Likewise.
27312         [C99-based-standards] (SCNd64): Likewise.
27313         [C99-based-standards] (SCNi64): Likewise.
27314         [C99-based-standards] (SCNo64): Likewise.
27315         [C99-based-standards] (SCNu64): Likewise.
27316         [C99-based-standards] (SCNx64): Likewise.
27317         [C99-based-standards] (PRIdLEAST64): Likewise.
27318         [C99-based-standards] (PRIiLEAST64): Likewise.
27319         [C99-based-standards] (PRIoLEAST64): Likewise.
27320         [C99-based-standards] (PRIuLEAST64): Likewise.
27321         [C99-based-standards] (PRIxLEAST64): Likewise.
27322         [C99-based-standards] (PRIXLEAST64): Likewise.
27323         [C99-based-standards] (SCNdLEAST64): Likewise.
27324         [C99-based-standards] (SCNiLEAST64): Likewise.
27325         [C99-based-standards] (SCNoLEAST64): Likewise.
27326         [C99-based-standards] (SCNuLEAST64): Likewise.
27327         [C99-based-standards] (SCNxLEAST64): Likewise.
27328         [C99-based-standards] (PRIdFAST64): Likewise.
27329         [C99-based-standards] (PRIiFAST64): Likewise.
27330         [C99-based-standards] (PRIoFAST64): Likewise.
27331         [C99-based-standards] (PRIuFAST64): Likewise.
27332         [C99-based-standards] (PRIxFAST64): Likewise.
27333         [C99-based-standards] (PRIXFAST64): Likewise.
27334         [C99-based-standards] (SCNdFAST64): Likewise.
27335         [C99-based-standards] (SCNiFAST64): Likewise.
27336         [C99-based-standards] (SCNoFAST64): Likewise.
27337         [C99-based-standards] (SCNuFAST64): Likewise.
27338         [C99-based-standards] (SCNxFAST64): Likewise.
27339         [C99-based-standards] (PRIdMAX): Likewise.
27340         [C99-based-standards] (PRIiMAX): Likewise.
27341         [C99-based-standards] (PRIoMAX): Likewise.
27342         [C99-based-standards] (PRIuMAX): Likewise.
27343         [C99-based-standards] (PRIxMAX): Likewise.
27344         [C99-based-standards] (PRIXMAX): Likewise.
27345         [C99-based-standards] (SCNdMAX): Likewise.
27346         [C99-based-standards] (SCNiMAX): Likewise.
27347         [C99-based-standards] (SCNoMAX): Likewise.
27348         [C99-based-standards] (SCNuMAX): Likewise.
27349         [C99-based-standards] (SCNxMAX): Likewise.
27350         [C99-based-standards] (PRIdPTR): Likewise.
27351         [C99-based-standards] (PRIiPTR): Likewise.
27352         [C99-based-standards] (PRIoPTR): Likewise.
27353         [C99-based-standards] (PRIuPTR): Likewise.
27354         [C99-based-standards] (PRIxPTR): Likewise.
27355         [C99-based-standards] (PRIXPTR): Likewise.
27356         [C99-based-standards] (SCNdPTR): Likewise.
27357         [C99-based-standards] (SCNiPTR): Likewise.
27358         [C99-based-standards] (SCNoPTR): Likewise.
27359         [C99-based-standards] (SCNuPTR): Likewise.
27360         [C99-based-standards] (SCNxPTR): Likewise.
27361         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27362         allow.
27363         * conform/data/stdint.h-data: Update comments to clarify
27364         requirements.
27365         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27366         type.
27367         [C99-based standards] (INT8_MAX): Likewise.
27368         [C99-based standards] (INT16_MIN): Likewise.
27369         [C99-based standards] (INT16_MAX): Likewise.
27370         [C99-based standards] (INT32_MIN): Likewise.
27371         [C99-based standards] (INT32_MAX): Likewise.
27372         [C99-based standards] (INT64_MIN): Likewise.
27373         [C99-based standards] (INT64_MAX): Likewise.
27374         [C99-based standards] (UINT8_MAX): Likewise.
27375         [C99-based standards] (UINT16_MAX): Likewise.
27376         [C99-based standards] (UINT32_MAX): Likewise.
27377         [C99-based standards] (UINT64_MAX): Likewise.
27378         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27379         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27380         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27381         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27382         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27383         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27384         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27385         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27386         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27387         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27388         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27389         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27390         [C99-based standards] (INT_FAST8_MIN): Likewise.
27391         [C99-based standards] (INT_FAST8_MAX): Likewise.
27392         [C99-based standards] (INT_FAST16_MIN): Likewise.
27393         [C99-based standards] (INT_FAST16_MAX): Likewise.
27394         [C99-based standards] (INT_FAST32_MIN): Likewise.
27395         [C99-based standards] (INT_FAST32_MAX): Likewise.
27396         [C99-based standards] (INT_FAST64_MIN): Likewise.
27397         [C99-based standards] (INT_FAST64_MAX): Likewise.
27398         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27399         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27400         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27401         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27402         [C99-based standards] (INTPTR_MIN): Likewise.
27403         [C99-based standards] (INTPTR_MAX): Likewise.
27404         [C99-based standards] (UINTPTR_MAX): Likewise.
27405         [C99-based standards] (INTMAX_MIN): Likewise.
27406         [C99-based standards] (INTMAX_MAX): Likewise.
27407         [C99-based standards] (UINTMAX_MAX): Likewise.
27408         [C99-based standards] (PTRDIFF_MIN): Likewise.
27409         [C99-based standards] (PTRDIFF_MAX): Likewise.
27410         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27411         [C99-based standards] (SIZE_MAX): Likewise.
27412         [C99-based standards] (WCHAR_MAX): Likewise.
27413         [C99-based standards] (WINT_MAX): Likewise.
27414         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27415         constraint on value.
27416         [C99-based standards] (WCHAR_MIN): Likewise.
27417         [C99-based standards] (WINT_MIN): Likewise.
27418         [C99-based standards] (*_t): Allow.
27419         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27420         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27421         Include math.h-data and complex.h-data.  Remove all expectations
27422         of math.h and complex.h contents.
27423         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27424         at end of line.
27425         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27426         (struct tm): Expect tag.
27427         [C99-based-standards] (wcstof): Expect function.
27428         [C99-based-standards] (wcstold): Likewise.
27429         [C99-based-standards] (wcstoll): Likewise.
27430         [C99-based-standards] (wcstoull): Likewise.
27431         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27432         macro-int-constant.  Specify type.
27433         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
27434         constraint on value.
27435         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27436         Specify type.
27437         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27438         Specify value.
27439         [ISO C standards]: Do not allow headers.
27440         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27441         wcs[abcdefghijklmnopqrstuvwxyz]*.
27442         [ISO C standards] (*_t): Do not allow.
27443         * conform/data/wctype.h-data [C99-based standards] (iswblank):
27444         Expect function.
27445         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27446         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27447         Specify type.
27448         [ISO C standards]: Do not allow headers.
27449         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27450         is[abcdefghijklmnopqrstuvwxyz]*.
27451         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27452         to[abcdefghijklmnopqrstuvwxyz]*.
27453         [ISO C standards] (*_t): Do not allow.
27454         * conform/data/stdalign.h-data: New file.
27455         * conform/data/stdbool.h-data: Likewise.
27456         * conform/data/stdnoreturn.h-data: Likewise.
27458 2012-11-07  Roland McGrath  <roland@hack.frob.com>
27460         [BZ #14815]
27461         * manual/filesys.texi (Directory Entries): Typo fix.
27462         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27464 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27466         * elf/elf.h (EM_AARCH64): New macro.
27467         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27468         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27469         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27470         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27471         (R_AARCH64_TLSDESC): Likewise.
27472         (NT_ARM_TLS): Likewise.
27473         (NT_ARM_HW_BREAK): Likewise.
27474         (NT_ARM_HW_WATCH): Likewise.
27476 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27478         [BZ #14811]
27479         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27480         (__ieee754_powl): Saturate nonzero exponents with absolute value
27481         below 0x1p-79 to +/- 0x1p-79.
27482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27483         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27484         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27485         nonzero exponents with absolute value below 0x1p-32 to +/-
27486         0x1p-32.
27487         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27488         (__ieee754_powl): Saturate nonzero exponents with absolute value
27489         below 0x1p-79 to +/- 0x1p-79.
27490         * math/libm-test.inc (pow_test): Add more tests.
27492 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27494         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27495         _dl_s390_cap_flags with kernel. Increase string length.
27496         (_dl_s390_platforms): Add z196 and zEC12.
27498 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27500         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27501         Change XOPEN21K to XOPEN2K.
27503 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
27505         * string/memmove.c: Use memcpy when possible.
27507 2012-11-06  Andreas Jaeger  <aj@suse.de>
27509         * po/eo.po: Update from translation team.
27511 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
27513         [BZ #14793]
27514         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27515         exponent and small x and y exponents, scale x or y up.  Increase
27516         by 2 the exponent used in scaling up.
27517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27518         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27519         * math/libm-test.inc (fma_test): Add more tests.
27520         (fma_test_towardzero): Likewise.
27521         (fma_test_downward): Likewise.
27522         (fma_test_upward): Likewise.
27524 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
27526         [BZ #14805]
27527         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27528         fenv_t *.
27530         [BZ #14801]
27531         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27532         namespace for names of struct fields.
27533         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27534         fenv_t fields.
27535         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27536         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27538 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27540         [BZ #3665]
27541         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27543 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27545         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27546         PTR_DEMANGLE.
27548         [BZ #5246]
27549         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27550         PTR_DEMANGLE.
27552 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
27554         [BZ #14797]
27555         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27556         definitely overflow as x * y not x * y + z.
27557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27559         * math/libm-test.inc (fma_test): Add more tests.
27560         (fma_test_towardzero): Likewise.
27561         (fma_test_downward): Likewise.
27562         (fma_test_upward): Likewise.
27564 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
27566         [BZ #157]
27568         * include/stub-tag.h: Remove file.
27569         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27570         '#include' of it.
27571         * manual/maint.texi (Porting): Don't reference it.
27572         * Makerules ($(objpfx)stubs): Likewise.
27573         * dirent/closedir.c: Don't include <stub-tag.h>.
27574         * dirent/dirfd.c: Likewise.
27575         * dirent/fdopendir.c: Likewise.
27576         * dirent/getdents.c: Likewise.
27577         * dirent/getdents64.c: Likewise.
27578         * dirent/opendir.c: Likewise.
27579         * dirent/readdir.c: Likewise.
27580         * dirent/readdir64.c: Likewise.
27581         * dirent/readdir64_r.c: Likewise.
27582         * dirent/readdir_r.c: Likewise.
27583         * dirent/rewinddir.c: Likewise.
27584         * dirent/seekdir.c: Likewise.
27585         * dirent/telldir.c: Likewise.
27586         * gmon/profil.c: Likewise.
27587         * grp/setgroups.c: Likewise.
27588         * inet/if_index.c: Likewise.
27589         * io/access.c: Likewise.
27590         * io/chdir.c: Likewise.
27591         * io/chmod.c: Likewise.
27592         * io/chown.c: Likewise.
27593         * io/close.c: Likewise.
27594         * io/dup.c: Likewise.
27595         * io/dup2.c: Likewise.
27596         * io/dup3.c: Likewise.
27597         * io/euidaccess.c: Likewise.
27598         * io/faccessat.c: Likewise.
27599         * io/fchdir.c: Likewise.
27600         * io/fchmod.c: Likewise.
27601         * io/fchmodat.c: Likewise.
27602         * io/fchown.c: Likewise.
27603         * io/fchownat.c: Likewise.
27604         * io/fcntl.c: Likewise.
27605         * io/flock.c: Likewise.
27606         * io/fstatfs.c: Likewise.
27607         * io/fstatfs64.c: Likewise.
27608         * io/fstatvfs.c: Likewise.
27609         * io/fstatvfs64.c: Likewise.
27610         * io/futimens.c: Likewise.
27611         * io/fxstat.c: Likewise.
27612         * io/fxstat64.c: Likewise.
27613         * io/fxstatat.c: Likewise.
27614         * io/fxstatat64.c: Likewise.
27615         * io/getcwd.c: Likewise.
27616         * io/isatty.c: Likewise.
27617         * io/lchmod.c: Likewise.
27618         * io/lchown.c: Likewise.
27619         * io/link.c: Likewise.
27620         * io/linkat.c: Likewise.
27621         * io/lseek.c: Likewise.
27622         * io/lseek64.c: Likewise.
27623         * io/lxstat64.c: Likewise.
27624         * io/mkdir.c: Likewise.
27625         * io/mkdirat.c: Likewise.
27626         * io/mkfifo.c: Likewise.
27627         * io/mkfifoat.c: Likewise.
27628         * io/open.c: Likewise.
27629         * io/open64.c: Likewise.
27630         * io/openat.c: Likewise.
27631         * io/openat64.c: Likewise.
27632         * io/pipe.c: Likewise.
27633         * io/pipe2.c: Likewise.
27634         * io/poll.c: Likewise.
27635         * io/posix_fadvise.c: Likewise.
27636         * io/posix_fadvise64.c: Likewise.
27637         * io/posix_fallocate.c: Likewise.
27638         * io/posix_fallocate64.c: Likewise.
27639         * io/read.c: Likewise.
27640         * io/readlink.c: Likewise.
27641         * io/readlinkat.c: Likewise.
27642         * io/rmdir.c: Likewise.
27643         * io/sendfile.c: Likewise.
27644         * io/sendfile64.c: Likewise.
27645         * io/statfs.c: Likewise.
27646         * io/statfs64.c: Likewise.
27647         * io/statvfs.c: Likewise.
27648         * io/statvfs64.c: Likewise.
27649         * io/symlink.c: Likewise.
27650         * io/symlinkat.c: Likewise.
27651         * io/ttyname.c: Likewise.
27652         * io/ttyname_r.c: Likewise.
27653         * io/umask.c: Likewise.
27654         * io/unlink.c: Likewise.
27655         * io/unlinkat.c: Likewise.
27656         * io/utime.c: Likewise.
27657         * io/utimensat.c: Likewise.
27658         * io/write.c: Likewise.
27659         * io/xmknod.c: Likewise.
27660         * io/xmknodat.c: Likewise.
27661         * io/xstat.c: Likewise.
27662         * io/xstat64.c: Likewise.
27663         * login/getpt.c: Likewise.
27664         * login/grantpt.c: Likewise.
27665         * login/unlockpt.c: Likewise.
27666         * math/e_acoshl.c: Likewise.
27667         * math/e_acosl.c: Likewise.
27668         * math/e_asinl.c: Likewise.
27669         * math/e_atan2l.c: Likewise.
27670         * math/e_atanhl.c: Likewise.
27671         * math/e_coshl.c: Likewise.
27672         * math/e_expl.c: Likewise.
27673         * math/e_fmodl.c: Likewise.
27674         * math/e_gammal_r.c: Likewise.
27675         * math/e_hypotl.c: Likewise.
27676         * math/e_j0l.c: Likewise.
27677         * math/e_j1l.c: Likewise.
27678         * math/e_jnl.c: Likewise.
27679         * math/e_lgammal_r.c: Likewise.
27680         * math/e_log10l.c: Likewise.
27681         * math/e_log2l.c: Likewise.
27682         * math/e_logl.c: Likewise.
27683         * math/e_powl.c: Likewise.
27684         * math/e_rem_pio2l.c: Likewise.
27685         * math/e_sinhl.c: Likewise.
27686         * math/e_sqrtl.c: Likewise.
27687         * math/fclrexcpt.c: Likewise.
27688         * math/fedisblxcpt.c: Likewise.
27689         * math/feenablxcpt.c: Likewise.
27690         * math/fegetenv.c: Likewise.
27691         * math/fegetexcept.c: Likewise.
27692         * math/fegetround.c: Likewise.
27693         * math/feholdexcpt.c: Likewise.
27694         * math/fesetenv.c: Likewise.
27695         * math/fesetround.c: Likewise.
27696         * math/feupdateenv.c: Likewise.
27697         * math/fgetexcptflg.c: Likewise.
27698         * math/fraiseexcpt.c: Likewise.
27699         * math/fsetexcptflg.c: Likewise.
27700         * math/ftestexcept.c: Likewise.
27701         * math/k_cosl.c: Likewise.
27702         * math/k_rem_pio2l.c: Likewise.
27703         * math/k_sinl.c: Likewise.
27704         * math/k_tanl.c: Likewise.
27705         * math/s_asinhl.c: Likewise.
27706         * math/s_atanl.c: Likewise.
27707         * math/s_cbrtl.c: Likewise.
27708         * math/s_erfl.c: Likewise.
27709         * math/s_expm1l.c: Likewise.
27710         * math/s_log1pl.c: Likewise.
27711         * math/s_tanhl.c: Likewise.
27712         * misc/acct.c: Likewise.
27713         * misc/brk.c: Likewise.
27714         * misc/chflags.c: Likewise.
27715         * misc/chroot.c: Likewise.
27716         * misc/fchflags.c: Likewise.
27717         * misc/fgetxattr.c: Likewise.
27718         * misc/flistxattr.c: Likewise.
27719         * misc/fremovexattr.c: Likewise.
27720         * misc/fsetxattr.c: Likewise.
27721         * misc/fsync.c: Likewise.
27722         * misc/ftruncate.c: Likewise.
27723         * misc/futimes.c: Likewise.
27724         * misc/futimesat.c: Likewise.
27725         * misc/getdomain.c: Likewise.
27726         * misc/getdtsz.c: Likewise.
27727         * misc/gethostid.c: Likewise.
27728         * misc/gethostname.c: Likewise.
27729         * misc/getloadavg.c: Likewise.
27730         * misc/getpagesize.c: Likewise.
27731         * misc/getsysstats.c: Likewise.
27732         * misc/getxattr.c: Likewise.
27733         * misc/gtty.c: Likewise.
27734         * misc/ioctl.c: Likewise.
27735         * misc/lgetxattr.c: Likewise.
27736         * misc/listxattr.c: Likewise.
27737         * misc/llistxattr.c: Likewise.
27738         * misc/lremovexattr.c: Likewise.
27739         * misc/lsetxattr.c: Likewise.
27740         * misc/lutimes.c: Likewise.
27741         * misc/madvise.c: Likewise.
27742         * misc/mincore.c: Likewise.
27743         * misc/mlock.c: Likewise.
27744         * misc/mlockall.c: Likewise.
27745         * misc/mmap.c: Likewise.
27746         * misc/mprotect.c: Likewise.
27747         * misc/msync.c: Likewise.
27748         * misc/munlock.c: Likewise.
27749         * misc/munlockall.c: Likewise.
27750         * misc/munmap.c: Likewise.
27751         * misc/preadv.c: Likewise.
27752         * misc/preadv64.c: Likewise.
27753         * misc/ptrace.c: Likewise.
27754         * misc/pwritev.c: Likewise.
27755         * misc/pwritev64.c: Likewise.
27756         * misc/readv.c: Likewise.
27757         * misc/reboot.c: Likewise.
27758         * misc/remap_file_pages.c: Likewise.
27759         * misc/removexattr.c: Likewise.
27760         * misc/revoke.c: Likewise.
27761         * misc/select.c: Likewise.
27762         * misc/setdomain.c: Likewise.
27763         * misc/setegid.c: Likewise.
27764         * misc/seteuid.c: Likewise.
27765         * misc/sethostid.c: Likewise.
27766         * misc/sethostname.c: Likewise.
27767         * misc/setregid.c: Likewise.
27768         * misc/setreuid.c: Likewise.
27769         * misc/setxattr.c: Likewise.
27770         * misc/sstk.c: Likewise.
27771         * misc/stty.c: Likewise.
27772         * misc/swapoff.c: Likewise.
27773         * misc/swapon.c: Likewise.
27774         * misc/sync.c: Likewise.
27775         * misc/syncfs.c: Likewise.
27776         * misc/syscall.c: Likewise.
27777         * misc/truncate.c: Likewise.
27778         * misc/ualarm.c: Likewise.
27779         * misc/usleep.c: Likewise.
27780         * misc/ustat.c: Likewise.
27781         * misc/utimes.c: Likewise.
27782         * misc/vhangup.c: Likewise.
27783         * misc/writev.c: Likewise.
27784         * posix/_exit.c: Likewise.
27785         * posix/alarm.c: Likewise.
27786         * posix/execve.c: Likewise.
27787         * posix/fexecve.c: Likewise.
27788         * posix/fork.c: Likewise.
27789         * posix/fpathconf.c: Likewise.
27790         * posix/getaddrinfo.c: Likewise.
27791         * posix/getegid.c: Likewise.
27792         * posix/geteuid.c: Likewise.
27793         * posix/getgid.c: Likewise.
27794         * posix/getgroups.c: Likewise.
27795         * posix/getlogin.c: Likewise.
27796         * posix/getlogin_r.c: Likewise.
27797         * posix/getpgid.c: Likewise.
27798         * posix/getpid.c: Likewise.
27799         * posix/getppid.c: Likewise.
27800         * posix/getresgid.c: Likewise.
27801         * posix/getresuid.c: Likewise.
27802         * posix/getsid.c: Likewise.
27803         * posix/getuid.c: Likewise.
27804         * posix/glob64.c: Likewise.
27805         * posix/nanosleep.c: Likewise.
27806         * posix/pathconf.c: Likewise.
27807         * posix/pause.c: Likewise.
27808         * posix/posix_madvise.c: Likewise.
27809         * posix/pread.c: Likewise.
27810         * posix/pread64.c: Likewise.
27811         * posix/pwrite.c: Likewise.
27812         * posix/pwrite64.c: Likewise.
27813         * posix/sched_getaffinity.c: Likewise.
27814         * posix/sched_getp.c: Likewise.
27815         * posix/sched_gets.c: Likewise.
27816         * posix/sched_primax.c: Likewise.
27817         * posix/sched_primin.c: Likewise.
27818         * posix/sched_rr_gi.c: Likewise.
27819         * posix/sched_setaffinity.c: Likewise.
27820         * posix/sched_setp.c: Likewise.
27821         * posix/sched_sets.c: Likewise.
27822         * posix/sched_yield.c: Likewise.
27823         * posix/setgid.c: Likewise.
27824         * posix/setlogin.c: Likewise.
27825         * posix/setpgid.c: Likewise.
27826         * posix/setresgid.c: Likewise.
27827         * posix/setresuid.c: Likewise.
27828         * posix/setsid.c: Likewise.
27829         * posix/setuid.c: Likewise.
27830         * posix/sleep.c: Likewise.
27831         * posix/spawni.c: Likewise.
27832         * posix/sysconf.c: Likewise.
27833         * posix/times.c: Likewise.
27834         * posix/wait.c: Likewise.
27835         * posix/wait3.c: Likewise.
27836         * posix/wait4.c: Likewise.
27837         * posix/waitpid.c: Likewise.
27838         * resolv/gai_sigqueue.c: Likewise.
27839         * resource/getpriority.c: Likewise.
27840         * resource/getrlimit.c: Likewise.
27841         * resource/getrusage.c: Likewise.
27842         * resource/nice.c: Likewise.
27843         * resource/setpriority.c: Likewise.
27844         * resource/setrlimit.c: Likewise.
27845         * resource/ulimit.c: Likewise.
27846         * rt/aio_cancel.c: Likewise.
27847         * rt/aio_fsync.c: Likewise.
27848         * rt/aio_read.c: Likewise.
27849         * rt/aio_sigqueue.c: Likewise.
27850         * rt/aio_suspend.c: Likewise.
27851         * rt/aio_write.c: Likewise.
27852         * rt/clock_getres.c: Likewise.
27853         * rt/clock_gettime.c: Likewise.
27854         * rt/clock_nanosleep.c: Likewise.
27855         * rt/clock_settime.c: Likewise.
27856         * rt/lio_listio.c: Likewise.
27857         * rt/mq_close.c: Likewise.
27858         * rt/mq_getattr.c: Likewise.
27859         * rt/mq_notify.c: Likewise.
27860         * rt/mq_open.c: Likewise.
27861         * rt/mq_receive.c: Likewise.
27862         * rt/mq_send.c: Likewise.
27863         * rt/mq_setattr.c: Likewise.
27864         * rt/mq_timedreceive.c: Likewise.
27865         * rt/mq_timedsend.c: Likewise.
27866         * rt/mq_unlink.c: Likewise.
27867         * rt/shm_open.c: Likewise.
27868         * rt/shm_unlink.c: Likewise.
27869         * rt/timer_create.c: Likewise.
27870         * rt/timer_delete.c: Likewise.
27871         * rt/timer_getoverr.c: Likewise.
27872         * rt/timer_gettime.c: Likewise.
27873         * rt/timer_settime.c: Likewise.
27874         * setjmp/__longjmp.c: Likewise.
27875         * setjmp/setjmp.c: Likewise.
27876         * signal/kill.c: Likewise.
27877         * signal/killpg.c: Likewise.
27878         * signal/raise.c: Likewise.
27879         * signal/sigaction.c: Likewise.
27880         * signal/sigaltstack.c: Likewise.
27881         * signal/sigblock.c: Likewise.
27882         * signal/sigignore.c: Likewise.
27883         * signal/sigintr.c: Likewise.
27884         * signal/signal.c: Likewise.
27885         * signal/sigpause.c: Likewise.
27886         * signal/sigpending.c: Likewise.
27887         * signal/sigqueue.c: Likewise.
27888         * signal/sigreturn.c: Likewise.
27889         * signal/sigset.c: Likewise.
27890         * signal/sigsetmask.c: Likewise.
27891         * signal/sigstack.c: Likewise.
27892         * signal/sigsuspend.c: Likewise.
27893         * signal/sigtimedwait.c: Likewise.
27894         * signal/sigvec.c: Likewise.
27895         * signal/sigwait.c: Likewise.
27896         * signal/sigwaitinfo.c: Likewise.
27897         * signal/sysv_signal.c: Likewise.
27898         * socket/accept.c: Likewise.
27899         * socket/accept4.c: Likewise.
27900         * socket/bind.c: Likewise.
27901         * socket/connect.c: Likewise.
27902         * socket/getpeername.c: Likewise.
27903         * socket/getsockname.c: Likewise.
27904         * socket/getsockopt.c: Likewise.
27905         * socket/isfdtype.c: Likewise.
27906         * socket/listen.c: Likewise.
27907         * socket/recv.c: Likewise.
27908         * socket/recvfrom.c: Likewise.
27909         * socket/recvmsg.c: Likewise.
27910         * socket/send.c: Likewise.
27911         * socket/sendmsg.c: Likewise.
27912         * socket/sendto.c: Likewise.
27913         * socket/setsockopt.c: Likewise.
27914         * socket/shutdown.c: Likewise.
27915         * socket/sockatmark.c: Likewise.
27916         * socket/socket.c: Likewise.
27917         * socket/socketpair.c: Likewise.
27918         * stdio-common/ctermid.c: Likewise.
27919         * stdio-common/cuserid.c: Likewise.
27920         * stdio-common/remove.c: Likewise.
27921         * stdio-common/rename.c: Likewise.
27922         * stdio-common/renameat.c: Likewise.
27923         * stdio-common/tempname.c: Likewise.
27924         * stdlib/getcontext.c: Likewise.
27925         * stdlib/makecontext.c: Likewise.
27926         * stdlib/setcontext.c: Likewise.
27927         * stdlib/swapcontext.c: Likewise.
27928         * stdlib/system.c: Likewise.
27929         * streams/fattach.c: Likewise.
27930         * streams/fdetach.c: Likewise.
27931         * streams/getmsg.c: Likewise.
27932         * streams/getpmsg.c: Likewise.
27933         * streams/putmsg.c: Likewise.
27934         * streams/putpmsg.c: Likewise.
27935         * sysdeps/unix/bsd/getpt.c: Likewise.
27936         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27937         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27938         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27940         Likewise.
27941         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27942         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27943         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27944         * sysvipc/msgctl.c: Likewise.
27945         * sysvipc/msgget.c: Likewise.
27946         * sysvipc/msgrcv.c: Likewise.
27947         * sysvipc/msgsnd.c: Likewise.
27948         * sysvipc/semctl.c: Likewise.
27949         * sysvipc/semget.c: Likewise.
27950         * sysvipc/semop.c: Likewise.
27951         * sysvipc/semtimedop.c: Likewise.
27952         * sysvipc/shmat.c: Likewise.
27953         * sysvipc/shmctl.c: Likewise.
27954         * sysvipc/shmdt.c: Likewise.
27955         * sysvipc/shmget.c: Likewise.
27956         * termios/tcdrain.c: Likewise.
27957         * termios/tcflow.c: Likewise.
27958         * termios/tcflush.c: Likewise.
27959         * termios/tcgetattr.c: Likewise.
27960         * termios/tcgetpgrp.c: Likewise.
27961         * termios/tcsendbrk.c: Likewise.
27962         * termios/tcsetattr.c: Likewise.
27963         * termios/tcsetpgrp.c: Likewise.
27964         * time/adjtime.c: Likewise.
27965         * time/clock.c: Likewise.
27966         * time/getitimer.c: Likewise.
27967         * time/gettimeofday.c: Likewise.
27968         * time/setitimer.c: Likewise.
27969         * time/settimeofday.c: Likewise.
27970         * time/stime.c: Likewise.
27971         * time/time.c: Likewise.
27973 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27975         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27976         /usr/old/bin.
27978         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27979         instead of spaces.
27980         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27982 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27984         [BZ #14796]
27985         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27986         FE_TONEAREST before applying Dekker multiplication and Knuth
27987         addition.  Clear inexact exceptions and check for exact zero
27988         results afterwards.
27989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27990         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27992         * math/libm-test.inc (fma_test): Add more tests.
27993         (fma_test_towardzero): Likewise.
27994         (fma_test_downward): Likewise.
27995         (fma_test_upward): Likewise.
27996         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27997         function.
27998         (libc_fesetround): New macro.
27999         (libc_fesetroundf): Likewise.
28000         (libc_fesetroundl): Likewise.
28001         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28002         function.
28003         (libc_fesetround_387): Likewise.
28004         (libc_fesetroundf): New macro.
28005         (libc_fesetround): Likewise.
28006         (libc_fesetroundl): Likewise.
28007         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28008         function.
28009         (libc_fesetroundf): New macro.
28010         (libc_fesetround): Likewise.
28011         (libc_fesetroundl): Likewise.
28012         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28013         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28014         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28015         libm_hidden_ver.
28016         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28017         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28018         libm_hidden_def.
28019         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28020         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28021         libm_hidden_ver.
28022         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28023         libm_hidden_def.
28025         [BZ #3439]
28026         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28027         integer constant usable in #if and use that to give value to enum
28028         constant.
28029         (FE_DIVBYZERO): Likewise.
28030         (FE_UNDERFLOW): Likewise.
28031         (FE_OVERFLOW): Likewise.
28032         (FE_INVALID): Likewise.
28033         (FE_INVALID_SNAN): Likewise.
28034         (FE_INVALID_ISI): Likewise.
28035         (FE_INVALID_IDI): Likewise.
28036         (FE_INVALID_ZDZ): Likewise.
28037         (FE_INVALID_IMZ): Likewise.
28038         (FE_INVALID_COMPARE): Likewise.
28039         (FE_INVALID_SOFTWARE): Likewise.
28040         (FE_INVALID_SQRT): Likewise.
28041         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28042         (FE_TONEAREST): Likewise.
28043         (FE_TOWARDZERO): Likewise.
28044         (FE_UPWARD): Likewise.
28045         (FE_DOWNWARD): Likewise.
28046         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28047         (FE_DIVBYZERO): Likewise.
28048         (FE_OVERFLOW): Likewise.
28049         (FE_UNDERFLOW): Likewise.
28050         (FE_INEXACT): Likewise.
28051         (FE_TONEAREST): Likewise.
28052         (FE_DOWNWARD): Likewise.
28053         (FE_UPWARD): Likewise.
28054         (FE_TOWARDZERO): Likewise.
28055         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28056         (FE_UNDERFLOW): Likewise.
28057         (FE_OVERFLOW): Likewise.
28058         (FE_DIVBYZERO): Likewise.
28059         (FE_INVALID): Likewise.
28060         (FE_TONEAREST): Likewise.
28061         (FE_TOWARDZERO): Likewise.
28062         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28063         (FE_OVERFLOW): Likewise.
28064         (FE_UNDERFLOW): Likewise.
28065         (FE_DIVBYZERO): Likewise.
28066         (FE_INEXACT): Likewise.
28067         (FE_TONEAREST): Likewise.
28068         (FE_TOWARDZERO): Likewise.
28069         (FE_UPWARD): Likewise.
28070         (FE_DOWNWARD): Likewise.
28071         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28072         (FE_DIVBYZERO): Likewise.
28073         (FE_OVERFLOW): Likewise.
28074         (FE_UNDERFLOW): Likewise.
28075         (FE_INEXACT): Likewise.
28076         (FE_TONEAREST): Likewise.
28077         (FE_DOWNWARD): Likewise.
28078         (FE_UPWARD): Likewise.
28079         (FE_TOWARDZERO): Likewise.
28081 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28083         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28085 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28087         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28088         commands.  Quote $PWD.
28089         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28090         -x" by "export".
28091         (remove_newlines): Remove.
28093 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28095         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28096         * stdlib/stdlib.h (atof): Moved to ...
28097         * include/bits/stdlib-float.h: Here.  New file.
28098         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28099         * stdlib/bits/stdlib-float.h: New file.
28100         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28101         -mno-sse -mno-mmx.
28102         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28103         <xmmintrin.h>.
28105 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28107         * conform/conformtest.pl (@headers): Add fenv.h.
28108         * conform/data/fenv.h-data: New file.
28109         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28110         include of <math/fenv.h>.
28112         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28113         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28114         && !UNIX98].  Enables tests for XOPEN2K8.
28115         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28116         POSIX2008]: Likewise.
28118         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28119         (struct rusage): Do not expect type or its members.
28121         [BZ #3439]
28122         * math/math.h (FP_NAN): Define macro to integer constant usable in
28123         #if and use that to give value to enum constant.
28124         (FP_INFINITE): Likewise.
28125         (FP_ZERO): Likewise.
28126         (FP_SUBNORMAL): Likewise.
28127         (FP_NORMAL): Likewise.
28129 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28131         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28132         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28133         arguments.
28135 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28137         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28138         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28139         autoconf-time if not.
28140         * configure.in: Remove AC_PREREQ.
28142 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28144         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28145         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28146         of the internal implementation.
28148 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28150         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28151         except include of <misc/sys/syslog.h>.
28153 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28156         function returns with a NULL context exit with zero.
28158 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28160         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28162 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28164         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28165         (run_program_cmd): This.
28166         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28167         (tst_langinfo): New variable.  Use it.
28169 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28171         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28172         floating point opcodes.
28174 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28176         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28177         variable.
28179         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28181         * sysdeps/mach/hurd/powerpc: Remove directory.
28182         * sysdeps/mach/powerpc: Likewise.
28184 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28186         * scripts/check-local-headers.sh: Ignore c++ headers.
28188 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28190         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28191         __libc_cleanup_region_start argument.
28193 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28195         [BZ #14784]
28196         [BZ #14785]
28197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28198         x * y using scaling, not as x * y + z.
28199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28200         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28201         * math/libm-test.inc (fma_test): Add more tests.
28202         (fma_test_towardzero): Likewise.
28203         (fma_test_downward): Likewise.
28204         (fma_test_upward): Likewise.
28206 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28208         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28210 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28212         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28213         New variable.
28215 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28217         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28219 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28222         Fix sort order.
28223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28224         Likewise.
28226 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28229         Fix the order of the list for glibc 2.17.
28230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28231         Likewise.
28233 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28237 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28239         [BZ #14610]
28240         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28241         for low part of x being zero before using __atanl (y).
28242         * math/libm-test.inc (atan2_test): Add another test.
28244         * manual/install.texi (Configuring and compiling): Document
28245         general use of test-wrapper and test-wrapper-env.
28246         * INSTALL: Regenerated.
28248         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28249         (__fma): Do not extract and scale down low bits on after-rounding
28250         systems when result rounded to normal precision would have normal
28251         exponent.
28252         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28253         (__fmal): Do not extract and scale down low bits on after-rounding
28254         systems when result rounded to normal precision would have normal
28255         exponent.
28256         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28257         (__fmal): Do not extract and scale down low bits on after-rounding
28258         systems when result rounded to normal precision would have normal
28259         exponent.
28260         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28261         macro.
28262         (fma_test): Add more tests.
28263         (fma_test_towardzero): Likewise.
28264         (fma_test_downward): Likewise.
28265         (fma_test_upward): Likewise.
28267 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28269         * sysdeps/i386/tininess.h: Renamed to ...
28270         * sysdeps/x86/tininess.h: This.
28271         * sysdeps/x86_64/tininess.h: Removed.
28273 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28275         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28276         input.  Use $(build-program-cmd).
28277         ($(objpfx)tst-array1-static.out): Likewise.
28278         ($(objpfx)tst-array2.out): Likewise.
28279         ($(objpfx)tst-array3.out): Likewise.
28280         ($(objpfx)tst-array4.out): Likewise.
28281         ($(objpfx)tst-array5.out): Likewise.
28282         ($(objpfx)tst-array5-static.out): Likewise.
28284 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28286         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28287         if defined.
28289         * nss/nsswitch.h (nss_interface_function): Provide new
28290         macro for use with NSS functions.
28291         * grp/initgroups.c: Use new macro.
28292         * nss/getXXbyYY.c: Likewise.
28293         * nss/getXXbyYY_r.c: Likewise.
28294         * nss/getXXent.c: Likewise.
28295         * nss/getXXent_r.c: Likewise.
28296         * sysdeps/posix/getaddrinfo.c: Likewise.
28298 2012-10-30  Andreas Jaeger  <aj@suse.de>
28300         * po/ru.po: Update Russion translation from translation project.
28302 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28304         [BZ #14152]
28305         [BZ #14783]
28306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28307         result and shift together with sticky bit instead of replicating
28308         round-to-nearest rounding.
28309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28310         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28311         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28312         missing underflow exceptions.
28313         (fma_test_towardzero): Add more tests.
28314         (fma_test_downward): Likewise.
28315         (fma_test_upward): Likewise.
28317         [BZ #14047]
28318         * sysdeps/generic/tininess.h: New file.
28319         * sysdeps/i386/tininess.h: Likewise.
28320         * sysdeps/sh/tininess.h: Likewise.
28321         * sysdeps/x86_64/tininess.h: Likewise.
28322         * stdlib/tst-strtod-underflow.c: Likewise.
28323         * stdlib/tst-tininess.c: Likewise.
28324         * stdlib/strtod_l.c: Include <tininess.h>.
28325         (round_and_return): Do not set errno for exact underflow cases.
28326         Force an underflow exception when setting errno for underflow.
28327         Determine underflow based on rounding to normal precision if
28328         TININESS_AFTER_ROUNDING.
28329         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28330         ERANGE for exact underflow cases.
28331         * stdlib/Makefile (tests): Add tst-tininess and
28332         tst-strtod-underflow.
28333         ($(objpfx)tst-tininess): Use $(link-libm).
28334         ($(objpfx)tst-strtod-underflow): Likewise.
28336 2012-10-30  Andreas Jaeger  <aj@suse.de>
28338         [BZ#14767]
28339         * elf/Makefile (tests): Remove conditional for have-initfini-array
28340         since this is now always required and the variable does not exist
28341         anymore.
28342         (tests-static): Likewise.
28343         (modules-names): Likewise.
28345         * po/eo.po: Add Esperanto translation from translation project.
28347         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28348         merged with constructor/destructor.
28349         (init_array): Likewise.
28350         * elf/tst-array2dep.c (fini_array): Likewise.
28351         (init_array): Likewise.
28353 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28355         * manual/message.texi: Delete @cartouche tags.
28357 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28359         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28360         EOPNOTSUPP.
28361         * sysdeps/mach/hurd/fsync.c: Likewise.
28363         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28364         [_POSIX_REALTIME_SIGNALS]: Change condition to
28365         [_POSIX_REALTIME_SIGNALS > 0].
28367 2012-10-27  Andreas Jaeger  <aj@suse.de>
28369         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28370         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28371         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28372         [__WORDSIZE != 64]: Likewise.
28374 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28376         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28377         *  iconvdata/tst-tables.sh: Likewise.
28379 2012-10-25  David S. Miller  <davem@davemloft.net>
28381         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28382         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28383         of strtoull.
28385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28386         ifunc-impl-list.c
28387         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28388         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28389         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28390         file.
28392 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28394         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28395         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28396         __getdirentries.
28398 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28399             Jim Blandy  <jimb@codesourcery.com>
28401         * scripts/cross-test-ssh.sh: New file.
28402         * manual/install.texi (Configuring and compiling): Document use of
28403         cross-test-ssh.sh.
28404         * INSTALL: Regenerated.
28406 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28408         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28409         EOPNOTSUPP.
28411 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28413         * Makeconfig (run-program-prefix): Fix comment.
28415 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28416             Jim Blandy  <jimb@codesourcery.com>
28418         * Makeconfig (test-wrapper): New variable,
28419         (test-wrapper-env): Likewise.
28420         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28421         (run-built-tests): Define to yes.
28422         (run-program-prefix): Use $(test-wrapper).
28423         (built-program-cmd): Likewise.
28424         * Rules (make-test-out): Use $(test-wrapper-env) and
28425         $(host-built-program-cmd).
28426         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28427         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28428         tst-pathopt.sh.
28429         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28430         $(test-wrapper-env) to tst-rtld-load-self.sh.
28431         ($(objpfx)order2.out): Use $(test-wrapper).
28432         ($(objpfx)tst-initorder.out): Likewise.
28433         ($(objpfx)tst-initorder2.out): Likewise.
28434         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28435         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28436         (test_wrapper_env): New variable.  Use it to run ld.so.
28437         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28438         Use it to run ld.so.
28439         (test_wrapper_env): Likewise.
28440         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28441         $(test-wrapper) to run-iconv-test.sh.
28442         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28443         (ICONV): Use $test_wrapper.
28444         * posix/Makefile ($(objpfx)globtest.out): Pass
28445         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28446         globtest.sh, not $(run-program-prefix).
28447         * posix/globtest.sh (run_via_rtld_prefix): New variable.
28448         (test_wrapper): Likewise.
28449         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
28450         set together with run_via_rtld_prefix.
28451         (run_program_prefix): Define in terms of test_wrapper and
28452         run_via_rtld_prefix.
28454 2012-10-24  Roland McGrath  <roland@hack.frob.com>
28456         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28457         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28458         Targets removed.
28460         [BZ #14743]
28461         * include/time.h: Remove librt_hidden_proto (clock_gettime).
28462         Declare __clock_getres, __clock_gettime, __clock_settime,
28463         __clock_nanosleep, and __clock_getcpuclockid.
28464         * rt/clock_gettime.c: Define __clock_gettime as an alias.
28465         Remove librt_hidden_def (clock_gettime).
28466         * sysdeps/unix/clock_gettime.c: Likewise.
28467         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28468         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28469         * rt/clock_getres.c: Define __clock_getres as an alias.
28470         * sysdeps/posix/clock_getres.c: Likewise.
28471         * rt/clock_settime.c: Define __clock_settime as an alias.
28472         * sysdeps/unix/clock_settime.c: Likewise.
28473         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28474         * sysdeps/unix/clock_nanosleep.c: Likewise.
28475         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28476         * rt/clock-compat.c: New file.
28477         * rt/Makefile (librt-routines): Add clock-compat and move
28478         $(clock-routines) to ...
28479         (routines): ... here, new variable.
28480         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28481         Don't add get_clockfreq here.
28482         * rt/Versions (libc: GLIBC_2.17): New version set.
28483         Add clock_* symbols here.
28484         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
28485         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28486         (GLIBC_2.17): Add clock_* symbols.
28487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28489         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28491         Likewise.
28492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28493         Likewise.
28494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28498         * NEWS: Mention the move.
28500         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28501         Use __open, __read, __close rather than their public counterparts.
28502         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28503         (__get_clockfreq_via_cpuinfo): Likewise.
28504         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28505         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28507         * config.h.in (HAVE_IFUNC): New #undef.
28508         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28509         was successful.
28510         * configure: Regenerated.
28512 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28514         * configure.in: Move READELF check to start of file.
28515         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28516         libc_cv_asm_gnu_indirect_function in the process.
28517         * configure: Regenerated.
28519 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
28521         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28522         send the output to /dev/null.
28523         (libc_cv_cc_with_libunwind): Likewise.
28524         (libc_cv_as_noexecstack): Likewise.
28525         * configure: Regenerate.
28527 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28529         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28531         * posix/globtest.sh (TMPDIR): Do not set.
28532         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28533         (testout): Likewise.
28535 2012-10-24  Andreas Jaeger  <aj@suse.de>
28537         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28538         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28539         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28540         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28541         posix_fadvise64, posix_fallocate64.
28543         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28544         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28545         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28546         Likewise.
28547         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28548         Likewise.
28549         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28552         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28553         <bits/fcntl-linux.h>.
28554         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28557         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28558         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28559         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28560         [__WORDSIZE != 64]: Likewise.
28562 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28564         * Makeconfig (run-built-tests): New variable.
28565         * Rules [$(cross-compiling) = yes]: Change condition to
28566         [$(run-built-tests) = no].
28567         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28568         to [$(run-built-tests) = yes].
28569         * elf/Makefile [$(cross-compiling) = no]: Likewise
28570         * grp/Makefile [$(cross-compiling) = no]: Likewise.
28571         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28572         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28573         * intl/Makefile [$(cross-compiling) = no]: Likewise.
28574         * io/Makefile [$(cross-compiling) = no]: Likewise.
28575         * libio/Makefile [$(cross-compiling) = no]: Likewise.
28576         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28577         * misc/Makefile [$(cross-compiling) = no]: Likewise.
28578         * posix/Makefile [$(cross-compiling) = no]: Likewise.
28579         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28580         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28581         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28582         * string/Makefile [$(cross-compiling) = no]: Likewise.
28584         * posix/Makefile ($(objpfx)globtest.out): Pass
28585         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28586         $(rtld-installed-name).
28587         * posix/globtest.sh (elf_objpfx): Remove variable.
28588         (rtld_installed_name): Likewise.
28589         (library_path): Likewise.
28590         (run_program_prefix): New variable.  Use for running globtest
28591         binary.
28593 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
28594             Joseph Myers  <joseph@codesourcery.com>
28596         * Makeconfig (host-built-program-cmd): New variable.
28597         * elf/Makefile (tst-stackguard1-ARGS): Use
28598         $(host-built-program-cmd).
28599         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28600         (tst-spawn-ARGS): Likewise.
28601         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28603 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
28604             Jim Blandy  <jimb@codesourcery.com>
28606         * Makeconfig (run-via-rtld-prefix): New variable.
28607         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28608         (built-program-cmd): Likewise.
28610 2012-10-22  Andreas Jaeger  <aj@suse.de>
28612         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28613         __O_RSYNC if it exists, otherwise to O_SYNC.
28615 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
28616             Joseph Myers  <joseph@codesourcery.com>
28618         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28619         /dev/null.
28620         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28621         from /dev/null
28622         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28623         /dev/null.
28625 2012-10-22  Andreas Jaeger  <aj@suse.de>
28627         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28628         Define always.
28629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28632         bits/fcntl-linux.h.
28634         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28635         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28637         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28638         to __O_LARGEFILE.
28639         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28640         to __O_LARGEFILE.
28642 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
28643             Joseph Myers  <joseph@codesourcery.com>
28645         * config.make.in (NM): New variable.
28647 2012-10-21  Andreas Jaeger  <aj@suse.de>
28649         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28650         definitions and declarations that are provided by
28651         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28653 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28655         [BZ #14683]
28656         * elf/Makefile (tests-static): Add tst-leaks1-static.
28657         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28658         ($(objpfx)tst-leaks1-static): New rule.
28659         ($(objpfx)tst-leaks1-static-mem): Likewise.
28660         (tst-leaks1-static-ENV): New macro.
28661         * elf/dl-open.c (dl_open_worker): Check the main application
28662         only if SHARED is defined.
28663         * elf/tst-leaks1-static.c: New file.
28665 2012-10-20  Andreas Jaeger  <aj@suse.de>
28667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28668         generic values for Linux.
28669         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28670         and declarations that are provided by <bits/fcntl-linux.h> and
28671         include <bits/fcntl-linux.h>.
28672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28673         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28675 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28677         * io/fcntl.h: Move include of <bits/types.h> to the top and
28678         include it unconditionally.
28680 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28682         * wcsmbs/Makefile (tests-ifunc): New variable.
28683         (tests): Add $(tests-ifunc).
28684         * wcsmbs/test-wcschr-ifunc.c: New file.
28685         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28686         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28687         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28688         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28689         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28691         * string/Makefile (tests-ifunc): New variable.
28692         (tests): Add $(tests-ifunc).
28693         * string/test-memccpy.c (TEST_NAME): New macro.
28694         * string/test-memchr.c (TEST_NAME): Likewise.
28695         * string/test-memcmp.c (TEST_NAME): Likewise.
28696         * string/test-memcpy.c (TEST_NAME): Likewise.
28697         * string/test-memmem.c (TEST_NAME): Likewise.
28698         * string/test-memmove.c (TEST_NAME): Likewise.
28699         * string/test-memset.c (TEST_NAME): Likewise.
28700         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28701         * string/test-stpcpy.c (TEST_NAME): Likewise.
28702         * string/test-stpncpy.c (TEST_NAME): Likewise.
28703         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28704         * string/test-strcasestr.c (TEST_NAME): Likewise.
28705         * string/test-strcat.c (TEST_NAME): Likewise.
28706         * string/test-strchr.c (TEST_NAME): Likewise.
28707         * string/test-strcmp.c(TEST_NAME): Likewise.
28708         * string/test-strcpy.c (TEST_NAME): Likewise.
28709         * string/test-strcspn.c (TEST_NAME): Likewise.
28710         * string/test-strlen.c (TEST_NAME): Likewise.
28711         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28712         * string/test-strncmp.c (TEST_NAME): Likewise.
28713         * string/test-strncpy.c (TEST_NAME): Likewise.
28714         * string/test-strnlen.c (TEST_NAME): Likewise.
28715         * string/test-strpbrk.c (TEST_NAME): Likewise.
28716         * string/test-strrchr.c (TEST_NAME): Likewise.
28717         * string/test-strspn.c (TEST_NAME): Likewise.
28718         * string/test-strstr.c (TEST_NAME): Likewise.
28719         * string/test-bcopy-ifunc.c: New file.
28720         * string/test-bzero-ifunc.c: Likewise.
28721         * string/test-memccpy-ifunc.c: Likewise.
28722         * string/test-memchr-ifunc.c: Likewise.
28723         * string/test-memcmp-ifunc.c: Likewise.
28724         * string/test-memcpy-ifunc.c: Likewise.
28725         * string/test-memmem-ifunc.c: Likewise.
28726         * string/test-memmove-ifunc.c: Likewise.
28727         * string/test-mempcpy-ifunc.c: Likewise.
28728         * string/test-memset-ifunc.c: Likewise.
28729         * string/test-rawmemchr-ifunc.c: Likewise.
28730         * string/test-stpcpy-ifunc.c: Likewise.
28731         * string/test-stpncpy-ifunc.c: Likewise.
28732         * string/test-strcasecmp-ifunc.c: Likewise.
28733         * string/test-strcasestr-ifunc.c: Likewise.
28734         * string/test-strcat-ifunc.c: Likewise.
28735         * string/test-strchr-ifunc.c: Likewise.
28736         * string/test-strchrnul-ifunc.c: Likewise.
28737         * string/test-strcmp-ifunc.c: Likewise.
28738         * string/test-strcpy-ifunc.c: Likewise.
28739         * string/test-strcspn-ifunc.c: Likewise.
28740         * string/test-strlen-ifunc.c: Likewise.
28741         * string/test-strncasecmp-ifunc.c: Likewise.
28742         * string/test-strncat-ifunc.c: Likewise.
28743         * string/test-strncmp-ifunc.c: Likewise.
28744         * string/test-strncpy-ifunc.c: Likewise.
28745         * string/test-strnlen-ifunc.c: Likewise.
28746         * string/test-strpbrk-ifunc.c: Likewise.
28747         * string/test-strrchr-ifunc.c: Likewise.
28748         * string/test-strspn-ifunc.c: Likewise.
28749         * string/test-strstr-ifunc.c: Likewise.
28751         * debug/Makefile (tests-ifunc): New variable.
28752         (tests): Add $(tests-ifunc).
28753         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28754         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28755         * debug/test-stpcpy_chk-ifunc.c: New file.
28756         * debug/test-strcpy_chk-ifunc.c: Likewise.
28758 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28760         [BZ #13601]
28761         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28762         header is not read in.
28764 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28766         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28767         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28768         directly.  Pass built executable to script as
28769         $(built-program-cmd).
28770         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28771         $testprogram without using LD_LIBRARY_PATH and $ldso.
28773         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28774         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28775         $(rtld-installed-name).
28776         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28777         (rtld_installed_name): Likewise.
28778         (library_path): Likewise.
28779         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28780         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28781         $(run-program-prefix) to tst-tables.sh.
28782         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28783         it to run tst-table-from and tst-table-to.
28784         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28785         Pass it to tst-table.sh.
28786         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28787         $(run-program-prefix) to tst-gettext.sh.
28788         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28789         tst-translit.sh.
28790         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28791         tst-gettext2.sh.
28792         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28793         to run tst-gettext.
28794         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28795         to run tst-gettext2.
28796         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28797         to run tst-translit.
28798         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28799         $(run-program-prefix) to tst-mtrace.sh.
28800         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28801         to run tst-mtrace.
28802         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28803         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28804         $(rtld-installed-name).
28805         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28806         (rtld_installed_name): Likewise.
28807         (run_program_prefix): New variable.  Use it to run wordexp-test.
28809         * Makeconfig (ARCH): Remove all definitions.
28810         (machine): Likewise.
28811         [ARCH]: Remove conditional code.
28812         [!objdir]: Give error.
28813         [!objdir] (objpfx): Remove.
28814         [!objdir] (common-objpfx): Likewise.
28815         [!objdir] (common-objdir): Likewise.
28816         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28817         AC_CONFIG_FILES call.
28818         * configure: Regenerated.
28820         [BZ #13888]
28821         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28822         or TMPDIR.
28823         (testout): Likewise.
28825         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28826         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28827         $(rtld-installed-name).
28828         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28829         (rtld_installed_name): Likwise.
28830         (runit): Remove function.
28831         (run_getconf): New variable,  Use it for running getconf binary.
28833 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28835         [BZ #14716]
28836         * string/test-memmem.c (check_result): New function.
28837         (do_one_test): Use it.
28838         (check1): New function.
28839         (test_main): Use it.
28841 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28843         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28845 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28847         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28848         (_G_LSEEK64): Likewise.
28849         (_G_MMAP64): Likewise.
28850         (_G_FSTAT64): Likewise.
28851         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28852         (_G_LSEEK64): Likewise.
28853         (_G_MMAP64): Likewise.
28854         (_G_FSTAT64): Likewise.
28855         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28856         unconditional.  Call __mmap64 directly.
28857         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28858         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28859         __lseek64 directly.
28860         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28861         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28862         __mmap64 directly.
28863         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28864         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28865         __lseek64 directly.
28866         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28867         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28868         __lseek64 directly.
28869         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28870         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28871         __lseek64 directly.
28872         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28873         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28874         __fxstat64 directly.
28875         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28876         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28877         unconditional.
28878         (freopen64) [!_G_OPEN64]: Remove conditional code.
28879         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28880         unconditional.
28881         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28882         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28883         unconditional.
28884         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28885         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28886         unconditional.
28887         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28888         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28889         unconditional.
28890         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28891         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28892         unconditional.
28893         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28894         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28895         unconditional.
28896         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28897         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28898         unconditional.
28899         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28901 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28903         [BZ #12140]
28904         * manual/memory.texi (Malloc Tunable Parameters): Add note
28905         about free list pointers overwriting some perturb bytes.
28906         Wording suggested by Roland McGrath.
28908 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28910         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28911         (lgamma_test): Likewise.
28912         (tgamma_test): Likewise.
28914 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28916         [BZ #14700]
28917         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28918         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28920 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28922         * NEWS: Mention BZ #14716.
28923         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28924         when removing AVAILABLE1_USES_J macro.
28926 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28928         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28929         (__bswap_64): __uint64_t for unsigned 64-bit int.
28931 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28933         * include/string.h (memmem): Declare libc hidden alias.
28934         * string/memmem.c (memmem): Define libc hidden alias.
28935         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28936         __read, __close instead of open, read, close.
28938 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28941         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28942         global and hidden.
28943         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28944         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28945         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28946         Likewise.
28947         (__rawmemchr_sse2): Likewise.
28948         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28949         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28950         (__strchr_sse2): Likewise.
28951         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28952         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28953         (__strcasecmp_sse2): Likewise.
28954         (__strncasecmp_sse2): Likewise.
28955         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28956         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28957         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28958         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28959         (__strrchr_sse2): Likewise.
28960         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28961         ifunc-impl-list.c.
28962         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28963         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28964         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28965         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28966         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28967         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28968         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28969         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28970         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28971         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28972         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28973         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28974         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28975         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28976         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28977         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28978         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28979         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28980         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28981         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28982         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28983         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28984         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28985         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28986         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28987         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28988         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28989         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28990         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28991         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28993         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28994         global and hidden.
28995         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28996         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28997         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28998         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28999         Likewise.
29000         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29001         Likewise.
29002         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29003         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29004         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29005         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29006         ifunc-impl-list.c.
29007         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29008         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29009         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29010         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29011         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29012         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29013         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29014         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29015         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29016         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29017         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29018         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29019         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29020         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29021         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29022         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29023         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29024         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29025         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29026         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29027         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29028         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29029         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29030         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29031         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29032         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29033         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29034         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29035         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29036         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29037         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29038         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29039         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29040         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29041         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29042         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29043         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29044         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29045         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29046         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29047         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29049         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29050         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29051         * include/ifunc-impl-list.h: New file.
29052         * misc/ifunc-impl-list.c: Likewise.
29053         * misc/Makefile (routines): Add ifunc-impl-list.
29054         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29055         * string/test-string.h: Include <ifunc-impl-list.h>.
29056         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29057         TEST_NAME]: New variables.
29058         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29059         are defined.
29060         (test_init): Call __libc_ifunc_impl_list to initialize
29061         func_list if TEST_IFUNC and TEST_NAME are defined.
29063         * string/Makefile (strop-tests): Add bcopy and bzero.
29064         * string/test-bcopy.c: New file.
29065         * string/test-bzero.c: Likewise.
29066         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29067         defined.
29068         * string/test-memset.c: Support bzero test if TEST_BZERO is
29069         defined.
29070         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29071         __libc_memmove.
29072         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29073         __libc_memset.
29074         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29075         of memset.
29077 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29079         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29080         * configure: Regenerated.
29082         * Makeconfig (+link-static-before-libc): Don't include
29083         $(link-static-libc).
29085         * libio/libio.h (_IO_pos_t): Remove.
29087 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29089         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29090         McGrath.
29092 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29094         * crypt/crypt-entry.c: Include fips-private.h.
29095         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29096         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29097         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29098         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29100 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29102         * crypt/crypt-private.h: Include stdbool.h.
29103         (_ufc_setup_salt_r): Return bool.
29104         * crypt/crypt-entry.c: Include errno.h.
29105         (__crypt_r): Return NULL with EINVAL for bad salt.
29106         * crypt/crypt_util.c (bad_for_salt): New.
29107         (_ufc_setup_salt_r): Check that salt is long enough and within
29108         the specified alphabet.
29109         * crypt/badsalttest.c: New file.
29110         * crypt/Makefile (tests): Add it.
29111         ($(objpfx)badsalttest): New.
29113 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29115         * NEWS: Add entry for BZ #14602.
29117 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29119         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29120         type-generic.
29121         * math/libm-test.inc: Update comment listing what functions and
29122         macros are tested.
29123         (isgreater_test): New function.
29124         (isgreaterequal_test): Likewise.
29125         (isless_test): Likewise.
29126         (islessequal_test): Likewise.
29127         (islessgreater_test): Likewise.
29128         (isunordered_test): Likewise.
29129         (main): Call the new functions.
29131 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29133         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29134         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29135         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29136         * sysdeps/i386/configure: Regenerated.
29137         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29138         * sysdeps/mach/configure: Regenerated.
29139         * sysdeps/mach/hurd/configure: Regenerated.
29140         * sysdeps/powerpc/configure: Regenerated.
29141         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29142         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29143         * sysdeps/s390/s390-32/configure: Regenerated.
29144         * sysdeps/s390/s390-64/configure: Regenerated.
29145         * sysdeps/sh/configure: Regenerated.
29146         * sysdeps/sparc/configure: Regenerated.
29147         * sysdeps/unix/sysv/linux/configure: Regenerated.
29148         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29149         * sysdeps/x86_64/configure: Regenerated.
29151         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29152         defined.  Don't check if MAP is NULL.
29154 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29156         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29157         (_G_stat64): Likewise.
29158         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29159         (_G_stat64): Likewise.
29160         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29161         instead of struct _G_stat64.
29162         * libio/fileops.c (mmap_remap_check): Likewise.
29163         (decide_maybe_mmap): Likewise.
29164         (_IO_new_file_seekoff): Likewise.
29165         (_IO_file_stat): Likewise.
29166         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29167         _G_off64_t.
29168         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29169         instead of struct _G_stat64.
29170         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29172 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29174         [BZ #14602]
29175         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29176         Replace with ...
29177         (CHECK_EOL): New macro.
29178         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29179         CHECK_EOL.
29180         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29181         Replace with CHECK_EOL.
29182         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29183         Replace with CHECK_EOL.
29185 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29187         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29188         type-generic.
29189         * math/libm-test.inc: Update comment listing what functions and
29190         macros are tested.
29191         (finite_test): New function.
29192         (isinf_test): Likewise.
29193         (isnan_test): Likewise.
29194         (fpclassify_test): Test subnormal input.
29195         (isfinite_test): Likewise.
29196         (isnormal_test): Likewise.
29197         (main): Call the new functions.
29199 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29201         [BZ #14660]
29202         * Makerules (%.dynsym): Force C locale when running
29203         $(OBJDUMP) --dynamic-syms.
29205 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29207         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29208         <stdint.h>.
29210 2012-10-06  David S. Miller  <davem@davemloft.net>
29212         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29213         upper 32-bits of the length value in %o2 since we use branch-on-register
29214         tests which consider the entire 64-bit register.
29216 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29218         * string/test-strstr.c (check2): Add a test for page boundary.
29220 2012-10-05  David S. Miller  <davem@davemloft.net>
29222         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29223         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29224         file.
29225         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29226         sysdep_routines.
29227         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29228         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29229         and bzero when HWCAP_SPARC_CRYPTO is present.
29231 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29233         [BZ #14602]
29234         * string/test-strstr.c (check2): New function.
29235         (test_main): Call check2.
29237         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29238         and bug-strchr1.
29239         * string/bug-strcasestr1.c (do_test): Moved to ...
29240         * string/test-strcasestr.c (check1): Here.  New function.
29241         (do_one_test): Break out result checking code into ...
29242         (check_result): This.  New function.
29243         (do_one_test): Call check_result.
29244         (test_main): Call check1.
29245         * string/bug-strchr1.c (do_test): Moved to ...
29246         * string/test-strchr.c (check1): Here.  New function.
29247         (do_one_test): Break out result checking code into ...
29248         (check_result): This.  New function.
29249         (do_one_test): Call check_result.
29250         (test_main): Call check1.
29251         * string/bug-strstr1.c (main): Moved to ...
29252         * string/test-strstr.c (check1): Here.  New function.
29253         (do_one_test): Break out result checking code into ...
29254         (check_result): This.  New function.
29255         (do_one_test): Call check_result.
29256         (test_main): Call check1.
29257         * string/bug-strcasestr1.c: Removed.
29258         * string/bug-strchr1.c: Likewise.
29259         * string/bug-strstr1.c: Likewise.
29261         * elf/Makefile (dl-routines): Add hwcaps.
29262         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29263         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29264         (_dl_important_hwcaps): Moved to ...
29265         * elf/dl-hwcaps.c: Here.  New file.
29266         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29268         [BZ #14557]
29269         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29270         if IS_IN_rtld isn't defined.
29272         * elf/dl-support.c (_dl_sysinfo_map): New.
29273         Include "get-dynamic-info.h" and "setup-vdso.h".
29274         (_dl_non_dynamic_init): Call setup_vdso.
29275         * elf/dynamic-link.h: Don't include <assert.h>.
29276         (elf_get_dynamic_info): Moved to ...
29277         * elf/get-dynamic-info.h: Here.  New file.
29278         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29279         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29280         * elf/setup-vdso.h: Here.  New file.
29281         * elf/rtld.c: Include "setup-vdso.h".
29282         (dl_main): Call setup_vdso.
29284 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29286         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29287         creal in comment listing functions tested.  List finite, isinf,
29288         isnan, isless, islessequal, isgreater, isgreaterequal,
29289         islessgreater, isunordered, lgamma_r and pow10 as functions and
29290         macros not tested.  Mention which functions not tested are aliases
29291         for other functions.  Fix typo.  Note that signs of NaNs are not
29292         tested.
29294         * scripts/config.guess: Update from config.git.
29295         * scripts/config.sub: Likewise.
29297 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29299         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29300         * misc/madvise.c (madvise): Renamed to __madvise.
29301         Make madvise a weak alias.
29302         * include/sys/mman.h: Declare __madvise.
29303         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29304         * sysdeps/unix/syscalls.list
29305         (madvise): Make __madvise the strong name, and madvise a weak alias.
29306         * sysdeps/unix/sysv/linux/syscalls.list
29307         (madvise, mmap): Remove redundant entries.
29308         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29309         * malloc/malloc.c (mtrim): Likewise.
29310         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29312 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29314         * sysdeps/mach/hurd/dl-cache.c: File removed.
29315         * config.h.in (USE_LDCONFIG): New #undef.
29316         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29317         * configure: Regenerated.
29318         * elf/Makefile (dl-routines): Add dl-cache only under
29319         [$(use-ldconfig) = yes].
29320         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29321         cache on [USE_LDCONFIG].
29322         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29323         [USE_LDCONFIG].
29324         * elf/rtld.c (dl_main): Likewise.
29326 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29328         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29329         _SC_LEVEL4_CACHE_LINESIZE.
29331 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29333         * sysdeps/unix/bsd/confstr.h: File removed.
29335 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29337         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29338         sys/sdt-config.h.
29340 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29342         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29343         Make 'mapoff' field ElfW(Off) rather than off_t.
29345 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29347         * nscd/Makefile: Remove nscd-cflags and all its users.
29348         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29349         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29351         [BZ #10631]
29352         * malloc.c (malloc_printerr): Clarify error message.
29354 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29356         [BZ #14648]
29357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29358         Set bit_FMA_Usable if FMA is supported.
29359         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29360         macro.
29361         (bit_FMA4_Usable): Updated.
29362         (index_FMA_Usable): New macro.
29363         (CPUID_FMA): Likewise
29364         (HAS_FMA): Defined with bit_FMA_Usable.
29366 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29368         * bits/types.h (__swblk_t): Type removed.
29369         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29370         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29371         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29372         (__SWBLK_T_TYPE): Likewise.
29373         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29374         (__SWBLK_T_TYPE): Likewise.
29375         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29376         (__SWBLK_T_TYPE): Likewise.
29377         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29378         (__SWBLK_T_TYPE): Likewise.
29380 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29381             Honza Horak <hhorak@redhat.com>
29383         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29384         (xdr_mapname): Use YPMAXMAP as maxsize.
29385         (xdr_peername): Use YPMAXPEER as maxsize.
29386         (xdr_keydat): Use YPAXRECORD as maxsize.
29387         (xdr_valdat): Use YPMAXRECORD as maxsize.
29389 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29391         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29393         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29394         * csu/init-first.c: ... here.
29395         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29396         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29397         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29398         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29399         * sysdeps/i386/init-first.c: File removed.
29400         * sysdeps/sh/init-first.c: File removed.
29402 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29404         [BZ #14645]
29405         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29406         if x * y might underflow to zero and z is zero.
29407         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29408         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29409         * math/libm-test.inc (min_subnorm_value): New variable.
29410         (fma_test): Add more tests.
29411         (fma_test_towardzero): Likewise.
29412         (fma_test_downward): Likewise
29413         (fma_test_upward): Likewise.
29414         (initialize): Set min_subnorm_value.
29416 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29418         [BZ #14638]
29419         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29420         0 + 0.
29421         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29422         mode for addition resulting in exact zero.
29423         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29425         exact 0 + 0.
29426         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29427         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29428         * math/libm-test.inc (fma_test): Add more tests.
29429         (fma_test_towardzero): New function.
29430         (fma_test_downward): Likewise.
29431         (fma_test_upward): Likewise.
29432         (main): Call the new functions.
29434 2012-09-28  David S. Miller  <davem@davemloft.net>
29436         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29438 2012-09-28  Roland McGrath  <roland@hack.frob.com>
29440         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29441         instead of SIGALRM.
29443         * sysdeps/gnu/_G_config.h: Moved to ...
29444         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29445         * sysdeps/mach/hurd/_G_config.h: Moved to ...
29446         * sysdeps/generic/_G_config.h: ... here.
29448         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
29450         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29452         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29453         Conditionalize target on [libnss_test1.so-version].
29455         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29457         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29458         (elfobjdir): Move out of conditionals.
29460         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29461         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29462         (__nss_lookup_function): Conditionalize label remove_from_tree on
29463         [!DO_STATIC_NSS || SHARED], matching its only use.
29465 2012-09-28  David S. Miller  <davem@davemloft.net>
29467         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29468         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29469         file.
29470         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29471         sysdep_routines.
29472         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29473         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29474         when HWCAP_SPARC_CRYPTO is present.
29476 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29478         * io/tst-mknodat.c: Create a FIFO instead of a socket.
29480 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
29482         [BZ #6530]
29483         * stdio-common/vfprintf.c (process_string_arg): Revert
29484         2000-07-22 change.
29486 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
29488         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29489         for testcase.
29490         * stdio-common/tst-sprintf.c: Include <locale.h>
29491         (main): Test sprintf's handling of incomplete multibyte
29492         characters.
29494 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
29496         * elf/dl-runtime.c (VERSYMIDX): Removed.
29497         * elf/dl-version.c (VERSYMIDX): Likewise.
29498         * elf/do-rel.h (VERSYMIDX): Likewise.
29499         (VALIDX): Likewise.
29500         * elf/dynamic-link.h (VERSYMIDX): Likewise.
29501         * elf/rtld.c (VALIDX): Likewise.
29502         (ADDRIDX): Likewise.
29503         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29504         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29505         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29506         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29507         (VALIDX): Likewise.
29508         (ADDRIDX): Likewise.
29510 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29512         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29514 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
29516         [BZ #11438]
29517         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29518         to global scope.
29519         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29520         addresses are in the same scope as 192.0.2/24.
29521         * posix/gai.conf: Document new scope table defaults.
29523 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29525         [BZ #5298]
29526         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29527         for ftell.  Compute offsets from write pointers instead.
29528         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29530 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29532         [BZ #14543]
29533         * libio/Makefile (tests): New test case tst-fseek.
29534         * libio/tst-fseek.c: New test case to verify that fseek/ftell
29535         combination works in wide mode.
29536         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29537         state when the external buffer state changes.
29539 2012-09-27  David S. Miller  <davem@davemloft.net>
29541         [BZ #14376]
29542         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29543         pass reloc->r_addend in as the 'high' argument to
29544         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29548 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
29550         * rt/tst-aio2.c: Include <pthread.h>.
29551         * rt/tst-aio3.c: Likewise.
29553 2012-09-27  Steve Ellcey  <sellcey@mips.com>
29555         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29557 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
29559         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29560         contents on [SHARED].
29562 2012-09-26  Marek Polacek  <polacek@redhat.com>
29564         [BZ #14530]
29565         [BZ #13741]
29566         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29567         for C++ and GCC <4.3 as well as for non GCC compilers.
29569 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29573 2012-09-25  Roland McGrath  <roland@hack.frob.com>
29575         * Makefile.in (all, install): Declare with .PHONY.
29576         Reported by Michael Hope <michael.hope@linaro.org>.
29578 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29580         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29581         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29582         system header.
29583         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29584         Likewise.
29585         (sydep_routines): Add the new and the internal functions.
29586         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29587         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29589         (GLIBC_2.17): Add the new function.
29590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29591         (GLIBC_2.17): Likewise.
29592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29593         (GLIBC_2.17): Likewise.
29594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29595         (GLIBC_2.17): Likewise.
29596         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29598 2012-09-25  Alan Modra  <amodra@gmail.com>
29600         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29601         Add release barrier before setting once_control to say
29602         initialisation is done.  Add hints on lwarx.  Use macro in
29603         place of isync.
29604         (clear_once_control): Add release barrier.
29606 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29608         [BZ #13629]
29609         * math/s_clog.c (__clog): Handle more values close to |z| = 1
29610         specially.
29611         * math/s_clog10.c (__clog10): Likewise.
29612         * math/s_clog10f.c (__clog10f): Likewise.
29613         * math/s_clog10l.c (__clog10l): Likewise.
29614         * math/s_clogf.c (__clogf): Likewise.
29615         * math/s_clogl.c (__clogl): Likewise.
29616         * math/Makefile (libm-calls): Add x2y2m1.
29617         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29618         (__x2y2m1): Likewise.
29619         (__x2y2m1l): Likewise.
29620         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29621         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29622         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29623         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29624         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29625         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29626         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29627         * sysdeps/i386/fpu/libm-test-ulps: Update.
29628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29630         [BZ #14621]
29631         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29632         int as type of variable DEPTH.
29633         (glob): Use size_t instead of int as type of variables NEWCOUNT
29634         and OLD_PATHC.
29636 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29638         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29639         Add s_sincosf-sse2.
29640         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29641         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29642         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29643         macros for using routine as __sincosf_ia32.
29644         Use macro for function declaration and weak_alias.
29645         * sysdeps/i386/fpu/libm-test-ulps: Update.
29647         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29650         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29651         subnormal argument.
29652         * math/s_cexpf.c (__cexpf): Likewise.
29653         * math/s_csinf.c (__csinf): Likewise.
29654         * math/s_csinhf.c (__csinhf): Likewise.
29655         * math/s_ctanf.c (__ctanf): Likewise.
29656         * math/s_ctanhf.c (__ctanhf): Likewise.
29657         * math/s_ccosh.c (__ccoshf): Likewise.
29658         * math/s_cexp.c (__cexpl): Likewise.
29659         * math/s_csin.c (__csin): Likewise.
29660         * math/s_csinh.c (__csinh): Likewise.
29661         * math/s_ctan.c (__ctan): Likewise.
29662         * math/s_ctanh.c (ctanh): Likewise.
29663         * math/s_ccoshl.c (__ccoshl): Likewise.
29664         * math/s_cexpl.c (__cexpl): Likewise.
29665         * math/s_csinl.c (__csinl): Likewise.
29666         * math/s_csinhl.c (__csinhl): Likewise.
29667         * math/s_ctanl.c (__ctanl): Likewise.
29668         * math/s_ctanhl.c (__ctanhl): Likewise.
29670 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29672         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29673         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29674         (_IO_off_t): Define to __off_t, not _G_off_t.
29675         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29676         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29677         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29678         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29679         type of __dummy and __dummy2 fields.
29680         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29681         (_G_ssize_t): Likewise.
29682         (_G_off_t): Likewise.
29683         (_G_pid_t): Likewise.
29684         (_G_uid_t): Likewise.
29685         (_G_wchar_t): Likewise.
29686         (_G_wint_t): Likewise.
29687         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29688         (_G_ssize_t): Likewise.
29689         (_G_off_t): Likewise.
29690         (_G_pid_t): Likewise.
29691         (_G_uid_t): Likewise.
29692         (_G_wchar_t): Likewise.
29693         (_G_wint_t): Likewise.
29694         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29695         (_G_ssize_t): Likewise.
29696         (_G_off_t): Likewise.
29697         (_G_pid_t): Likewise.
29698         (_G_uid_t): Likewise.
29699         (_G_wchar_t): Likewise.
29700         (_G_wint_t): Likewise.
29702 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29704         * malloc/arena.c: Include malloc-sysdep.h.
29705         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29706         is sufficient to shrink the heap or an unmap is needed.
29707         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29708         new function check_may_shrink_heap.
29709         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29710         new function check_may_shrink_heap.
29712 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29714         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29715         comments.
29717 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29719         * catgets/test-gencat.sh: Add "set -e".
29720         * elf/tst-pathopt.sh: Likewise.
29721         * grp/tst_fgetgrent.sh: Likewise.
29722         * iconvdata/run-iconv-test.sh: Likewise.
29723         * intl/tst-gettext.sh: Likewise.
29724         * intl/tst-gettext2.sh: Likewise.
29725         * intl/tst-gettext4.sh: Likewise.
29726         * intl/tst-gettext6.sh: Likewise.
29727         * intl/tst-translit.sh: Likewise.
29728         * io/ftwtest-sh: Likewise.
29729         * libio/test-freopen.sh: Likewise.
29730         * malloc/tst-mtrace.sh: Likewise.
29731         * posix/globtest.sh: Likewise.
29732         * posix/tst-getconf.sh: Likewise.
29733         * posix/wordexp-tst.sh: Likewise.
29734         * stdio-common/tst-printf.sh: Likewise.
29735         * stdio-common/tst-unbputc.sh: Likewise.
29736         * stdlib/tst-fmtmsg.sh: Likewise.
29737         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29738         * catgets/Makefile: Do not specify -e option when running
29739         testsuite shell scripts.
29740         * elf/Makefile: Likewise.
29741         * grp/Makefile: Likewise.
29742         * iconvdata/Makefile: Likewise.
29743         * intl/Makefile: Likewise.
29744         * io/Makefile: Likewise.
29745         * libio/Makefile: Likewise.
29746         * malloc/Makefile: Likewise.
29747         * posix/Makefile: Likewise.
29748         * stdio-common/Makefile: Likewise.
29749         * stdlib/Makefile: Likewise.
29750         * sysdeps/x86_64/Makefile: Likewise.
29752         * io/ftwtest-sh: Add copyright header.
29753         * posix/globtest.sh: Likewise.
29754         * posix/tst-getconf.sh: Likewise.
29755         * posix/wordexp-tst.sh: Likewise.
29756         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29758 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29760         [BZ #13679]
29761         * Makeconfig (+link): Defined as $(+link-static) if
29762         $(build-shared) isn't yes.
29763         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29764         isn't yes.
29765         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29767         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29769         [BZ #14562]
29770         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29771         new chunk size with MALLOC_ALIGN_MASK.
29773 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29775         [BZ #5044]
29776         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29777         <rounding-mode.h>.
29778         (__printf_fphex): Determine rounding using get_rounding_mode and
29779         round_away.
29780         * stdio-common/tst-printf-round.c (struct hex_test): New
29781         structure.
29782         (hex_tests): New variable.
29783         (test_hex_in_one_mode): New function.
29784         (do_test): Also run tests for hex float output.
29786 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29788         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29789         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29790         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29791         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29792         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29793         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29794         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29795         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29797 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29799         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29800         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29801         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29802         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29804 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29806         [BZ #14579]
29807         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29808         mode only.
29809         * elf/tst-rtld-load-self.sh: New test.
29810         * elf/Makefile: Run it.
29812 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29814         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29815         (tst-writev-ENV): Remove.
29816         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29818 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29820         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29822 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29824         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29825         unconditional.
29826         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29827         Likewise.
29828         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29829         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29830         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29831         Likewise.
29833 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29835         [BZ #14587]
29836         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29837         * config.make.in (have-cpp-asm-debuginfo): Removed.
29838         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29839         * configure: Regenerated.
29841 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29843         [BZ #5044]
29844         * stdio-common/printf_fp.c: Include <stdbool.h> and
29845         <rounding-mode.h>.
29846         (___printf_fp): Determine rounding using get_rounding_mode and
29847         round_away.
29848         * stdio-common/tst-printf-round.c: New file.
29849         * stdio-common/Makefile (tests): Add tst-printf-round.
29850         (link-libm): New variable.
29851         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29853 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29855         [BZ #14576]
29856         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29857         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29858         Likewise.
29859         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29860         Likewise.
29862 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29864         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29865         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29866         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29867         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29869 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29871         [BZ #14518]
29872         * include/rounding-mode.h: New file.
29873         * sysdeps/generic/get-rounding-mode.h: Likewise.
29874         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29875         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29876         (MAX_VALUE): New macro.
29877         (MIN_VALUE): Likewise.
29878         (overflow_value): New function.
29879         (underflow_value): Likewise.
29880         (round_and_return): Use overflow_value and underflow_value to
29881         determine return values in overflow and underflow cases.  Use
29882         round_away to determine rounding depending on rounding mode.
29883         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29884         determine return values in overflow and underflow cases.
29885         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29886         (struct test_results): New structure.
29887         (struct test): Use struct test_results to store expected results
29888         for all rounding modes.
29889         (TEST): Include expected results for all rounding modes.
29890         (test_in_one_mode): New function.
29891         (do_test): Use test_in_one_mode to compute and check results.
29892         Check results for all rounding modes.
29893         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29894         $(link-libm).
29896 2012-12-09  Allan McRae  <allan@archlinux.org>
29898         * sysdeps/i386/fpu/libm-test-ulps: Update
29900 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29902         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29903         (_G_int32_t): Likewise.
29904         (_G_uint16_t): Likewise.
29905         (_G_uint32_t): Likewise.
29906         (_G_HAVE_BOOL): Likewise.
29907         (_G_HAVE_ATEXIT): Likewise.
29908         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29909         (_G_HAVE_IO_FILE_OPEN): Likewise.
29910         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29911         (_G_int32_t): Likewise.
29912         (_G_uint16_t): Likewise.
29913         (_G_uint32_t): Likewise.
29914         (_G_HAVE_BOOL): Likewise.
29915         (_G_HAVE_ATEXIT): Likewise.
29916         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29917         (_G_HAVE_IO_FILE_OPEN): Likewise.
29918         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29919         (_G_int32_t): Likewise.
29920         (_G_uint16_t): Likewise.
29921         (_G_uint32_t): Likewise.
29922         (_G_HAVE_BOOL): Likewise.
29923         (_G_HAVE_ATEXIT): Likewise.
29924         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29925         (_G_HAVE_IO_FILE_OPEN): Likewise.
29927 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29929         * csu/libc-tls.c: Update copyright years.
29931 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29933         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29934         [!_G_USING_THUNKS]: Remove conditional code.
29935         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29936         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29938         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29939         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29940         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29941         (_G_VTABLE_LABEL_PREFIX): Likewise.
29942         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29943         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29944         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29945         (_G_VTABLE_LABEL_PREFIX): Likewise.
29946         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29947         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29948         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29949         (_G_VTABLE_LABEL_PREFIX): Likewise.
29950         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29952 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29954         * libio/Makefile: Include ../Makeconfig before tests.
29955         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29956         only if $(build-shared) is yes.
29958         * iconv/gconv_db.c: Update copyright years.
29960 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29962         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29963         unwind info if defined PIC. Fix special cases description.
29964         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29966         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29967         DP_HI_MASK entry.
29968         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29970 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29972         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29974         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29975         is NULL.
29977         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29978         (LDLIBS-tst-chk4): This.
29979         (LDFLAGS-tst-chk5): Renamed to ...
29980         (LDLIBS-tst-chk5): This.
29981         (LDFLAGS-tst-chk6): Renamed to ...
29982         (LDLIBS-tst-chk6): This.
29983         (LDFLAGS-tst-lfschk4): Renamed to ...
29984         (LDLIBS-tst-lfschk4): This.
29985         (LDFLAGS-tst-lfschk5): Renamed to ...
29986         (LDLIBS-tst-lfschk5): This.
29987         (LDFLAGS-tst-lfschk6): Renamed to ...
29988         (LDLIBS-tst-lfschk6): This.
29990         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29991         on $(common-objpfx)soversions.mk.
29993 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29995         [BZ #10014]
29996         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29997         example host name.
29999 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30001         * malloc/arena.c (arena_get_retry): New function that gets
30002         another arena for the caller to try its request on.
30003         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30004         current arena cannot fulfill the request.
30005         (__libc_memalign): Likewise.
30006         (__libc_memalign): Likewise.
30007         (__libc_pvalloc): Likewise.
30008         (__libc_calloc): Likewise.
30010 2012-09-05  John Tobey  <john.tobey@gmail.com>
30012         [BZ #13542]
30013         * manual/arith.texi (Operations on Complex): Fix description
30014         of carg branch cut.
30016 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30018         [BZ #10014]
30019         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30020         host name.
30022         [BZ #10038]
30023         * manual/memory.texi (Memory): Make order of menu items match
30024         order of sections.
30026 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30028         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30029         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30030         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30032 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30034         * csu/libc-tls.c (static_dtv): Renamed to ...
30035         (_dl_static_dtv): This.  Make it global.
30036         (_dl_initial_dtv): Removed.
30037         (__libc_setup_tls): Updated.
30038         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30039         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30040         DL_INITIAL_DTV.
30042 2012-09-06  Petr Machata  <pmachata@redhat.com>
30044         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30045         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30046         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30047         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30049 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30051         [BZ #14545]
30052         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30053         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30054         freeing dtv[-1].
30056 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30058         [BZ #14544]
30059         * Makeconfig (link-static-before-libc): Replace $(+prector)
30060         with $(+prectorT).
30061         (link-static-after-libc): Replace $(+postctor) with
30062         $(+postctorT).
30063         (link-bounded): Replace $(+prector)/$(+postctor) with
30064         $(+prectorT)/$(+postctorT).
30065         (+prectorT): New macro.
30066         (+postctorT): Likewise.
30068 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30070         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30071         (round_str): Handle values above the maximum for IBM long double
30072         as inexact.
30073         * stdlib/tst-strtod-round.c (tests): Regenerated.
30075 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30077         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30078         assembler flag.
30079         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30080         zarch_nohighgprs around the zarch optimized routines.
30081         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30082         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30083         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30084         for zarch.
30086 2012-09-05  David S. Miller  <davem@davemloft.net>
30088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30090         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30091         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30092         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30093         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30094         entries.
30096 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30098         * malloc/arena.c: Fold copyright years.
30099         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30101 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30103         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30105 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30107         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30109 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30111         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30112         change internal state upon failure.
30114 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30116         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30117         * malloc/memusage.c (mmap): Likewise.
30118         (mmap64, mremap): Likewise.  Adjust name in comment.
30120 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30122         * libio/fileops.c: Fix typos in comments.
30123         * libio/oldfileops.c: Likewise.
30124         * libio/wfileops.c: Likewise.
30126 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30128         [BZ #1349]
30129         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30130         (tst-malloc-usable-ENV): Set environment for test case.
30131         * malloc/hooks.c (malloc_check_get_size): New function to get
30132         requested size.
30133         * malloc/malloc.c (musable): Use malloc_check_get_size.
30134         * malloc/tst-malloc-usable.c: New test case.
30136 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30138         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30140 2012-09-05  Allan McRae  <allan@archlinux.org>
30142         [BZ #13966]
30143         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30144         determine header location.
30145         * configure: Regenerated.
30147 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30149         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30150         float format.
30151         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30152         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30153         format.
30154         (test): Regenerate.
30156 2012-09-04  David S. Miller  <davem@davemloft.net>
30158         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30159         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30160         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30162 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30164         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30165         failures.
30167         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30169 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30171         [BZ #9914]
30172         * libio/iogetdelim.c: Include <limits.h>.
30173         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30174         + len + 1 would overflow.
30176 2012-09-03  Andreas Jaeger  <aj@suse.de>
30178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30179         * sysdeps/i386/fpu/libm-test-ulps: Update.
30181 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30183         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30184         Add s_sinf-sse2, s_conf-sse2.
30186         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30187         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30188         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30189         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30191         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30192         for using routine as __sinf_ia32.
30193         Use macro for function declaration and weak_alias.
30194         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30195         for using routine as __cosf_ia32.
30196         Use macro for function declaration and weak_alias.
30198         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30199         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30201         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30202         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30205         * math/libm-test.inc (cos_test): Add more test cases.
30206         (sin_test): Likewise.
30207         (sincos_test): Likewise.
30209 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30211         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30212         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30213         hidden.
30214         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30216 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30218         [BZ #14538]
30219         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30220         first element of the GOT.
30221         (elf_machine_load_address): Return the difference between
30222         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30224 2012-09-01  Allan McRae  <allan@archlinux.org>
30226         [BZ #13412]
30227         * configure.in (AWK): Require gawk version 3.0 or later.
30228         * configure: Regenerated.
30230 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30232         * sysdeps/unix/sysv/linux/kernel-features.h
30233         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30234         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30235         [__NR_clock_getres]: Make code unconditional.
30236         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30237         (clock_getcpuclockid): Remove code left unreachable by removal of
30238         conditionals.
30239         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30240         code unconditional.
30241         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30242         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30243         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30244         Make code unconditional.
30245         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30246         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30247         * sysdeps/unix/sysv/linux/clock_settime.c
30248         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30249         conditional code.
30250         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30251         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30253 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30255         [BZ #14476]
30256         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30257         scripts/test-installation.pl.
30259         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30260         and $ld_so_version if it is set.
30262 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30264         [BZ #14516]
30265         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30266         failure if reading from procfs failed.
30267         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30269 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30271         * sysdeps/unix/sysv/linux/kernel-features.h
30272         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30273         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30274         Remove conditional code.
30275         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30276         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30277         Remove conditional code.
30278         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30279         * sysdeps/unix/sysv/linux/i386/fxstat.c
30280         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30281         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30282         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30283         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30284         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30285         * sysdeps/unix/sysv/linux/i386/lxstat.c
30286         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30287         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30288         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30289         Remove conditional code.
30290         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30291         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30292         Remove conditional code.
30293         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30294         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30295         <kernel-features.h>.
30296         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30297         Remove.
30298         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30299         Remove conditional code.
30300         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30301         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30302         Remove conditional.
30304 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30306         [BZ #5400]
30307         * NEWS: Add fixed bug number.
30309 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30311         [BZ #14519]
30312         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30313         underflowing exponent in case of negative sign.
30314         * stdlib/tst-strtod-round-data: Add more tests.
30315         * stdlib/tst-strtod-round.c (tests): Regenerated.
30317         [BZ #3479]
30318         * stdlib/strtod_l.c (NDIG): Remove.
30319         (HEXNDIG): Likewise.
30320         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30321         smallest representable value.
30322         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30323         lie within an exact representation of 1/2 ulp of the result.
30324         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30325         unconditionally.
30326         (TENS_P9_IDX): Define unconditionally.
30327         (TENS_P9_SIZE): Likewise.
30328         (TENS_P10_IDX): Likewise.
30329         (TENS_P10_SIZE): Likewise.
30330         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30331         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30332         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30333         entries for 10^2^13 and 10^2^14.
30334         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30335         (TENS_P13_IDX): Define.
30336         (TENS_P13_SIZE): Likewise.
30337         (TENS_P14_IDX): Likewise.
30338         (TENS_P14_SIZE): Likewise.
30339         (_fpioconst_pow10): Change array size to
30340         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30341         unconditional.
30342         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30343         1024]: Add entries for 10^2^13 and 10^2^14.
30344         [LAST_POW10 > _LAST_POW10]: Remove #error.
30345         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30346         (_fpioconst_pow10): Change array size to
30347         FPIOCONST_POW10_ARRAY_SIZE.
30348         * stdlib/gen-fpioconst.c: New file.
30349         * stdlib/gen-tst-strtod-round.c: Likewise.
30350         * stdlib/tst-strtod-round-data: Likewise.
30351         * stdlib/tst-strtod-round.c: Likewise.
30352         * stdlib/Makefile (tests): Add tst-strtod-round.
30354         [BZ #14459]
30355         * stdlib/strtod_l.c: Include <stdint.h>.
30356         (NDEBUG): Do not define.
30357         (round_and_return): Change EXPONENT parameter to type intmax_t.
30358         Rearrange calculations to avoid internal overflow possibilities.
30359         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30360         Rearrange calculations to avoid internal overflow possibilities.
30361         Assert that number fits inside MPNSIZE limbs.
30362         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30363         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30364         calculations and add assertions to avoid internal overflow
30365         possibilities.  Add casts to avoid signed/unsigned operations.
30366         * stdlib/tst-strtod-overflow.c: New file.
30367         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30369 2012-08-25  Marek Polacek  <polacek@redhat.com>
30371         * time/time.h: Fix some typos in comments.
30373 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30375         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30376         * posix/tst-rfc3484-2.c: Likewise.
30377         * posix/tst-rfc3484-3.c: Likewise.
30379 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30381         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30382         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30384 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30386         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30387         #include of fxstatat64.c.
30389 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30391         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30392         * shadow/getspent_r.c: Likewise.
30393         * shadow/getspnam.c: Likewise.
30394         * shadow/getspnam_r.c: Likewise.
30395         * gshadow/getsgent.c: Likewise.
30396         * gshadow/getsgent_r.c: Likewise.
30397         * gshadow/getsgnam.c: Likewise.
30398         * gshadow/getsgnam_r.c: Likewise.
30399         * inet/getnetbyad.c: Likewise.
30400         * inet/getnetbyad_r.c: Likewise.
30401         * inet/getnetbynm.c: Likewise.
30402         * inet/getnetbynm_r.c: Likewise.
30403         * inet/getnetent.c: Likewise.
30404         * inet/getnetent_r.c: Likewise.
30405         * inet/getproto.c: Likewise.
30406         * inet/getproto_r.c: Likewise.
30407         * inet/getprtent.c: Likewise.
30408         * inet/getprtent_r.c: Likewise.
30409         * inet/getprtname.c: Likewise.
30410         * inet/getprtname_r.c: Likewise.
30411         * inet/getrpcbyname.c: Likewise.
30412         * inet/getrpcbyname_r.c: Likewise.
30413         * inet/getrpcbynumber.c: Likewise.
30414         * inet/getrpcbynumber_r.c: Likewise.
30415         * inet/getrpcent.c: Likewise.
30416         * inet/getrpcent_r.c: Likewise.
30417         * inet/getaliasent.c: Likewise.
30418         * inet/getaliasent_r.c: Likewise.
30419         * inet/getaliasname.c: Likewise.
30420         * inet/getaliasname_r.c: Likewise.
30421         * nscd/getgrgid_r.c: Likewise.
30422         * nscd/getgrnam_r.c: Likewise.
30423         * nscd/gethstbyad_r.c: Likewise.
30424         * nscd/gethstbynm3_r.c: Likewise.
30425         * nscd/getpwnam_r.c: Likewise.
30426         * nscd/getpwuid_r.c: Likewise.
30427         * nscd/getsrvbynm_r.c: Likewise.
30428         * nscd/getsrvbypt_r.c: Likewise.
30429         * nscd/gai.c: Likewise.
30431         * configure.in (build_nscd): New substituted variable, set
30432         by --disable-build-nscd and defaults to $use_nscd.
30433         * configure: Regenerated.
30434         * config.make.in (build-nscd): New substituted variable.
30435         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30436         Change conditional to require [$(build-nscd) = yes] as well.
30437         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30439         [BZ# 13696]
30440         * configure.in (use_nscd): New substituted variable, set by
30441         --disable-nscd.  If enabled, define USE_NSCD.
30442         * configure: Regenerated.
30443         * config.h.in: Add USE_NSCD.
30444         * config.make.in (use-nscd): New substituted variable.
30445         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30446         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30447         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30448         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30449         (CFLAGS-getgrnam_r.c): Likewise.
30450         (CFLAGS-initgroups.c): Likewise.
30451         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30452         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30453         Variables removed.
30454         * inet/getnetgrent_r.c
30455         (nscd_setnetgrent): New function, broken out of ...
30456         (setnetgrent): ... here.  Call it.
30457         (innetgr): Conditionalize nscd bits on [USE_NSCD].
30458         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30459         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30460         * nscd/Makefile (routines, aux): Move definitions after include of
30461         Makeconfig.  Conditionalize on [$(use-nscd) != no].
30462         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30463         Conditionalize on [USE_NSCD].
30464         (is_nscd, nscd_init_cb): Likewise.
30465         (nss_load_library): Conditionalize init callback on [USE_NSCD].
30466         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30467         * nss/nss_db/db-init.c: Likewise.
30468         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30469         [USE_NSCD].
30470         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30471         (make_request): Use it.
30472         (cache_valid_p): New function.
30473         (__check_pf): Use it.
30474         * NEWS: Add item for --disable-nscd.
30476 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
30478         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30479         to support sed >= 4.2.1-20-ga9bf076.
30480         * configure: Regenerated.
30482 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30484         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30485         Conditionalize whole body on [IREL].
30487 2012-08-22  Jeff Law <law@redhat.com>
30489         [BZ #14505]
30490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30491         if the family is PF_UNSPEC.
30493 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
30495         * Makerules (lib-version): Rename from V.
30496         (install-lib-nosubdir): Change V to lib-version.
30498 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
30500         [BZ #14252]
30501         * powerpc32/power6/wcschr.c: New file.
30502         * powerpc32/power6/wcscpy.c: New file.
30503         * powerpc32/power6/wcsrchr.c: New file.
30504         * powerpc64/power6/wcschr.c: New file.
30505         * powerpc64/power6/wcscpy.c: New file.
30506         * powerpc64/power6/wcsrchr.c: New file.
30508 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30510         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30511         (two_way_short_needle): Use it.
30512         * string/strstr.c (AVAILABLE1_USES_J): Define.
30513         * string/strcasestr.c: Likewise.
30515         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30516         array references.
30517         * string/strcasestr.c (TOLOWER): Make side-effect safe.
30519         [BZ #11607]
30520         * NEWS: Add an entry.
30521         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30522         define their defaults.
30523         (two_way_short_needle): Detect end-of-string on-the-fly.
30524         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30525         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30526         * string/bug-strcasestr1.c: New test.
30527         * string/Makefile: Run it.
30529 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
30531         [BZ #11607]
30532         * string/str-two-way.h (two_way_short_needle): Optimize matching of
30533         the first character.
30535 2012-08-21  Roland McGrath  <roland@hack.frob.com>
30537         * csu/elf-init.c (__libc_csu_irel): Function removed.
30538         * csu/libc-start.c (apply_irel): New function.
30539         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30541 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
30543         * sysdeps/unix/sysv/linux/kernel-features.h
30544         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30545         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30546         <kernel-features.h>.
30547         [__NR_fadvise64_64]: Make code unconditional.
30548         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30549         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30550         !__NR_fadvise64_64)]: Likewise.
30551         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30552         !__NR_fadvise64_64))]: Likewise.
30553         [__NR_fadvise64]: Make code unconditional.
30554         [!__NR_fadvise64]: Remove conditional code.
30555         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30556         <kernel-features.h>.
30557         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30558         unconditional.
30559         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30560         conditional code.
30561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30562         not include <kernel-features.h>.
30563         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30564         unconditional.
30565         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30566         conditional code.
30567         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30568         include <kernel-features.h>.
30569         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30570         unconditional.
30571         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30572         conditional code.
30574 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30576         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30577         slight instruction rearrangements per scrollpipe analysis.
30578         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30580 2012-08-20  Roland McGrath  <roland@hack.frob.com>
30582         * manual/syslog.texi (syslog; vsyslog, closelog):
30583         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30584         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30586         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30587         DSOCAPS to match condition on defining it.
30589 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
30591         * sysdeps/unix/sysv/linux/kernel-features.h
30592         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30594         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30595         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30597         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30598         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30600         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30601         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30603         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30604         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30606         * sysdeps/unix/sysv/linux/kernel-features.h
30607         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30608         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30609         unconditional.
30610         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30611         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30612         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30613         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30614         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30615         Make code unconditional.
30616         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30617         (__mmap64) [!__NR_mmap2]: Likewise.
30618         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30619         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30620         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30621         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30622         [__NR_mmap2]: Make code unconditional.
30623         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30624         (__mmap64) [!__NR_mmap2]: Likewise.
30626 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30628         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30630 2012-08-18  Andreas Jaeger  <aj@suse.de>
30632         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30634 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30636         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30637         * include/unistd.h (__have_sock_cloexec): Likewise.
30638         (__have_pipe2): Likewise.
30639         (__have_dup3): Likewise.
30641 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
30643         [BZ #9685]
30644         * include/unistd.h (__have_pipe2): Change define into an extern int.
30645         (__have_dup3): Likewise.
30646         * socket/have_sock_cloexec.c: Include fcntl.h.
30647         (__have_pipe2): New variable.
30648         (__have_dup3): Likewise.
30650 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
30652         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30654 2012-08-17  Marek Polacek  <polacek@redhat.com>
30656         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30657         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30659 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30661         * configure.in: Add AC_SUBST for sysheaders.
30662         * configure: Regenerated.
30663         * config.make.in (sysheaders): New substituted variable.
30665         * sysdeps/unix/mkfifo.c: Moved ...
30666         * sysdeps/posix/mkfifo.c: ... here.
30667         * sysdeps/unix/mkfifoat.c: Moved ...
30668         * sysdeps/posix/mkfifoat.c: ... here.
30670         * sysdeps/unix/utime.c: Moved ...
30671         * sysdeps/posix/utime.c: ... here.
30673         * sysdeps/unix/time.c: Moved ...
30674         * sysdeps/posix/time.c: ... here.
30675         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30676         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30678         * sysdeps/unix/nice.c: Moved ...
30679         * sysdeps/posix/nice.c: ... here.
30681         * sysdeps/unix/alarm.c: Moved ...
30682         * sysdeps/posix/alarm.c: ... here.
30684         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30686 2012-08-17  Jeff Law <law@redhat.com>
30688         * intl/Makefile (codeset_mo): New variable.
30689         ($(codeset_mo)): New target.
30690         (tst-codeset.out): Depend on that.  Remove explicit rule.
30691         (tst-gettext3.out, tst-gettext5.out): Likewise.
30692         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30693         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30694         * intl/tst-codeset.sh: Remove.
30695         * intl/tst-gettext3.sh: Likewise.
30696         * intl/tst-gettext5.sh: Likewise.
30698 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30700         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30701         * sysdeps/unix/syscalls.list: ... here.
30703         * sysdeps/posix/getaddrinfo.c
30704         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30705         (gaiconf_init, gaiconf_reload): Use them.
30706         [!_STATBUF_ST_NSEC]
30707         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30708         Define using time_t rather than struct timespec.
30710         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30711         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30712         Macros removed.
30713         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30714         [!NO_THREADS].
30715         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30716         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30717         Likewise.
30719         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30720         __libc_cleanup_push argument.
30722         * bits/param.h: New file.
30723         * misc/sys/param.h: New file.
30724         * include/sys/param.h: New file.
30725         * misc/Makefile (headers): Add bits/param.h.
30726         * sysdeps/generic/sys/param.h: File removed.
30727         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30728         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30729         * sysdeps/mach/hurd/bits/param.h: New file.
30730         * sysdeps/mach/hurd/sys/param.h: File removed.
30732         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30733         last change.
30735         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30736         [_IO_MTSAFE_IO].
30737         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30738         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30739         New macros.
30741         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30742         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30743         rather than -D_IO_MTSAFE_IO conditionally.
30744         * stdio-common/Makefile (CPPFLAGS): Likewise.
30745         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30746         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30747         Use $(libio-mtsafe).
30748         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30749         of -D_IO_MTSAFE_IO.
30750         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30751         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30752         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30753         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30754         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30755         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30756         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30757         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30758         (CFLAGS-fread_u_chk.c): Likewise.
30759         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30760         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30761         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30762         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30763         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30764         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30765         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30766         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30767         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30769         * libio/Makefile: Test [$(libc-reentrant) = yes]
30770         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30772         * Makeconfig
30773         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30774         * sysdeps/pthread/configure: File removed.
30775         * sysdeps/pthread/Makeconfig: New file.
30776         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30777         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30779 2012-08-16  Gary Benson  <gbenson@redhat.com>
30781         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30782         unmapping the first object in a namespace.
30784 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30786         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30787         (__internal_setnetgrent): ... this.  Add internal_function to
30788         definition.  Add libc_hidden_def.
30789         (setnetgrent): Update caller.
30790         (internal_endnetgrent): Renamed to ...
30791         (__internal_endnetgrent): ... this.  Add internal_function to
30792         definition.  Add libc_hidden_def.
30793         (endnetgrent): Update caller.
30794         (internal_getnetgrent_r): Renamed to ...
30795         (__internal_getnetgrent_r): ... this.  Add internal_function to
30796         definition.  Add libc_hidden_def.
30797         (__getnetgrent_r): Update caller.
30798         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30800 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30802         * stdlib/longlong.h: Update from GCC.
30804 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30806         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30807         on _QL, which is set by umul_ppmm but never used.
30808         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30809         variables, which are set by GMP macros but never used.
30810         * stdio-common/_itowa.c (_itowa): Likewise.
30811         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30812         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30814 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30816         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30817         struct La_sh_regs is not constant.
30818         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30819         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30820         and struct La_sparc64_regs are not constant.
30822 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30824         * sysdeps/unix/sysv/linux/kernel-features.h
30825         (__ASSUME_POSIX_TIMERS): Remove.
30826         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30827         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30828         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30829         Make code unconditional.
30830         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30831         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30832         Make code unconditional.
30833         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30834         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30835         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30836         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30837         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30838         Make code unconditional.
30839         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30840         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30841         (__libc_missing_posix_timers): Remove.
30843 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30845         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30846         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30848         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30850         * elf/dl-sym.c: Include <stdlib.h>.
30852         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30853         constants, which avoids warnings in 32-bit builds.
30855         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30856         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30858         * misc/lseek.c: File moved to ...
30859         * io/lseek.c: ... here.
30861         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30863         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30864         shifting LEN more than 31 bits at once.
30866 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30868         [BZ #14195]
30869         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30870         segmentation fault for a case of two empty input strings.
30871         * string/test-strncasecmp.c (check1): Renamed to...
30872         (bz12205): ...this.
30873         (bz14195): Add new testcase for two empty input strings and N > 0.
30874         (test_main): Call new testcase, adapt for renamed function.
30876 2012-08-15  Andreas Jaeger  <aj@suse.de>
30878         [BZ #14090]
30879         * crypt/md5test2.c: New test, based on test supplied by Serge
30880         Belyshev <belyshev@depni.sinp.msu.ru>.
30881         * crypt/Makefile (xtests): Add md5test-giant..
30882         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30884 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30886         [BZ #14090]
30887         * crypt/md5.c (md5_process_block): Don't assume the buffer
30888         length is less than 2**32.
30889         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30890         length is less than 2**64.
30892 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30894         * string/str-two-way.h: Include <sys/param.h>.
30895         (MAX): Macro removed.
30897         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30898         Move #define and #undef of memmove to just before and after
30899         including <string.h>.
30901         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30902         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30903         and after including <string.h>.  Move declarations of
30904         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30905         to before #include "string/memmove.c".
30907         * include/dirent.h: Declare __getdirentries.
30909         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30910         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30912 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30914         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30915         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30916         * sysdeps/i386/configure: Regenerated.
30917         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30918         STABS_CURRENT_FILE, and STABS_FUN.
30919         (END): Remove call to STABS_FUN_END.
30920         (STABS_CURRENT_FILE1): Delete.
30921         (STABS_CURRENT_FILE): Likewise.
30922         (STABS_FUN): Likewise.
30923         (STABS_FUN_END): Likewise.
30924         (STABS_FUN2): Likewise.
30925         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30926         * sysdeps/x86_64/configure: Regenerated.
30928 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30930         * elf/dl-open.c: Include <atomic.h>.
30931         * elf/dl-lookup.c: Likewise.
30933 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30935         * sysdeps/unix/sysv/linux/kernel-features.h
30936         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30937         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30938         unconditionally.
30939         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30940         unconditionally.
30941         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30942         condition on __ASSUME_CLONE_THREAD_FLAGS.
30944 2012-08-14  Andreas Jaeger  <aj@suse.de>
30946         * sysdeps/i386/fpu/libm-test-ulps: Update.
30948 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30950         * include/atomic.h (atomic_exchange_and_add): Split into ...
30951         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30952         New atomic macros.
30954 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30958 2012-08-13  Jeff Law <law@redhat.com>
30960         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30961         null byte in the output string.
30963 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30965         * sysdeps/unix/sysv/linux/kernel-features.h
30966         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30967         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30968         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30969         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30970         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30971         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30972         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30974 2012-08-09  Jeff Law <law@redhat.com>
30976         [BZ #13939]
30977         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30978         When avoid_arena is set, don't retry in the that arena.  Pick the
30979         next one, whatever it might be.
30980         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30981         (arena_lock): Pass in new parameter to arena_get2.
30982         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30983         arena_get2.
30984         (__libc_malloc): Unify retrying after main arena failure with
30985         __libc_memalign version.
30986         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30988 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30990         [BZ #14166]
30991         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30992         to __redirect_strstr.
30993         (__strstr_sse42): Use typeof __redirect_strstr.
30994         (__strstr_ia32): Likewise.
30995         (__libc_strstr): New prototype.
30996         (strstr): Renamed to ...
30997         (__libc_strstr): This.
30998         (strstr): New strong alias of __libc_strstr.
30999         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31000         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31001         __redirect_time.
31002         Include <time.h>.
31003         (__libc_time): New prototype.
31004         (time_ifunc): Replace time with __libc_time.
31005         (time): New strong alias and hidden definition of __libc_time.
31006         (__GI_time): Remove strong alias.
31007         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31008         Include <stddef.h>.
31009         (memmove): Redefined to __redirect_memmove.
31010         (__memmove_sse2): Use typeof __redirect_memmove.
31011         (__memmove_ssse3): Likewise.
31012         (__memmove_ssse3_back): Likewise.
31013         (__libc_memmove): New prototype.
31014         (memmove): Renamed to ...
31015         (__libc_memmove): This.
31016         (memmove): New strong alias of __libc_memmove.
31018 2012-08-08  Mark Salter  <msalter@redhat.com>
31020         * elf/elf.h
31021         (R_MN10300_TLS_GD): Define.
31022         (R_MN10300_TLS_LD): Likewise.
31023         (R_MN10300_TLS_LDO): Likewise.
31024         (R_MN10300_TLS_GOTIE): Likewise.
31025         (R_MN10300_TLS_IE): Likewise.
31026         (R_MN10300_TLS_LE): Likewise.
31027         (R_MN10300_TLS_DTPMOD): Likewise.
31028         (R_MN10300_TLS_DTPOFF): Likewise.
31029         (R_MN10300_TLS_TPOFF): Likewise.
31030         (R_MN10300_SYM_DIFF): Likewise.
31031         (R_MN10300_ALIGN): Likewise.
31032         (R_MN10300_NUM): Update.
31034 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31036         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31037         Remove.
31039 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31041         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31043         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31044         sysdeps/unix -> sysdeps/posix move.
31045         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31047 2012-08-07      Allan McRae     <allan@archlinux.org>
31049         [BZ #14303]
31050         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31051         (SUNOS_CPP): Likewise.
31052         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31053         not found.
31054         (open_input): Call CPP using execvp.
31056 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31058         * sysdeps/unix/sysv/linux/kernel-features.h
31059         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31060         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31061         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31062         (__ASSUME_WAITID_SYSCALL): Likewise.
31063         * sysdeps/unix/sysv/linux/dl-execstack.c
31064         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31065         code unconditional.
31066         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31067         conditional code.
31068         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31069         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31070         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31071         code.
31072         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31073         unconditional.
31074         [__ASSUME_WAITID_SYSCALL]: Likewise.
31075         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31077 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31079         * sysdeps/unix/closedir.c: Renamed to ...
31080         * sysdeps/posix/closedir.c: ... here.
31081         * sysdeps/unix/dirfd.c: Renamed to ...
31082         * sysdeps/posix/dirfd.c: ... here.
31083         * sysdeps/unix/dirstream.h: Renamed to ...
31084         * sysdeps/posix/dirstream.h: ... here.
31085         * sysdeps/unix/fdopendir.c: Renamed to ...
31086         * sysdeps/posix/fdopendir.c: ... here.
31087         * sysdeps/unix/opendir.c: Renamed to ...
31088         * sysdeps/posix/opendir.c: ... here.
31089         * sysdeps/unix/readdir.c: Renamed to ...
31090         * sysdeps/posix/readdir.c: ... here.
31091         * sysdeps/unix/readdir_r.c: Renamed to ...
31092         * sysdeps/posix/readdir_r.c: ... here.
31093         * sysdeps/unix/rewinddir.c: Renamed to ...
31094         * sysdeps/posix/rewinddir.c: ... here.
31095         * sysdeps/unix/seekdir.c: Renamed to ...
31096         * sysdeps/posix/seekdir.c: ... here.
31097         * sysdeps/unix/telldir.c: Renamed to ...
31098         * sysdeps/posix/telldir.c: ... here.
31099         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31100         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31101         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31102         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31104         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31105         * bits/fcntl.h: ... here.
31107         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31108         not 0.
31109         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31110         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31111         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31112         (struct flock): Move l_start, l_len to the beginning.
31113         Use __pid_t for l_pid.
31114         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31115         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31116         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31117         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31118         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31119         [__USE_LARGEFILE64] (struct flock64): New type.
31120         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31122         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31123         * bits/dirent.h: ... here.
31125         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31126         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31128 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31130         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31131         Change from 2.6.0 to 2.6.16.
31132         * sysdeps/unix/sysv/linux/configure: Regenerated.
31133         * sysdeps/unix/sysv/linux/kernel-features.h
31134         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31135         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31136         version.
31137         (__ASSUME_UTIMES): Likewise.
31138         (__ASSUME_CLONE_STOPPED): Remove.
31139         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31140         architectures, not kernel version.
31141         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31142         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31143         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31144         (__ASSUME_WAITID_SYSCALL): Likewise.
31145         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31146         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31147         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31148         refer to older versions.
31150 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31152         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31153         Define alphasort64 as an alias.
31154         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31155         Define versionsort64 as an alias.
31156         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31157         Define scandir64 as an alias.
31158         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31159         Define scandirat64 as an alias.
31160         * dirent/alphasort64.c (alphasort64):
31161         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31162         * dirent/versionsort64.c: Likewise.
31163         * dirent/scandir64.c: Likewise.
31164         * dirent/scandirat64.c: Likewise.
31165         * sysdeps/wordsize-64/alphasort.c: File removed.
31166         * sysdeps/wordsize-64/alphasort64.c: File removed.
31167         * sysdeps/wordsize-64/scandir.c: File removed.
31168         * sysdeps/wordsize-64/scandir64.c: File removed.
31169         * sysdeps/wordsize-64/scandirat.c: File removed.
31170         * sysdeps/wordsize-64/scandirat64.c: File removed.
31171         * sysdeps/wordsize-64/versionsort.c: File removed.
31172         * sysdeps/wordsize-64/versionsort64.c: File removed.
31173         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31174         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31175         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31176         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31177         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31178         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31179         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31180         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31182         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31183         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31184         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31185         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31186         [defined __arch64__ || defined __sparcv9]
31187         (__INO_T_MATCHES_INO64_T): New macro.
31188         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31189         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31190         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31191         * sysdeps/unix/sysv/linux/bits/dirent.h
31192         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31193         (_DIRENT_MATCHES_DIRENT64): New macro.
31195         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31196         Define lockf64 as an alias.
31197         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31198         Define fseeko64 as an alias.
31199         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31200         Define ftello64 as an alias.
31201         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31202         Define _IO_fgetpos64 and fgetpos64 as aliases.
31203         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31204         Define _IO_fsetpos64 and fsetpos64 as aliases.
31205         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31206         Conditionalize body on this.
31207         * libio/fseeko64.c: Likewise.
31208         * libio/ftello64.c: Likewise.
31209         * libio/iofgetpos64.c: Likewise.
31210         * libio/iofsetpos64.c: Likewise.
31211         * sysdeps/wordsize-64/lockf.c: File removed.
31212         * sysdeps/wordsize-64/lockf64.c: File removed.
31213         * sysdeps/wordsize-64/fseeko.c: File removed.
31214         * sysdeps/wordsize-64/fseeko64.c: File removed.
31215         * sysdeps/wordsize-64/ftello.c: File removed.
31216         * sysdeps/wordsize-64/ftello64.c: File removed.
31217         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31218         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31219         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31220         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31221         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31222         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31223         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31224         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31225         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31226         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31227         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31228         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31229         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31230         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31232         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31233         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31234         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31235         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31236         [defined __arch64__ || defined __sparcv9]
31237         (__OFF_T_MATCHES_OFF64_T): New macro.
31238         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31239         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31240         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31241         (__OFF_T_MATCHES_OFF64_T): New macro.
31243 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31245         * stdlib/secure-getenv.c (__secure_getenv): Replace
31246         GLIBC_2_16 with GLIBC_2_17.
31248 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31250         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31251         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31253 2012-08-03  David S. Miller  <davem@davemloft.net>
31255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31257 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31259         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31260         Remove.
31261         (__ASSUME_CORRECT_SI_PID): Likewise.
31262         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31263         (__ASSUME_TMPFS_NAME): Likewise.
31264         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31265         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31266         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31267         (HAVE_AUX_SECURE): Make definition unconditional.
31268         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31269         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31271 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31273         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31274         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31275         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31276         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31277         __eloop_threshold instead of SYMLOOP_MAX.
31279         * sysdeps/generic/eloop-threshold.h: New file.
31280         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31281         of MAXSYMLINKS.
31282         * elf/chroot_canon.c (chroot_canon): Likewise.
31284 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31286         [BZ #13717]
31287         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31288         Change to 2.6.0 everywhere.
31289         * sysdeps/unix/sysv/linux/configure: Regenerated.
31290         * sysdeps/unix/sysv/linux/kernel-features.h
31291         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31292         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31293         kernel versions.
31294         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31295         (__ASSUME_FUTEX_REQUEUE): Remove.
31296         (__ASSUME_STATFS64): Define unconditionally.
31297         (__ASSUME_AT_SECURE): Likewise.
31298         (__ASSUME_CORRECT_SI_PID): Likewise.
31299         (__ASSUME_TGKILL): Define without depending on kernel version for
31300         i386.
31301         (__ASSUME_UTIMES): Likewise.
31302         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31303         kernel version.
31304         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31305         (__ASSUME_TMPFS_NAME): Likewise.
31306         * README: Update reference to Linux kernel versions.
31308 2012-08-02  Marek Polacek  <polacek@redhat.com>
31310         [BZ# 14150]
31311         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31312         libc_cv_asm_type_prefix with %.
31313         * configure: Regenerated.
31314         * include/libc-symbols.h: Remove comment about
31315         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31316         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31317         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31318         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31319         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31320         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31321         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31322         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31323         * elf/tst-unique2mod1.c: Likewise.
31324         * elf/tst-unique1mod2.c: Likewise.
31325         * elf/tst-unique1mod1.c: Likewise.
31326         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31327         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31328         Replace ASM_TYPE_DIRECTIVE with .type.
31329         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31330         * sysdeps/i386/sysdep.h: Likewise.
31331         * sysdeps/x86_64/sysdep.h: Likewise.
31332         * sysdeps/sh/sysdep.h: Likewise.
31333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31334         Do not define ASM_TYPE_DIRECTIVE.
31335         * sysdeps/powerpc/sysdep.h: Likewise.
31336         * sysdeps/powerpc/powerpc32/sysdep.h:
31337         Replace ASM_TYPE_DIRECTIVE with .type.
31338         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31339         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31340         * sysdeps/i386/fpu/e_powf.S: Likewise.
31341         * sysdeps/i386/fpu/e_expl.S: Likewise.
31342         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31343         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31344         * sysdeps/i386/fpu/e_pow.S: Likewise.
31345         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31346         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31347         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31348         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31349         * sysdeps/i386/fpu/e_log2.S: Likewise.
31350         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31351         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31352         * sysdeps/i386/fpu/e_powl.S: Likewise.
31353         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31354         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31355         * sysdeps/i386/fpu/e_logl.S: Likewise.
31356         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31357         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31358         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31359         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31360         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31361         * sysdeps/i386/fpu/e_log.S: Likewise.
31362         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31363         * sysdeps/i386/fpu/e_logf.S: Likewise.
31364         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31365         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31366         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31367         * sysdeps/i386/fpu/e_log10.S: Likewise.
31368         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31369         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31370         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31371         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31372         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31373         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31374         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31375         * sysdeps/i386/i686/strtok.S: Likewise.
31376         * sysdeps/i386/i386-mcount.S: Likewise.
31377         * sysdeps/i386/strtok.S: Likewise.
31378         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31379         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31380         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31381         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31382         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31383         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31384         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31385         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31386         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31387         * sysdeps/x86_64/_mcount.S: Likewise.
31388         * sysdeps/x86_64/strtok.S: Likewise.
31389         * sysdeps/sh/_mcount.S: Likewise.
31391 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31393         * libio/iofopen.c: Include <fcntl.h>.
31394         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31395         (_IO_fopen64, fopen64): Define as aliases.
31396         * libio/iofopen64.c: Include <fcntl.h>.
31397         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31398         Conditionalize body on this.
31399         * sysdeps/wordsize-64/iofopen.c: File removed.
31400         * sysdeps/wordsize-64/iofopen64.c: File removed.
31402 2012-08-01  Marek Polacek  <polacek@redhat.com>
31404         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31405         Use dlfcn directly instead of a variable.
31406         (binfmt-subdir): Do not define.
31407         (dlfcn): Likewise.
31409 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31411         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31412         Remove all definitions.
31413         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31414         <kernel-features.h>.
31415         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31416         (miss_F_GETOWN_EX): Remove all definitions.
31417         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31418         macro definition.
31419         [!__ASSUME_FCNTL64]: Remove conditional code.
31420         [__ASSUME_FCNTL64]: Make code unconditional.
31421         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31422         <kernel-features.h>.
31423         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31424         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31425         (lockf64) [__NR_fcntl64]: Make code unconditional.
31426         (lockf64) [__ASSUME_FCNTL64]: Likewise.
31428         * sysdeps/unix/sysv/linux/kernel-features.h
31429         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31430         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31431         Make code unconditional.
31432         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31433         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31435         [__NR_vfork]: Make code unconditional.
31436         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31437         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31439         [__NR_vfork]: Make code unconditional.
31440         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31441         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31443 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31445         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31446         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31448         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31449         Define mkstemp64 as an alias.
31450         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31451         Define mkstemps64 as an alias.
31452         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31453         Define mkostemp64 as an alias.
31454         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31455         Define mkostemps64 as an alias.
31456         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31457         Conditionalize body on this.
31458         * misc/mkostemp64.c: Likewise.
31459         * misc/mkostemps64.c: Likewise.
31460         * misc/mkstemps64.c: Likewise.
31461         * sysdeps/wordsize-64/mkstemp64.c: File removed.
31462         * sysdeps/wordsize-64/mkostemp64.c: File removed.
31463         * sysdeps/wordsize-64/mkostemp.c: File removed.
31464         * sysdeps/wordsize-64/mkstemp.c: File removed.
31465         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31466         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31467         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31468         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31470         [BZ #14138]
31471         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31472         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31473         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31474         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31476         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31477         compat_symbol macros from <shlib-compat.h> rather than the underlying
31478         default_symbol_version and symbol_version macros, so that DEFAULT
31479         lines in shlib-versions are respected.
31480         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31482 2012-08-01  Florian Weimer  <fweimer@redhat.com>
31484         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31485         Declare with warn_unused_result.
31486         (setgid, setregid, setegid, setresgid): Likewise.
31487         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31488         Likewise.
31489         * WUR-REPORT: Remove set*id functions.
31491 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
31493         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31495 2012-07-31  Roland McGrath  <roland@hack.frob.com>
31497         [BZ #10191]
31498         * include/sys/socket.h (__libc_accept, __libc_accept4):
31499         Add attribute_hidden.
31500         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31502         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31503         use of PTR_MANGLE.
31504         * inet/getnetgrent_r.c (setup): Likewise.
31506         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31508 2012-07-31  David S. Miller  <davem@davemloft.net>
31510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31512 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
31514         [BZ #13629]
31515         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31516         value between 1.0 and 2.0 and smaller part has absolute value less
31517         than 1.0.
31518         * math/s_clog10.c (__clog10): Likewise.
31519         * math/s_clog10f.c (__clog10f): Likewise.
31520         * math/s_clog10l.c (__clog10l): Likewise.
31521         * math/s_clogf.c (__clogf): Likewise.
31522         * math/s_clogl.c (__clogl): Likewise.
31523         * math/libm-test.inc (clog_test): Add more tests.
31524         (clog10_test): Likewise.
31525         * sysdeps/i386/fpu/libm-test-ulps: Update.
31526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31528 2012-07-31  Florian Weimer  <fweimer@redhat.com>
31530         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31531         Exit with zero in case no suitable GID is found, and write a
31532         message to standard error.
31534 2012-07-30  Roland McGrath  <roland@hack.frob.com>
31536         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31537         rather than to 1.
31538         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31539         (MAXPATHLEN): Removed.
31540         (NOGROUP, NODEV): New macros.
31541         (setbit, clrbit, isset, isclr): New macros.
31542         (howmany, roundup, powerof2): New macros.
31543         (DEV_BSIZE): New macro.
31545         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31546         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31548         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31549         definition on [!__NO_LONG_DOUBLE_MATH].
31551         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31552         PTR_MANGLE and PTR_DEMANGLE.
31554         * socket/accept4.c (accept4): Rename to __libc_accept4.
31555         Define accept4 as a weak alias.
31557         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31558         on [_DIRENT_HAVE_D_TYPE].
31559         * io/ftw.c (ftw_dir): Likewise.
31561         * io/xmknod.c (__xmknod): Don't check PATH for being null.
31563         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31565         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31566         Use the BSD numbers rather than the arbitrary ones we had.
31567         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31568         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31569         (SIGXCPU, SIGXFSZ): New macros.
31570         (_NSIG): Now 32.
31572         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31573         initializer on [_LIBC_REENTRANT].
31575         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31576         definitions inside [_POSIX_MAPPED_FILES].
31578         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31580         * dirent/opendir.c: Include <fcntl.h>.
31582         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31583         (__libc_getspecific): Likewise.
31584         (__libc_key_create): Likewise.
31586         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31587         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31588         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31589         (tmpfile64): Define as alias.
31590         * sysdeps/wordsize-64/tmpfile.c: File removed.
31591         * sysdeps/wordsize-64/tmpfile64.c: File removed.
31592         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31593         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31595         * stdio-common/vfscanf.c: Include <stdbool.h>.
31596         * nss/makedb.c: Likewise.
31597         * stdio-common/_i18n_number.h: Likewise.
31598         * argp/argp-help.c: Likewise.
31599         * posix/wordexp.c: Likewise.
31600         * sysdeps/posix/spawni.c: Likewise.
31601         * nss/nss_files/files-initgroups.c: Likewise.
31602         * stdio-common/reg-modifier.c: Include <stdlib.h>.
31603         * nss/nss_files/files-initgroups.c: Likewise.
31604         * nss/nss_db/db-netgrp.c: Likewise.
31605         * nss/nss_db/db-initgroups.c: Likewise.
31606         * io/fchmodat.c: Include <sys/stat.h>.
31608         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31609         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31611         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31612         [HAVE_MMAP].
31614         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31615         Add multiple inclusion protection.
31617 2012-07-27  David S. Miller  <davem@davemloft.net>
31619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31621 2012-07-27  Gary Benson  <gbenson@redhat.com>
31623         [BZ #14298]
31624         * elf/rtld.c: Include <stap-probe.h>.
31625         (dl_main): Added static probes "init_start" and "init_complete".
31626         * elf/dl-load.c: Include <stap-probe.h>.
31627         (lose): Take new parameter "nsid".
31628         Added static probe "map_failed".
31629         (_dl_map_object_from_fd): Pass namespace id to lose.
31630         Added static probe "map_start".
31631         (open_verify): Pass namespace id to lose.
31632         * elf/dl-open.c: Include <stap-probe.h>.
31633         (dl_open_worker) Added static probes "map_complete", "reloc_start"
31634         and "reloc_complete".
31635         * elf/dl-close.c: Include <stap-probe.h>.
31636         (_dl_close_worker): Added static probes "unmap_start" and
31637         "unmap_complete".
31638         * elf/rtld-debugger-interface.txt: New file documenting the above.
31640 2012-07-26  Roland McGrath  <roland@hack.frob.com>
31642         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31643         rather than a string variable.
31644         * sunrpc/rpc_main.c (h_output): Likewise.
31645         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31647 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
31649         * inet/check_native.c: New file.
31651 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31653         [BZ #13629]
31654         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31655         if larger part has absolute value 1.0.
31656         * math/s_clog10.c (__clog10): Likewise.
31657         * math/s_clog10f.c (__clog10f): Likewise.
31658         * math/s_clog10l.c (__clog10l): Likewise.
31659         * math/s_clogf.c (__clogf): Likewise.
31660         * math/s_clogl.c (__clogl): Likewise.
31661         * math/libm-test.inc (clog_test): Add more tests.
31662         (clog10_test): Likewise.
31663         * sysdeps/i386/fpu/libm-test-ulps: Update.
31664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31666         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31667         (pltexit): Likewise.
31668         (La_regs): Likewise.
31669         (La_retval): Likewise.
31670         (int_retval): Likewise.
31671         Update #error for removed macros to refer only to definitions in
31672         tst-audit.h.
31673         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31674         macro.
31675         (pltexit): Likewise.
31676         (La_regs): Likewise.
31677         (La_retval): Likewise.
31678         (int_retval): Likewise.
31679         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31680         macro.
31681         (pltexit): Likewise.
31682         (La_regs): Likewise.
31683         (La_retval): Likewise.
31684         (int_retval): Likewise.
31685         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31686         macro.
31687         (pltexit): Likewise.
31688         (La_regs): Likewise.
31689         (La_retval): Likewise.
31690         (int_retval): Likewise.
31691         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31692         macro.
31693         (pltexit): Likewise.
31694         (La_regs): Likewise.
31695         (La_retval): Likewise.
31696         (int_retval): Likewise.
31697         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31698         macro.
31699         (pltexit): Likewise.
31700         (La_regs): Likewise.
31701         (La_retval): Likewise.
31702         (int_retval): Likewise.
31703         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31704         macro.
31705         (pltexit): Likewise.
31706         (La_regs): Likewise.
31707         (La_retval): Likewise.
31708         (int_retval): Likewise.
31709         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31710         macro definitions in tst-audit.h.
31711         * sysdeps/i386/tst-audit.h: New file.
31712         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31713         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31714         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31715         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31716         * sysdeps/sh/tst-audit.h: Likewise.
31717         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31718         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31719         * sysdeps/x86_64/tst-audit.h: Likewise.
31721 2012-07-26  Andreas Jaeger  <aj@suse.de>
31723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31724         ptrace.
31726         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31727         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31728         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31729         PTRACE_O_MASK.
31730         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31731         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31732         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31734         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31735         value.
31737         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31738         _sigsys.
31739         (si_call_addr, si_syscall, si_arch): Define new macro.
31740         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31741         _sigsys.
31742         (si_call_addr, si_syscall, si_arch): Define new marcro.
31743         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31744         _sigsys.
31745         (si_call_addr, si_syscall, si_arch): Define new macro.
31746         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31747         _sigsys.
31748         (si_call_addr, si_syscall, si_arch): Define new macro.
31750 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31752         [BZ #13717]
31753         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31754         Change to 2.4.21 where previously 2.4.1.
31755         * sysdeps/unix/sysv/linux/configure: Regenerated.
31756         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31757         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31758         Linux kernel version.
31759         (__ASSUME_STD_AUXV): Remove.
31760         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31761         kernel version.
31762         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31763         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31764         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31765         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31766         (__ASSUME_NETLINK_SUPPORT): Likewise.
31767         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31768         (__no_netlink_support): Remove conditional definition.
31769         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31770         Remove.
31771         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31772         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31773         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31774         (if_nameindex_ioctl): Remove.
31775         (if_nameindex_netlink): Do not handle __no_netlink_support.
31776         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31777         code.
31778         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31779         Remove conditional code.
31780         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31781         code.
31782         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31783         unconditional.
31784         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31785         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31786         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31787         Remove.
31788         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31789         [!__ASSUME_STD_AUXV]: Remove conditional code.
31790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31791         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31792         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31794         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31795         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31796         code.
31797         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31799         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31800         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31801         conditional code.
31802         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31804         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31805         code.
31806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31807         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31808         conditional code.
31809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31810         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31811         code unconditional.
31812         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31813         conditional code.
31814         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31815         unconditional.
31816         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31817         conditional code.
31818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31819         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31820         unconditional.
31821         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31822         conditional code.
31823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31824         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31825         code unconditional.
31826         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31827         conditional code.
31828         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31829         unconditional.
31830         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31831         conditional code.
31832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31833         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31834         code unconditional.
31835         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31836         conditional code.
31837         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31838         unconditional.
31839         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31840         conditional code.
31842 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31844         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31845         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31846         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31847         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31848         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31849         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31850         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31851         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31852         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31853         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31854         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31855         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31856         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31857         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31858         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31859         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31860         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31861         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31862         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31864         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31865         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31866         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31868 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31870         * Versions.def: Add GLIBC_2.17.
31871         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31872         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31873         Introduce __libc_secure_getenv.
31874         * stdlib/Versions (2.17): Add secure_getenv
31875         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31876         * stdlib/secure-getenv.c: Rename __secure_getenv to
31877         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31878         symbol __secure_getenv for GLIBC_2.0.
31879         * stdlib/tst-secure-getenv.c: New.
31880         * stdlib/Makefile (tests): Add testcase.
31881         * manual/startup.texi (Environment Access): Document
31882         secure_getenv.
31883         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31884         __libc_secure_getenv.
31885         * inet/ruserpass.c (ruserpass): Likewise.
31886         * malloc/mtrace.c (mtrace): Likewise.
31887         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31888         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31889         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31890         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31891         HAVE_SECURE_GETENV.
31892         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31893         __secure_getenv to __libc_secure_getenv.
31894         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31896         Likewise.
31897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31898         Likewise.
31899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31901         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31907 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31909         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31910         (struct La_i86_retval): Likewise.
31911         (struct La_x86_64_regs): Likewise.
31912         (struct La_x86_64_retval): Likewise.
31913         (struct La_x32_regs): Likewise.
31914         (struct La_x32_retval): Likewise.
31915         (struct La_ppc32_regs): Likewise.
31916         (struct La_ppc32_retval): Likewise.
31917         (struct La_ppc64_regs): Likewise.
31918         (struct La_ppc64_retval): Likewise.
31919         (struct La_sh_regs): Likewise.
31920         (struct La_sh_retval): Likewise.
31921         (struct La_s390_32_regs): Likewise.
31922         (struct La_s390_32_retval): Likewise.
31923         (struct La_s390_64_regs): Likewise.
31924         (struct La_s390_64_retval): Likewise.
31925         (struct La_sparc32_regs): Likewise.
31926         (struct La_sparc32_retval): Likewise.
31927         (struct La_sparc64_regs): Likewise.
31928         (struct La_sparc64_retval): Likewise.
31929         (struct audit_ifaces): Remove architecture-specific pltenter and
31930         pltexit members.
31931         * sysdeps/i386/ldsodefs.h: New file.
31932         * sysdeps/powerpc/ldsodefs.h: Likewise.
31933         * sysdeps/s390/ldsodefs.h: Likewise.
31934         * sysdeps/sh/ldsodefs.h: Likewise.
31935         * sysdeps/sparc/ldsodefs.h: Likewise.
31936         * sysdeps/x86_64/ldsodefs.h: Likewise.
31938 2012-07-25  Marek Polacek  <polacek@redhat.com>
31940         [BZ #6808]
31941         * math/libm-test.inc (yn_test): Add another test.
31942         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31943         to ERANGE when the result is +-Inf.
31944         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31945         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31946         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31947         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31949 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31951         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31952         equal to 0.
31953         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31954         clock_t.
31955         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31957 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31959         * configure.in <sysdeps resolving>: Correct printing
31960         Implies_before.
31961         * configure: Regenerate.
31963 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31965         * math/w_ilogb.c: Include <limits.h>.
31966         * math/w_ilogbl.c: Likewise.
31968 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31970         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31971         va_copy.  Document allowing for unavailable va_copy only as
31972         pre-C99 compatibility.
31973         * manual/string.texi (Copying and Concatenation): Use va_copy
31974         instead of __va_copy in concat example.
31976 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31978         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31979         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31980         it if not null.
31982         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31983         with O_NOLINK passed to __file_name_lookup.
31985         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31986         with O_NOLINK passed to __file_name_lookup.
31988         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31989         negative N or less than NGIDS.
31991         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31992         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31993         enough.  Use memcpy instead of strncpy.
31995 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31997         * elf/Makefile (check-data): Remove.
31998         (localplt.data): New vpath directive.
31999         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32000         instead of $(check-data).
32001         * scripts/data/localplt-generic.data: Move to ...
32002         * sysdeps/generic/localplt.data: ... here.
32003         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32004         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32005         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32007         ... here.
32008         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32010         ... here.
32011         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32013         ... here.
32014         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32016         ... here.
32017         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32019         ... here.
32020         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32022         ... here.
32024 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32026         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32027         PPC32 and PPC64 files.
32028         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32029         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32031 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32033         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32034         __makecontext_ret to ...
32035         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32036         ... here and call exit if uc_link is NULL.  New file.
32037         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32038         __makecontext_ret.S.
32039         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32040         __makecontext_ret to ...
32041         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32042         ... here and call exit if uc_link is NULL.  New file.
32043         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32044         __makecontext_ret.S.
32046 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32048         * elf/elf.h (R_390_IRELATIVE): New definition.
32049         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32050         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32051         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32052         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32053         (elf_machine_lazy_rel): Likewise.
32054         * sysdeps/s390/dl-irel.h: New file.
32055         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32056         * sysdeps/s390/s390-64/memset.S: New asm code.
32057         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32058         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32059         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32060         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32061         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32062         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32063         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32064         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32065         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32066         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32067         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32068         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32069         * sysdeps/s390/s390-32/memset.S: New asm code.
32070         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32072 2012-07-17  Marek Polacek  <polacek@redhat.com>
32074         [BZ #14349]
32075         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32076         * sysdeps/s390/s390-64/configure.in: Likewise.
32077         * sysdeps/sparc/configure.in: Likewise.
32078         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32079         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32080         * sysdeps/i386/configure.in: Likewise.
32081         * sysdeps/x86_64/configure.in: Likewise.
32082         * sysdeps/sh/configure.in: Likewise.
32083         * sysdeps/s390/s390-32/configure: Regenerated.
32084         * sysdeps/s390/s390-64/configure: Likewise.
32085         * sysdeps/x86_64/configure: Likewise.
32086         * sysdeps/sh/configure: Likewise.
32087         * sysdeps/powerpc/powerpc64/configure: Likewise.
32088         * sysdeps/powerpc/powerpc32/configure: Likewise.
32089         * sysdeps/sparc/configure: Likwise.
32090         * sysdeps/i386/configure: Likewise.
32092         * elf/dl-open.c: Comment fixes.
32094 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32096         * Makefile [CXX] (check-data): Remove.
32097         [CXX] (c++-types.data): New vpath directive.
32098         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32099         vpath.  Do not allow for C++ type data being missing.
32100         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32101         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32102         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32103         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32104         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32105         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32106         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32108         ... here.
32109         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32111         ... here.
32112         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32114         ... here.
32115         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32117         ... here.
32118         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32120         ... here.
32121         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32123         ... here.
32124         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32126         ... here.
32127         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32130         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32131         definitions to architecture-specific files.
32132         (TLS_IE): Likewise.
32133         (TLS_LD): Likewise.
32134         (TLS_GD): Likewise.
32135         * sysdeps/i386/tls-macros.h: New file.
32136         * sysdeps/powerpc/tls-macros.h: Likewise.
32137         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32138         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32139         * sysdeps/sh/tls-macros.h: Likewise.
32140         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32141         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32142         * sysdeps/x86_64/tls-macros.h: Likewise.
32144 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32146         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32147         zero value for regular exit case.
32149         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32150         (__start_context): Preserve zero value for regular exit case.
32152 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32153             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32155         * manual/setjmp.texi (setcontext): Clarify normal process
32156         termination when uc_link is the null pointer.
32157         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32158         exit call.
32160 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32162         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32163         preprocessor.  Test for each exception mask separately.
32165 2012-07-16  Andreas Jaeger  <aj@suse.de>
32167         * po/ru.po: Update from translation team.
32169 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32171         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32172         equal to 0.
32173         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32174         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32175         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32176         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32177         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32179 2012-07-13  Andreas Jaeger  <aj@suse.de>
32181         * po/fr.po: Update from translation team.
32183 2012-07-12  Marek Polacek  <polacek@redhat.com>
32185         [BZ #14173]
32186         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32187         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32188         loop condition.
32190 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32192         [BZ #13717]
32193         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32194         Change to 2.4.1 where previously 2.4.0.
32195         * sysdeps/unix/sysv/linux/configure: Regenerated.
32196         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32197         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32198         version.
32199         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32200         (__ASSUME_AT_CLKTCK): Remove.
32201         (__ASSUME_AT_PAGESIZE): Likewise.
32202         (__ASSUME_AT_XID): Likewise.
32203         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32204         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32205         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32206         unconditionally.
32207         (HAVE_AUX_PAGESIZE): Likewise.
32208         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32209         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32210         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32212 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32214         [BZ #14307]
32215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32216         the temporary buffer used to invoke __gethostbyname2_r,
32217         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32218         host_data / struct gaih_addrtuple.
32219         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32220         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32221         header file nss/nsswitch.h.
32222         * nss/nsswitch.h (global scope): Add definition of implementation
32223         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32224         resolv/nss_dns/dns-host.c).
32226 2012-07-11  Andreas Jaeger  <aj@suse.de>
32228         * po/fr.po: Update from translation team.
32230         * po/sv.po: Update from translation team
32231         * po/fr.po: Another update from translation team.
32233 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32235         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32236         for subnormals or multiply small sinh result by itself.
32237         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32240 2012-07-11  David S. Miller  <davem@davemloft.net>
32242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32244 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32246         [BZ #14347]
32247         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32248         (INTERNAL_MARK): Shift it here.
32250 2012-07-10  Marek Polacek  <polacek@redhat.com>
32252         [BZ #14151]
32253         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32254         libc_cv_asm_global_directive with .globl.
32255         * configure: Regenerated.
32256         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32257         with .globl.
32258         * sysdeps/i386/configure: Regenerated.
32259         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32260         with .globl.
32261         * sysdeps/x86_64/configure: Regenerated.
32262         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32263         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32264         * elf/tst-unique2mod2.c: Likewise.
32265         * elf/tst-unique2mod1.c: Likewise.
32266         * elf/tst-unique1mod2.c: Likewise.
32267         * elf/tst-unique1mod1.c: Likewise.
32268         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32269         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32271         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32272         * sysdeps/mach/sysdep.h: Likewise.
32273         * sysdeps/i386/sysdep.h: Likewise.
32274         * sysdeps/i386/i386-mcount.S: Likewise.
32275         * sysdeps/x86_64/_mcount.S: Likewise.
32276         * sysdeps/x86_64/sysdep.h: Likewise.
32277         * sysdeps/sh/_mcount.S: Likewise.
32278         * sysdeps/sh/sysdep.h: Likewise.
32279         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32280         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32281         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32282         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32283         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32284         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32285         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32286         * locale/localeinfo.h: Likewise.
32287         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32288         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32290 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32292         [BZ #14336]
32293         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32294         system".
32295         * manual/message.texi (The Uniforum approach): Likewise.
32296         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32297         (glibc iconv Implementation): Likewise.
32299 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32301         [BZ #14337]
32302         * math/s_clog.c (__clog): Avoid scaling a value down where that
32303         could result in underflow.
32304         * math/s_clog10.c (__clog10): Likewise.
32305         * math/s_clog10f.c (__clog10f): Likewise.
32306         * math/s_clog10l.c (__clog10l): Likewise.
32307         * math/s_clogf.c (__clogf): Likewise.
32308         * math/s_clogl.c (__clogl): Likewise.
32309         * math/libm-test.inc (clog_test): Add more tests.
32310         (clog10_test): Likewise.
32311         * sysdeps/i386/fpu/libm-test-ulps: Update.
32312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32314 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32316         [BZ #14283]
32317         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32318         by 7 not 8 to examine high bit of fractional part.
32320         [BZ #14042]
32321         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32322         for call to __mcount_internal.
32323         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32324         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32325         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32327 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32329         [BZ #14154]
32330         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32331         approximation for values within 0x1p-13f of an odd multiple of
32332         pi/4.
32333         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32334         exception.  Add more tests.
32335         * sysdeps/i386/fpu/libm-test-ulps: Update.
32337         [BZ #6778]
32338         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32339         inputs and return -1 for them.  Do not check for +Inf in case not
32340         reachable for +Inf.
32341         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32342         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32343         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32344         and return -1 for them.  Do not check for +Inf in case not
32345         reachable for +Inf.
32346         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32347         define.
32348         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32349         and return -1 for them.  Do not check for +Inf in case not
32350         reachable for +Inf.
32351         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32352         spurious underflow.
32353         * sysdeps/i386/fpu/libm-test-ulps: Update.
32354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32356 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32358         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32360 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32362         [BZ #14157]
32363         [BZ #14331]
32364         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32365         could result in spurious underflow.  Scale down values above
32366         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32367         * math/s_csqrtf.c (__csqrtf): Likewise.
32368         * math/s_csqrtl.c (__csqrtl): Likewise.
32369         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32370         spurious underflow.
32371         * sysdeps/i386/fpu/libm-test-ulps: Update.
32372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32374 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32376         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32377         xopen-msg.sed.
32378         * catgets/xopen-msg.awk: New file.
32379         * catgets/xopen-msg.sed: Removed.
32381         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32382         po2text.sed.
32383         * intl/po2test.awk: New file.
32384         * intl/po2test.sed: Removed.
32386 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32388         [BZ #14328]
32389         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32390         or multiply small sinh result by itself.
32391         * math/s_ctanf.c (__ctanf): Likewise.
32392         * math/s_ctanh.c (__ctanh): Likewise.
32393         * math/s_ctanhf.c (__ctanhf): Likewise.
32394         * math/s_ctanhl.c (__ctanhl): Likewise.
32395         * math/s_ctanl.c (__ctanl): Likewise.
32396         * math/libm-test.inc (ctan_test_tonearest): New function.
32397         (ctan_test_towardzero): Likewise.
32398         (ctan_test_downward): Likewise.
32399         (ctan_test_upward): Likewise.
32400         (ctanh_test_tonearest): Likewise.
32401         (ctanh_test_towardzero): Likewise.
32402         (ctanh_test_downward): Likewise.
32403         (ctanh_test_upward): Likewise.
32404         (main): Call these new functions.
32405         * sysdeps/i386/fpu/libm-test-ulps: Update.
32406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32408 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32410         * .gitignore: Delete /ports entry.
32412 2012-07-03  Andreas Jaeger  <aj@suse.de>
32414         * po/bg.po: Update from translation team.
32415         * po/cs.po: Likewise.
32416         * po/de.po: Likewise.
32417         * po/hr.po: Likewise.
32418         * po/nl.pl: Likewise.
32419         * po/pl.po: Likewise.
32420         * po/vi.po: Likewise.
32422 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32424         * Makeconfig [!+link] (+link-before-libc): New variable.
32425         [!+link] (+link-after-libc): Likewise.
32426         [!+link] (+link-tests): Likewise.
32427         [!+link] (+link): Define in terms of $(+link-before-libc) and
32428         $(+link-after-libc).
32429         [!+link-static] (+link-static-before-libc): New variable.
32430         [!+link-static] (+link-static-after-libc): Likewise.
32431         [!+link-static] (+link-static-tests): Likewise.
32432         [!+link-static] (+link-static): Define in terms of
32433         $(+link-static-before-libc) and $(+link-static-after-libc).
32434         [build-shared] (link-libc-before-gnulib): New variable.
32435         [build-shared] (link-libc-tests): Likewise.
32436         [build-shared] (link-libc): Define in terms of
32437         $(link-libc-before-gnulib).
32438         [!build-shared] (link-libc-tests): New variable.
32439         (link-libc-static-tests): New variable.
32440         [!gnulib] (gnulib-arch): New variable.
32441         [!gnulib] (gnulib-tests): Likewise.
32442         [!gnulib] (static-gnulib-arch): Likewise.
32443         [!gnulib] (static-gnulib-tests): Likewise.
32444         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
32445         Define with "=" instead of ":=".
32446         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
32447         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
32448         * Rules (binaries-all-notests): New variable.
32449         (binaries-all-tests): Likewise.
32450         (binaries-static-notests): Likewise.
32451         (binaries-static-tests): Likewise.
32452         (binaries-all): Define using $(binaries-all-notests) and
32453         $(binaries-all-tests).
32454         (binaries-static): Define using $(binaries-static-notests) and
32455         $(binaries-static-tests).
32456         (binaries-shared-tests): New variable.
32457         (binaries-shared-notests): Likewise.
32458         (binaries-shared): Remove variable.
32459         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32460         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32461         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32462         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32463         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32464         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32465         * elf/Makefile (sln-modules): New variable.
32466         (extra-objs): Add $(sln-modules:=.o).
32467         (ldconfig-modules): Add static-stubs.
32468         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32469         * elf/static-stubs.c: New file.
32471         [BZ #14283]
32472         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32473         by 7 not 8 to examine high bit of fractional part.  Use volatile
32474         variables when splitting into final array of floats if
32475         __FLT_EVAL_METHOD__ != 0.
32476         * math/libm-test.inc (cos_test): Add another test.
32477         (sin_test): Likewise.
32478         * sysdeps/i386/fpu/libm-test-ulps: Update.
32480         [BZ #14273]
32481         * math/libm-test.inc (cosh_test): Add more tests.
32483         * version.h (RELEASE): Set to "development".
32484         (VERSION): Set to "2.16.90".
32486 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
32488         * NEWS: Update copyright. Remove last-updated date.
32489         Mention math library bug fixes and timezone data changes.
32490         * README: Mention GNU/Hurd, x32, and HPPA support status.
32492 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
32494         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32496 2012-06-27  Andreas Jaeger  <aj@suse.de>
32498         * manual/contrib.texi (Contributors): Add Samuel Thibault.
32500 2012-06-25  Andreas Jaeger  <aj@suse.de>
32502         * sysdeps/s390/fpu/libm-test-ulps: Update.
32504 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
32505             Thomas Schwinge  <thomas@codesourcery.com>
32507         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32508         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32509         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32510         fanotify_mark.
32512 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
32514         * sysdeps/mach/start.c: Remove file.
32515         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32516         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32517         * sysdeps/sh/init-first.c: Likewise.
32519         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32520         registers for frame unwinding purposes, add CFI directives.
32521         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32522         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32523         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32524         Likewise.
32526         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32527         __fortify_fail returning.
32528         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32530         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32531         sysdeps/sh/____longjmp_chk.S.
32532         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32533         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32534         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32535         (gen-as-const-headers): Append sigaltstack-offsets.sym.
32537         * sysdeps/sh/abort-instr.h: New file.
32538         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32539         process in case exit returns.
32541         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32542         initialize the GOT register before use.
32544         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32545         calculation of ARGC > 4.
32547         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32548         meaningful names to some local labels.
32550 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32551             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32553         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32554         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32555         (__arch_compare_and_exchange_val_16_acq): Likewise.
32556         (__arch_compare_and_exchange_val_32_acq): Likewise.
32557         (atomic_exchange_and_add): Fix gUSA sequence.
32558         (atomic_add): Likewise.
32559         (atomic_add_negative): Likewise.
32560         (atomic_add_zero): Likewise.
32561         (atomic_bit_test_set): Likewise.
32563 2012-06-22  Andreas Schwab  <schwab@redhat.com>
32565         [BZ #13579]
32566         * include/link.h (struct link_map): Add l_free_initfini.
32567         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32568         l_initfini.
32569         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32570         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32571         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32572         set.
32574 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
32576         * configure.in: Use AC_LANG_SOURCE.
32577         * configure: Regenerate.
32579 2012-06-22  Roland McGrath  <roland@hack.frob.com>
32581         * configure.in (libc_cv_localstatedir): New substituted variable.
32582         * configure: Regenerated.
32583         * config.make.in (localstatedir): New variable, substituted from
32584         libc_cv_localstatedir.
32585         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32586         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32587         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32588         * sysdeps/gnu/configure: Regenerated.
32590 2012-06-21  Jeff Law  <law@redhat.com>
32592         [BZ #14277]
32593         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32594         free.  Simplify list management for _LIBC case.
32596 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
32598         [BZ #14273]
32599         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32600         Clear sign bit of 64-bit integer value before comparing against
32601         overflow value.
32603         * sysdeps/mach/configure: Regenerated.
32605 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
32607         [BZ #14278]
32608         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32610 2012-06-21  Jeff Law  <law@redhat.com>
32612         [BZ #13882]
32613         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
32614         uint16_t for elements in the "seen" array to avoid char overflows.
32615         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32616         * elf/dl-open.c (dl_open_worker): Likewise.
32618 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
32620         * scripts/list-sources.sh: Scan PORTS for translations.
32621         * po/libc.pot: Regenerated.
32623 2012-06-21  Andreas Jaeger  <aj@suse.de>
32625         [BZ #12194]
32626         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32627         warning.
32628         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32629         * bits/byteswap-16.h (__bswap_16): Likewise.
32630         * bits/byteswap.h (__bswap_constant_16): Likewise.
32632 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
32634         [BZ #14117]
32635         * sysdeps/i386/fpu_control.h: Removed.
32636         * sysdeps/x86_64/fpu_control.h: Moved to ...
32637         * sysdeps/x86/fpu_control.h: Here.
32639         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32640         (_FPU_SETCW): Likewise.
32642 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
32644         [BZ #14117]
32645         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32646         * sysdeps/x86/fpu/bits/mathinline.h: This.
32647         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32649         [BZ #14050]
32650         [BZ #14117]
32651         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32652         functions if __x86_64__ is defined.
32654 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32656         * string/endian.h: Add !__ASSEMBLER__ condition for including
32657         conversion interfaces.
32659 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32661         [BZ #14241]
32662         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32663         of ABS(x) in calculating zero to negative powers other than odd
32664         integers.
32665         * math/libm-test.inc (pow_test): Add more tests.
32667 2012-06-15  Andreas Jaeger  <aj@suse.de>
32669         * manual/contrib.texi (Contributors): Update entry of Liubov
32670         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32671         Machado Filho.
32673 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32675         * string/string.h: Add __wur to GNU version of strerror_r.
32677 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32679         [BZ #14229]
32680         * string/Makefile (tests): Add tst-strtok_r.
32681         * string/tst-strtok_r.c: New file.
32682         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32683         RAX_LP/RDX_LP on SAVE_PTR.
32685 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32687         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32689 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32691         * libm_test.inc (csqrt_test): Allow more spurious underflow
32692         exceptions.
32693         (j0_test): Likewise.
32694         (j1_test): Likewise.
32695         (y0_test): Likewise.
32696         (y1_test): Likewise.
32698 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32700         * po/Makefile (libc.pot): Use UTF-8 charset.
32702 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32704         [BZ #14210]
32705         Suppress sign-conversion warning from FD_SET.
32706         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32707         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32708         not unsigned long int.
32709         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32711 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32713         [BZ #14050]
32714         [BZ #14117]
32715         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32716         __extern_always_inline instead of __extern_inline.
32717         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32718         (__signbit): Likewise.
32719         (__signbitl): Support C++ namespace.
32720         (lrintf): New inline function.
32721         (lrint): Likewise.
32722         (llrintf): Likewise.
32723         (llrint): Likewise.
32724         (fmaxf): Likewise.
32725         (fmax): Likewise.
32726         (fminf): Likewise.
32727         (fmin): Likewise.
32728         (rint): Likewise.
32729         (rintf): Likewise.
32730         (ceil): Likewise.
32731         (ceilf): Likewise.
32732         (floor): Likewise.
32733         (floorf): Likewise.
32734         (nearbyint): Likewise.
32735         (nearbyintf): Likewise.
32737 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32739         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32740         non-default versions.
32742 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32744         [BZ #14218]
32745         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32747 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32749         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32750         (FE_UPWARD, FE_DOWNWARD): Don't define.
32751         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32752         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32754         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32755         reading it.
32756         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32757         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32759 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32761         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32762         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32763         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32764         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32766 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32768         [BZ #14117]
32769         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32770         * sysdeps/i386/fpu/Implies: New file.
32771         * sysdeps/x86_64/fpu/Implies: Likewise.
32772         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32773         * sysdeps/x86/fpu/bits/fenv.h: This.
32775         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32776         __SSE_MATH__.
32778 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32780         [BZ #14134]
32781         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32782         character 0xffff that matches the last element of the
32783         conversion table.
32785 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32787         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32788         fmodl commit.
32790 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32792         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32793         values higher than 25.6283.
32795 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32797         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32798         subnormal exponent extraction and add some __builtin_expect.
32799         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32800         Fix for subnormal mantissa calculation.
32802 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32804         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32805         cpu2 is -1 and errno is not ENOSYS.
32807 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32809         [BZ #14117]
32810         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32811         * sysdeps/x86/bits/string.h: This.
32812         * sysdeps/x86_64/bits/string.h: Removed.
32814         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32815         if not compiling for x86-64, but compiling for >= i486.
32817         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32818         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32820         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32821         New macro from Linux kernel 3.4.0.
32822         (FP_XSTATE_MAGIC2): Likewise.
32823         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32824         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32825         (struct _fpx_sw_bytes): New struct.
32826         (struct _xsave_hdr): Likewise.
32827         (struct _ymmh_state): Likewise.
32828         (struct _xstate): Likewise.
32830         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32831         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32832         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32833         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32834         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32835         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32837         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32838         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32839         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32840         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32841         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32842         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32844 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32846         [BZ #13743]
32847         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32848         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32849         (sysdep_headers): Include sys/platform/ppc.h.
32850         * sysdeps/powerpc/test-gettimebase.c: Test for
32851         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32852         * manual/Makefile (appendices): Include platform.texi.
32853         * manual/contrib.texi (Contributors): Update @node pointers.
32854         * manual/maint.texi (Maintenance): Likewise.
32855         (Platform): New node.
32856         * manual/platform.texi: New file.  Document the new features.
32858 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32859             Jakub Jelinek  <jakub@redhat.com>
32861         [BZ #14188]
32862         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32863         where __builtin_expect is unavailable.
32865 2012-06-03  David S. Miller  <davem@davemloft.net>
32867         * stdlib/longlong.h: Updated from GCC.
32869 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32871         [BZ #14042]
32872         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32873         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32874         __mcount_internal.
32875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32876         (GLIBC_2.16): Likewise.
32878 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32880         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32882 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32885         (default-abi): New variable.
32886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32887         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32888         variable.
32889         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32890         Likewise.
32891         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32892         Likewise.
32893         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32894         Likewise.
32896         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32897         definition.  Document in comment.
32899 2012-06-01  David S. Miller  <davem@davemloft.net>
32901         * stdlib/longlong.h: Updated from GCC.
32903 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32905         [BZ #14117]
32906         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32907         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32908         sys/debugreg.h sys/io.h here.
32909         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32910         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32911         sys/io.h.
32912         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32913         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32914         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32915         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32916         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32917         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32919         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32920         Define only if __x86_64__ is defined.
32922 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32924         [BZ #14048]
32925         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32926         Use int64_t for variable i.
32927         * math/libm-test.inc (fmod_test): Add more tests.
32929         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32930         z computation is not scheduled after fetestexcept.
32931         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32932         Use math_force_eval instead of asm to ensure calculation scheduled
32933         before exception test.
32934         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32935         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32937 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32940         computation is not scheduled after fetestexcept.
32942 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32944         [BZ #14117]
32945         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32946         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32948 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32950         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32951         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32953 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32955         [BZ #14117]
32956         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32957         <bits/wordsize.h>.
32958         (__WCHAR_MIN): Support __WORDSIZE == 64.
32959         (__WCHAR_MAX): Likewise.
32961         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32962         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32964         [BZ #14183]
32965         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32966         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32968         [BZ #14117]
32969         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32970         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32972         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32973         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32975         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32976         Defined to 1 if __x86_64__ isn't defined.
32977         (_STAT_VER_LINUX_OLD): New.
32978         (st_atime): Remove duplicate.
32979         (st_mtime): Likewise.
32980         (st_ctime): Likewise.
32982 2012-05-31  David S. Miller  <davem@davemloft.net>
32984         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32985         entries.
32987 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32989         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32990         gen-libm-test.pl.
32992         [BZ #14132]
32993         * elf/dl-reloc.c: Include <_itoa.h>.
32994         (_dl_reloc_bad_type): Remove use of INTUSE.
32995         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32996         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32997         * stdio-common/psiginfo.c (psiginfo): Likewise.
32998         * stdio-common/psignal.c (psignal): Likewise.
32999         * string/strsignal.c (strsignal): Likewise.
33000         * include/signal.h (_sys_siglist): Declare hidden proto.
33001         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33002         INTVARDEF with libc_hidden_data_def.
33003         * stdio-common/itoa-udigits.c: Likewise.
33004         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33005         (_itoa_lower_digits_internal): Remove declaration.
33006         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33007         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33008         (_sys_sigabbrev_internal): Remove aliases.
33009         (_sys_siglist): Define hidden alias.
33011 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33014         bits/sysctl.h.
33016 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33018         [BZ #14117]
33019         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33020         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33022         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33023         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33024         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33025         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33026         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33027         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33029         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33030         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33031         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33033         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33034         with __addr.
33035         (insw): Likewise.
33036         (insl): Likewise.
33037         (outsb): Likewise.
33038         (outsw): Likewise.
33039         (outsl): Likewise.
33041         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33042         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33043         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33045         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33046         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33047         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33048         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33049         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33050         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33052         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33053         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33055         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33056         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33058         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33059         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33060         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33062         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33063         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33064         to ...
33065         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33067         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33068         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33069         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33071         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33072         for x86-64.
33073         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33075 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33077         * math/math.h (M_El): Use two more decimal places.
33078         (M_LOG2El): Likewise.
33079         (M_LOG10El): Likewise.
33080         (M_LN2l): Likewise.
33081         (M_LN10l): Likewise.
33082         (M_PIl): Likewise.
33083         (M_PI_2l): Likewise.
33084         (M_PI_4l): Likewise.
33085         (M_1_PIl): Likewise.
33086         (M_2_PIl): Likewise.
33087         (M_2_SQRTPIl): Likewise.
33088         (M_SQRT2l): Likewise.
33089         (M_SQRT1_2l): Likewise.
33091 2012-05-31  David S. Miller  <davem@davemloft.net>
33093         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33094         values between float registers.
33095         * sysdeps/sparc/sparc64/memset.S: Likewise.
33096         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33098 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33100         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33101         -D_FORTIFY_SOURCE=1.
33102         (CPPFLAGS-tst-longjmp_chk.c): Define.
33103         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33104         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33105         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33106         CFLAGS-tst-wchar-h.c.
33108 2012-05-31  Marek Polacek  <polacek@redhat.com>
33110         [BZ #14132]
33111         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33112         __endmntent_internal): Remove declaration.
33113         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33114         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33115         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33117 2012-05-30  David S. Miller  <davem@davemloft.net>
33119         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33120         (___Q_simulate_exceptions): Use real FP ops rather than writing
33121         into the %fsr.
33122         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33123         Likewise.
33125 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33127         [BZ #14117]
33128         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33129         * sysdeps/x86/bits/xtitypes.h: This.
33131         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33132         * sysdeps/x86/bits/wordsize.h: This.
33134         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33135         * sysdeps/x86/bits/huge_vall.h: This.
33137         * sysdeps/i386/bits/select.h: Removed.
33138         * sysdeps/x86_64/bits/select.h: Renamed to ...
33139         * sysdeps/x86/bits/select.h: This.
33141         * sysdeps/i386/bits/setjmp.h: Removed.
33142         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33143         * sysdeps/x86/bits/setjmp.h: This.
33145         * sysdeps/i386/bits/mathdef.h: Removed.
33146         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33147         * sysdeps/x86/bits/mathdef.h: This.
33149 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33151         [BZ #14132]
33152         * include/sys/socket.h (__connect_internal)
33153         (__libc_sa_len_internal): Remove declaration.
33154         (__connect, __libc_sa_len): Declare hidden_proto.
33155         (SA_LEN): Remove use of INTUSE.
33156         * socket/connect.c: Add libc_hidden_def.
33157         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33158         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33159         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33160         alias.
33161         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33162         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33163         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33164         of adding _internal alias.
33166 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33168         [BZ #14117]
33169         * sysdeps/i386/bits/link.h: Removed.
33170         * sysdeps/i386/bits/linkmap.h: Likewise.
33171         * sysdeps/x86_64/bits/link.h: Renamed to ...
33172         * sysdeps/x86/bits/link.h: This.
33173         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33174         * sysdeps/x86/bits/linkmap.h: This.
33176         * sysdeps/i386/bits/endian.h: Removed.
33177         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33178         * sysdeps/x86/bits/endian.h: This.
33180         * sysdeps/i386/bits/byteswap.h: Removed.
33181         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33182         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33183         * sysdeps/x86/bits/byteswap.h: This.
33184         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33185         * sysdeps/x86/bits/byteswap-16.h: This.
33186         * sysdeps/i386/Implies: Add x86.
33187         * sysdeps/x86_64/Implies: Likewise.
33189 2012-05-30  David S. Miller  <davem@davemloft.net>
33191         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33192         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33193         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33194         (FP_TRAPPING_EXCEPTIONS): Define.
33195         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33196         (FP_TRAPPING_EXCEPTIONS): Define.
33197         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33198         subnormals only when inexact has been signalled or underflow
33199         exceptions are enabled.
33200         (_FP_PACK_CANONICAL): Likewise.
33202 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33204         [BZ #14183]
33205         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33206         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33208 2012-05-30  Richard Henderson  <rth@twiddle.net>
33210         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33211         with #ifndef NOT_IN_libc.
33213         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33214         marked to avoid plt entry.
33216 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33218         [BZ #14112]
33219         * Makeconfig (default-abi): New macro.
33220         (abi-includes): Likewise.
33221         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33222         $(abi-$(default-abi)-lib-soname) for soname if defined.
33223         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33224         abi-variants.
33225         * Makefile (installed-stubs): Likewise.
33226         * include/stubs-biarch.h: Removed.
33227         * scripts/lib-names.awk: Only handle one library at a time.
33228         * scripts/soversions.awk: Remove WORDSIZE support.
33229         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33230         entries.
33231         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33232         Removed.
33233         (syscall-list-default-condition): Likewise.
33234         (syscall-list-default-condition): Likewise.
33235         (syscall-list-includes): Likewise.
33236         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33237         syscall-list-* with abi-*.  Handle undefined abi-variants.
33238         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33239         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33240         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33241         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33242         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33243         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33244         Removed.
33245         (syscall-list-32-options): Likewise.
33246         (syscall-list-32-condition): Likewise.
33247         (syscall-list-64-options): Likewise.
33248         (syscall-list-64-condition): Likewise.
33249         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33250         macro.
33251         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33252         Renamed to ...
33253         (abi-*): This.
33254         (abi-64-ld-soname): New macro.
33255         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33256         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33257         Renamed to ...
33258         (abi-*): This.
33259         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33260         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33262 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33264         * sysdeps/unix/sysv/linux/kernel-features.h
33265         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33266         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33267         include <kernel-features.h>.
33268         [!__NR_ftruncate64]: Remove conditional code.
33269         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33270         [__NR_ftruncate64]: Make code unconditional.
33271         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33272         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33273         include <kernel-features.h>.
33274         [!__NR_ftruncate64]: Remove conditional code.
33275         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33276         [__NR_ftruncate64]: Make code unconditional.
33277         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33279         include <kernel-features.h>.
33280         [!__NR_ftruncate64]: Remove conditional code.
33281         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33282         [__NR_ftruncate64]: Make code unconditional.
33283         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33285         include <kernel-features.h>.
33286         [!__NR_ftruncate64]: Remove conditional code.
33287         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33288         [__NR_ftruncate64]: Make code unconditional.
33289         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33291         * configure.in (libc_cv_fpie): Weaken to a compile test using
33292         LIBC_TRY_CC_OPTION.
33293         * configure: Regenerated.
33295 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33301         Refreshed.
33302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33308         Refreshed.
33310 2012-05-27  David S. Miller  <davem@davemloft.net>
33312         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33313         (___Q_zero): New.
33314         (__Q_simulate_exceptions): Return void.  Change to simulate
33315         exceptions by writing into the %fsr.
33316         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33317         (__Qp_handle_exceptions): Likewise.
33318         (numbers): Delete.
33319         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33320         __Qp_handle_exceptions.
33321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33322         __Qp_handle_exceptions.
33323         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33324         as unused and give dummy FP_RND_NEAREST initializer.
33325         (FP_INHIBIT_RESULTS): Define.
33326         (___Q_simulate_exceptions): Update declaration.
33327         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33328         formatting.
33329         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33330         as unused and give dummy FP_RND_NEAREST initializer.
33331         (__Qp_handle_exceptions): Update declaration.
33332         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33333         formatting.
33335 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33337         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33338         the temporary FPU control word.
33339         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33340         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33341         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33342         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33343         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33344         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33345         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33346         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33347         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33348         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33349         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33351 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33353         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33354         fields.
33356 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33358         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33359         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33360         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33361         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33362         Likewise.
33363         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33364         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33365         Likewise.
33367 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33369         * po/h.po: Update from translation team.
33371 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33373         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33375         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33376         handling of denormals.
33377         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33378         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33379         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33380         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33382         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33384         Likewise.
33386 2012-05-26  Marek Polacek  <polacek@redhat.com>
33388         [BZ #14152]
33389         * math/libm-test.inc (fma_test): Don't always expect underflow
33390         exception.
33392 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33394         [BZ #12416]
33395         * elf/tst-execstack.c: Include stackinfo.h.
33396         (do_test): Adjust test case to ensure that pthread_getattr_np
33397         behaviour remains the same after marking stack executable.
33399 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33401         * sysdeps/unix/sysv/linux/kernel-features.h
33402         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33403         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33404         kernel-features.h.
33405         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33406         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33407         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33408         kernel-features.h.
33409         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33410         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33412 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33414         * configure.in: Define the default includes to being none.
33415         * configure: Regenerated.
33417 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33419         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33420         * sysdeps/x86_64/setjmp.S: Likewise.
33421         * sysdeps/i386/bsd-setjmp.S: Likewise.
33422         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33423         * sysdeps/i386/setjmp.S: Likewise.
33424         * sysdeps/i386/__longjmp.S: Likewise.
33425         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33426         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33428         * include/stap-probe.h: New file.
33429         * configure.in: Handle --enable-systemtap.
33430         * configure: Regenerated.
33431         * config.h.in (USE_STAP_PROBE): New #undef.
33432         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33433         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33434         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33436 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33438         [BZ #13717]
33439         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33440         to 2.4.0 where earlier.
33441         * sysdeps/unix/sysv/linux/configure: Regenerated.
33442         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33443         <kernel-features.h>.
33444         [__ASSUME_32BITUIDS]: Make code unconditional.
33445         [!__ASSUME_32BITUIDS]: Remove conditional code.
33446         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33447         <kernel-features.h>.
33448         [__ASSUME_32BITUIDS]: Make code unconditional.
33449         [!__ASSUME_32BITUIDS]: Remove conditional code.
33450         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33451         [__ASSUME_32BITUIDS]: Make code unconditional.
33452         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33453         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33454         <kernel-features.h>.
33455         [__ASSUME_32BITUIDS]: Make code unconditional.
33456         [!__ASSUME_32BITUIDS]: Remove conditional code.
33457         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33458         <kernel-features.h>.
33459         [__ASSUME_32BITUIDS]: Make code unconditional.
33460         [!__ASSUME_32BITUIDS]: Remove conditional code.
33461         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33462         <kernel-features.h>.
33463         [__ASSUME_32BITUIDS]: Make code unconditional.
33464         [!__ASSUME_32BITUIDS]: Remove conditional code.
33465         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33466         <kernel-features.h>.
33467         [__ASSUME_32BITUIDS]: Make code unconditional.
33468         [!__ASSUME_32BITUIDS]: Remove conditional code.
33469         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33470         <kernel-features.h>.
33471         [__ASSUME_32BITUIDS]: Make code unconditional.
33472         [!__ASSUME_32BITUIDS]: Remove conditional code.
33473         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33474         <kernel-features.h>.
33475         [__ASSUME_32BITUIDS]: Make code unconditional.
33476         [!__ASSUME_32BITUIDS]: Remove conditional code.
33477         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33478         <kernel-features.h>.
33479         [__ASSUME_32BITUIDS]: Make code unconditional.
33480         [!__ASSUME_32BITUIDS]: Remove conditional code.
33481         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33482         <kernel-features.h>.
33483         [__ASSUME_32BITUIDS]: Make code unconditional.
33484         [!__ASSUME_32BITUIDS]: Remove conditional code.
33485         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33486         <kernel-features.h>.
33487         [__ASSUME_32BITUIDS]: Make code unconditional.
33488         [!__ASSUME_32BITUIDS]: Remove conditional code.
33489         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33490         <kernel-features.h>.
33491         [__ASSUME_32BITUIDS]: Make code unconditional.
33492         [!__ASSUME_32BITUIDS]: Remove conditional code.
33493         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33494         <kernel-features.h>.
33495         [__NR_setresgid] (__setresgid): Do not declare.
33496         [__ASSUME_32BITUIDS]: Make code unconditional.
33497         [!__ASSUME_32BITUIDS]: Remove conditional code.
33498         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33499         <kernel-features.h>.
33500         [__NR_setresuid] (__setresuid): Do not declare.
33501         [__ASSUME_32BITUIDS]: Make code unconditional.
33502         [!__ASSUME_32BITUIDS]: Remove conditional code.
33503         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.c: Do not include
33524         <kernel-features.h>.
33525         [__ASSUME_32BITUIDS]: Make code unconditional.
33526         [!__ASSUME_32BITUIDS]: Remove conditional code.
33527         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33528         <kernel-features.h>.
33529         [__ASSUME_32BITUIDS]: Make code unconditional.
33530         [!__ASSUME_32BITUIDS]: Remove conditional code.
33531         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33532         <kernel-features.h>.
33533         [__ASSUME_32BITUIDS]: Make code unconditional.
33534         [!__ASSUME_32BITUIDS]: Remove conditional code.
33535         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33536         <kernel-features.h>.
33537         [__ASSUME_32BITUIDS]: Make code unconditional.
33538         [!__ASSUME_32BITUIDS]: Remove conditional code.
33539         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33540         <kernel-features.h>.
33541         [__ASSUME_32BITUIDS]: Make code unconditional.
33542         [!__ASSUME_32BITUIDS]: Remove conditional code.
33543         * sysdeps/unix/sysv/linux/kernel-features.h
33544         (__ASSUME_SETRESUID_SYSCALL): Remove.
33545         (__ASSUME_SETRESGID_SYSCALL): Likewise.
33546         (__ASSUME_32BITUIDS): Likewise.
33547         (__ASSUME_LDT_WORKS): Likewise.
33548         (__ASSUME_O_DIRECTORY): Likewise.
33549         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33550         architecture but not kernel version.
33551         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33552         (__ASSUME_MMAP2_SYSCALL): Likewise.
33553         (__ASSUME_STAT64_SYSCALL): Likewise.
33554         (__ASSUME_IPC64): Likewise.
33555         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33556         <kernel-features.h>.
33557         [__ASSUME_32BITUIDS]: Make code unconditional.
33558         [!__ASSUME_32BITUIDS]: Remove conditional code.
33559         * sysdeps/unix/sysv/linux/opendir.c: Do not include
33560         <kernel-features.h>.
33561         [__ASSUME_O_DIRECTORY]: Make code unconditional.
33562         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33563         132096]: Remove conditional code.
33564         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33565         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
33574         <kernel-features.h>.
33575         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33576         unconditional.
33577         (__setresgid): Do not declare.
33578         [__ASSUME_32BITUIDS]: Make code unconditional.
33579         [!__ASSUME_32BITUIDS]: Remove conditional code.
33580         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33581         <kernel-features.h>.
33582         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33583         unconditional.
33584         (__setresuid): Do not declare.
33585         [__ASSUME_32BITUIDS]: Make code unconditional.
33586         [!__ASSUME_32BITUIDS]: Remove conditional code.
33587         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33588         <kernel-features.h>.
33589         [__ASSUME_32BITUIDS]: Make code unconditional.
33590         [!__ASSUME_32BITUIDS]: Remove conditional code.
33591         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33592         <kernel-features.h>.
33593         [__ASSUME_32BITUIDS]: Make code unconditional.
33594         [!__ASSUME_32BITUIDS]: Remove conditional code.
33596 2012-05-25  Richard Henderson  <rth@twiddle.net>
33598         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33599         dl_hwcap to ifunc resolver.
33600         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33601         elf_ifunc_invoke.
33602         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33603         dl_hwcap to ifunc resolver.
33604         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33606 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33608         [BZ #14153]
33609         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33610         for |x| <= 2**-26, not 2**-57.
33611         * math/libm-test.inc (acos_test): Do not allow spurious underflow
33612         exception.
33614 2012-05-24  Jeff Law  <law@redhat.com>
33616         * stdio-common/Makefile (tests): Add bug25.
33617         * stdio-common/bug25.c: New test.
33619 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33621         [BZ #13576]
33622         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33623         multiple of MALLOC_ALIGNMENT in size.
33624         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33626 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33628         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33629         Require >= 256.
33630         (FILENAME_MAX): Use macro-int-constant.
33631         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
33632         (_IOFBF): Use macro-int-constant.
33633         (_IOLBF): Likewise.
33634         (_IONBF): Likewise.
33635         (SEEK_CUR): Likewise.
33636         (SEEK_END): Likewise.
33637         (SEEK_SET): Likewise.
33638         (TMP_MAX): Likewise.
33639         (EOF): Use macro-int-constant.  Require < 0.
33640         (NULL): Use macro-constant.  Require == 0.
33641         (stdin): Require type to be FILE *.
33642         (stdout): Likewise.
33643         (stderr): Likewise.
33644         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33645         macro-int-constant.
33646         (EXIT_SUCCESS): Likewise.
33647         (NULL): Use macro-constant.  Require == 0.
33648         (RAND_MAX): Use macro-int-constant.
33649         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33650         [C99-based standards] (strtof): Require function.
33651         [C99-based standards] (strtold): Likewise.
33652         [C99-based standards] (strtoll): Likewise.
33653         [C99-based standards] (strtoull): Likewise.
33654         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33655         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33656         [ISO || ISO99 || ISO11] (math.h): Likewise.
33657         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33658         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33659         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33661 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33663         [BZ #14132]
33664         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33665         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33666         * intl/dgettext.c (DCGETTEXT): Likewise.
33667         * intl/gettext.c (DCGETTEXT): Likewise.
33668         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33669         * posix/regex_internal.h (gettext): Likewise.
33670         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33671         Remove declaration.
33672         * include/argz.h (__argz_count_internal)
33673         (__argz_stringify_internal): Remove declaration.
33674         (__argz_count, __argz_stringify): Declare hidden proto.
33675         * intl/dcgettext.c: Remove use of INTDEF.
33676         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33677         * string/argz-stringify.c: Likewise.
33678         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33679         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33680         Declare hidden proto.
33681         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33682         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33683         Declare hidden proto.
33684         * include/stdio.h (__asprintf_internal): Don't declare.
33685         (__asprintf): Don't define as macro.  Declare hidden proto.
33686         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33687         (__fsetlocking): Declare hidden proto.
33688         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33689         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33690         hidden proto.
33691         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33692         (_IO_setlinebuf): Remove use of INTUSE.
33693         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33694         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33695         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33696         Remove declaration.
33697         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33698         (_IO_do_flush): Remove use of INTUSE.
33699         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33700         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33701         (_IO_adjust_column, _IO_least_wmarker)
33702         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33703         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33704         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33705         (_IO_default_doallocate, _IO_wdefault_doallocate)
33706         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33707         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33708         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33709         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33710         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33711         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33712         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33713         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33714         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33715         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33716         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33717         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33718         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33719         proto.
33720         (_IO_flush_all_internal, _IO_adjust_column_internal)
33721         (_IO_default_uflow_internal, _IO_default_finish_internal)
33722         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33723         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33724         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33725         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33726         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33727         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33728         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33729         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33730         (_IO_file_close_internal, _IO_file_close_it_internal)
33731         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33732         (_IO_file_init_internal, _IO_file_attach_internal)
33733         (_IO_file_fopen_internal, _IO_file_read_internal)
33734         (_IO_file_sync_internal, _IO_file_seek_internal)
33735         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33736         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33737         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33738         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33739         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33740         (_IO_list_all_internal, _IO_link_in_internal)
33741         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33742         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33743         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33744         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33745         (_IO_do_write_internal, _IO_padn_internal)
33746         (_IO_getline_info_internal, _IO_getline_internal)
33747         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33748         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33749         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33750         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33751         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33752         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33753         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33754         with libc_hidden_ver, remove use of INTUSE.
33755         * libio/genops.c: Likewise.
33756         * libio/freopen.c: Likewise.
33757         * libio/freopen64.c: Likewise.
33758         * libio/iofclose.c: Likewise.
33759         * libio/iofdopen.c: Likewise.
33760         * libio/iofflush.c: Likewise.
33761         * libio/iofflush_u.c: Likewise.
33762         * libio/iofgets.c: Likewise.
33763         * libio/iofgets_u.c: Likewise.
33764         * libio/iofopen.c: Likewise.
33765         * libio/iofopncook.c: Likewise.
33766         * libio/iofread.c: Likewise.
33767         * libio/iofread_u.c: Likewise.
33768         * libio/ioftell.c: Likewise.
33769         * libio/iofwrite.c: Likewise.
33770         * libio/iogetline.c: Likewise.
33771         * libio/iogets.c: Likewise.
33772         * libio/iogetwline.c: Likewise.
33773         * libio/iopadn.c: Likewise.
33774         * libio/iopopen.c: Likewise.
33775         * libio/ioseekoff.c: Likewise.
33776         * libio/ioseekpos.c: Likewise.
33777         * libio/iosetbuffer.c: Likewise.
33778         * libio/iosetvbuf.c: Likewise.
33779         * libio/ioungetc.c: Likewise.
33780         * libio/ioungetwc.c: Likewise.
33781         * libio/iovdprintf.c: Likewise.
33782         * libio/iovsprintf.c: Likewise.
33783         * libio/iovsscanf.c: Likewise.
33784         * libio/memstream.c: Likewise.
33785         * libio/obprintf.c: Likewise.
33786         * libio/oldfileops.c: Likewise.
33787         * libio/oldiofclose.c: Likewise.
33788         * libio/oldiofdopen.c: Likewise.
33789         * libio/oldiofopen.c: Likewise.
33790         * libio/oldiopopen.c: Likewise.
33791         * libio/oldstdfiles.c: Likewise.
33792         * libio/putc.c: Likewise.
33793         * libio/setbuf.c: Likewise.
33794         * libio/setlinebuf.c: Likewise.
33795         * libio/stdfiles.c: Likewise.
33796         * libio/strops.c: Likewise.
33797         * libio/vasprintf.c: Likewise.
33798         * libio/vscanf.c: Likewise.
33799         * libio/vsnprintf.c: Likewise.
33800         * libio/vswprintf.c: Likewise.
33801         * libio/wfiledoalloc.c: Likewise.
33802         * libio/wfileops.c: Likewise.
33803         * libio/wgenops.c: Likewise.
33804         * libio/wmemstream.c: Likewise.
33805         * libio/wstrops.c: Likewise.
33806         * libio/__fpurge.c: Likewise.
33807         * libio/__fsetlocking.c: Likewise.
33808         * assert/assert.c: Likewise.
33809         * debug/fgets_chk.c: Likewise.
33810         * debug/fgets_u_chk.c: Likewise.
33811         * debug/fread_chk.c: Likewise.
33812         * debug/fread_u_chk.c: Likewise.
33813         * debug/gets_chk.c: Likewise.
33814         * debug/obprintf_chk.c: Likewise.
33815         * debug/vasprintf_chk.c: Likewise.
33816         * debug/vdprintf_chk.c: Likewise.
33817         * debug/vsnprintf_chk.c: Likewise.
33818         * debug/vsprintf_chk.c: Likewise.
33819         * malloc/mtrace.c: Likewise.
33820         * misc/error.c: Likewise.
33821         * misc/syslog.c: Likewise.
33822         * stdio-common/asprintf.c: Likewise.
33823         * stdio-common/fxprintf.c: Likewise.
33824         * stdio-common/getw.c: Likewise.
33825         * stdio-common/isoc99_fscanf.c: Likewise.
33826         * stdio-common/isoc99_scanf.c: Likewise.
33827         * stdio-common/isoc99_vfscanf.c: Likewise.
33828         * stdio-common/isoc99_vscanf.c: Likewise.
33829         * stdio-common/isoc99_vsscanf.c: Likewise.
33830         * stdio-common/printf-prs.c: Likewise.
33831         * stdio-common/printf_fp.c: Likewise.
33832         * stdio-common/printf_fphex.c: Likewise.
33833         * stdio-common/printf_size.c: Likewise.
33834         * stdio-common/putw.c: Likewise.
33835         * stdio-common/scanf.c: Likewise.
33836         * stdio-common/sprintf.c: Likewise.
33837         * stdio-common/tmpfile.c: Likewise.
33838         * stdio-common/vfprintf.c: Likewise.
33839         * stdio-common/vfscanf.c: Likewise.
33840         * stdlib/strfmon_l.c: Likewise.
33841         * sunrpc/openchild.c: Likewise.
33842         * sunrpc/xdr_stdio.c: Likewise.
33843         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33844         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33846 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33848         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33850         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33851         in the third column, to generate for the shared library an IFUNC
33852         that uses _dl_vdso_vsym.
33853         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33854         * Makeconfig (object-suffixes-noshared): New variable.
33856         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33857         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33858         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33859         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33861         [BZ #14132]
33862         * include/sys/time.h (__gettimeofday): Remove macro.
33863         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33864         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33865         Remove INTDEF.
33866         (__gettimeofday): Add libc_hidden_def.
33867         (gettimeofday): Add libc_hidden_weak.
33868         * sysdeps/mach/gettimeofday.c: Likewise.
33869         * sysdeps/posix/gettimeofday.c: Likewise.
33870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33871         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33872         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33873         (__gettimeofday_internal): Remove strong_alias.
33874         (__gettimeofday): Add libc_hidden_def.
33875         (gettimeofday): Add libc_hidden_weak.
33876         * sysdeps/unix/syscalls.list (gettimeofday):
33877         Remove __gettimeofday_internal alias.
33879 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33880             H.J. Lu  <hongjiu.lu@intel.com>
33882         [BZ #12495]
33883         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33884         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33885         (largebin_index_32_big): New.
33886         (largebin_index): Use it for 16-byte alignment.
33887         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33888         correction with front_misalign.
33890 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33894         Likewise.
33895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33896         Likewise.
33897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33898         Likewise.
33899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33900         Likewise.
33901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33902         Likewise.
33903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33904         Likewise.
33905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33906         Likewise.
33907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33908         Likewise.
33909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33910         Likewise.
33911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33912         Likewise.
33913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33914         Likewise.
33915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33916         Likewise.
33918         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33919         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33921 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33923         [BZ #10846]
33924         [BZ #14036]
33925         * math/libm-test.inc (exp_test): Add test from bug 14036.
33926         (pow_test): Add test from bug 10846.
33928         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33929         and other flags.
33930         (special_function): Do not include flags in test name.
33931         (parse_args): Likewise.
33932         * sysdeps/i386/fpu/libm-test-ulps: Update.
33933         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33934         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33935         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33938         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33939         exceptions.
33940         * math/libm-test.inc ("Philosophy"): Update comment about
33941         exception testing.
33942         (UNDERFLOW_EXCEPTION): New macro.
33943         (UNDERFLOW_EXCEPTION_OK): Likewise.
33944         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33945         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33946         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33947         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33948         (INVALID_EXCEPTION_OK): Update value.
33949         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33950         (OVERFLOW_EXCEPTION_OK): Likewise.
33951         (IGNORE_ZERO_INF_SIGN): Likewise.
33952         (test_exceptions): Handle underflow exceptions.
33953         (acos_test): Update for underflow exception expectations.
33954         (cexp_test): Likewise.
33955         (clog_test): Likewise.
33956         (clog10_test): Likewise.
33957         (csqrt_test): Likewise.
33958         (ctan_test): Likewise.
33959         (ctanh_test): Likewise.
33960         (exp_test): Likewise.
33961         (exp10_test): Likewise.
33962         (exp2_test): Likewise.
33963         (expm1_test): Likewise.
33964         (fma_test): Likewise.
33965         (j0_test): Likewise.
33966         (jn_test): Likewise.
33967         (nexttoward_test): Likewise.
33968         (pow_test): Likewise.
33969         (scalbn_test): Likewise.
33970         (scalbln_test): Likewise.
33971         (tan_test): Likewise.
33972         (y1_test): Likewise.
33973         * sysdeps/i386/fpu/libm-test-ulps: Update.
33974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33976 2012-05-23  David S. Miller  <davem@davemloft.net>
33978         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33979         (__libc_sigaction): Remove unused local variables.
33981 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33983         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33985 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33987         mktime: avoid signed integer overflow
33988         * time/mktime.c (__mktime_internal): Do not mishandle the case
33989         where diff == INT_MIN.
33991         mktime: simplify computation of average
33992         * time/mktime.c (ranged_convert): Use new time_t_avg function
33993         instead of rolling our own (probably-slower) code.
33995         mktime: do not assume signed right shift propagates sign bit
33996         * time/mktime.c (isdst_differ): New static function.
33997         (__mktime_internal): No need to normalize tm_isdst now.
33998         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33999         tm_isdst values.
34001         mktime: merge another wrapv change from gnulib
34002         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34003         from some compilers.
34005         mktime: remove incorrect attempt at unusual arithmetics
34006         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34007         The code didn't really work on such machines anyway.
34008         (TYPE_MINIMUM): Assume two's complement.
34009         (twos_complement_arithmetic): Verify that long_int and time_t
34010         are two's complement (or unsigned, in the latter case).
34012         mktime: check signed shifts on long_int and time_t, too
34013         * time/mktime.c (SHR): Check that shifts work as desired
34014         on the types long_int and time_t too, as SHR is used on
34015         such types.
34017         mktime: do not assume 'long' is wide enough
34018         * time/mktime.c (verify): Move decl up.
34019         (long_int): New type.
34020         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34021         to remove assumption in the code that 'long' is wide enough to
34022         store year values.  This assumption is not true on x32 and on
34023         some non-glibc platforms.
34025         mktime: merge wrapv change from gnulib
34026         * time/mktime.c (WRAPV): New macro.
34027         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34028         (guess_time_tm, __mktime_internal): Do not assume that signed
34029         integer overflow wraps around; modern compilers generate code
34030         where this assumption is no longer valid.
34032 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34034         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34035         Replace "jmp L(pseudo_end)" with "ret".
34036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34037         Likewise.
34039 2012-05-23  Andreas Jaeger  <aj@suse.de>
34041         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34042         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34044 2012-05-23  Andreas Jaeger  <aj@suse.de>
34045             Maximilian Attems  <max@stro.at>
34047         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34048         New macros.
34050 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34052         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34053         code so that pseudo_end is just ret and the stack pointer is
34054         correct also for static library in error case.
34056 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34058         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34059         move to syscalls.list.
34060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34065         * manual/install.texi (Running make install): Do not mention Linux
34066         kernel version for which pt_chown is not needed.
34067         (Linux): Do not mention problems with nscd with 2.0 kernels.
34068         * INSTALL: Regenerated.
34070 2012-05-23  Andreas Jaeger  <aj@suse.de>
34072         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34073         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34074         macro.
34075         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34076         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34077         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34078         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34079         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34080         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34081         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34082         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34083         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34084         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34085         * sysdeps/unix/sysv/linux/bits/in.h
34086         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34088 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34090         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34091         (PREPARE_VERSION): Just use assert instead, it will be elided
34092         under [NDEBUG] anyway.
34094 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34096         * sysdeps/unix/sysv/linux/Makefile: Include
34097         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34098         (sysdep_routines): Remove sysctl.
34099         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34100         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34101         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34102         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34103         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34105 2012-05-22  Andreas Jaeger  <aj@suse.de>
34107         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34108         that pseudo_end is just ret and the stack pointer is correct also
34109         for static library in error case.
34111 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34113         [BZ #14122]
34114         * nss/nsswitch.c (defconfig_entries): New variable.
34115         (__nss_database_lookup): Don't leak defconfig entries.
34116         (nss_parse_service_list): Don't leak on error paths.
34117         (free_database_entries): New function.
34118         (free_defconfig): New function.
34119         (free_mem): Move common code to free_database_entries.
34121 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34123         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34124         Add arch_prctl.
34125         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34127         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34128         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34130         New macro.
34131         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34132         (INTERNAL_SYSCALL_TYPES): Likewise.
34133         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34134         (LOAD_REGS_TYPES_[1-6]): Likewise.
34135         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34136         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34138 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34140         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34141         copysignl for GLIBC_2_0.
34142         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34143         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34144         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34145         logbl for GLIBC_2_0.
34146         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34147         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34149 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34151         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34152         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34154         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34155         Use "neg %eax".
34157         * time/mktime.c: Update copyright years.
34159 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34161         mktime: merge comment-quoting-style change from gnulib
34162         * time/mktime.c: Quote 'like this' in comments.
34163         The GNU coding standards suggest that we no longer quote `like this',
34164         as "`" and "'" are typically rendered asymmetrically nowadays.
34165         The typical gnulib style is to quote 'like this' when quoting
34166         code, and "like this" when quoting English.
34168         * time/mktime.c (compile-command): Add "-I.".
34170         mktime: merge mktime-internal.h change from gnulib
34171         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34173         mktime: merge time_r change from gnulib
34174         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34176         mktime: merge DEBUG change from gnulib
34177         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34178         case system <time.h> has a #define.
34180         mktime: merge <sys/types.h> change from gnulib
34181         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34182         since <time.t> is now guaranteed to define time_t.
34184         mktime: merge HAVE_CONFIG_H change from gnulib
34185         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34187 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34190         Use "neg %eax".
34192         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34193         __rlim_t cast.
34194         (struct rusage): Use anonymous union to pad each field to
34195         __syscall_slong_t.
34197 2012-05-21  David S. Miller  <davem@davemloft.net>
34199         * Makefules (o-iterator): Remove .s cases.
34200         (compile-command.s): Delete.
34201         (COMPILE.s): Delete.
34202         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34204 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34206         * configure.in (libc_cv_predef_stack_protector): Only consider
34207         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34208         * configure: Regenerated.
34210 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34212         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34213         New macro.  Use R*LP on int and pointer.
34214         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34215         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34216         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34217         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34219         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34220         [__WORDSIZE_TIME64_COMPAT32] instead of
34221         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34222         (struct utmp): Likewise.
34223         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34224         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34225         Renamed to ...
34226         (__WORDSIZE_TIME64_COMPAT32): This.
34227         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34228         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34229         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34230         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34231         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34232         (__WORDSIZE_TIME64_COMPAT32): New macro.
34234 2012-05-21  Andreas Jaeger  <aj@suse.de>
34236         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34237         only if [SHARED]. Add prototype for __wcschr_ia32.
34239 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34241         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34242         of %rbp unmolested in the jmp_buf while mangling the low bits.
34243         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34244         unmolested high bits of %rbp while demangling the low bits.
34245         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34247 2012-05-21  Andreas Jaeger  <aj@suse.de>
34249         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34250         * sunrpc/svc_simple.c: Use it for registerrpc.
34251         * sunrpc/xcrypt.c: Use it for passwd2des.
34253         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34255 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34257         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34258         Don't define if [__SYSCALL_WORDSIZE != 32].
34259         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34260         New macro.
34262 2012-05-21  Bruno Haible  <bruno@clisp.org>
34263             Andreas Jaeger  <aj@suse.de>
34265         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34266         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34267         inptr and inend for must_buffer_ch.
34268         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34269         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34270         * stdio-common/Makefile (tests): Remove bug15.
34271         (bug15-ENV): Remove macro.
34272         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34273         anymore.
34275 2012-05-19  Andreas Jaeger  <aj@suse.de>
34276             Roland McGrath  <roland@hack.frob.com>
34278         * manual/contrib.texi: Completely rewritten. It contains now an
34279         alphabetical list of contributors and their contributions.
34281 2012-05-21  Richard Henderson  <rth@twiddle.net>
34283         * misc/getauxval.c (__getauxval): Use unsigned long int.
34284         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34285         (getauxval): Use unsigned long int.
34287 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34289         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34291 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34293         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34294         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34295         __alignof__ (long double).
34297 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34301 2012-05-20  Richard Henderson  <rth@twiddle.net>
34303         * misc/getauxval.c: New file.
34304         * misc/sys/auxv.h: New file.
34305         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34306         (routines): Add getauxval.
34307         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34308         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34309         * elf/dl-sysdep.c (_dl_auxv): Remove.
34310         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34311         * elf/dl-support.c (_dl_auxv): New variable.
34312         (_dl_aux_init): Initialize it.
34313         * manual/startup.texi (Auxiliary Vector): New node.
34314         * sysdeps/generic/bits/hwcap.h: New file.
34315         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34316         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34317         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34318         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34319         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34320         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34322         Update.
34323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34326         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34332 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34336 2012-05-19  David S. Miller  <davem@davemloft.net>
34338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34340 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34342         [BZ #14123]
34343         * math/s_ccosh.c: Include <float.h>
34344         (__ccosh): Avoid internal overflow calculating sinh and cosh
34345         values before multiplying by sin and cos values.
34346         * math/s_ccoshf.c: Likewise.
34347         * math/s_ccoshl.c: Likewise.
34348         * math/s_csin.c: Likewise.
34349         * math/s_csinf.c: Likewise.
34350         * math/s_csinl.c: Likewise.
34351         * math/s_csinh.c: Likewise.
34352         * math/s_csinhf.c: Likewise.
34353         * math/s_csinhl.c: Likewise.
34354         * math/libm-test.inc (ccos_test): Add more tests.
34355         (ccosh_test): Likewise.
34356         (csin_test): Likewise.
34357         (csinh_test): Likewise.
34358         * sysdeps/i386/fpu/libm-test-ulps: Update.
34359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34361 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34363         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34364         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34366         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34368 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34370         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34371         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34372         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34373         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34374         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34375         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34376         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34377         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34378         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34379         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34380         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34381         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34382         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34383         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34384         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34385         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34386         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34387         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34388         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34389         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34390         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34391         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34392         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34393         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34394         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34395         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34396         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34397         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34398         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34399         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34400         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34402 2012-05-18  Andreas Jaeger  <aj@suse.de>
34404         * csu/.gitignore: Delete.
34406 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34408         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34409         (timex): Use __syscall_slong_t.
34411 2012-05-18  Andreas Jaeger  <aj@suse.de>
34412             Carlos O'Donell  <carlos_odonell@mentor.com>
34414         * manual/install.texi (Configuring and compiling): Update
34415         description about files modified in the source directory.
34416         * INSTALL: Regenerated.
34418 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34420         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34421         value.  Use "or" to set return value to -1.
34422         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34423         negate return value.
34425 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34427         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34428         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34429         failure if the compiler has Graphite support disabled.
34430         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34431         Likewise.
34432         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34433         (CFLAGS-memmove.c): Likewise.
34434         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34435         Likewise.
34437 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34439         * sysdeps/x86_64/x32/_itoa.h: New file.
34441         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34442         getdents system call only if kernel and user dirents have the
34443         same d_ino and d_off.
34445         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34446         LLONG_MAX != LONG_MAX.
34447         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34448         (_fitoa_word): Likewise.
34450         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34451         years.
34452         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34453         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34454         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34456         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34457         include <bits/wordsize.h>.  Check __x86_64__ instead of
34458         __WORDSIZE.
34459         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34460         if __x86_64__ is defined.  Use anonymous union on fpstate.
34462         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34463         anonymous union.
34465 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
34467         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34468         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34469         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34470         Refer to _rtld_local_ro instead of _rtld_global_ro.
34471         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34472         Likewise.
34473         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34474         Likewise.
34475         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34476         Likewise.
34477         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34478         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34479         of _rtld_global, and rtld_progname instead of _dl_argv[0].
34481         * sysdeps/powerpc/powerpc32/dl-machine.c
34482         (__elf_machine_runtime_setup) [PROF]: Don't reference
34483         _dl_prof_resolve.
34485 2012-05-18  Andreas Jaeger  <aj@suse.de>
34487         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34488         function only available for GCCs before 3.4 since GCC 3.4
34489         introduced a builtin.
34490         (lrint): Likewise.
34491         (llrintf): Likewise.
34492         (llrint): Likewise.
34493         (fmaxf): Likewise.
34494         (fmax): Likewise.
34495         (fminf): Likewise.
34496         (fmin): Likewise.
34497         (rint): Likewise.
34498         (rintf): Likewise.
34499         (nearbyint): Likewise.
34500         (nearbyintf): Likewise.
34501         (ceil): Likewise.
34502         (ceilf): Likewise.
34503         (floor): Likewise.
34504         (floorf): Likewise.
34506 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34508         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34509         on both fields and cast pointer to __syscall_ulong_t.
34511         * bits/types.h (__fsword_t): New type.
34512         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34513         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34514         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34515         (__FSWORD_T_TYPE): Likewise.
34516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34517         (__FSWORD_T_TYPE): Likewise.
34518         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34519         (__FSWORD_T_TYPE): Likewise.
34520         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34521         (__FSWORD_T_TYPE): Likewise.
34522         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34523         __SWORD_TYPE with __fsword_t.
34524         (statfs64): Likewise.
34526 2012-05-17  David S. Miller  <davem@davemloft.net>
34528         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34530 2012-05-17  Andreas Jaeger  <aj@suse.de>
34532         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34533         warning.
34535 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34537         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34539 2012-05-17  Andreas Jaeger  <aj@suse.de>
34541         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34542         when it is used.
34544 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34546         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34548 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34550         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34551         * sysdeps/x86_64/tst-mallocalign1.c: New file.
34553 2012-05-17  Andreas Jaeger  <aj@suse.de>
34554             Carlos O'Donell  <carlos_odonell@mentor.com>
34556         [BZ #14059]
34557         * sysdeps/x86_64/multiarch/init-arch.h
34558         (bit_YMM_Usable): Rename to...
34559         (bit_AVX_Usable): ... this.
34560         (bit_FMA4_Usable): New macro.
34561         (bit_XMM_state): New macro.
34562         (bit_YMM_state): New macro.
34563         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34564         [__ASSEMBLER__] (index_AVX_Usable): ... this.
34565         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34566         (CPUID_OSXSAVE): New macro.
34567         (CPUID_AVX): New macro.
34568         (CPUID_FMA4): New macro.
34569         (index_YMM_Usable): Rename to...
34570         (index_AVX_Usable): ... this.
34571         (HAS_AVX): Use HAS_ARCH_FEATURE.
34572         (HAS_FMA4): Likewise.
34573         (HAS_YMM_USABLE): Remove.
34574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34575         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34576         are present.
34577         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34578         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34579         * sysdeps/x86_64/multiarch/Makefile: Likewise.
34580         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34581         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34583 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
34585         * math/libm-test.c: Support platforms without multiple rounding modes.
34586         * math/bug-nextafter.c: Support platforms without FP exceptions.
34587         * math/bug-nexttoward.c: Likewise.
34588         * math/test-fenv.c: Likewise.
34589         * math/test-misc.c: Likewise.
34590         * stdlib/bug-getcontext.c: Likewise.
34592 2012-05-17  Andreas Jaeger  <aj@suse.de>
34594         * manual/examples/search.c (critter_cmp): Change signature to
34595         avoid warnings.
34596         * manual/string.texi (Collation Functions): Likewise.
34598 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34600         * bits/types.h: Fold copyright years.
34601         * bits/typesizes.h: Likewise.
34602         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34603         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34605         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34606         * time/time.h: Likewise.
34608 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
34610         [BZ #208]
34611         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34612         in instead of returning them.  Return void.
34613         (__libc_mallinfo): Accumulate over all arenas.
34614         (__malloc_stats): Adjust for change in int_mallinfo interface.
34616 2012-05-16  Roland McGrath  <roland@hack.frob.com>
34618         [BZ #10375]
34619         * configure.in (NM): Add AC_CHECK_TOOL for it.
34620         (libc_extra_cflags): New substituted variable.
34621         Check for -fstack-protector being used implicitly.
34622         * configure: Regenerated.
34623         * config.make.in (config-extra-cflags): New variable,
34624         gets @libc_extra_cflags@.
34625         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34627         [BZ #10375]
34628         * configure.in: Check for _FORTIFY_SOURCE being predefined.
34629         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34630         * configure: Regenerated.
34631         * config.make.in (CPPUNDEFS): New substituted variable.
34632         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34633         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34634         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34636 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34638         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34639         (mq_attr): Use __syscall_slong_t.
34641 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34643         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34644         Check __x86_64__ instead of __WORDSIZE.
34645         (_STAT_VER_LINUX): Likewise.
34646         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
34647         __syscall_ulong_t and __syscall_slong_t.
34648         (stat64): Likewise.
34650 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34652         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34654 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34656         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34658 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34660         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34661         __syscall_ulong_t.
34663         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34664         include <bits/wordsize.h>.  Check __x86_64__ instead of
34665         __WORDSIZE.
34666         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34667         defined.
34668         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34670         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34671         include <bits/wordsize.h>.  Check __x86_64__ instead of
34672         __WORDSIZE.
34673         (user_regs_struct): Use "__extension__ unsigned long long"
34674         instead of "unsigned long" if __x86_64__ is defined.
34675         (user): Likewise.  Pad after pointer field if __ILP32__ is
34676         defined.
34678 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34680         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34681         versions 5 to 9.
34682         * configure: Regenerated.
34683         * manual/install.texi (texinfo): Increase version requirement to
34684         4.5 or later.
34685         * INSTALL: Regenerated.
34687         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34689 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34691         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34693         * sysdeps/x86_64/x32/ffs.c: New file.
34695         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34696         __syscall_ulong_t.
34697         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34698         defined.  Use __syscall_ulong_t.
34699         (shminfo): Use __syscall_ulong_t.
34700         (shm_info): Likewise.
34702         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34703         __syscall_ulong_t.
34705         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34706         <bits/wordsize.h>.
34707         (msgqnum_t): Use __syscall_ulong_t.
34708         (msglen_t): Likewise.
34709         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34710         __syscall_ulong_t.
34712         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34713         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34715         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34717         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34718         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34720         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34721         __syscall_slong_t.
34723         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34724         include <bits/wordsize.h>.  Check __x86_64__ instead of
34725         __WORDSIZE.
34727         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34728         "unsigned long long int" if __x86_64__ is defined.
34729         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34731         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34732         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34733         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34735         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34736         <stdint.h>.
34737         (GET_PC): Cast to uintptr_t first.
34738         (GET_FRAME): Likewise.
34739         (GET_STACK): Likewise.
34741         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34742         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34743         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34744         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34745         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34746         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34747         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34748         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34749         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34750         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34751         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34752         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34753         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34754         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34755         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34756         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34757         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34758         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34759         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34760         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34761         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34762         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34763         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34764         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34765         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34766         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34767         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34768         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34769         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34771 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34773         * Makerules (+depfiles): Also collect depfiles from .oS in
34774         $(extra-objs).
34775         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34776         .oS, $(libnldbl-routines)).
34778         * Makerules (native-compile-mkdep-flags): Define.
34779         * sunrpc/Makefile (extra-objs): Add $(addprefix
34780         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34781         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34782         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34783         calling $(make-target-directory).
34785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34787         * bits/types.h (__snseconds_t): Removed.
34788         * time/time.h (struct timespec): Replace __snseconds_t with
34789         __syscall_slong_t.
34790         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34791         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34792         Likewise.
34793         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34794         (__SNSECONDS_T_TYPE): Likewise.
34795         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34796         (__SNSECONDS_T_TYPE): Likewise.
34797         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34798         (__SNSECONDS_T_TYPE): Likewise.
34800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34802         * sysdeps/mach/hurd/bits/typesizes.h
34803         (__SYSCALL_SLONG_TYPE): New macro.
34804         (__SYSCALL_ULONG_TYPE): Likewise.
34806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34808         * bits/types.h (__syscall_slong_t): New type.
34809         (__syscall_ulong_t): Likewise.
34811         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34812         (__SYSCALL_ULONG_TYPE): Likewise.
34813         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34814         (__SYSCALL_SLONG_TYPE): Likewise.
34815         (__SYSCALL_ULONG_TYPE): Likewise.
34816         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34817         (__SYSCALL_SLONG_TYPE): Likewise.
34818         (__SYSCALL_ULONG_TYPE): Likewise.
34819         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34820         (__SYSCALL_SLONG_TYPE): Likewise.
34821         (__SYSCALL_ULONG_TYPE): Likewise.
34823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34825         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34826         Add sigaltstack-offsets.sym.
34827         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34828         <sigaltstack-offsets.h>.
34829         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34830         longjmp_msg pointer.
34831         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34832         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34833         signal stack.
34834         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34836 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34838         * elf/stackguard-macros.h: Remove file.
34839         * sysdeps/generic/stackguard-macros.h: New file.
34840         * sysdeps/i386/stackguard-macros.h: Likewise.
34841         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34842         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34843         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34844         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34845         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34846         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34847         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34848         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34849         <elf/stackguard-macros.h>.
34851         [BZ #14109]
34852         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34853         __aligned__ in attribute.
34854         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34855         (gregset_t): Likewise.
34857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34859         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34860         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34861         * sysdeps/x86_64/x32/Implies-after: New file.
34863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34865         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34866         and access return value for _dl_profile_fixup.  Use R10_LP to
34867         load frame size.
34869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34871         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34875         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34876         * sysdeps/x86_64/x32/sysdep.h: New file.
34878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34880         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34881         * sysdeps/x86_64/setjmp.S: Likewise.
34883 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34885         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34886         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34887         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34888         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34889         remove unused global constant.
34891 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34893         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34894         include of <not-cancel.h>.
34896 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34898         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34900 2012-05-15  Jeff Law  <law@redhat.com>
34901             Andreas Jaeger  <aj@suse.de>
34903         [BZ #13594]
34904         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34905         out from...
34906         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34907         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34908         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34909         code changing __hst_map_handle.map.
34911 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34913         * configure.in (sysnames): Look for Implies-before and Implies-after
34914         files.
34915         * configure: Regenerated.
34917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34919         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34920         8-byte data alignment with LP_SIZE alignment.
34922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34924         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34925         into R10_LP.
34927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34929         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34933         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34934         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34935         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34936         Likewise.
34937         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34941         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34942         (stackinfo_sub_sp): Likewise.
34944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34946         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34947         RAX_LP.
34949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34951         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34952         into R*_LP.
34954 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34956         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34957         sizes into R*_LP.
34959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34961         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34965         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34966         into R11_LP and load __x86_64_shared_cache_size_half into
34967         R8_LP.
34969 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34971         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34972         R8_LP.
34974 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34976         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34977         logb for POWER7.
34978         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34979         logbf for POWER7.
34980         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34981         logbl for POWER7.
34982         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34983         powerpc32/power7/fpu/s_logb.c via #include.
34984         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34985         powerpc32/power7/fpu/s_logbf.c via #include.
34986         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34987         powerpc32/power7/fpu/s_logbl.c via #include.
34989 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34991         * README.libm: Remove file.
34993 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34995         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34996         count for x32.  Use R*_LP and omit operand-size suffix.
34998 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35000         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35001         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35002         * sysdeps/x86_64/x32/shlib-versions: New file.
35004 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35006         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35007         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35008         Use _dl_fatal_printf instead.
35010 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35012         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35013         set if not set by the user.  Do not allow for being unset.
35014         * sysdeps/unix/sysv/linux/configure: Regenerated.
35016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35018         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35019         the `q' suffix from lea and replace .quad with ASM_ADDR.
35021 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35024         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35025         instead of $17.
35026         (PTR_DEMANGLE): Likewise.
35028 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35030         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35031         (LP_OP): Likewise.
35032         (ASM_ADDR): Likewise.
35033         (RAX_LP): Likewise.
35034         (RBP_LP): Likewise.
35035         (RBX_LP): Likewise.
35036         (RCX_LP): Likewise.
35037         (RDI_LP): Likewise.
35038         (RSI_LP): Likewise.
35039         (RSP_LP): Likewise.
35040         (R8_LP): Likewise.
35041         (R9_LP): Likewise.
35042         (R10_LP): Likewise.
35043         (R10_LP): Likewise.
35044         (R11_LP): Likewise.
35045         (R12_LP): Likewise.
35046         (R13_LP): Likewise.
35047         (R14_LP): Likewise.
35048         (R15_LP): Likewise.
35050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35052         * sysdeps/x86_64/x32/dl-machine.h: New file.
35054 2012-05-14  Andreas Jaeger  <aj@suse.de>
35056         * manual/Makefile (subdir): Remove export of subdir.
35057         (all): Remove target.
35058         (.PHONY): Remove all from list.
35059         (mkinstalldirs): Remove.
35060         (.PHONY): Remove installdirs from list.
35061         ($(inst_infodir)/libc.info): Use make-target-directory.
35062         (installdirs): Remove.
35063         (subdir_%): Remove.
35064         (glibc-targets): Remove.
35065         (lib): Remove.
35066         (stubs): Remove.
35067         ($(objpfx)stubs ../po/manual.pot): Remove.
35068         ($(objpfx)stamp%): Remove.
35069         (make-target-directory): Remove.
35070         (subdir_install): Remove.
35071         (routines): Remove.
35072         (aux): Remove.
35073         (sources): Remove.
35074         (objects): Remove.
35075         (headers): Remove.
35077         [BZ #13750]
35078         * manual/.gitignore: Remove, it's not needed anymore.
35079         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35080         all files in it.
35081         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35082         directory.
35083         (texis): Renamed to $(objpfx)texis.
35084         (texis-path): New, contains path to generated files.
35085         (chapters.%): Use texis-path for complete path, add extra argument
35086         libc-texinfo.sh.
35087         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35088         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35089         (summary,texi, stamp-summary): Use complete path of
35090         files. Generate files in build dir.
35091         (dir-add.texi): Build in build dir.
35092         (libm-err.texi,stamp-libm-err): Likewise.
35093         (version.texi, stamp-version): Likewise.
35094         (.%c.texi): Likewise.
35095         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35096         (mostlyclean): Remove target.
35097         (realclean): Remove target.
35098         (generated): Add new variable with contents from mostlyclean and
35099         realclean, remove entries duplicated in common-mostlyclean, add
35100         stamp-libm-err and stamp-version.
35101         (generated-dirs): Add libc directory.
35102         ($(inst_infodir)/libc.info): Install files from build dir.
35104         * manual/install.texi (Configuring and compiling): Adjust since
35105         the info files are not part of the tar ball anymore.
35107 2012-05-14  Andreas Jaeger  <aj@suse.de>
35109         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35110         variable.
35112 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35114         [BZ #13717]
35115         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35116         to 2.2.0 where earlier.
35117         * sysdeps/unix/sysv/linux/configure: Regenerated.
35118         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35119         Remove conditional code.
35120         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35121         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35122         Remove conditional code.
35123         [!__NR_lchown]: Likewise.
35124         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35125         [__NR_lchown]: Likewise.
35126         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35127         comment referencing __ASSUME_LCHOWN_SYSCALL.
35128         * sysdeps/unix/sysv/linux/i386/sigaction.c
35129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35131         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35132         Remove conditional code.
35133         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35134         (__protocol_available): Remove #if 0 code.
35135         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35136         conditional code.
35137         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35138         * sysdeps/unix/sysv/linux/kernel-features.h
35139         (__ASSUME_GETCWD_SYSCALL): Don't define.
35140         (__ASSUME_REALTIME_SIGNALS): Likewise.
35141         (__ASSUME_PREAD_SYSCALL): Likewise.
35142         (__ASSUME_PWRITE_SYSCALL): Likewise.
35143         (__ASSUME_POLL_SYSCALL): Likewise.
35144         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35145         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35146         non-SPARC.
35147         (__ASSUME_SIOCGIFNAME): Don't define.
35148         (__ASSUME_MSG_NOSIGNAL): Likewise.
35149         (__ASSUME_SENDFILE): Define unconditionally.
35150         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35151         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35152         conditional code.
35153         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35154         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35155         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35156         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35157         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35158         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35159         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35161         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35162         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35164         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35165         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35167         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35168         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35170         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35171         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35173         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35174         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35176         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35177         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35179         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35180         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35182         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35183         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35184         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35185         Remove conditional code.
35186         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35187         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35188         Remove conditional code.
35189         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35190         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35191         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35192         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35193         Remove conditional code.
35194         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35195         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35196         Remove conditional code.
35197         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35198         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35199         Remove conditional code.
35200         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35201         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35202         Remove conditional code.
35203         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35204         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35205         Remove conditional code.
35206         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35207         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35208         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35209         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35210         * sysdeps/unix/sysv/linux/sigaction.c
35211         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35212         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35213         * sysdeps/unix/sysv/linux/sigpending.c
35214         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35215         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35216         * sysdeps/unix/sysv/linux/sigprocmask.c
35217         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35218         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35219         * sysdeps/unix/sysv/linux/sigsuspend.c
35220         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35221         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35222         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35223         (__libc_missing_rt_sigs): Remove.
35224         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35225         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35226         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35227         Remove conditional code.
35228         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35229         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35230         return 1.
35231         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35232         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35233         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35234         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35236 2012-05-14  Andreas Jaeger  <aj@suse.de>
35238         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35239         it's not used in glibc.
35240         (__coshm1): Likewise.
35241         (__acosh1p): Likewise.
35242         (__sgn): Likewise.
35244         * manual/string.texi (Copying and Concatenation): Add missing
35245         variable in concat example.
35246         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35248 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35250         [BZ #14103]
35251         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35252         __builtin_clzl with __builtin_clzll.
35254 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35256         [BZ #14104]
35257         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35258         libc_freeres_ptr.
35260 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35262         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35263         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35264         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35265         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35267 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35269         * NEWS: Update ia64 info.
35271 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35273         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35274         used as bcopy.
35276 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35278         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35279         * sysdeps/unix/syscalls.list (dup3): Likewise.
35280         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35281         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35283 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35285         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35286         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35288 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35290         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35291         thread pointer.
35292         (TLS_IE): Use mov/add instead of movq/addq to load thread
35293         pointer.
35294         (TLS_GD_PREFIX): New.
35295         (TLS_GD): Use it.
35297 2012-05-11  David S. Miller  <davem@davemloft.net>
35299         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35300         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35301         (_FPU_SETCW): Likewise.
35303 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35305         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35306         is 32-byte aligned.
35308 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35310         [BZ #11837]
35311         * iconvdata/gb18030.c: Update tables.
35312         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35313         characters specially.
35314         (BODY for TO_LOOP): Add encoding of missing ranges.
35316 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35318         [BZ #13673]
35319         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35320         * sysdeps/mach/hurd/dup3.c: Likewise.
35321         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35322         * sysdeps/powerpc/memmove.c:: Likewise.
35324 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35326         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35327         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35329 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35331         * elf/elf.h (R_X86_64_RELATIVE64): New.
35332         (R_X86_64_NUM): Updated.
35333         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35334         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35335         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35336         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35337         tst-quad1pie tst-quad2pie
35338         (modules-names): Add tst-quadmod1 tst-quadmod2.
35339         ($(objpfx)tst-quad1): New dependency.
35340         ($(objpfx)tst-quad2): Likewise.
35341         ($(objpfx)tst-quad1pie): Likewise.
35342         ($(objpfx)tst-quad2pie): Likewise.
35343         * sysdeps/x86_64/tst-quad1.c: New file.
35344         * sysdeps/x86_64/tst-quad1pie.c: New file.
35345         * sysdeps/x86_64/tst-quad2.c: Likewise.
35346         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35347         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35348         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35349         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35350         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35354         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35355         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35356         * streams/stropts.h (t_scalar_t): Define type.
35358         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35359         (_PATH_PRESERVE): Set to "/var/lib".
35360         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35362         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35363         instead of int.
35365         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35366         if __dir_mkfile succeeded.
35368         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35369         checking for _hurd_dtablesize.  Unlock it right after having
35370         finished _hurd_dtable allocation.
35372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35374         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35375         * sysdeps/mach/hurd/configure: Regenerated.
35376         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35377         special-casing to...
35378         * sysdeps/gnu/configure.in: ... this new file.
35379         * sysdeps/unix/sysv/linux/configure: Regenerated.
35380         * sysdeps/gnu/configure: New generated file.
35382         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35383         for Linux: use nsec instead of usec, as well as:
35384         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35385         members of type struct timespec.
35386         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35387         New macros.
35388         (struct stat64): Likewise.
35389         (_STATBUF_ST_NSEC): New macro.
35390         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35392         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35393         __strtoul_internal rather than strtoul.
35395 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35397         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35398         and reject them.
35400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35402         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35403         which preserves existing values.
35404         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35406 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35408         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35409         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35410         greater than FD_SETSIZE.
35412 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35414         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35415         allocated, call __vm_protect to finish enabling the existing space, and
35416         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35417         allocate the remainder.
35419 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35421         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35422         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35424 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35426         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35427         sysdeps/mach/hurd/readlink.c.
35429         * posix/tst-sysconf.c (posix_options): Only use
35430         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35431         _POSIX_SYNCHRONIZED_IO when they are defined
35432         * sysdeps/mach/hurd/bits/posix_opt.h:
35433         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35434         (_XOPEN_REALTIME): Undefine macro.
35435         (_XOPEN_REALTIME_THREADS): Undefine macro.
35436         (_XOPEN_SHM): Undefine macro.
35437         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35438         macro to -1.
35439         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35440         macro to -1.
35441         (_POSIX_ASYNC_IO): Undefine macro.
35442         (_POSIX_PRIORITIZED_IO): Undefine macro.
35443         (_POSIX_SPIN_LOCKS): Define macro to -1.
35445         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35446         SA_NODEFER, SA_RESETHAND.
35447         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35448         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35449         F_DUPFD_CLOEXEC.
35451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35453         * elf/Makefile (pldd-modules): Define unconditionally.
35455 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35457         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35461         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35462         Return ENOENT when name is empty.
35463         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35465 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35467         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35469         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35473         Fix mlock in all cases except non-readable pages.
35474         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35475         instead of VM_PROT_ALL as parameter to __vm_wire function.
35477         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35478         (__mkdir): When path is `/', just fail with EEXIST.
35479         * sysdeps/mach/hurd/mkdirat.c: Likewise.
35481 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35483         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35484         <sys/uio.h> (for writev).
35485         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35486         and <sys/param.h> (for MIN).
35488 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35490         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35491         REQUESTED_TIME.  Properly set the remaining time and return EINTR
35492         if interrupted.
35494 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35496         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35497         Depend on against $(link-rpcuserlibs).
35499 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35501         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35502         (__libc_stack_end): Do not use attribute_relro.
35503         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35504         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35505         to libthread-provided value.
35506         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35507         attribute_relro.
35509 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35511         [BZ #3748]
35512         * bits/libc-lock.h (__libc_once_get): New macro.
35513         * sysdeps/mach/bits/libc-lock.h: Likewise.
35514         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35516         instead of using implementation details.
35518         * libio/fileops.c: Unconditionally include <kernel-features.h>.
35519         * libio/freopen.c: Likewise.
35520         * libio/freopen64.c: Likewise.
35521         * misc/syslog.c: Likewise.
35522         * nscd/connections.c: Likewise.
35523         * nscd/netgroupcache.c: Likewise.
35524         * sysdeps/posix/getcwd.c: Likewise.
35526 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35528         * math/w_ilogbf.c: Add #include <limits.h>.
35530 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35532         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35533         path instead of returning without unlocking.
35535         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35536         immediate-write ioctls.
35537         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35539 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35541         * sysdeps/mach/hurd/i386/init-first.c (init): Use
35542         __builtin_frame_address instead of making assumptions about the
35543         location of the return address relative to DATA.  Force early load of
35544         the return address.
35545         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35546         __builtin_frame_address.
35548         dup3 for GNU Hurd.
35549         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35550         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
35551         implement dup3 and do some further code clean-ups.
35552         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35553         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35557         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35559         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35560         HURD_CRITICAL_END around holding _hurd_dtable_lock.
35561         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35562         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35563         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35564         d->port.lock.
35566         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35567         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
35568         when handler == SIG_ERR, not when handler != SIG_ERR.
35570 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35572         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35573         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35574         definitions.
35576         accept4 for GNU Hurd.
35577         * include/sys/socket.h (__libc_accept4): New prototype.
35578         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
35579         to implement __libc_accept4.
35580         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35581         __libc_accept4.
35582         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35584         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35585         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35586         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35587         signal-defines.sym.
35589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35591         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35593 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35595         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35596         assertion on O_CLOEXEC flag.
35597         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35598         * hurd/intern-fd.c: Likewise.
35599         * hurd/port2fd.c: Likewise.
35601 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35603         [BZ #3906]
35604         * bits/in.h (IPV6_PKTINFO): Define new macro.
35605         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35607 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35609         [BZ #13954]
35610         [BZ #13955]
35611         [BZ #13956]
35612         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35614         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35615         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35616         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35617         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35618         * math/libm-test.inc (logb_test) : Additional logb tests.
35620 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
35621             Andreas Jaeger  <aj@suse.de>
35623         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35624         * configure: Regenerated.
35625         * config.h.in (LINK_OBSOLETE_RPC): New macro.
35626         * config.make.in (link-obsolete-rpc): New substituted variable.
35627         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35628         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35629         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35630         (shared-only-routines): Don't set it under [link-obsolete-rpc],
35631         so that libc.a contains the symbols.
35632         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35633         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35634         * sunrpc/auth_none.c: Likewise.
35635         * sunrpc/auth_unix.c: Likewise.
35636         * sunrpc/authdes_prot.c: Likewise.
35637         * sunrpc/authuxprot.c: Likewise.
35638         * sunrpc/clnt_gen.c: Likewise.
35639         * sunrpc/clnt_perr.c: Likewise.
35640         * sunrpc/clnt_raw.c: Likewise.
35641         * sunrpc/clnt_simp.c: Likewise.
35642         * sunrpc/clnt_tcp.c: Likewise.
35643         * sunrpc/clnt_udp.c: Likewise.
35644         * sunrpc/clnt_unix.c: Likewise.
35645         * sunrpc/des_crypt.c: Likewise.
35646         * sunrpc/des_soft.c: Likewise.
35647         * sunrpc/get_myaddr.c: Likewise.
35648         * sunrpc/key_call.c: Likewise.
35649         * sunrpc/key_prot.c: Likewise.
35650         * sunrpc/netname.c: Likewise.
35651         * sunrpc/pm_getmaps.c: Likewise.
35652         * sunrpc/pm_getport.c: Likewise.
35653         * sunrpc/pmap_clnt.c: Likewise.
35654         * sunrpc/pmap_prot.c: Likewise.
35655         * sunrpc/pmap_prot2.c: Likewise.
35656         * sunrpc/pmap_rmt.c: Likewise.
35657         * sunrpc/publickey.c: Likewise.
35658         * sunrpc/rpc_cmsg.c: Likewise.
35659         * sunrpc/rpc_common.c: Likewise.
35660         * sunrpc/rpc_dtable.c: Likewise.
35661         * sunrpc/rpc_prot.c: Likewise.
35662         * sunrpc/rpc_thread.c: Likewise.
35663         * sunrpc/rtime.c: Likewise.
35664         * sunrpc/svc.c: Likewise.
35665         * sunrpc/svc_auth.c: Likewise.
35666         * sunrpc/svc_raw.c: Likewise.
35667         * sunrpc/svc_run.c: Likewise.
35668         * sunrpc/svc_tcp.c: Likewise.
35669         * sunrpc/svc_udp.c: Likewise.
35670         * sunrpc/svc_unix.c: Likewise.
35671         * sunrpc/svcauth_des.c: Likewise.
35672         * sunrpc/xcrypt.c: Likewise.
35673         * sunrpc/xdr.c: Likewise.
35674         * sunrpc/xdr_array.c: Likewise.
35675         * sunrpc/xdr_float.c: Likewise.
35676         * sunrpc/xdr_intXX_t.c: Likewise.
35677         * sunrpc/xdr_mem.c: Likewise.
35678         * sunrpc/xdr_rec.c: Likewise.
35679         * sunrpc/xdr_ref.c: Likewise.
35680         * sunrpc/xdr_sizeof.c: Likewise.
35681         * sunrpc/xdr_stdio.c: Likewise.
35683 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35685         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35686         change.  Update copyright years.
35688 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35690         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35692 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35693             Joseph Myers  <joseph@codesourcery.com>
35694             Paul Pluzhnikov  <ppluzhnikov@google.com>
35696         [BZ #14012]
35697         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35698         requiring rpcgen.
35699         [cross-compiling] (extra-libs): Likewise.
35700         [cross-compiling] (extra-libs-others): Likewise.
35701         [cross-compiling] (librpcsvc-routines): Likewise.
35702         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35703         [cross-compiling] (omit-deps): Likewise.
35704         (sunrpc-CPPFLAGS): New variable.
35705         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35706         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35707         (cross-rpcgen-objs): New variable.
35708         (extra-objs): Append $(cross-rpcgen-objs).
35709         ($(cross-rpcgen-objs)): New rule.
35710         ($(objpfx)cross-rpcgen): Likewise.
35711         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35712         comment.
35713         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35714         ($(objpfx)x%.stmp): Likewise.
35715         * sunrpc/proto.h [IS_IN_build] (_): Define.
35716         [IS_IN_build] (_libc_intl_domainname): Likewise.
35718 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35720         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35721         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35722         and R_X86_64_TPOFF64.
35724 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35726         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35727         sysdeps/unix/sysv/syscalls.list.
35728         (stime): Likewise.
35729         (utime): Likewise.
35730         * sysdeps/unix/sysv/syscalls.list: Remove file.
35732 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35734         [BZ #3440]
35735         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35736         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35737         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35738         (__LC_IDENTIFICATION): Make these macros useful in #if
35739         expressions, as required by C99.
35741 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35743         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35744         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35745         after this.
35747 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35749         * stdlib/longlong.h: Updated from GCC.
35751 2012-05-09  Andreas Jaeger  <aj@suse.de>
35753         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35754         default is first entry.
35755         (run_mode): Set type.
35756         (main): Remove informal message about syslog.
35757         (options): Fix typo.
35759         [BZ #14053]
35760         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35761         to asm.
35762         (lrint): Likewise.
35763         (llrintf): Likewise.
35764         (llrint): Likewise.
35765         (rint): Likewise.
35766         (rintf): Likewise.
35767         (nearbyint): Likewise.
35768         (nearbyintf): Likewise.
35770 2012-05-09  Andreas Jaeger  <aj@suse.de>
35771             Pedro Alves  <palves@redhat.com>
35773         * nscd/nscd.c (run_mode): Use enum.
35774         (main): Cleanup coding style issue.
35776 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35777             Andreas Jaeger  <aj@suse.de>
35779         * nscd/nscd.c (go_background): Replaced with...
35780         (run_mode): ... this.
35781         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35782         (options): Add -F --foreground.
35783         (main): Implement it.
35784         (parse_opt): Parse it.
35786 2012-05-09  Andreas Jaeger  <aj@suse.de>
35788         [BZ #14083]
35789         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35790         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35791         -Wconversion warning.
35792         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35793         Likewise.
35795 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35797         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35798         == 0.
35799         (LC_ALL): Use macro-int-constant.
35800         (LC_COLLATE): Likewise.
35801         (LC_CTYPE): Likewise.
35802         (LC_MESSAGES): Likewise.
35803         (LC_MONETARY): Likewise.
35804         (LC_NUMERIC): Likewise.
35805         (LC_TIME): Likewise.
35806         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35807         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35808         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35809         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35810         Specify type.
35811         [C99-based standards] (float_t): Expect type.
35812         [C99-based standards] (double_t): Expect type.
35813         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35814         type.
35815         [C99-based standards] (HUGE_VALL): Likewise.
35816         [C99-based standards] (INFINITY): Likewise.
35817         [C99-based standards] (NAN): Likewise.
35818         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35819         [C99-based standards] (FP_NAN): Likewise.
35820         [C99-based standards] (FP_NORMAL): Likewise.
35821         [C99-based standards] (FP_SUBNORMAL): Likewise.
35822         [C99-based standards] (FP_ZERO): Likewise.
35823         [C99-based standards] (FP_FAST_FMA): Use
35824         optional-macro-int-constant.  Specify type.  Require == 1.
35825         [C99-based standards] (FP_FAST_FMAF): Likewise.
35826         [C99-based standards] (FP_FAST_FMAL): Likewise.
35827         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35828         [C99-based standards] (FP_ILOGBNAN): Likewise.
35829         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35830         Specify type.
35831         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35832         [C99-based standards] (math_errhandling): Specify type.
35833         [ISO99 || ISO11] (signgam): Do not allow.
35834         [non-C99-based standards] (copysignf): Do not allow.
35835         [non-C99-based standards] (exp2f): Likewise.
35836         [non-C99-based standards] (log2f): Likewise.
35837         [non-C99-based standards] (modff): Allow.
35838         [non-C99-based standards] (erff): Do not allow.
35839         [non-C99-based standards] (erfcf): Likewise.
35840         [non-C99-based standards] (gammaf): Likewise.
35841         [non-C99-based standards] (hypotf): Likewise.
35842         [non-C99-based standards] (j0f): Likewise.
35843         [non-C99-based standards] (j1f): Likewise.
35844         [non-C99-based standards] (jnf): Likewise.
35845         [non-C99-based standards] (lgammaf): Likewise.
35846         [non-C99-based standards] (tgammaf): Likewise.
35847         [non-C99-based standards] (y0f): Likewise.
35848         [non-C99-based standards] (y1f): Likewise.
35849         [non-C99-based standards] (ynf): Likewise.
35850         [non-C99-based standards] (isnanf): Likewise.
35851         [non-C99-based standards] (acoshf): Likewise.
35852         [non-C99-based standards] (asinhf): Likewise.
35853         [non-C99-based standards] (atanhf): Likewise.
35854         [non-C99-based standards] (cbrtf): Likewise.
35855         [non-C99-based standards] (expm1f): Likewise.
35856         [non-C99-based standards] (ilogbf): Likewise.
35857         [non-C99-based standards] (log1pf): Likewise.
35858         [non-C99-based standards] (logbf): Likewise.
35859         [non-C99-based standards] (nextafterf): Likewise.
35860         [non-C99-based standards] (remainderf): Likewise.
35861         [non-C99-based standards] (rintf): Likewise.
35862         [non-C99-based standards] (scalbf): Likewise.
35863         [non-C99-based standards] (copysignl): Likewise.
35864         [non-C99-based standards] (exp2l): Likewise.
35865         [non-C99-based standards] (log2l): Likewise.
35866         [non-C99-based standards] (modfl): Allow.
35867         [non-C99-based standards] (erfl): Do not allow.
35868         [non-C99-based standards] (erfcl): Likewise.
35869         [non-C99-based standards] (gammal): Likewise.
35870         [non-C99-based standards] (hypotl): Likewise.
35871         [non-C99-based standards] (j0l): Likewise.
35872         [non-C99-based standards] (j1l): Likewise.
35873         [non-C99-based standards] (jnl): Likewise.
35874         [non-C99-based standards] (lgammal): Likewise.
35875         [non-C99-based standards] (tgammal): Likewise.
35876         [non-C99-based standards] (y0l): Likewise.
35877         [non-C99-based standards] (y1l): Likewise.
35878         [non-C99-based standards] (ynl): Likewise.
35879         [non-C99-based standards] (isnanl): Likewise.
35880         [non-C99-based standards] (acoshl): Likewise.
35881         [non-C99-based standards] (asinhl): Likewise.
35882         [non-C99-based standards] (atanhl): Likewise.
35883         [non-C99-based standards] (cbrtl): Likewise.
35884         [non-C99-based standards] (expm1l): Likewise.
35885         [non-C99-based standards] (ilogbl): Likewise.
35886         [non-C99-based standards] (log1pl): Likewise.
35887         [non-C99-based standards] (logbl): Likewise.
35888         [non-C99-based standards] (nextafterl): Likewise.
35889         [non-C99-based standards] (remainderl): Likewise.
35890         [non-C99-based standards] (rintl): Likewise.
35891         [non-C99-based standards] (scalbl): Likewise.
35892         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35893         [non-C99-based standards] (FP_*): Do not allow.
35894         [C99-based standards] (FP_*): Change to
35895         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35896         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35897         allow.
35898         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35899         (SIG_ERR): Likewise.
35900         [X/Open-based standards] (SIG_HOLD): Likewise.
35901         (SIG_IGN): Likewise.
35902         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35903         positive value.
35904         (SIGFPE): Likewise.
35905         (SIGILL): Likewise.
35906         (SIGINT): Likewise.
35907         (SIGSEGV): Likewise.
35908         (SIGTER): Likewise.
35909         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35910         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35911         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35912         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35913         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35914         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35915         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35916         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35917         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35918         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35919         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35920         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35921         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35922         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35923         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35924         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35925         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35926         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35927         [X/Open-based standards] (SIGTRAP): Likewise.
35928         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35929         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35930         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35931         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35932         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35933         allow.
35935 2012-05-08  Ian Wienand  <ianw@vmware.com>
35937         [BZ #14080]
35938         * time/tzset.c (__tzset_parse_tz): Update default rules for
35939         daylight time changes in the Energy Policy Act of 2005.
35941 2012-05-09  Andreas Jaeger  <aj@suse.de>
35943         [BZ #13983]
35944         * elf/ldconfig.c (parse_conf): Change string to make clear that
35945         ldconfig only issued a warning if ld.so.conf does not exist.
35947 2012-05-08  David S. Miller  <davem@davemloft.net>
35949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35950         movxtod instead of popping the value on the stack.
35952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35954 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35956         * config.h.in: Add HAVE_ARM_PCS_VFP.
35958 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35960         [BZ #13979]
35961         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35962         checking but the checks are disabled for any reason.
35964 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35966         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35967         and ELF64_R_TYPE with ELFW(R_TYPE).
35969 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35971         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35972         (ulimit): Likewise.
35974         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35975         (settimeofday): Likewise.
35977 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35979         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35980         a struct th_u2 inside the union, and move tu_block/tu_code into
35981         a new th_u3 union of tu_block/tu_code inside of that.  Move
35982         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35983         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35984         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35985         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35986         (th_stuff): Change to th_u1.tu_stuff.
35987         (th_data): Define.
35988         (th_msg): Change to th_u1.th_u2.tu_data.
35990 2012-05-07  David S. Miller  <davem@davemloft.net>
35992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35994         [BZ #14074]
35995         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35996         (SETUP_PIC_REG): Use it.
35997         (SETUP_PIC_REG_LEAF): Use it.
35999 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36001         [BZ #13885]
36002         [BZ #13923]
36003         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36004         USE_AS_EXPM1L.
36005         (EXPL_FINITE): Likewise.
36006         (FLDLOG): Likewise.
36007         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36008         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36009         e_expl.S.
36010         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36011         USE_AS_EXPM1L.
36012         (EXPL_FINITE): Likewise.
36013         (FLDLOG): Likewise.
36014         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36015         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36016         e_expl.S.
36017         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36018         test of -max_value argument for long double.
36019         * sysdeps/i386/fpu/libm-test-ulps: Update.
36020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36022 2012-05-06  David S. Miller  <davem@davemloft.net>
36024         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36025         quad soft-float symbols whose references which are compiler
36026         generated.
36027         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36029 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36031         [BZ #13884]
36032         [BZ #13914]
36033         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36034         USE_AS_EXP10L.
36035         (EXPL_FINITE): Likewise.
36036         (FLDLOG): Likewise.
36037         (c0): Likewise.
36038         (c1): Likewise.
36039         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36040         Adjust comments for base varying.
36041         (__expl_finite): Change alias to EXPL_FINITE.
36042         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36043         e_expl.S.
36044         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36045         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36046         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36047         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36048         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36049         USE_AS_EXP10L.
36050         (EXPL_FINITE): Likewise.
36051         (FLDLOG): Likewise.
36052         (c0): Likewise.
36053         (c1): Likewise.
36054         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36055         Adjust comments for base varying.
36056         (__expl_finite): Change alias to EXPL_FINITE.
36057         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36058         tests for bugs.
36059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36061         [BZ #14064]
36062         * math/libm-test.inc (check_float_internal): Correct ulp
36063         calculation for subnormal expected results.
36065 2012-05-06  Andreas Jaeger  <aj@suse.de>
36067         * Makeconfig (+math-flags): New, set to -frounding-math.
36068         (+cflags): Add +math-flags so that all of glibc gets compiled with
36069         it.
36071         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36073 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36075         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36076         Disable one test.
36078         [BZ #13787]
36079         [BZ #13922]
36080         [BZ #14036]
36081         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36082         (__ieee754_expl): Allow for and saturate large arguments.
36083         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36084         (u_threshold): Likewise.
36085         (__exp): Call __ieee754_exp before checking for overflow and
36086         underflow.
36087         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36088         (u_threshold): Likewise.
36089         (__expf): Call __ieee754_expf before checking for overflow and
36090         underflow.
36091         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36092         (u_threshold): Likewise.
36093         (__expl): Call __ieee754_expl before checking for overflow and
36094         underflow.
36095         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36096         (__ieee754_expl): Allow for and saturate large arguments.
36097         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36098         missing overflow exception on overflow.
36099         (expm1_test): Do not allow missing overflow exception on overflow.
36101         * sysdeps/i386/fpu/e_expl.c: Move to ...
36102         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36103         rather than using inline asm.
36104         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36105         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36106         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36108         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36109         (nice): Likewise.
36110         (poll): Likewise.
36111         (signal): Likewise.
36112         (time): Likewise.
36113         (times): Likewise.
36115 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36117         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36118         sysdeps/unix/common/syscalls.list.
36119         (fchmod): Likewise.
36120         (fchown): Likewise.
36121         (ftruncate): Likewise.
36122         (getrusage): Likewise.
36123         (gettimeofday): Likewise.
36124         (setpgid): Likewise.
36125         (setregid): Likewise.
36126         (setreuid): Likewise.
36127         (sigaction): Likewise.
36128         (truncate): Likewise.
36129         (vhangup): Likewise.
36130         * sysdeps/unix/common/syscalls.list: Remove file.
36131         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36132         * sysdeps/unix/sysv/linux/Implies: Likewise.
36134 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36136         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36138         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36139         Moved to ...
36140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36141         Here.
36142         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36143         to ...
36144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36145         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36146         to ...
36147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36148         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36149         to ...
36150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36151         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36152         to ...
36153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36154         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36155         to ...
36156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36157         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36158         to ...
36159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36160         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36161         to ...
36162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36163         Here.
36164         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36165         to ...
36166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36167         Here.
36168         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36169         to ...
36170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36171         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36172         Moved to ...
36173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36174         Here.
36175         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36176         to ...
36177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36179 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36181         * sysdeps/unix/common/bits/dirent.h: Remove file.
36182         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36184         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36185         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36186         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36187         * sysdeps/unix/bsd/isatty.c: Likewise.
36188         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36189         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36190         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36192 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36194         [BZ #13563]
36195         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36196         long double comparison inaccuracies.
36197         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36200 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36202         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36203         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36205 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36207         [BZ #14049]
36208         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36209         nonzero digits before rounding a hex value.
36210         * stdlib/tst-strtod.c (tests): Add another test.
36212 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36214         * sysdeps/s390/fpu/libm-test-ulps: Update.
36216 2012-05-03  Andreas Jaeger  <aj@suse.de>
36218         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36219         does not get optimized out.
36220         (malloc_opt_barrier): New.
36222 2012-05-03  Andreas Jaeger  <aj@suse.de>
36223             Roland McGrath  <roland@hack.frob.com>
36225         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36226         intermediate file deletion.
36227         (generated): Add .symlist files.
36229 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36231         [BZ #13775]
36232         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36233         Redirect under this condition.
36234         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36235         [__USE_GNU] (__dprintf_chk): Not under this condition.
36236         [__USE_GNU] (__vdprintf_chk): Likewise.
36237         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36238         under this condition.
36239         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36240         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36241         [__USE_XOPEN2K8] (vdprintf): Likewise.
36242         [__USE_GNU] (__dprintf_chk): Not under this condition.
36243         [__USE_GNU] (__vdprintf_chk): Likewise.
36244         [__USE_GNU] (dprintf): Likewise.
36245         [__USE_GNU] (vdprintf): Likewise.
36247 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36249         * elf/Makefile (common-generated): Set this instead of generated for
36250         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36251         $(all-built-dso)-derived lists.
36253 2012-05-03  Andreas Jaeger  <aj@suse.de>
36255         * sysdeps/i386/fpu/libm-test-ulps: Update.
36257         * FAQ: Removed.
36258         * FAQ.in: Likewise.
36259         * scripts/gen-FAQ.pl: Likewise.
36260         * manual/install.texi (Installation): Point to online location of
36261         FAQ.
36262         * Makefile (files-for-dist): Remove FAQ.
36263         (FAQ): Remove.
36265 2012-05-02  Allan McRae  <allan@archlinux.org>
36267         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36268         (LDFLAGS-reldepmod5.so): Likewise.
36269         (LDFLAGS-reldep6mod1.so): Likewise.
36270         (LDFLAGS-reldep6mod4.so): Likewise.
36271         (LDFLAGS-reldep8mod3.so): Likewise.
36272         (LDFLAGS-unload4mod1.so): Likewise.
36273         (LDFLAGS-unload4mod2.so): Likewise.
36274         (LDFLAGS-tst-initorder): Likewise.
36275         (LDFLAGS-tst-initordera2.so): Likewise.
36276         (LDFLAGS-tst-initordera3.so): Likewise.
36277         (LDFLAGS-tst-initordera4.so): Likewise.
36278         (LDFLAGS-tst-initorderb2.so): Likewise.
36279         (LDFLAGS-noload): Likewise.
36280         (LDFLAGS-next): Likewise.
36281         (LDFLAGS-order2mod1.so): Likewise.
36282         (LDFLAGS-order2mod2.so): Likewise.
36283         (LDFLAGS-tst-initorder2): Likewise.
36284         (LDFLAGS-tst-initorder2a.so): Likewise.
36285         (LDFLAGS-tst-initorder2b.so): Likewise.
36286         (LDFLAGS-tst-initorder2c.so): Likewise.
36287         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36289 2012-05-02  David S. Miller  <davem@davemloft.net>
36291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36293 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36295         [BZ #14055]
36296         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36298 2012-05-02  Andreas Jaeger  <aj@suse.de>
36300         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36301         since we manipulate rounding mode.
36302         (CPPFLAGS-test-idouble.c): Likewise.
36303         (CPPFLAGS-test-ifloat.c): Likewise.
36304         (CFLAGS-test-ldouble.c): Likewise.
36305         (CFLAGS-test-double.c): Likewise.
36306         (CFLAGS-test-float.c): Likewise.
36307         (CFLAGS-test-misc.c): Likewise.
36308         (CFLAGS-test-test-fenv.c): Likewise.
36310 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36312         [BZ #2550]
36313         [BZ #2570]
36314         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36315         comparisons to determine direction to adjust input.
36317 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36319         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36320         output to the target.
36322         * scripts/localplt.awk: New file.
36323         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36324         (check-localplt-CFLAGS): Variable removed.
36325         ($(all-built-dso:=.jmprel)): New static pattern rule.
36326         (generated): Add those targets.
36327         (localplt-built-dso): New variable.
36328         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36330         * elf/check-localplt.c: File removed.
36332         * scripts/check-execstack.awk: New file.
36333         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36334         (check-execstack-CFLAGS): Variable removed.
36335         ($(objpfx)check-execstack.h): Target removed.
36336         ($(objpfx)execstack-default): New target.
36337         (generated): Add that instead of check-execstack.h.
36338         ($(all-built-dso:=.phdr)): New static pattern rule.
36339         (generated): Add those targets.
36340         * elf/check-execstack.c: File removed.
36342         * scripts/check-textrel.awk: New file.
36343         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36344         (check-textrel-CFLAGS): Variable removed.
36345         (all-built-dso): Use := to define.o
36346         ($(all-built-dso:=.dyn)): New static pattern rule.
36347         (generated): Add those targets.
36348         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36349         * config.make.in (READELF): New substituted variable.
36350         * elf/check-textrel.c: File removed.
36352 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36354         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36355         allow.
36356         * conform/data/ctype.h-data [C99-based standards] (isblank):
36357         Expect function.
36358         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36359         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36360         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36361         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36362         Specify type.  Require positive value.
36363         (EILSEQ): Likewise.
36364         (ERANGE): Likewise.
36365         [ISO || POSIX] (EILSEQ): Do not expect.
36366         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36367         Specify type.  Require positive value.
36368         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36369         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36370         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36371         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36372         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36373         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36374         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36375         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36376         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36377         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36378         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36379         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36380         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36381         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36382         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36383         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36384         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36385         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36386         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36387         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36388         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36389         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36390         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36391         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36392         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36393         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36394         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36395         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36396         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36397         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36398         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36399         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36400         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36401         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36402         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36403         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36404         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36405         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36406         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36407         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36408         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36409         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36410         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36411         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36412         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36413         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36414         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36415         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36416         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36417         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36418         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36419         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36420         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36421         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36422         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36423         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36424         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36425         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36426         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36427         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36428         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36429         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36430         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36431         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36432         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36433         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36434         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36435         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36436         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36437         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36438         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36439         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36440         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36441         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36442         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36443         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36444         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36445         Require >= 2.
36446         (FLT_ROUNDS): Expect as macro, not constant.
36447         (FLT_MANT_DIG): Use macro-int-constant.
36448         (DBL_MANT_DIG): Likewise.
36449         (LDBL_MANT_DIG): Likewise.
36450         (FLT_DIG): Likewise.
36451         (DBL_DIG): Likewise.
36452         (LDBL_DIG): Likewise.
36453         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
36454         (DBL_MIN_EXP): Likewise.
36455         (LDBL_MIN_EXP): Likewise.
36456         (FLT_MAX_EXP): Use macro-int-constant.
36457         (DBL_MAX_EXP): Likewise.
36458         (LDBL_MAX_EXP): Likewise.
36459         (FLT_MAX_10_EXP): Likewise.
36460         (DBL_MAX_10_EXP): Likewise.
36461         (LDBL_MAX_10_EXP): Likewise.
36462         (FLT_MAX): Use macro-constant.
36463         (DBL_MAX): Likewise.
36464         (LDBL_MAX): Likewise.
36465         (FLT_EPSILON): Use macro-constant.  Give upper bound.
36466         (DBL_EPSILON): Likewise.
36467         (LDBL_EPSILON): Likewise.
36468         (FLT_MIN): Likewise.
36469         (DBL_MIN): Likewise.
36470         (LDBL_MIN): Likewise.
36471         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36472         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36473         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36474         [ISO11] (FLT_HAS_SUBNORM): Likewise.
36475         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36476         [ISO11] (DBL_DECIMAL_DIG): Likewise.
36477         [ISO11] (FLT_DECIMAL_DIG): Likewise.
36478         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36479         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36480         [ISO11] (FLT_TRUE_MIN): Likewise.
36481         [ISO11] (LDBL_TRUE_MIN): Likewise.
36482         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36483         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36484         (SCHAR_MIN): Use macro-int-constant.  Specify type.
36485         (SCHAR_MAX): Likewise.
36486         (UCHAR_MAX): Likewise.
36487         (CHAR_MIN): Likewise.
36488         (CHAR_MAX): Likewise.
36489         (MB_LEN_MAX): Use macro-int-constant.
36490         (SHRT_MIN): Use macro-int-constant.  Specify type.
36491         (SHRT_MAX): Likewise.
36492         (USHRT_MAX): Likewise.
36493         (INT_MAX): Likewise.
36494         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
36495         bound negative.
36496         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36497         bound with "U".
36498         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36499         bound with "L".
36500         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
36501         bound negative.  Suffix upper bound with "L".
36502         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
36503         bound with "UL".
36504         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36505         Specify type.
36506         [C99-based standards] (LLONG_MAX): Likewise.
36507         [C99-based standards] (ULLONG_MAX): Likewise.
36508         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
36509         == 0.
36510         [ISO11] (max_align_t): Require type.
36511         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36513         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36514         from $CFLAGS, without defining away __attribute__ calls.
36515         (checknamespace): Use $CFLAGS_namespace.
36517         * conform/conformtest.pl (@keywords): Only include C99 keywords
36518         for standards based on C99 or C11.
36520         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36521         Disable tests.
36522         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36523         UNIX98]: Likewise.
36525         * conform/conformtest.pl: Handle "macro-int-constant" and test for
36526         usability of symbols in #if.
36528         * conform/conformtest.pl: If macro or constant types start
36529         "promoted:", expect the symbol to be of the following type
36530         promoted by the integer promotions.
36532         * conform/conformtest.pl: Parse all "constant" and "macro" lines
36533         in one place.  Also handle "macro-constant".
36535         * conform/conformtest.pl: Only accept expected macro values with
36536         "==".  Parse all "macro" lines in one place.
36537         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36539         * conform/conformtest.pl: Handle braced types on "constant" lines
36540         instead of handling "typed-constant".
36541         * conform/data/signal.h-data: Use "constant" instead of
36542         "typed-constant".
36544         * conform/conformtest.pl: Handle "optional-" at start of lines in
36545         one place rather than duplicating several cases.  Handle each
36546         format of "macro" line with initial "optional-".
36548         * conform/conformtest.pl: Only accept expected constant or
36549         optional-constant values with "==".  Parse all "constant" lines in
36550         one place.  Parse all "optional-constant" lines in one place.
36551         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36552         * conform/data/fmtmsg.h-data: Likewise.
36553         * conform/data/netinet/in.h-data: Likewise.
36554         * conform/data/tar.h-data: Likewise.
36555         * conform/data/limits.h-data: Use "==" form on "constant" and
36556         "optional-constant" lines.
36558         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36559         Use -std=c99 for XOPEN2K.
36560         (@knownproblems): Remove.
36561         (newtoken): Don't check %isknown.
36563         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36564         Do not expect macro.
36565         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36566         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36567         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36568         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36569         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36570         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36571         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36572         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36573         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36574         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36575         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36576         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36577         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36578         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36579         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36580         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36581         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36582         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36583         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36584         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36585         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36586         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36587         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36588         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36589         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36590         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36591         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36592         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36593         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36594         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36595         [XPG3] (acosh): Likewise.
36596         [XPG3] (asinh): Likewise.
36597         [XPG3] (atanh): Likewise.
36598         [XPG3] (cbrt): Likewise.
36599         [XPG3] (expm1): Likewise.
36600         [XPG3] (ilogb): Likewise.
36601         [XPG3] (log1p): Likewise.
36602         [XPG3] (logb): Likewise.
36603         [XPG3] (nextafter): Likewise.
36604         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36605         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36606         [XPG3] (remainder): Likewise.
36607         [XPG3] (rint): Likewise.
36608         [XPG3 || XPG4 || UNIX98] (round): Likewise.
36609         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36610         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36611         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36612         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36613         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36614         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36615         [UNIX98 || XOPEN2K] (scalb): Expect.
36616         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36617         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36618         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36619         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36620         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36621         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36622         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36623         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36624         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36625         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36626         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36627         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36628         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36629         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36630         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36631         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36632         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36633         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36634         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36635         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36636         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36637         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36638         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36639         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36640         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36641         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36642         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36643         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36644         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36645         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36646         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36647         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36648         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36649         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36650         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36651         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36652         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36653         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36654         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36655         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36656         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36657         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36658         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36659         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36660         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36661         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36662         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36663         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36664         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36665         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36666         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36667         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36668         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36669         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36670         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36671         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36672         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36673         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36674         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36675         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36676         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36677         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36678         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36679         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36680         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36681         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36682         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36683         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36684         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36685         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36686         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36687         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36688         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36689         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36690         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36691         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36692         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36693         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36694         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36695         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36696         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36697         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36698         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36699         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36700         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36701         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36702         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36703         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36704         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36705         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36706         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36707         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36708         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36709         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36710         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36711         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36712         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36713         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36714         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36715         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36716         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36717         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36718         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36719         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36720         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36721         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36722         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36723         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36724         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36725         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36726         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36727         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36728         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36729         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36730         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36731         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36732         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36733         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36734         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36735         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36736         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36737         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36738         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36739         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36740         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36741         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36742         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36743         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36744         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36745         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36746         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36747         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36748         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36749         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36750         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36751         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36752         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36754         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36755         _XOPEN_SOURCE_EXTENDED for XPG4.
36757         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36759         * Makeconfig (localtime): Remove variable.
36760         (inst_localtime-file): Likewise.
36762 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36765         Update.
36766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36767         Update.
36768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36769         Update.
36770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36771         Update.
36772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36773         Update.
36774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36775         Update.
36776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36777         Update.
36778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36779         Update.
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36781         Update.
36783 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36785         [BZ #2550]
36786         [BZ #2570]
36787         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36788         comparisons to determine direction to adjust input.
36789         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36790         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36791         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36792         Likewise.
36793         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36794         Likewise.
36795         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36796         Likewise.
36797         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36798         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36799         Likewise.
36800         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36801         Likewise.
36802         * math/libm-test.inc (nexttoward_test): Add more tests.
36804 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36806         [BZ #14040]
36807         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36808         in version GLIBC_2.1, not GLIBC_2.0.
36809         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36810         Likewise.
36812 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36814         [BZ #13942]
36815         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36816         (1 - x) * (1 + x).
36817         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36818         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36819         * math/libm-test.inc (acos_test): Add more tests.
36820         (asin_test): Likewise.
36821         * sysdeps/i386/fpu/libm-test-ulps: Update.
36822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36824         [BZ #14034]
36825         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36826         of square root.
36827         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36828         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36829         * math/libm-test.inc (acos_test_tonearest): New function.
36830         (acos_test_towardzero): Likewise.
36831         (acos_test_downward): Likewise.
36832         (acos_test_upward): Likewise.
36833         (asin_test_tonearest): Likewise.
36834         (asin_test_towardzero): Likewise.
36835         (asin_test_downward): Likewise.
36836         (asin_test_upward): Likewise.
36837         (main): Call the new functions.
36838         * sysdeps/i386/fpu/libm-test-ulps: Update.
36839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36841         [BZ #13884]
36842         [BZ #13924]
36843         * math/e_exp10.c: Include <float.h>.
36844         (__ieee754_exp10): Handle underflow here rather than multiplying
36845         large negative argument by M_LN10.
36846         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36847         of __ieee754_expf.
36848         * math/e_exp10l.c: Include <float.h>.
36849         (__ieee754_exp10l): Handle underflow here rather than multiplying
36850         large negative argument by M_LN10l.
36851         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36852         spurious overflow exception on underflow.
36854 2012-04-29  Marek Polacek  <polacek@redhat.com>
36856         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36857         (__fortify_function): New macro.
36858         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36859         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36860         __extern_always_inline.
36861         * libio/bits/stdio2.h: Likewise.
36862         * libio/bits/stdio.h: Likewise.
36863         * string/string.h: Likewise.
36864         * string/bits/string3.h: Likewise.
36865         * include/stdio.h: Likewise.
36866         * stdlib/bits/stdlib.h: Likewise.
36867         * stdlib/stdlib.h: Likewise.
36868         * rt/bits/mqueue2.h: Likewise.
36869         * rt/mqueue.h: Likewise.
36870         * posix/bits/unistd.h: Likewise.
36871         * posix/unistd.h: Likewise.
36872         * io/bits/poll2.h: Likewise.
36873         * io/bits/fcntl2.h: Likewise.
36874         * io/fcntl.h: Likewise.
36875         * io/sys/poll.h: Likewise.
36876         * misc/bits/syslog.h: Likewise.
36877         * misc/bits/syslog-ldbl.h: Likewise.
36878         * misc/sys/syslog.h: Likewise.
36879         * socket/bits/socket2.h: Likewise.
36880         * socket/sys/socket.h: Likewise.
36881         * debug/tst-chk1.c: Likewise.
36882         * wcsmbs/bits/wchar2.h: Likewise.
36883         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36884         * wcsmbs/wchar.h: Likewise.
36886 2012-04-29  Andreas Jaeger  <aj@suse.de>
36888         * Makerules (tests): Remove enable-check-abi protection.
36889         (check-abi-warn): Remove.
36890         (check-abi-%): Remove check-abi-warn usage.
36892         * configure.in: Remove check-abi configure option.
36893         * configure: Regenerated.
36894         * config.make.in (enable-check-abi): Remove.
36896 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36898         [BZ #14033]
36899         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36900         double functions to double *_finite functions.
36902         [BZ #13941]
36903         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36904         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36905         LDBL_MIN_EXP.
36906         * stdio-common/Makefile (tests): Add tst-sprintf3.
36907         * stdio-common/tst-sprintf3.c: New file.
36909         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36910         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36912 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36914         * conform/conformtest.pl: Remove duplicate typed-constant
36915         handling.
36917 2012-04-28  David S. Miller  <davem@davemloft.net>
36919         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36920         (check-abi-%): Remove AWK script prerequisite and explicit
36921         abilist directory.
36922         (check-abi): Rewrite to just diff the symlist with the abilist.
36923         (config-tls, config-abi-config): Delete, no longer used.
36924         (update-abi-%): Remove AWK script and explicit abilist directory.
36925         (update-abi): Rewrite to simply compare and conditionally copy the
36926         symlist and the sysdep abilist file.  Remove update-abi-config
36927         checks.
36928         * abilist/ld.abilist: Remove.
36929         * abilist/libBrokenLocale.abilist: Remove.
36930         * abilist/libanl.abilist: Remove.
36931         * abilist/libcrypt.abilist: Remove.
36932         * abilist/libdl.abilist: Remove.
36933         * abilist/librt.abilist: Remove.
36934         * abilist/libthread_db.abilist: Remove.
36935         * abilist/libutil.abilist: Remove.
36936         * scripts/extract-abilist.awk: Remove.
36937         * scripts/merge-abilist.awk: Remove.
36938         * sysdeps/generic/libcidn.abilist: New file.
36939         * sysdeps/generic/libnss_compat.abilist: New file.
36940         * sysdeps/generic/libnss_db.abilist: New file.
36941         * sysdeps/generic/libnss_dns.abilist: New file.
36942         * sysdeps/generic/libnss_files.abilist: New file.
36943         * sysdeps/generic/libnss_hesiod.abilist: New file.
36944         * sysdeps/generic/libnss_nis.abilist: New file.
36945         * sysdeps/generic/libnss_nisplus.abilist: New file.
36946         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36947         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36948         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36949         file.
36950         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36951         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36952         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36953         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36954         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36955         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36956         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36957         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36958         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36959         file.
36960         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36961         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36962         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36963         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36964         file.
36965         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36966         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36967         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36968         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36969         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36970         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36971         file.
36972         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36973         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36974         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36975         file.
36976         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36977         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36978         New file.
36979         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36980         New file.
36981         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36982         New file.
36983         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36984         New file.
36985         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36986         New file.
36987         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36988         New file.
36989         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36990         New file.
36991         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36992         New file.
36993         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36994         New file.
36995         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36996         New file.
36997         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36998         New file.
36999         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37000         New file.
37001         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37002         New file.
37003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37004         file.
37005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37006         New file.
37007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37008         New file.
37009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37010         file.
37011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37012         New file.
37013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37014         New file.
37015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37016         file.
37017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37018         New file.
37019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37020         New file.
37021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37022         New file.
37023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37024         New file.
37025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37026         New file.
37027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37028         New file.
37029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37031         file.
37032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37033         New file.
37034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37035         file.
37036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37037         file.
37038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37039         file.
37040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37041         file.
37042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37043         file.
37044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37045         New file.
37046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37047         file.
37048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37049         file.
37050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37051         New file.
37052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37053         file.
37054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37056         file.
37057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37058         New file.
37059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37060         file.
37061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37062         file.
37063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37064         file.
37065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37066         file.
37067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37068         file.
37069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37070         New file.
37071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37072         file.
37073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37074         file.
37075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37076         New file.
37077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37078         file.
37079         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37080         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37081         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37082         file.
37083         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37084         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37085         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37086         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37087         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37088         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37089         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37090         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37091         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37092         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37095         file.
37096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37097         New file.
37098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37099         file.
37100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37101         file.
37102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37103         file.
37104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37105         file.
37106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37107         file.
37108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37109         New file.
37110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37111         New file.
37112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37113         file.
37114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37115         New file.
37116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37117         file.
37118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37120         file.
37121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37122         New file.
37123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37124         file.
37125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37126         file.
37127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37128         file.
37129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37130         file.
37131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37132         file.
37133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37134         New file.
37135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37136         New file.
37137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37138         file.
37139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37140         New file.
37141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37142         file.
37144 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37146         * conform/conformtest.pl: Fix typo in handling typed-constant from
37147         allow-header.
37149 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37151         * README: Cut down references to pre-2.6 Linux kernels and
37152         Linuxthreads.  Update lists of configurations in libc and ports
37153         and sort alphabetically.  Say "or newer" with Linux kernel version
37154         requirements.
37156         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37158 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37160         [BZ #887]
37161         * math/libm-test.inc (logb_test_downward): New test to expose
37162         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37163         rounding mode.
37165 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37167         [BZ #14027]
37168         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37169         to be done.
37170         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37171         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37173 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37175         * sysdeps/unix/i386/brk.S: Remove file.
37176         * sysdeps/unix/i386/dl-brk.S: Likewise.
37177         * sysdeps/unix/i386/pipe.S: Likewise.
37178         * sysdeps/unix/i386/sigreturn.S: Likewise.
37179         * sysdeps/unix/i386/syscall.S: Likewise.
37180         * sysdeps/unix/i386/vfork.S: Likewise.
37181         * sysdeps/unix/i386/wait.S: Likewise.
37183         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37184         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37186         * configure.in (arm*-none*): Do not allow without
37187         --enable-hacker-mode.
37188         (netbsd*): Remove case setting base_os.
37189         (386bsd*): Likewise.
37190         (freebsd*): Likewise.
37191         (bsdi*): Likewise.
37192         (osf*): Likewise.
37193         (sunos*): Likewise.
37194         (ultrix*): Likewise.
37195         (newsos*): Likewise.
37196         (dynix*): Likewise.
37197         (*bsd*): Likewise.
37198         (sysv*): Likewise.
37199         (isc*): Likewise.
37200         (esix*): Likewise.
37201         (sco*): Likewise.
37202         (minix*): Likewise.
37203         (irix4*): Likewise.
37204         (irix6*): Likewise.
37205         (solaris[2-9]*): Likewise.
37206         (none): Likewise.
37207         * configure: Regenerated.
37209 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37211         [BZ #11521]
37212         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37213         overflow or cancellation in calculating denominator.
37214         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37216         down expression to avoid unexpected rounding in newer GCCs.
37217         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37219 2012-04-26  David S. Miller  <davem@davemloft.net>
37221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37222         long-double compat symbols.
37223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37237 2012-04-25  David S. Miller  <davem@davemloft.net>
37239         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37240         HWCAP_* values only after the memory barriers have been defined.
37241         (atomic_full_barrier): Define.
37242         (atomic_read_barrier): Define.
37243         (atomic_write_barrier): Define.
37245 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37247         * shlib-versions: Add libgcc_s version information.
37248         * sysdeps/generic/libgcc_s.h: Remove.
37249         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37250         libgcc_s.h.
37251         * sysdeps/gnu/unwind-resume.c: Likewise.
37252         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37254 2012-04-25  David S. Miller  <davem@davemloft.net>
37256         * sysdeps/unix/sparc/brk.S: Delete.
37257         * sysdeps/unix/sparc/dl-brk.S: Delete.
37258         * sysdeps/unix/sparc/pipe.S: Delete.
37259         * sysdeps/unix/sparc/sysdep.S: Delete.
37260         * sysdeps/unix/sparc/sysdep.h: Delete.
37261         * sysdeps/unix/sparc/vfork.S: Delete.
37262         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37263         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37264         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37265         (ret_ERRVAL, r0, r1, MOVE): Define.
37266         (JUMPTARGET): Remove.
37267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37268         sysdeps/unix/sparc/sysdep.h
37269         (ENTRY, END): Remove.
37270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37272 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37274         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37275         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37276         -DIS_IN_build.
37278         * timezone/README: Update upstream location and email address for
37279         tzcode and tzdata.
37280         * timezone/zdump.c: Update from tzcode 2012b.
37281         * timezone/zic.c: Likewise.
37283         * configure.in (libc_cv_as_needed): Remove test.
37284         * configure: Regenerated.
37285         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37286         conditional definition.
37287         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37288         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37289         * config.make.in (have-as-needed): Remove variable.
37291 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37292             Paul Pluzhnikov  <ppluzhnikov@google.com>
37294         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37295         strings correctly.
37297 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37299         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37300         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37301         * sysdeps/sh/strlen.S: Likewise.
37303 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37305         * sysdeps/unix/fork.S: Remove file.
37306         * sysdeps/unix/i386/fork.S: Likewise.
37307         * sysdeps/unix/sparc/fork.S: Likewise.
37309         * sysdeps/unix/system.c: Remove file.
37310         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37312         * sysdeps/unix/getegid.S: Remove file.
37313         * sysdeps/unix/geteuid.S: Likewise.
37315 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37317         * scripts/check-localplt.awk: New file.
37318         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37319         of diff.
37320         * scripts/data/localplt-generic.data: Add a comment.
37322         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37323         NODE when __dir_mkfile failed.
37324         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37325         Reported by Ludovic Courtès <ludo@gnu.org>.
37327 2012-04-24  Andreas Jaeger  <aj@suse.de>
37329         * Makerules (common-clean): Also remove gen-as-const-headers
37330         files.
37332 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37334         * Makerules (native-compile): Do not change working directory for
37335         build.  Use $(OUTPUT_OPTION) in command.
37336         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37338 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37340         [BZ #13886]
37341         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37342         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37343         * math/libm-test.inc (floor_test): Add more tests.
37344         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37346 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37348         * sysdeps/unix/getdents.c: Remove file.
37349         * sysdeps/unix/sysv/getdents.c: Likewise.
37350         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37352         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37353         sysdeps/unix/mman/syscalls.list.
37354         (mmap): Likewise.
37355         (mprotect): Likewise.
37356         (msync): Likewise.
37357         (munmap): Likewise.
37358         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37359         * sysdeps/unix/mman/syscalls.list: Remove.
37360         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37362         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37363         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37364         * configure: Regenerated.
37365         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37366         $(libgcc_s_suffix).
37367         * config.make.in (libgcc_s_suffix): Remove variable.
37369 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37371         * sysdeps/unix/sysv/gethostname.c: Move to ...
37372         * sysdeps/posix/gethostname.c: ... here.
37374         * sysdeps/unix/execve.S: Remove file.
37376         * sysdeps/unix/_exit.S: Remove file.
37378 2012-04-23  Andreas Jaeger  <aj@suse.de>
37380         [BZ #13739]
37381         * manual/Makefile: Remove make dist support, there's no
37382         need for a stand-alone documentation tar ball.
37383         (TEXI2DVI): Define always, it's not in Makeconfig.
37384         (dist): Removed.
37385         (tar-it): Removed.
37386         (edition): Removed.
37387         (glibc-doc-$(edition).tar): Removed
37388         (%.Z): Removed.
37389         (%.gz): Removed.
37390         (%.uu): Removed.
37391         (ETAGS): Remove, it's in Makeconfig.
37392         (move-if-change): Remove, it's in Makeconfig.
37394 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37396         [BZ #13970]
37397         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37398         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37399         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37400         (strtod_l, strtof_l, strtold_l): Remove __wur.
37401         It is not necessarily an error to ignore strtol's return value.
37402         One can reliably look at the stored endptr to decide whether
37403         the number had valid syntax.
37405 2012-04-21  Andreas Jaeger  <aj@suse.de>
37407         [BZ #13739]
37408         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37410 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37412         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37413         * sysdeps/unix/sysv/Versions: Remove file.
37415 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37417         [BZ #13927]
37418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37420 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37422         [BZ #7064]
37423         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37424         version from __vm86.
37426 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
37428         * sysdeps/unix/common/lxstat.c: Remove file.
37429         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37431         * sysdeps/unix/sysv/Makefile: Remove file.
37433         * sysdeps/unix/sysv/direct.h: Remove file.
37435         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37436         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37437         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37438         * sysdeps/unix/sysv/bits/signum.h: Likewise.
37439         * sysdeps/unix/sysv/bits/stat.h: Likewise.
37440         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37441         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37443         * sysdeps/unix/sysv/setrlimit.c: Remove file.
37445         * sysdeps/unix/xmknod.c: Remove file.
37446         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37448         * sysdeps/unix/sysv/settimeofday.c: Remove file.
37450         * sysdeps/unix/sysv/i386/time.S: Remove file.
37452         * sysdeps/unix/fxstat.c: Remove file.
37453         * sysdeps/unix/xstat.c: Likewise.
37454         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37456         * sysdeps/unix/sysv/sigaction.c: Remove file.
37458         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37459         (sysdep_headers): Remove variable.
37460         [termio.h not in sysdep_headers] (generated): Likewise.
37461         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37462         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37463         * sysdeps/unix/sysv/tcdrain.c: Likewise.
37464         * sysdeps/unix/sysv/tcflow.c: Likewise.
37465         * sysdeps/unix/sysv/tcflush.c: Likewise.
37466         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37467         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37468         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37469         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37470         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37472         * sysdeps/unix/siglist.c: Remove file.
37474         * sysdeps/unix/getppid.S: Remove file.
37476         * sysdeps/unix/mkdir.c: Remove file.
37477         * sysdeps/unix/rmdir.c: Likewise.
37479 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
37481         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37482         ERR_MAX value.
37483         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37484         errlist-compat value.
37486 2012-04-18  David S. Miller  <davem@davemloft.net>
37488         * sysdeps/generic/memcopy.h (reg_char): Delete.
37489         * debug/strcat_chk.c: Use char, not reg_char.
37490         * debug/strcpy_chk.c: Likewise.
37491         * debug/strncat_chk.c: Likewise.
37492         * debug/strncpy_chk.c: Likewise.
37493         * string/memchr.c: Likewise.
37494         * string/memrchr.c: Likewise.
37495         * string/rawmemchr.c: Likewise.
37496         * string/strcat.c: Likewise.
37497         * string/strchr.c: Likewise.
37498         * string/strchrnul.c: Likewise.
37499         * string/strcmp.c: Likewise.
37500         * string/strcpy.c: Likewise.
37501         * string/strncat.c: Likewise.
37502         * string/strncmp.c: Likewise.
37503         * string/strncpy.c: Likewise.
37505 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37507         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37508         __builtin_memcopy is called when src and dest ranges are known to not
37509         overlap.
37511 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37513         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37514         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37515         fwd_align_merge macro call.
37516         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37517         bwd_align_merge macro call.
37518         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37520 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
37522         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37523         bwd_align_merge macros.
37524         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37525         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37526         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37528 2012-04-18  David S. Miller  <davem@davemloft.net>
37530         * sysdeps/sparc/sparc64/memcopy.h: Delete.
37532 2012-04-18  Andreas Jaeger  <aj@suse.de>
37534         [BZ# 6794]
37535         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37536         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37537         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37539         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37540         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37541         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37543         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37544         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37545         Adjust for changed ldbl-128 files.
37547         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37548         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37549         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37551 2012-04-17  David S. Miller  <davem@davemloft.net>
37553         * sysdeps/sparc/sparc32/memcopy.h: Delete.
37555 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
37557         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37558         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37559         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37560         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37561         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37562         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37564 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37566         [BZ #6794]
37567         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37568         * math/libm-test.inc: Add ilogb errno and exception tests.
37569         * math/w_ilogb.c: New file: ilogb wrapper.
37570         * math/w_ilogbf.c: New file: ilogbf wrapper.
37571         * math/w_ilogbl.c: New file: ilogbl wrapper.
37572         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37573         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37574         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37575         exception being thrown with 0.0 as argument.
37576         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37577         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37578         exception being thrown with 0.0 as argument.
37579         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37580         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37581         exception being thrown with 0.0 as argument.
37582         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37583         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37584         exception being thrown with 0.0 as argument.
37585         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37586         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37587         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37588         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37589         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37590         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37591         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37592         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37593         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37595 2012-04-17  Petr Baudis  <pasky@ucw.cz>
37597         * include/sys/uio.h: Change __vector to __iovec to avoid clash
37598         with altivec.
37600 2012-04-16  Marek Polacek  <polacek@redhat.com>
37602         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37604 2012-04-16  Marek Polacek  <polacek@redhat.com>
37606         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37607         operands of fdivp instruction.
37609 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37611         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37612         * elf/tst-auditmod3b.c: Likewise.
37613         * elf/tst-auditmod4b.c: Likewise.
37614         * elf/tst-auditmod5b.c: Likewise.
37615         * elf/tst-auditmod6b.c: Likewise.
37616         * elf/tst-auditmod6c.c: Likewise.
37617         * elf/tst-auditmod7b.c: Likewise.
37618         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37619         * sysdeps/x86_64/preconfigure.in: Likewise.
37620         * sysdeps/x86_64/preconfigure: Regenerated.
37622 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
37624         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37625         __ILP32__.
37627 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
37629         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37630         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37632 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
37634         [BZ #13973]
37635         * locale/iso-639.def: Fix gl language name. Spotted by
37636         Yaron Shahrabani.
37638 2012-04-12  Roland McGrath  <roland@hack.frob.com>
37640         [BZ #2074]
37641         * libio/libio.h (__io_write_fn): Update comment.
37643 2012-04-12  Petr Baudis  <pasky@ucw.cz>
37645         [BZ #2074]
37646         * stdio.texi (Hook Functions): The user provided writer function
37647         is not allowed to return -1.
37649 2012-04-11  David S. Miller  <davem@davemloft.net>
37651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37653 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37655         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37656         Add a leading slash to rtkaio.
37658 2012-04-11  Jim Meyering  <meyering@redhat.com>
37660         [BZ #11959]
37661         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37662         It is not necessarily an error to ignore fwrite's return
37663         value.  One can reliably use ferror to test for errors after
37664         the fact.
37666 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37668         * bits/types.h (__snseconds_t): New type.
37669         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37671         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37673         (__SNSECONDS_T_TYPE): Likewise.
37674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37675         (__SNSECONDS_T_TYPE): Likewise.
37676         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37677         (__SNSECONDS_T_TYPE): Likewise.
37679 2012-04-10  Andreas Jaeger  <aj@suse.de>
37681         [BZ #2636]
37682         * manual/time.texi (Processor Time): Return type of times is
37683         elapsed real time since an arbitrary point in the past.
37684         (CPU Time): Move CLK_TCK from here...
37685         (Processor Time): ...to here.  Correct description.
37686         * manual/conf.texi (Constants for Sysconf): Correct description of
37687         _SC_CLK_TCK.
37689 2012-04-10  David S. Miller  <davem@davemloft.net>
37691         [BZ #13967]
37692         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37693         where the is a gap between DT_REL(A) and DT_JMPREL.
37695 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37697         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37698         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37699         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37701 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37703         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37704         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37705         (dl_main): Handle --inhibit-cache.
37706         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37707         _dl_inhibit_cache.
37708         * elf/dl-load.c (_dl_map_object): Use it.
37709         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37711 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37713         [BZ #13872]
37714         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37715         (__ieee754_powl): Saturate large exponents rather than testing for
37716         overflow of y*log2(x).
37717         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37718         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37719         exceptions.
37721         [BZ #11521]
37722         * math/s_ctan.c: Include <float.h>.
37723         (__ctan): Avoid internal overflow or cancellation in calculating
37724         denominator.
37725         * math/s_ctanf.c: Likewise.
37726         * math/s_ctanl.c: Likewise.
37727         * math/s_ctanh.c: Likewise.
37728         * math/s_ctanhf.c: Likewise.
37729         * math/s_ctanhl.c: Likewise.
37730         * math/libm-test.inc (ctan_test): Add more tests.
37731         (ctanh_test): Likewise.
37732         * sysdeps/i386/fpu/libm-test-ulps: Update.
37733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37735 2012-04-09  Andreas Jaeger  <aj@suse.de>
37737         [BZ #6894]
37738         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37739         is an optional BSD extension.
37741         [BZ #10254]
37742         * manual/stdio.texi (Opening Streams): Document additional fopen
37743         parameters.
37745 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37747         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37748         %eax without telling the compiler.
37750 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37752         [BZ # 13963]
37753         * manual/install.texi: Use sourceware.org.
37755 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37757         [BZ #13873]
37758         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37759         (__ieee754_pow): Generate overflow and underflow using huge*huge
37760         and tiny*tiny rather than just returning constant infinity or zero
37761         for large exponents.
37762         * math/libm-test.inc (pow_test): Require overflow exceptions for
37763         applicable cases of large exponents.
37765         [BZ #706]
37766         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37767         (__ieee754_pow): Use iterative multiplication algorithm only for
37768         integer exponents with absolute value below 1024.  Check for odd
37769         integer exponents when using algorithm for real exponents.
37770         * math/libm-test.inc (pow_test): Add more tests.
37771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37773 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37775         [BZ #13705]
37776         * math/libm-test.inc (exp_test): Do not allow overflow exception
37777         on underflow test.
37779 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37781         [BZ #13705]
37782         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37783         instead of __kernel_standard_f.
37785 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37787         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37788         * sysdeps/x86_64/memset_chk.S: Likewise.
37790 2012-04-08  Andreas Jaeger  <aj@suse.de>
37792         [BZ #10153]
37793         * manual/startup.texi (Environment Access): Describe return value
37794         for putenv and setenv.
37796         [BZ #6895]
37797         * manual/filesys.texi (Directory Entries): Add description for
37798         DT_LNK.
37800         [BZ #6890]
37801         * manual/filesys.texi (Directory Entries): Clarify that it's file
37802         system not operating system in the description of DT_UNKNOWN.
37804         [BZ #6578]
37805         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37807 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37809         [BZ #6649]
37810         * manual/llio.texi (Opening and Closing Files): Add cross
37811         reference to explain mode argument.
37813 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37815         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37816         * sysdeps/x86_64/memset_chk.S: Likewise.
37818 2012-04-07  David S. Miller  <davem@davemloft.net>
37820         * elf/elf.h (R_SPARC_WDISP10): Define.
37821         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37822         R_SPARC_SIZE32.
37823         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37824         R_SPARC_SIZE64 and R_SPARC_H34.
37826 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37828         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37829         conditions and remove no longer applicable assertion.
37831 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37833         * bits/byteswap.h: Include <features.h>.
37834         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37835         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37837 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37839         * bits/byteswap.h (__bswap_16): Removed.
37840         Include <bits/byteswap-16.h> to get __bswap_16.
37841         * sysdeps/i386/bits/byteswap.h: Likewise.
37842         * sysdeps/s390/bits/byteswap.h: Likewise.
37843         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37844         * bits/byteswap-16.h: New file.
37845         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37846         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37847         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37848         * string/Makefile (headers): Add bits/byteswap-16.h.
37850 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37852         [BZ #13895]
37853         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37854         extra indirection.
37855         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37856         * nss/tst-nss-static.c: New.
37858 2012-04-06  Robert Millan  <rmh@gnu.org>
37860         [BZ #6486]
37861         * manual/llio.texi (File Position Primitive): lseek
37862         refers to WHENCE when it really means OFFSET.
37864 2012-04-06  Andreas Jaeger  <aj@suse.de>
37866         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37867         strncmp declarations.
37869         * abilist/libc.abilist: Add __poll and __ppoll.
37871 2012-04-05  David S. Miller  <davem@davemloft.net>
37873         * scripts/check-local-headers.sh: Accept a host triplet in the
37874         path matched by the exclude regexp.
37876         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37877         definition.
37878         * sysdeps/powerpc/powerpc32/dl-machine.h
37879         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37880         * sysdeps/s390/s390-32/dl-machine.h
37881         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37882         * sysdeps/sparc/sparc32/dl-machine.h
37883         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37884         * sysdeps/sparc/sparc64/dl-machine.h
37885         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37887         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37888         lazy binding.
37889         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37890         undefined symbol errors.
37892         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37893         DT_NEEDED entries.
37895 2012-04-05  Michael Matz  <matz@suse.de>
37897         [BZ #13592]
37898         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37900 2012-04-05  Andreas Jaeger  <aj@suse.de>
37902         [BZ #13908]
37903         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37904         comment.
37906 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37908         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37909         which ROUND is no valid rounding mode.
37911 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37913         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37914         read again.
37915         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37917 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37919         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37920         an exception using FPU order intentionally.
37922 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37924         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37925         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37926         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37927         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37929 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37931         [BZ #12340]
37932         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37933         EINVAL when BUFLEN is too smal.
37935 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37937         [BZ #13553]
37938         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37939         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37941 2012-04-03  Andreas Jaeger  <aj@suse.de>
37943         [BZ #13938]
37944         * manual/setjmp.texi (System V contexts): Fix sentence.
37946         [BZ #13926]
37947         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37948         New macro for this case.
37949         [!__GNUC__] (__bswap_64): New inline function for this case.
37950         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37951         * bits/byteswap.h: Likewise.
37952         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37953         ull, guard with __GLIBC_HAVE_LONG_LONG.
37955         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37956         __GLIBC_HAVE_LONG_LONG.
37958         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37959         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37961 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37963         [BZ #13691]
37964         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37965         inptr and inend, rather than using last_ch.
37967 2012-04-02  David S. Miller  <davem@davemloft.net>
37969         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37970         * stdio-common/printf-parse.h (read_int): Change return type to
37971         'int', return -1 on INT_MAX overflow.
37972         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37973         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37974         overflows INT_MAX.  Check for overflow of in-format-string precision
37975         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37976         SIZE_MAX not INT_MAX for integer overflow test.
37977         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37978         skip the construct in the format string but do not record anything.
37979         * stdio-common/bug22.c: Adjust to test both width/prevision
37980         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37981         explicitly for proper errno values.
37983 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37985         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37986         CHAR_MAX.
37987         * string/test-strcmp.c [! WIDE]: Likewise.
37988         * time/tst-mktime2.c: Likewise for INT_MAX.
37989         * string/test-string.h: #include <sys/param.h> for MIN.
37991         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37992         * sysdeps/i386/init-first.c (init): Likewise.
37993         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37994         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37995         * sysdeps/sh/init-first.c (init): Likewise.
37997 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37999         * po/ru.po: Update from translation team.
38000         * po/vi.po: Likewise.
38002 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38004         * resolv/nss_dns/dns-host.c: Merge copyright years.
38006 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38008         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38009         Optimize memcpy with prefetch if
38010         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38011         src, dst pointers have unequal 16 byte alignments.
38013 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38015         [BZ #13928]
38016         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38017         from a CNAME entry and return the minimum ttl for the query.
38018         (gaih_getanswer_slice): Likewise.
38020 2012-03-30  Jeff Law  <law@redhat.com>
38022         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38023         due to long keys.
38024         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38025         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38027         * resolv/nss_dns/dns-host.c: Update copyright year.
38029 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38031         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38032         requests to save a system call.  Fix check that all bytes are sent.
38034         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38035         comments for sendmmsg.
38037 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38039         [BZ #13691]
38040         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38041         with only 1 character between 0x0041 and 0x01b0.
38042         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38043         * wcsmbs/tst-mbsnrtowcs.c: New file.
38045 2012-03-29  David S. Miller  <davem@davemloft.net>
38047         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38048         small copies by hand.
38050 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38052         [BZ #13761]
38053         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38054         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38055         group memberships.
38057 2012-03-28  David S. Miller  <davem@davemloft.net>
38059         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38060         that branches into memcpy.
38061         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38062         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38063         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38064         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38065         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38066         bits.
38067         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38068         implementation too.
38069         * sysdeps/sparc/mempcpy.S: New file.
38071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38072         the IFUNC routine in the libc case.
38073         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38075         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38076         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38077         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38078         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38079         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38080         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38081         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38082         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38084         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38085         loop to 256 bytes instead of 64 bytes and fix test signedness.
38087         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38088         * sysdeps/sparc/sparc32/Makefile: rather than here...
38089         * sysdeps/sparc/sparc64/Makefile: and here.
38091 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38093         * malloc/mallocbug.c: Avoid warnings about unused variables.
38095 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38097         [BZ #13760]
38098         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38099         in the right place. Discard and retry query if response is
38100         larger than input buffer size.
38102 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38104         [BZ #369]
38105         [BZ #2678]
38106         [BZ #3866]
38107         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38108         x for large integer exponent.
38109         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38110         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38111         sign of result as needed afterwards.
38112         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38113         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38114         result for underflowing pow the same as for overflow.
38115         (__kernel_standard_l): Handle powl overflow and underflow here
38116         rather than calling __kernel_standard.
38117         * math/libm-test.inc (pow_test): Add more tests.
38119         [BZ #3868]
38120         [BZ #13879]
38121         [BZ #13910]
38122         [BZ #13911]
38123         [BZ #13912]
38124         [BZ #13913]
38125         [BZ #13915]
38126         [BZ #13916]
38127         [BZ #13917]
38128         [BZ #13918]
38129         [BZ #13919]
38130         [BZ #13920]
38131         [BZ #13921]
38132         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38133         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38134         (__kernel_standard_l): New function.
38135         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38136         __kernel_standard.
38137         * math/w_acosl.c (__acosl): Likewise.
38138         * math/w_asinl.c (__asinl): Likewise.
38139         * math/w_atan2l.c (__atan2l): Likewise.
38140         * math/w_atanhl.c (__atanhl): Likewise.
38141         * math/w_coshl.c (__coshl): Likewise.
38142         * math/w_exp10l.c (__exp10l): Likewise.
38143         * math/w_exp2l.c (__exp2l): Likewise.
38144         * math/w_fmodl.c (__fmodl): Likewise.
38145         * math/w_hypotl.c (__hypotl): Likewise.
38146         * math/w_j0l.c (__j0l, __y0l): Likewise.
38147         * math/w_j1l.c (__j1l, __y1l): Likewise.
38148         * math/w_jnl.c (__jnl, __ynl): Likewise.
38149         * math/w_lgammal.c (__lgammal): Likewise.
38150         * math/w_log10l.c (__log10l): Likewise.
38151         * math/w_log2l.c (__log2l): Likewise.
38152         * math/w_logl.c (__logl): Likewise.
38153         * math/w_powl.c (__powl): Likewise.
38154         * math/w_remainderl.c (__remainderl): Likewise.
38155         * math/w_scalbl.c (sysv_scalbl): Likewise.
38156         * math/w_sinhl.c (__sinhl): Likewise.
38157         * math/w_sqrtl.c (__sqrtl): Likewise.
38158         * math/w_tgammal.c (__tgammal): Likewise.
38159         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38160         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38161         * math/libm-test.inc (acos_test): Add more tests.
38162         (acosh_test): Likewise.
38163         (asin_test): Likewise.
38164         (atanh_test): Likewise.
38165         (exp_test): Likewise.
38166         (exp10_test): Likewise.
38167         (exp2_test): Likewise.
38168         (expm1_test): Likewise.
38169         (lgamma_test): Likewise.
38170         (log_test): Likewise.
38171         (log10_test): Likewise.
38172         (log1p_test): Likewise.
38173         (log2_test): Likewise.
38174         (pow_test): Do not allow some spurious overflow exceptions.
38175         (sqrt_test): Add more tests.
38176         (tgamma_test): Likewise.
38177         (y0_test): Likewise.
38178         (y1_test): Likewise.
38179         (yn_test): Likewise.
38181 2012-03-27  Anton Blanchard  <anton@samba.org>
38183         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38184         MAP_HUGETLB.
38185         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38186         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38187         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38189 2012-03-27  David S. Miller  <davem@davemloft.net>
38191         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38193         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38194         have-as-vis3 check.
38196 2012-03-27  Andreas Jaeger  <aj@suse.de>
38198         * sysdeps/x86_64/elf/configure.in: Moved to ...
38199         * sysdeps/x86_64/configure.in: ... here.
38200         * sysdeps/x86_64/elf/start.S: Moved to ...
38201         * sysdeps/x86_64/start.S: ... here.
38202         * sysdeps/x86_64/elf/configure: Delete.
38204         * sysdeps/x86_64/configure.in: Merge contents from
38205         sysdeps/i386/configure.in (without i686 check).
38207         * sysdeps/i386/elf/Versions: Merge into ...
38208         * sysdeps/i386/Versions: ... this.
38209         * sysdeps/i386/elf/Versions: Delete file.
38210         * sysdeps/i386/elf/start.S: Moved to ...
38211         * sysdeps/i386/start.S: ...here.
38212         * sysdeps/i386/elf/configure.in: Merge into...
38213         * sysdeps/i386/configure.in: ...here.
38214         * sysdeps/i386/elf/configure.in: Delete file.
38215         * sysdeps/i386/elf/configure: Delete file.
38217         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38218         * debug/backtracesyms.c: ... here.
38219         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38220         * debug/backtracesymsfd.c: ... here.
38221         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38222         * sysdeps/generic/ifunc-sel.h: ... here.
38224         * sysdeps/unix/i386/start.c: Delete file.
38225         * sysdeps/unix/sparc/start.c: Delete file.
38226         * sysdeps/unix/start.c: Delete file.
38228         * sysdeps/sh/elf/configure.in: Moved to ...
38229         * sysdeps/sh/configure.in: ... here.
38230         * sysdeps/sh/elf/start.S: Moved to ...
38231         * sysdeps/sh/start.S: ... here.
38232         * sysdeps/sh/elf/configure: Delete file.
38234         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38235         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38236         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38237         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38238         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38239         * sysdeps/powerpc/powerpc64/start.S: here.
38240         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38241         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38242         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38243         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38244         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38246         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38247         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38248         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38249         * sysdeps/powerpc/powerpc32/start.S: ... here.
38250         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38251         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38252         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38254         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38255         * sysdeps/powerpc/ifunc-sel.h: ... here.
38256         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38257         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38259         * sysdeps/sparc/elf/configure.in: Moved to ...
38260         * sysdeps/sparc/configure.in: ... here.
38261         * sysdeps/sparc/elf/configure: Delete file.
38262         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38263         * sysdeps/sparc/sparc32/start.S: ... here.
38264         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38265         * sysdeps/sparc/sparc64/start.S: ... here.
38266         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38267         * sysdeps/sparc/sparc32/Makefile: ... this.
38268         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38269         * sysdeps/sparc/sparc64/Makefile: ... this.
38271         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38272         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38273         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38274         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38275         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38276         * sysdeps/s390/s390-32/setjmp.S: ... here.
38277         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38278         * sysdeps/s390/s390-32/configure.in: ... here.
38279         * sysdeps/s390/s390-32/elf/configure: Delete file.
38280         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38281         * sysdeps/s390/s390-32/start.S: ... here.
38283         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38284         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38285         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38286         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38287         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38288         * sysdeps/s390/s390-64/setjmp.S: ... here.
38289         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38290         * sysdeps/s390/s390-64/configure.in: ... here
38291         * sysdeps/s390/s390-64/elf/configure: Delete file.
38292         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38293         * sysdeps/s390/s390-64/start.S: ... here.
38294         * sysdeps/s390/s390-64/elf/configure: Delete.
38296         * configure.in: Remove support for elf directories in sysdeps.
38298         * configure: Regenerated.
38299         * sysdeps/i386/configure: Regenerated.
38300         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38301         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38302         * sysdeps/s390/s390-32/configure: Regenerated.
38303         * sysdeps/s390/s390-64/configure: Regenerated.
38304         * sysdeps/sh/configure: Regenerated.
38305         * sysdeps/sparc/configure: Regenerated.
38306         * sysdeps/x86_64/configure: Regenerated.
38308 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38312         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38313         denormal result into account.
38315 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38317         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38318         Reported by Allan McRae <allan@archlinux.org>.
38320 2012-03-23  Jeff Law  <law@redhat.com>
38322         * nss/getnssent.c (__nss_getent): Fix typo.
38324 2012-03-23  David S. Miller  <davem@davemloft.net>
38326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38328 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38330         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38331         to pad to uint64_t for each field.
38332         (dl_tls_index): Replace unsigned long with uint64_t.
38334 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38335         Paul Pluzhnikov  <ppluzhnikov@google.com>
38337         [BZ #6528]
38338         * grp/Makefile (otherlibs): Don't set it.
38339         * inet/Makefile (otherlibs): Likewise.
38340         * login/Makefile (otherlibs): Likewise.
38341         * nscd/Makefile (otherlibs): Likewise.
38342         * posix/Makefile (otherlibs): Likewise.
38343         * pwd/Makefile (otherlibs): Likewise.
38344         * rt/Makefile (otherlibs): Likewise.
38345         * sunrpc/Makefile (otherlibs): Likewise.
38346         * nss/Makefile (otherlibs): Likewise.
38347         Add libnss_files to routines and static-only-routines.
38348         ($(objpfx)getent): Remove rule.
38349         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38350         static-only-routines.
38352 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38354         [BZ #13892]
38355         * math/s_cexp.c: Include <float.h>.
38356         (__cexp): Handle exp result overflowing not necessarily
38357         overflowing both real and imaginary parts of result.
38358         * math/s_cexpf.c: Likewise.
38359         * math/s_cexpl.c: Likewise.
38360         * math/libm-test.inc (cexp_test): Add more tests.
38361         * sysdeps/i386/fpu/libm-test-ulps: Update.
38362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38364 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38366         * include/link.h (ELFW): New macro.
38367         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38368         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38370 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38372         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38373         with uint64_t.
38375 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38377         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38378         declaration.
38379         (struct La_x32_retval): Likewise.
38381 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38383         * sysdeps/x86_64/preconfigure.in: New file.
38384         * sysdeps/x86_64/preconfigure: New generated file.
38386 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38388         [BZ #13824]
38389         * math/e_exp2l.c: Include <float.h>.
38390         (__ieee754_exp2l): Handle overflow and underflow cases
38391         separately.  Only pass fractional part of argument to
38392         __ieee754_expl.
38393         * math/libm-test.inc (exp2_test): Add more tests.
38395         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38396         negating x to take absolute value.
38397         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38398         Likewise.
38399         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38400         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38401         Likewise.
38402         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38403         computing low part if x was negated.
38404         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38406 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38408         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38409         la_x32_gnu_pltexit.
38410         (pltexit): Cast int_retval to ptrdiff_t.
38411         * elf/tst-auditmod3b.c: Likewise.
38412         * elf/tst-auditmod4b.c: Likewise.
38413         * elf/tst-auditmod5b.c: Likewise.
38414         * elf/tst-auditmod6b.c: Likewise.
38415         * elf/tst-auditmod6c.c: Likewise.
38416         * elf/tst-auditmod7b.c: Likewise.
38418         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38419         and x32_gnu_pltexit.
38421         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38422         __ELF_NATIVE_CLASS.
38423         (La_x32_regs): New macro.
38424         (La_x32_retval): Likewise.
38425         (la_x32_gnu_pltenter): New function prototype.
38426         (la_x32_gnu_pltexit): Likewise.
38428 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
38430         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38431         exponent.
38433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38435         * configure.in (libc_cv_cc_nofma): Check for option to disable
38436         generation of FMA instructions.
38437         * configure: Regenerate.
38438         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38439         * sysdeps/ieee754/dbl-64/Makefile: New file.
38440         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38441         Remove brandred-fma4.
38442         (CFLAGS-brandred-fma4.c): Remove.
38443         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38444         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38445         define.
38446         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38447         define.
38449 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38451         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38452         LLONG_MAX != LONG_MAX.
38453         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38454         (_fitoa_word): Likewise.
38455         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38456         LLONG_MAX != LONG_MAX.
38457         * stdio-common/_itowa.h: Include <_itoa.h>.
38458         (_itowa_word): Use _ITOA_WORD_TYPE on value.
38459         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
38460         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
38461         only if not defined.
38462         (_ITOA_WORD_TYPE): Likewise.
38463         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38464         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38466 2012-03-21  David S. Miller  <davem@davemloft.net>
38468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38470 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38472         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38473         of x86_64 when setting libc_cv_slibdir, libdir and
38474         libc_cv_localedir.
38475         * sysdeps/unix/sysv/linux/configure: Regenerated.
38477 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38479         * manual/lang.texi (Old Varargs): Remove section.
38480         (How Variadic): Update menu.
38481         (va_start): Do not mention varargs.h.
38483 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38484             Joseph Myers  <joseph@codesourcery.com>
38486         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38487         link test.
38488         * configure: Regenerated.
38490 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38492         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38493         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38494         conformtest.pl
38496 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38498         * NOTES: Remove.
38499         * Makefile (files-for-dist): Remove NOTES.
38500         (NOTES): Remove rule.
38501         * README: Don't refer to NOTES.
38502         * manual/creature.texi: Don't include macros.texi.
38503         * manual/intro.texi (creature.texi): Remove comment referring to
38504         NOTES.
38506         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38507         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38508         * configure: Regenerated.
38509         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38510         LIBC_TRY_CC_OPTION.
38511         (libc_cv_as_i686): Likewise.
38512         (libc_cv_cc_avx): Likewise.
38513         (libc_cv_cc_sse2avx): Likewise.
38514         (libc_cv_cc_fma4): Likewise.
38515         (libc_cv_cc_novzeroupper): Likewise.
38516         * sysdeps/i386/configure: Regenerated.
38518         [BZ #13883]
38519         * sysdeps/i386/fpu/s_cexp.S: Remove.
38520         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38521         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38522         * math/libm-test.inc (cexp_test): Add more tests.
38523         * sysdeps/i386/fpu/libm-test-ulps: Update.
38524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38526 2012-03-21  Allan McRae  <allan@archlinux.org>
38528         * timezone/Makefile: Do not install iso3166.tab and zone.tab
38530 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
38532         [BZ #13871]
38533         * math/w_exp2.c: Do not include <float.h>.
38534         (o_threshold, u_threshold): Remove.
38535         (__exp2): Calculate result before checking finiteness and calling
38536         __kernel_standard.
38537         * math/w_exp2f.c: Likewise.
38538         * math/w_exp2l.c: Likewise.
38539         * math/libm-test.inc (exp2_test): Require overflow exception for
38540         1e6 input.
38542         [BZ #3866]
38543         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38544         range of signed 64-bit integers before using fistpll.  Remove
38545         checks for whether integers fit in mantissa bits.
38546         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38547         the range of signed 32-bit integers before using fistpl.  Remove
38548         checks for whether integers fit in mantissa bits.
38549         * sysdeps/i386/fpu/e_powl.S (p64): New object.
38550         (__ieee754_powl): Test for y outside the range of signed 64-bit
38551         integers before using fistpll.  Reduce 64-bit values to 63-bit
38552         ones as needed.
38553         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38554         divide-by-zero is raised for zero to large negative powers.
38555         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38556         (__ieee754_powl): Test for y outside the range of signed 64-bit
38557         integers before using fistpll.  Reduce 64-bit values to 63-bit
38558         ones as needed.
38559         * math/libm-test.inc (pow_test): Add more tests.
38561 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38563         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38564         <stdio-common/_itoa.h>.
38565         * debug/segfault.c: Likewise.
38566         * elf/dl-cache.c: Likewise.
38567         * elf/dl-minimal.c: Likewise.
38568         * elf/dl-misc.c: Likewise.
38569         * elf/dl-sysdep.c: Likewise.
38570         * elf/dl-version.c: Likewise.
38571         * elf/rtld.c: Likewise.
38572         * hurd/hurdsock.c: Likewise.
38573         * hurd/lookup-retry.c: Likewise.
38574         * malloc/malloc.c: Likewise.
38575         * malloc/mtrace.c: Likewise.
38576         * nscd/nscd_getgr_r.c: Likewise.
38577         * nscd/nscd_getpw_r.c: Likewise.
38578         * nscd/nscd_getserv_r.c: Likewise.
38579         * posix/getopt_init.c: Likewise.
38580         * posix/wordexp.c: Likewise.
38581         * stdio-common/_itoa.c: Likewise.
38582         * stdio-common/printf_fphex.c: Likewise.
38583         * stdio-common/vfprintf.c: Likewise.
38584         * string/_strerror.c: Likewise.
38585         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38586         * sysdeps/i386/i686/hp-timing.h: Likewise.
38587         * sysdeps/mach/_strerror.c: Likewise.
38588         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38589         * sysdeps/mach/hurd/sethostid.c: Likewise.
38590         * sysdeps/mach/hurd/xmknodat.c: Likewise.
38591         * sysdeps/mach/xpg-strerror.c: Likewise.
38592         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38593         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38594         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38595         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38596         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38597         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38598         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38599         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38600         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38601         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38602         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38603         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38604         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38605         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38606         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38607         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38608         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38609         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38610         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38611         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38612         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38614         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38616         * stdio-common/_itoa.h: Moved to ...
38617         * sysdeps/generic/_itoa.h: Here.
38619         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38621         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38622         instead of "_itoa.h" and "_itowa.h".
38623         * stdio-common/vfprintf.: Likewise.
38625 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38627         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38628         <bits/wordsize.h>.
38629         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38630         (__signbit): Likwise.
38631         (llrintf): Likwise.
38632         (llrint): Likwise.
38634 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
38636         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38637         __WORDSIZE != 64.
38639 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
38641         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38642         OVERFLOW_EXCEPTION_OK.
38643         * math/libm-test.inc ("Philosophy"): Update comment about
38644         exception testing.
38645         (OVERFLOW_EXCEPTION): Define.
38646         (OVERFLOW_EXCEPTION_OK): Likewise.
38647         (INVALID_EXCEPTION_OK): Renumber.
38648         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38649         (IGNORE_ZERO_INF_SIGN): Likewise.
38650         (test_exceptions): Handle FE_OVERFLOW.
38651         (exp10_test): Expect overflow exceptions.
38652         (exp2_test): Likewise.
38653         (expm1_test): Likewise.
38654         (nextafter_test): Likewise.
38655         (pow_test): Likewise.
38656         (scalbn_test): Likewise.
38657         (scalbln_test): Likewise.
38659 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38661         * sysdeps/x86_64/bits/atomic.h
38662         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38663         64bit integer.
38664         (atomic_exchange_acq): Likewise.
38665         (__arch_exchange_and_add_body): Likewise.
38666         (__arch_add_body): Likewise.
38667         (atomic_add_negative): Likewise.
38668         (atomic_add_zero): Likewise.
38670 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38672         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38673         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38675 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38677         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38678         Check __x86_64__ instead of __WORDSIZE.
38680 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38682         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38684 2012-03-19  David S. Miller  <davem@davemloft.net>
38686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38688         * sysdeps/sparc/fpu/fenv_private.h: New file.
38689         * sysdeps/sparc/fpu/math_private.h: Use it.
38690         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38691         Remove.
38692         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38693         (libc_feholdexcept_setroundl): Remove.
38694         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38695         Remove.
38696         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38697         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38699 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38701         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38702         int64_t instead of long int.
38703         (INSERT_WORDS64): Likwise.
38705 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38707         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38708         _Unwind_GetCFA return to _Unwind_Ptr first.
38710 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38712         [BZ #13629]
38713         * math/s_clog.c: Include <float.h>.
38714         (__clog): Scale large or subnormal inputs.
38715         * math/s_clogf.c: Likewise.
38716         * math/s_clogl.c: Likewise.
38717         * math/s_clog10.c: Include <float.h>.
38718         (M_LOG10_2): Define.
38719         (__clog10): Scale large or subnormal inputs.
38720         * math/s_clog10f.c: Likewise.
38721         * math/s_clog10l.c: Likewise.
38722         * math/libm-test.inc (clog_test): Add more tests.
38723         (clog10_test): Likewise.
38724         * sysdeps/i386/fpu/libm-test-ulps: Update.
38725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38727         [BZ #11451]
38728         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38729         x and y.
38730         * math/libm-test.inc (atan2_test): Add another test.
38732         * Makerules (common-objdir-compile): Remove.
38733         * sysdeps/unix/Makefile (config-generated): Do not add
38734         $(unix-generated) to variable.
38735         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38736         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38737         Remove rule.
38738         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38739         Likewise.
38740         [generic bits/local_lim.h] (before-compile): Do not append to
38741         variable.
38742         [generic bits/local_lim.h] (common-generated): Likewise.
38743         [generic sys/param.h] (before-compile): Do not append to variable.
38744         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38745         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38746         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38747         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38748         include.
38749         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38750         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38751         [generic sys/param.h] ($(addprefix
38752         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38753         [generic sys/param.h] (common-generated): Do not append to
38754         variable.
38755         [generic sys/param.h] (sysdep_headers): Likewise.
38756         [generic bits/errno.h] (before-compile): Do not append to
38757         variable.
38758         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38759         rule.
38760         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38761         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38762         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38763         [generic bits/errno.h] (common-generated): Do not append to
38764         variable.
38765         [generic bits/ioctls.h] (before-compile): Do not append to
38766         variable.
38767         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38768         rule.
38769         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38770         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38771         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38772         rule.
38773         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38774         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38775         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38776         [generic bits/ioctls.h] (common-generated): Do not append to
38777         variable.
38778         [generic sys/syscall.h] (syscall.h): Remove variable.
38779         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38780         rule.
38781         [generic sys/syscall.h] (before-compile): Do not append to
38782         variable.
38783         [generic sys/syscall.h] (common-generated): Likewise.
38784         * sysdeps/unix/errnos-tmpl.c: Remove file.
38785         * sysdeps/unix/errnos.awk: Likewise.
38786         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38787         * sysdeps/unix/ioctls.awk: Likewise.
38788         * sysdeps/unix/mk-local_lim.c: Likewise.
38789         * sysdeps/unix/snarf-ioctls: Likewise.
38791 2012-03-19  Richard Henderson  <rth@twiddle.net>
38793         * sysdeps/i386/fpu/fenv_private.h: New file.
38794         * sysdeps/i386/fpu/math_private.h: Use it.
38795         (math_opt_barrier, math_force_eval): Remove.
38796         (libc_feholdexcept_setround_53bit): Remove.
38797         (libc_feupdateenv_53bit): Remove.
38798         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38799         (math_opt_barrier, math_force_eval): Remove.
38800         (libc_feholdexcept): Remove.
38801         (libc_feholdexcept_setround): Remove.
38802         (libc_fetestexcept, libc_fesetenv): Remove.
38803         (libc_feupdateenv_test): Remove.
38804         (libc_feupdateenv, libc_feholdsetround): Remove.
38805         (libc_feresetround): Remove.
38807         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38808         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38810         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38811         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38812         (libc_feupdateenv_testl): New.
38813         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38814         (libc_feupdateenv_testf): New.
38815         (libc_feupdateenv): Use libc_feupdateenv_test.
38816         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38817         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38819         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38820         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38821         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38822         (libc_feresetround_noex): New.
38823         (libc_feresetround_noexf): New.
38824         (libc_feresetround_noexl): New.
38825         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38826         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38827         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38828         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38829         SET_RESTORE_ROUND.
38830         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38831         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38832         (__cos): Likewise.
38833         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38834         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38835         SET_RESTORE_ROUND_NOEX.
38836         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38837         SET_RESTORE_ROUND_NOEXF.
38838         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38839         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38840         (libc_feholdsetroundf): New.
38841         (libc_feresetround, libc_feresetroundf): New.
38843         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38844         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38845         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38847         * sysdeps/generic/math_private.h: Include <fenv.h>.
38848         (default_libc_feholdexcept): New.
38849         (default_libc_feholdexcept_setround): New.
38850         (default_libc_fesetenv, default_libc_feupdateenv): New.
38851         (libc_feholdexcept): Only define if undefined.
38852         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38853         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38854         (libc_feholdexcept_setroundl): Likewise.
38855         (libc_feholdexcept_setround_53bit): Likewise.
38856         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38857         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38858         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38859         (libc_feupdateenv_53bit): Likewise.
38860         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38861         (libc_feholdexcept): Convert from macro to inline function.
38862         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38863         (libc_fesetenv, libc_feupdateenv): Likewise.
38865         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38866         not previously defined.
38867         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38868         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38869         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38870         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38871         * sysdeps/ieee754/flt-32/math_private.h: New file.
38872         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38873         math_private.h below SET_FLOAT_WORD.
38874         (__isnan, __isinf_ns, __finite): Remove.
38875         (__isnanf, __isinf_nsf, __finitef): Remove.
38877 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38881 2012-03-17  David S. Miller  <davem@davemloft.net>
38883         [BZ #6471]
38884         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38885         for 2.16.
38887 2012-03-16  David S. Miller  <davem@davemloft.net>
38889         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38890         warnings.
38892         [BZ #6471]
38893         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38894         properly.
38895         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38896         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38897         sysdep_routines when subdir is sysvipc.
38898         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38899         __getshmlba helper.
38901         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38903 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38905         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38906         [__LP64__].
38908 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38910         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38911         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38912         (__lround): Renamed to ...
38913         (__llround): This.  Replace long int with long long int.
38914         Define lround functions as aliases of llround functions.
38915         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38917 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38919         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38920         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38921         adresses to uintptr_t.  Replace "long int" and "unsigned long
38922         int" with "greg_t" on va_arg.
38924 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38926         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38927         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38929         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38930         Move e_machine check before EI_CLASS check.  Handle x32
38931         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38932         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38933         SKIP_EM_IA_64 and include
38934         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38936         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38937         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38938         (add_system_dir): New macro.
38940         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38941         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38943 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38945         [BZ #2551]
38946         [BZ #2552]
38947         [BZ #2553]
38948         [BZ #2554]
38949         [BZ #2562]
38950         [BZ #2563]
38951         [BZ #2565]
38952         [BZ #2566]
38953         [BZ #2576]
38954         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38955         (y0): Likewise.
38956         * math/w_j0f.c (j0f): Likewise.
38957         (y0f): Likewise.
38958         * math/w_j0l.c (__j0l): Likewise.
38959         (__y0l): Likewise.
38960         * math/w_j1.c (j1): Likewise.
38961         (y1): Likewise.
38962         * math/w_j1f.c (j1f): Likewise.
38963         (y1f): Likewise.
38964         * math/w_j1l.c (__j1l): Likewise.
38965         (__y1l): Likewise.
38966         * math/w_jn.c (jn): Likewise.
38967         (yn): Likewise.
38968         * math/w_jnf.c (jnf): Likewise.
38969         (ynf): Likewise.
38970         * math/w_jnl.c (__jnl): Likewise.
38971         (__ynl): Likewise.
38972         * math/libm-test.inc (j0_test): Add more tests.
38973         (j1_test): Likewise.
38974         (jn_test): Likewise.  Add trailing semicolon to existing test.
38975         (y0_test): Likewise.
38976         (y1_test): Likewise.
38977         * sysdeps/i386/fpu/libm-test-ulps: Update.
38978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38980         [BZ #13851]
38981         [BZ #13854]
38982         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38983         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38984         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38985         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38986         (__tanl): Set errno for infinite argument.
38987         * sysdeps/i386/fpu/mptan.c: Remove.
38988         * sysdeps/i386/fpu/s_tan.S: Likewise.
38989         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38990         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38991         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38992         * math/libm-test.inc (tan_test): Add more tests and enable more
38993         tests for double and long double.
38994         * sysdeps/i386/fpu/libm-test-ulps: Update.
38995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38997 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38999         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39000         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39002 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39004         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39005         * configure.in: Use it for both main tree and add-ons.
39006         * configure: Regenerated.
39008 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39010         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39012 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39014         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39015         in comment.
39017         [BZ #13851]
39018         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39019         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39020         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39021         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39022         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39023         infinite argument.
39024         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39025         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39026         != 0 for prec == 2.
39027         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39028         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39029         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39030         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39031         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39032         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39033         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39034         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39035         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39036         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39037         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39038         * math/libm-test.inc (cos_test): Add more tests and enable more
39039         tests for long double.
39040         (sin_test): Likewise.
39041         (sincos_test): Likewise.
39042         * sysdeps/i386/fpu/libm-test-ulps: Update.
39043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39045 2012-03-16  David S. Miller  <davem@davemloft.net>
39047         * sysdeps/sparc/fpu/math_private.h: New file.
39049 2012-03-15  David S. Miller  <davem@davemloft.net>
39051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39052         file.
39053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39055         file.
39056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39062         sysdep routines.
39063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39065         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39066         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39068         * sysdeps/sparc/sparc-ifunc.h: New file.
39069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39070         sparc-ifunc.h
39071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39073         Likewise.
39074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39075         Likewise.
39076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39080         Likewise.
39081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39086         Likewise.
39087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39088         Likewise.
39089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39093         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39095         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39096         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39097         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39098         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39105         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39107         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39108         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39109         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39110         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39111         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39112         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39114 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39116         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39117         scaling.
39118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39120 2012-03-15  Andreas Jaeger  <aj@suse.de>
39122         [BZ #13852]
39123         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39124         ieee754/flt-32 implementation for sin, cos and sincos.
39125         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39126         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39127         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39128         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39129         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39130         ieee754/flt-32 implementation for tan.
39132         * math/libm-test.inc (cos_test): Enable some large input tests for
39133         float as well
39134         (sin_test): Likewise.
39135         (sincos_test): Likewise.
39136         (tan_test): Add tests for large input.
39138         * sysdeps/i386/fpu/libm-test-ulps: Update.
39140 2012-03-15  Andreas Jaeger  <aj@suse.de>
39142         [BZ #13658]
39143         * math/libm-test.inc (cos_test): Add more test cases.
39144         (sin_test): Likewise.
39145         (sincos_test): Likewise.
39147 2012-03-15  Andreas Jaeger  <aj@suse.de>
39149         [BZ #13837]
39150         * math/libm-test.inc (cos_test): Add a test case for large input
39151         value.
39152         (sin_test): Likewise.
39153         (sincos_test): Likewise.
39155 2012-03-15  Andreas Jaeger  <aj@suse.de>
39156             Joseph Myers  <joseph@codesourcery.com>
39158         [BZ #13658]
39159         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39160         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39161         * sysdeps/i386/fpu/branred.c: Likewise.
39162         * sysdeps/i386/fpu/dosincos.c: Likewise.
39163         * sysdeps/i386/fpu/mpa.c: Likewise.
39164         * sysdeps/i386/fpu/s_cos.S: Likewise.
39165         * sysdeps/i386/fpu/s_sin.S: Likewise.
39166         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39167         * sysdeps/i386/fpu/sincos32.c: Likewise.
39169         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39170         Define.
39171         (libc_feupdateenv_53bit): Define.
39172         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39173         Define.
39174         (libc_feupdateenv_53bit): Define.
39176         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39177         53 bit (without extend i386 double precision).
39179         * math/libm-test.inc (sincos_test): Add tests for large input.
39180         (sin): Likewise.
39181         (cos): Likewise.
39183         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39185 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39189 2012-03-15  David S. Miller  <davem@davemloft.net>
39191         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39192         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39193         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39194         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39207         file.
39208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39210         file.
39211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39213         file.
39214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39216         file.
39217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39218         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39219         fmin/fmax sysdep routines.
39220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39222 2012-03-14  David S. Miller  <davem@davemloft.net>
39224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39228         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39229         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39230         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39231         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39239         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39240         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39241         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39242         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39244         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39245         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39246         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39247         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39248         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39249         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39250         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39251         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39252         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39253         routines.
39254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39255         file.
39256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39258         file.
39259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39261         file.
39262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39264         file.
39265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39267         file.
39268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39270         file.
39271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39272         file.
39273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39274         file.
39275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39276         file.
39277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39278         New file.
39279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39280         file.
39281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39282         file.
39283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39285         file.
39286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39288         file.
39289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39291         file.
39292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39294         VIS3 routines.
39296         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39297         New file.
39299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39301         * sysdeps/sparc/configure.in: New file.
39302         * sysdeps/sparc/configure: Generate.
39303         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39304         * configure: Regenerate.
39305         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39306         * config.make.in (have-as-vis3): New.
39307         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39308         available use -Av9d instead of -Av9a.
39309         * sysdeps/sparc/sparc64/Makefile: Likewise.
39310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39312         New file.
39313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39314         file.
39315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39316         New file.
39317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39318         file.
39319         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39320         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39321         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39322         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39323         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39325         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39326         fzeros/fnegs to load 0x80000000 into a float register instead of
39327         using the stack.
39328         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39330 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39332         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39333         bits/syscall.h.
39334         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39335         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39336         ($(inst_includedir)/bits/syscall.h): Remove rule.
39337         ($(objpfx)bits/syscall.d): Include instead of
39338         $(objpfx)syscall-list.d.
39339         (generated): Change syscall-list.h and syscall-list.d to
39340         bits/syscall.h and bits/syscall.d.
39342 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39344         [BZ #13846]
39345         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39347 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39349         [BZ #13841]
39350         * math/s_csqrt.c: Include <float.h>.
39351         (__csqrt): Scale large or subnormal inputs.
39352         * math/s_csqrtf.c: Likewise.
39353         * math/s_csqrtl.c: Likewise.
39354         * math/libm-test.inc (csqrt_test): Add more tests.
39355         * sysdeps/i386/fpu/libm-test-ulps: Update.
39356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39358         [BZ #13840]
39359         * math/libm-test.inc (hypot_test): Add more tests.
39361 2012-03-13  David S. Miller  <davem@davemloft.net>
39363         [BZ #13840]
39364         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39365         double-precision for the calculation instead of scaling.
39367 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39369         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39370         manipulate bits before adding and subtracting TWO52[sx].
39371         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39372         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39373         Likewise.
39374         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39376 2012-03-13  David S. Miller  <davem@davemloft.net>
39378         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39379         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39380         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39381         rtld-global-offsets.h
39382         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39384         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39385         large parameters.
39387         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39389         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39390         'err' in the ifdef scope in which it is actually used.
39392         * nss/nss_db/db-init.c: Include string.h
39394 2012-03-12  David S. Miller  <davem@davemloft.net>
39396         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39397         masking out of the most significant byte of random value used.
39398         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39399         Fix coding style in previous change.
39401         * sysdeps/unix/sysv/linux/kernel-features.h
39402         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39403         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39404         expression.
39405         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39406         later.
39408 2012-03-11  David S. Miller  <davem@davemloft.net>
39410         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39411         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39412         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39413         for 'resultvar' otherwise things get truncated on 64-bit.
39415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39416         Fix masking out of the most significant byte of random value used.
39418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39420 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39424 2012-03-09  David S. Miller  <davem@davemloft.net>
39426         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39427         variables with appropriate CPP guards.
39428         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39429         from the frame pointer, not the stack pointer.  Correct layout
39430         comments.  Fix test on resulting framesize and the management of
39431         the outregs buffer for pltexit.  Preserve floating point return
39432         values across _dl_call_pltexit call.
39433         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39434         framesize and the management of the outregs buffer for pltexit.
39435         Preserve floating point return values across _dl_call_pltexit
39436         call.
39437         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39438         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39439         (la_sparc64_gnu_pltexit): New functions.
39440         (print_exit): Fix format string for return register value.
39442 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
39444         * sunrpc/Makefile (others): Add rpcgen.
39445         ($(objpfx)rpcgen): Remove special build rule and dependency on
39446         libc.
39447         * sunrpc/rpcgen.c: New file.
39449 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
39451         [BZ #13673]
39452         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39453         * stdio-common/bug-vfprintf-nargs.c: Likewise.
39454         * sysdeps/i386/crti.S: Likewise.
39455         * sysdeps/i386/crtn.S: Likewise.
39456         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39457         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39458         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39459         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39460         * sysdeps/sh/crti.S: Likewise.
39461         * sysdeps/sh/crtn.S: Likewise.
39462         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39464         [BZ #13673]
39465         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39466         with URL.
39467         * locale/programs/locfile-kw.gperf: Likewise.
39468         * locale/programs/charmap-kw.h: Regenerated.
39469         * locale/programs/locfile-kw.h: Likewise.
39471         [BZ #13673]
39472         * intl/plural.y: Replace FSF snail mail address with URL.
39473         * intl/plural.c: Regenerated.
39475 2012-03-09  Richard Henderson  <rth@twiddle.net>
39477         * include/math_private.h: Remove file.
39478         * math/math_private.h: Move file ...
39479         * sysdeps/generic/math_private.h: ... here.
39481         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39482         * sysdeps/powerpc/fpu/math_private.h: Likewise.
39483         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39485         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39486         and <math_private.h>.
39487         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39488         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39489         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39490         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39491         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39492         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39493         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39494         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39495         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39496         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39497         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39498         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39499         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39500         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39501         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39502         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39503         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39504         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39505         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39506         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39507         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39508         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39509         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39510         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39511         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39512         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39513         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39514         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39515         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39516         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39517         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39519         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39520         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39521         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39522         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39523         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39524         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39525         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39526         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39527         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39528         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39529         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39530         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39531         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39532         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39533         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39534         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39535         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39536         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39537         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39538         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39539         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39540         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39541         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39542         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39543         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39544         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39545         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39546         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39547         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39548         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39549         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39550         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39551         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39552         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39553         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39554         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39555         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39556         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39557         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39558         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39559         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39560         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39561         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39562         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39563         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39564         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39565         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39566         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39567         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39568         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39569         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39570         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39571         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39572         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39573         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39574         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39575         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39576         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39577         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39578         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39579         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39580         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39581         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39582         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39583         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39584         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39585         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39587         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39588         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39589         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39590         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39591         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39592         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39593         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39594         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39595         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39596         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39597         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39598         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39599         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39600         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39601         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39602         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39603         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39604         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39605         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39606         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39607         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39608         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39609         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39610         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39611         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39612         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39613         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39614         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39615         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39616         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39617         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39618         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39619         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39620         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39621         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39622         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39623         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39624         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39625         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39626         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39627         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39628         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39629         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39630         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39631         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39632         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39633         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39634         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39635         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39636         * sysdeps/ieee754/k_standard.c: Likewise.
39637         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39638         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39639         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39640         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39641         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39642         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39643         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39644         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39645         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39646         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39647         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39649         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39650         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39651         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39652         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39653         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39654         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39655         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39656         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39657         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39658         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39659         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39660         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39661         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39662         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39663         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39664         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39665         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39666         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39667         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39668         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39669         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39670         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39671         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39672         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39673         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39674         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39675         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39676         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39677         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39678         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39679         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39680         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39681         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39682         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39683         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39684         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39685         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39686         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39687         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39688         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39689         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39690         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39691         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39692         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39693         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39694         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39695         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39696         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39697         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39698         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39699         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39700         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39701         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39702         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39703         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39704         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39705         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39706         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39707         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39709         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39710         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39711         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39712         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39713         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39714         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39715         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39716         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39717         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39718         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39719         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39720         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39721         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39722         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39723         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39724         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39725         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39726         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39727         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39728         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39729         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39730         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39731         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39732         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39733         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39734         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39735         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39736         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39737         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39738         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39739         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39740         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39741         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39742         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39743         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39744         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39745         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39746         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39747         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39748         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39749         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39750         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39751         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39752         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39753         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39754         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39755         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39756         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39757         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39758         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39759         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39760         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39761         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39762         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39763         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39764         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39765         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39766         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39767         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39768         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39769         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39770         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39771         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39772         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39773         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39774         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39775         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39776         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39777         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39778         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39779         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39780         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39781         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39782         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39783         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39784         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39785         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39786         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39787         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39788         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39789         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39790         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39791         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39792         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39793         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39794         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39795         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39796         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39797         * sysdeps/ieee754/s_lib_version.c: Likewise.
39798         * sysdeps/ieee754/s_matherr.c: Likewise.
39799         * sysdeps/ieee754/s_signgam.c: Likewise.
39800         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39801         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39802         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39803         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39804         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39805         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39806         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39807         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39808         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39809         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39810         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39811         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39812         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39813         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39814         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39815         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39816         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39817         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39818         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39819         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39820         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39822 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39824         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39825         * sunrpc/rpc_main.c: Likewise.
39826         * sunrpc/rpc_svcout.c: Likewise.
39828 2012-03-09  David S. Miller  <davem@davemloft.net>
39830         * include/math_private.h: New file.
39832 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39834         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39835         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39836         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39837         from <bits/socket_type.h>.
39838         (enum __socket_type): Don't define here.
39839         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39840         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39841         bits/socket_type.h.
39843         [BZ #13566]
39844         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39845         checking __USE_GNU.
39847         * Makerules ($(inst_includedir)/%.h): New rule.
39848         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39849         (install-others): Remove variable setting.
39850         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39852 2012-03-08  Richard Henderson  <rth@twiddle.net>
39854         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39855         from macro to inline function; merge with the
39856         !__LIBC_INTERNAL_MATH_INLINES version.
39857         (__ieee754_sqrtf): Likewise.
39859         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39860         to inline function.
39861         (__rintf, __floor, __floorf): Likewise.
39863         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39864         macro to inline function.
39865         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39867         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39868         not <math/math_private.h>.
39870 2012-03-08  David S. Miller  <davem@davemloft.net>
39872         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39873         copyright year.
39874         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39876 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39878         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39879         normalization.
39880         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39881         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39883 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39885         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39886         be defined individually, they must be defined as a block.  Define
39887         S for printing a string instead of hidint the different by using a
39888         macro for adding the 'l'.
39889         * stdio-common/tst-fphex-wide.c: Adjust.
39891 2012-03-07  Marek Polacek  <polacek@redhat.com>
39893         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39895 2012-03-08  Marek Polacek  <polacek@redhat.com>
39897         [BZ #13806]
39898         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39899         * stdio-common/tst-fphex.c: Define a few macros to make the
39900         test reusable.  Use them.
39901         * stdio-common/tst-fphex-wide.c: New file.
39903 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39905         [BZ #6911]
39906         * manual/macros.texi (gnusystems): New macro.
39907         (nongnusystems): Likewise.
39908         (gnulinuxhurdsystems): Likewise.
39909         (gnuhurdsystems): Likewise..
39910         (gnulinuxsystems): Likewise.
39911         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39912         variants of the GNU system, not "GNU system".
39913         * manual/conf.texi: Likewise.
39914         * manual/errno.texi: Likewise.  Update example of errno macro
39915         expansion.
39916         * manual/filesys.texi: Likewise.
39917         (getumask): Document as specific to GNU/Hurd.
39918         * manual/install.texi: Likewise.  Reword some references to
39919         GNU/Linux.
39920         * manual/intro.texi: Likewise.
39921         * manual/io.texi: Likewise.
39922         (File Name Portability): Detail which constraints are inapplicable
39923         to all GNU systems and which are only inapplicable to GNU/Hurd.
39924         * manual/job.texi: Likewise.
39925         * manual/llio.texi: Likewise.
39926         (O_NOCTTY): Document as present on GNU/Linux.
39927         * manual/maint.texi: Likewise.
39928         * manual/memory.texi: Likewise.
39929         * manual/pattern.texi: Likewise.
39930         * manual/pipe.texi: Likewise.
39931         * manual/process.texi: Likewise.
39932         * manual/resource.texi: Likewise.
39933         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39934         child on GNU/Hurd.
39935         * manual/setjmp.texi: Likewise.
39936         * manual/signal.texi: Likewise.
39937         * manual/startup.texi: Likewise.
39938         * manual/stdio.texi: Likewise.
39939         * manual/terminal.texi: Likewise.
39940         (ONLCR): Document as POSIX.
39941         (OXTABS): Document availability on GNU/Linux as XTABS.
39942         (ONOEOT): Document availability separately from other bits.
39943         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39944         * manual/time.texi: Likewise.
39945         * manual/users.texi: Likewise.
39946         * INSTALL: Regenerated.
39947         * sysdeps/gnu/errlist.c: Regenerated.
39949         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39950         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39951         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39952         puts.
39953         * configure: Regenerated.
39955 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39957         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39958         default includes instead of AC_HEADER_CHECK.
39959         * sysdeps/i386/configure: Regenerated.
39961         [BZ #10716]
39962         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39963         * math/s_cacoshf.c (__cacoshf): Likewise.
39964         * math/s_cacoshl.c (__cacoshl): Likewise.
39965         * math/s_casinh.c (__casinh): Set signs of result from argument.
39966         * math/s_casinhf.c (__casinhf): Likewise.
39967         * math/s_casinhl.c (__casinhl): Likewise.
39968         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39969         (casinh_test): Add more tests.
39970         * sysdeps/i386/fpu/libm-test-ulps: Update.
39971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39973 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39975         * po/zh_TW.po: Update from translation team.
39977         * login/Makefile (distribute): Remove variable.
39978         * catgets/Makefile: Likewise.
39979         * mach/Makefile: Likewise.
39980         * malloc/Makefile: Likewise.
39981         * misc/Makefile: Likewise.
39982         * iconv/Makefile: Likewise.
39983         * nscd/Makefile: Likewise.
39984         * hurd/Makefile: Likewise.
39985         * manual/Makefile: Likewise.
39986         * locale/Makefile: Likewise.
39987         * intl/Makefile: Likewise.
39988         * conform/Makefile: Likewise.
39989         * nss/Makefile: Likewise.
39990         * time/Makefile: Likewise.
39991         * soft-fp/Makefile: Likewise.
39992         * dirent/Makefile: Likewise.
39993         * gmon/Makefile: Likewise.
39994         * po/Makefile: Likewise.
39995         * rt/Makefile: Likewise.
39996         * socket/Makefile: Likewise.
39997         * math/Makefile: Likewise.
39998         * signal/Makefile: Likewise.
39999         * debug/Makefile: Likewise.
40000         * elf/Makefile: Likewise.
40001         * timezone/Makefile: Likewise.
40002         * stdlib/Makefile: Likewise.
40003         * iconvdata/Makefile: Likewise.
40004         * sunrpc/Makefile: Likewise.
40005         * io/Makefile: Likewise.
40006         * argp/Makefile: Likewise.
40007         * inet/Makefile: Likewise.
40008         * hesiod/Makefile: Likewise.
40009         * grp/Makefile: Likewise.
40010         * csu/Makefile: Likewise.
40011         * wctype/Makefile: Likewise.
40012         * crypt/Makefile: Likewise.
40013         * libio/Makefile: Likewise.
40014         * string/Makefile: Likewise.
40015         * nis/Makefile: Likewise.
40016         * resolv/Makefile: Likewise.
40017         * stdio-common/Makefile: Likewise.
40018         * wcsmbs/Makefile: Likewise.
40019         * dlfcn/Makefile: Likewise.
40020         * posix/Makefile: Likewise.
40022         [BZ #6959]
40023         * timezone/Makefile: Don't install timezone files, just the programs
40024         and scripts.
40026 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40028         * nss/databases.def: Add missing gshadow entry.
40030         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40032 2012-03-06  Marek Polacek  <polacek@redhat.com>
40034         [BZ #13726]
40035         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40036         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40037         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40038         * stdio-common/tst-long-dbl-fphex.c: New file.
40040 2012-03-06  David S. Miller  <davem@davemloft.net>
40042         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40043         (set_obp_int): New function.
40044         (get_obp_int): New function.
40045         (__get_clockfreq_via_dev_openprom): Likewise.
40046         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40047         Avoid unused variable warnings on 'val' and use builtin_expect.
40048         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40049         __builtin_expect.
40050         (INLINE_CLONE_SYSCALL): Likewise.
40052 2012-03-05  David S. Miller  <davem@davemloft.net>
40054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40056 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40060         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40061         only for |x| >= 40.
40062         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40064 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40066         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40067         Replace gettimeofday with __vdso_gettimeofday.
40069         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40070         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40071         __vdso_clock_gettime and __vdso_getcpu.
40073         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40074         time with __vdso_time.
40076 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40078         * manual/lang.texi (size_t): Note types to which size_t may be
40079         equivalent with the GNU C Library, but do not describe when
40080         differences between them are significant.
40082 2012-03-05  Andreas Jaeger  <aj@suse.de>
40084         * sysdeps/i386/fpu/libm-test-ulps: Update.
40086 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40088         [BZ #3976]
40089         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40090         (__ieee754_pow): Save and restore rounding mode and use
40091         round-to-nearest for main computations.
40092         * math/libm-test.inc (pow_test_tonearest): New function.
40093         (pow_test_towardzero): Likewise.
40094         (pow_test_downward): Likewise.
40095         (pow_test_upward): Likewise.
40096         (main): Call the new functions.
40097         * sysdeps/i386/fpu/libm-test-ulps: Update.
40098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40100         [BZ #3976]
40101         * math/libm-test.inc (cosh_test_tonearest): New function.
40102         (cosh_test_towardzero): Likewise.
40103         (cosh_test_downward): Likewise.
40104         (cosh_test_upward): Likewise.
40105         (sinh_test_tonearest): Likewise.
40106         (sinh_test_towardzero): Likewise.
40107         (sinh_test_downward): Likewise.
40108         (sinh_test_upward): Likewise.
40109         (main): Call the new functions.
40110         * sysdeps/i386/fpu/libm-test-ulps: Update.
40111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40113 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40115         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40116         default stack guard is set in last bytes.
40117         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40119 2012-03-05  Kees Cook  <keescook@chromium.org>
40121         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40123         [BZ #13656]
40124         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40125         possibly allocate from heap instead of stack.
40126         * stdio-common/bug-vfprintf-nargs.c: New file.
40127         * stdio-common/Makefile (tests): Add nargs overflow test.
40129 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40133 2012-03-03  Marek Polacek  <polacek@redhat.com>
40135         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40136         * math/math_private.h: Likewise.
40137         * stdlib/tst-strtod.c: Likewise.
40138         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40139         * sysdeps/x86_64/bits/atomic.h: Likewise.
40141 2012-03-02  David S. Miller  <davem@davemloft.net>
40143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40147         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40148         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40149         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40150         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40152 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40154         [BZ #13792]
40155         * manual/examples/README: New file, says the example source files
40156         can be used under GPL>=2.
40157         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40158         line containing just "*/".
40159         * manual/examples/add.c: Add copyright header (GPL>=2).
40160         * manual/examples/argp-ex1.c: Likewise.
40161         * manual/examples/argp-ex2.c: Likewise.
40162         * manual/examples/argp-ex3.c: Likewise.
40163         * manual/examples/argp-ex4.c: Likewise.
40164         * manual/examples/atexit.c: Likewise.
40165         * manual/examples/db.c: Likewise.
40166         * manual/examples/dir.c: Likewise.
40167         * manual/examples/dir2.c: Likewise.
40168         * manual/examples/execinfo.c: Likewise.
40169         * manual/examples/filecli.c: Likewise.
40170         * manual/examples/filesrv.c: Likewise.
40171         * manual/examples/fmtmsgexpl.c: Likewise.
40172         * manual/examples/genpass.c: Likewise.
40173         * manual/examples/inetcli.c: Likewise.
40174         * manual/examples/inetsrv.c: Likewise.
40175         * manual/examples/isockad.c: Likewise.
40176         * manual/examples/longopt.c: Likewise.
40177         * manual/examples/memopen.c: Likewise.
40178         * manual/examples/memstrm.c: Likewise.
40179         * manual/examples/mkfsock.c: Likewise.
40180         * manual/examples/mkisock.c: Likewise.
40181         * manual/examples/mygetpass.c: Likewise.
40182         * manual/examples/pipe.c: Likewise.
40183         * manual/examples/popen.c: Likewise.
40184         * manual/examples/rprintf.c: Likewise.
40185         * manual/examples/search.c: Likewise.
40186         * manual/examples/select.c: Likewise.
40187         * manual/examples/setjmp.c: Likewise.
40188         * manual/examples/sigh1.c: Likewise.
40189         * manual/examples/sigusr.c: Likewise.
40190         * manual/examples/stpcpy.c: Likewise.
40191         * manual/examples/strdupa.c: Likewise.
40192         * manual/examples/strftim.c: Likewise.
40193         * manual/examples/strncat.c: Likewise.
40194         * manual/examples/subopt.c: Likewise.
40195         * manual/examples/swapcontext.c: Likewise.
40196         * manual/examples/termios.c: Likewise.
40197         * manual/examples/testopt.c: Likewise.
40198         * manual/examples/testpass.c: Likewise.
40199         * manual/examples/timeval_subtract.c: Likewise.
40201         [BZ #13792]
40202         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40203         function to ...
40204         * manual/timeval_subtract.c.texi: ... here, new file.
40206 2012-03-02  David S. Miller  <davem@davemloft.net>
40208         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40210 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40212         [BZ #3976]
40213         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40214         (__sin): Save and restore rounding mode and use round-to-nearest
40215         for all computations.
40216         (__cos): Save and restore rounding mode and use round-to-nearest
40217         for all computations.
40218         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40219         <fenv.h>.
40220         (tan): Save and restore rounding mode and use round-to-nearest for
40221         all computations.
40222         * math/libm-test.inc (cos_test_tonearest): New function.
40223         (cos_test_towardzero): Likewise.
40224         (cos_test_downward): Likewise.
40225         (cos_test_upward): Likewise.
40226         (sin_test_tonearest): Likewise.
40227         (sin_test_towardzero): Likewise.
40228         (sin_test_downward): Likewise.
40229         (sin_test_upward): Likewise.
40230         (tan_test_tonearest): Likewise.
40231         (tan_test_towardzero): Likewise.
40232         (tan_test_downward): Likewise.
40233         (tan_test_upward): Likewise.
40234         (main): Call the new functions.
40235         * sysdeps/i386/fpu/libm-test-ulps: Update.
40236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40238         [BZ #10135]
40239         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40240         small n, then large n, before computing and testing k+n.
40241         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40242         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40243         Likewise.
40244         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40245         Likewise.
40246         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40247         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40248         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40249         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40250         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40251         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40252         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40253         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40254         * math/libm-test.inc (scalbn_test): Add more tests.
40255         (scalbln_test): Likewise.
40257         * manual/filesys.texi (mode_t): Describe constraints on size and
40258         signedness, not exact equivalence to a particular type.
40259         (ino_t): Likewise.
40260         (ino64_t): Likewise.
40261         (dev_t): Likewise.
40262         (nlink_t): Likewise.
40263         (blkcnt_t): Likewise.
40264         (blkcnt64_t): Likewise.
40265         * manual/llio.texi (off_t): Likewise.
40267         [BZ #3976]
40268         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40269         (__ieee754_exp): Save and restore rounding mode and use
40270         round-to-nearest for all computations.
40271         * math/libm-test.inc (exp_test_tonearest): New function.
40272         (exp_test_towardzero): Likewise.
40273         (exp_test_downward): Likewise.
40274         (exp_test_upward): Likewise.
40275         (main): Call the new functions.
40276         * sysdeps/i386/fpu/libm-test-ulps: Update.
40277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40279 2012-03-01  Chris Demetriou  <cgd@google.com>
40281         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40282         have predictable order.
40284 2012-03-01  David S. Miller  <davem@davemloft.net>
40286         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40288         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40289         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40290         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40291         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40293         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40294         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40295         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40297         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40298         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40299         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40300         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40301         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40305         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40306         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40307         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40309         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40310         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40311         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40312         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40313         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40314         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40315         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40316         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40317         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40318         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40319         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40320         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40321         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40322         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40323         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40325         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40326         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40327         * sysdeps/sparc/elf/configure: Regenerated.
40329 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40331         * configure.in (AS, LD): Require binutils 2.20 or later.
40332         * configure: Regenerated.
40333         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40334         as required minimum version.
40335         * INSTALL: Regenerated.
40337         [BZ #2541]
40338         [BZ #4108]
40339         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40340         before squaring exponent.
40341         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40342         bottom long double and 27 bits of top long double before squaring
40343         exponent.
40344         * math/libm-test.inc (erfc_test): Add more tests.
40345         * sysdeps/i386/fpu/libm-test-ulps: Update.
40346         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40349 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40351         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40352         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40353         containing bit-fields.
40354         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40355         * soft-fp/single.h (_FP_UNION_S): Likewise.
40356         * soft-fp/double.h (_FP_UNION_D): Likewise.
40358 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40360         [BZ #13786]
40361         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40362         not include ../strcmp.S.
40363         [USE_AS_STRNCASECMP_L]: Likewise.
40364         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40365         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40366         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40367         (__strncasecmp_l_ia32): Define as alias to
40368         __strncasecmp_l_nonascii.
40370         [BZ #5794]
40371         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40372         * sysdeps/i386/fpu/libm-test-ulps: Update.
40373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40375         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40378 2012-02-29  Jeff Law  <law@redhat.com>
40380         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40381         out of bounds read.
40383 2012-02-29  Marek Polacek  <polacek@redhat.com>
40385         [BZ #13706]
40386         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40387         * elf/Makefile: Add rules to run tst-unused-dep.out.
40389 2012-02-28  David S. Miller  <davem@davemloft.net>
40391         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40392         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40393         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40394         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40395         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40396         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40398 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40400         * math/libm-test.inc (llround_test): Move one test from
40401         lround_test.  Use TEST_f_L in moved test.
40402         (lround_test): Move misplaced test to llround_test.  Add testcase
40403         from bug 2561.
40405 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40407         * sysdeps/x86_64/fpu/e_expf.S: New file.
40408         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40410 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40412         [BZ #13637]
40413         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40414         of remain_len that may cause incomplete multi-byte character and
40415         false match.
40416         * posix/bug-regex33.c: New file.
40417         * posix/Makefile (tests): Add bug-regex33.
40419 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40421         * manual/macros.texi: New file.
40422         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40423         * manual/libc.texinfo: Include macros.texi.
40424         * manual/creatute.texi: Likewise.
40425         * manual/install.texi: Likewise.
40426         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40427         @glibcadj{} in references to the GNU C Library.
40428         * manual/charset.texi: Likewise.
40429         * manual/conf.texi: Likewise.
40430         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
40431         when not using those macros.
40432         * manual/creature.texi: Likewise.
40433         * manual/crypt.texi: Likewise.
40434         * manual/errno.texi: Likewise.
40435         * manual/filesys.texi: Likewise.
40436         * manual/header.texi: Likewise.
40437         * manual/install.texi: Likewise.
40438         * manual/intro.texi: Likewise.
40439         * manual/io.texi: Likewise.
40440         * manual/job.texi: Likewise.
40441         * manual/lang.texi: Likewise.
40442         * manual/libc.texiinfo: Likewise.
40443         * manual/llio.texi: Likewise.
40444         * manual/locale.texi: Likewise.
40445         * manual/maint.texi: Likewise.
40446         * manual/math.texi: Likewise.
40447         * manual/memory.texi: Likewise.
40448         * manual/message.texi: Likewise.
40449         * manual/nss.texi: Likewise.
40450         * manual/pattern.texi: Likewise.
40451         * manual/process.texi: Likewise.
40452         * manual/resource.texi: Likewise.
40453         * manual/search.texi: Likewise.
40454         * manual/setjmp.texi: Likewise.
40455         * manual/signal.texi: Likewise.
40456         * manual/socket.texi: Likewise.
40457         * manual/startup.texi: Likewise.
40458         * manual/stdio.texi: Likewise.
40459         * manual/string.texi: Likewise.
40460         * manual/sysinfo.texi: Likewise.
40461         * manual/syslog.texi: Likewise.
40462         * manual/terminal.texi: Likewise.
40463         * manual/time.texi: Likewise.
40464         * manual/users.texi: Likewise.
40465         * INSTALL: Regenerated.
40466         * NOTES: Regenerated.
40467         * sysdeps/gnu/errlist.c: Regenerated.
40469 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
40471         * include/dirent.h: Include <dirstream.h> before
40472         <dirent/dirent.h>.
40474 2012-02-28  David S. Miller  <davem@davemloft.net>
40476         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40477         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40478         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40479         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40481 2012-02-27  David S. Miller  <davem@davemloft.net>
40483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40485         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40486         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40489         frame pointer instead of stack pointer relative arg slot.
40490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40491         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40492         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40494 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
40496         [BZ #3992]
40497         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40499 2012-02-27  David S. Miller  <davem@davemloft.net>
40501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40505         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40506         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40507         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40508         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40510 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40512         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40513         later.  Allow versions 5-9.
40514         * configure: Regenerated.
40515         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40516         required minimum version and 4.6 as recommended version.  Do not
40517         mention bugs in GCC 2.7 and 2.8.
40518         * INSTALL: Regenerated.
40520 2012-02-27  David S. Miller  <davem@davemloft.net>
40522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40526         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40527         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40528         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40529         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40532         manipulate bits before adding and subtracting TWO112[sx].
40533         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40535 2012-02-27  Roland McGrath  <roland@hack.frob.com>
40537         [BZ #13775]
40538         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40539         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40540         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40541         being in POSIX, because they are in 1003.1-2008.
40543         * rt/tst-aio.c: Include <fcntl.h>.
40544         * rt/tst-aio7.c: Likewise.
40545         * rt/tst-aio64.c: Likewise.
40547         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40549 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
40551         * manual/install.texi (--with-headers): Describe headers as
40552         interface headers, not private headers.
40553         (Specific advice for GNU/Linux systems): Describe use of headers
40554         from "make headers_install", not private headers from older
40555         kernels.
40556         * INSTALL: Regenerated.
40557         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40558         Change to 2.6.19.
40559         * sysdeps/unix/sysv/linux/configure: Regenerated.
40561         * manual/llio.texi (fclean): Remove documentation.
40563         * manual/Makefile (libc-texi-generated): New variable.  Include
40564         version.texi.
40565         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40566         $(libc-texi-generated), not duplicated list of files.
40567         (version.texi, stamp-version): New rules.
40568         (realclean): Remove $(libc-texi-generated), not individual files
40569         from that list.  Do not remove dir-add.texinfo.
40570         * manual/libc.texinfo: Comment out uses of edition numbers and
40571         references to printed manual.  Remove last-updated dates.
40572         (EDITION): Comment out.
40573         (ISBN): Likewise.
40574         (VERSION, UPDATED): Remove.
40575         (version.texi): Include.
40577 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
40579         * sysdeps/posix/spawni.c: Include <signal.h>.
40580         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40581         * sysdeps/pthread/aio_fsync.c: Likewise.
40583 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
40585         * conform/Makefile (tests): Run only when not cross-compiling and
40586         when fast-check is not defined.
40588         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40589         * conform/data/limits.h-data: Fixes for POSIX2008.
40590         * conform/run-conformtest.sh: Run all tests.
40591         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40592         headers.
40593         * include/bits/dlfcn.h: Likewise.
40594         * include/langinfo.h: Likewise.
40595         * include/monetary.h: Likewise.
40596         * include/sys/poll.h: Likewise.
40598         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40599         for __USE_GNU.
40600         * posix/spawn.h: Define __need_sigset_t.
40601         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40602         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40603         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
40604         to get sigevent_t only.
40605         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40606         only for __USE_GNU.
40607         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40608         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40609         process_vm_writev only for __USE_GNU.
40610         * termios/termios.h: Declare tcgetsid also for POSIX2008.
40612         * conform/Makefile: For now ignore errors from run-conformtest.
40613         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
40614         POSIX to avoid namespace pollution.  Don't prepend headers.
40615         * conform/data/aio.h-data: Fixes for POSIX testing.
40616         * conform/data/fcntl.h-data: Likewise.
40617         * conform/data/glob.h-data: Likewise.
40618         * conform/data/grp.h-data: Likewise.
40619         * conform/data/pthread.h-data: Likewise.
40620         * conform/data/pwd.h-data: Likewise.
40621         * conform/data/signal.h-data: Likewise.
40622         * conform/data/spawn.h-data: Likewise.
40623         * conform/data/stdio.h-data: Likewise.
40624         * conform/data/stdlib.h-data: Likewise.
40625         * conform/data/stropts.h-data: Likewise.
40626         * conform/data/sys/mman.h-data: Likewise.
40627         * conform/data/sys/stat.h-data: Likewise.
40628         * conform/data/sys/types.h-data: Likewise.
40629         * conform/data/sys/wait.h-data: Likewise.
40630         * conform/data/time.h-data: Likewise.
40631         * conform/data/unistd.h-data: Likewise.
40632         * conform/data/utime.h-data: Likewise.
40634         * io/sys/stat.h: fchmod was always in POSIX.
40635         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40636         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40637         * rt/aio.h: Define __need_timespec before including <time.h>.
40638         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40639         struct.  Add forward declaration of pthread_attr_t and use it in
40640         sigevent.
40641         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40642         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40643         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40644         always remove CLK_TCK definition.
40646 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
40648         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40650 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
40652         * conform/run-conformtest.sh: New file.
40653         * conform/Makefile: Run run-conformtest for tests.
40654         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40655         support.
40657         * conform/data/uchar.h-data: New file.
40658         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40659         * conform/data/arpa/inet.h-data: Likewise.
40660         * conform/data/assert.h-data: Likewise.
40661         * conform/data/complex.h-data: Likewise.
40662         * conform/data/cpio.h-data: Likewise.
40663         * conform/data/ctype.h-data: Likewise.
40664         * conform/data/dirent.h-data: Likewise.
40665         * conform/data/dlfcn.h-data: Likewise.
40666         * conform/data/errno.h-data: Likewise.
40667         * conform/data/fcntl.h-data: Likewise.
40668         * conform/data/float.h-data: Likewise.
40669         * conform/data/fmtmsg.h-data: Likewise.
40670         * conform/data/fnmatch.h-data: Likewise.
40671         * conform/data/ftw.h-data: Likewise.
40672         * conform/data/glob.h-data: Likewise.
40673         * conform/data/grp.h-data: Likewise.
40674         * conform/data/iconv.h-data: Likewise.
40675         * conform/data/inttypes.h-data: Likewise.
40676         * conform/data/langinfo.h-data: Likewise.
40677         * conform/data/libgen.h-data: Likewise.
40678         * conform/data/limits.h-data: Likewise.
40679         * conform/data/locale.h-data: Likewise.
40680         * conform/data/math.h-data: Likewise.
40681         * conform/data/monetary.h-data: Likewise.
40682         * conform/data/mqueue.h-data: Likewise.
40683         * conform/data/ndbm.h-data: Likewise.
40684         * conform/data/net/if.h-data: Likewise.
40685         * conform/data/netdb.h-data: Likewise.
40686         * conform/data/netinet/in.h-data: Likewise.
40687         * conform/data/nl_types.h-data: Likewise.
40688         * conform/data/poll.h-data: Likewise.
40689         * conform/data/pthread.h-data: Likewise.
40690         * conform/data/pwd.h-data: Likewise.
40691         * conform/data/regex.h-data: Likewise.
40692         * conform/data/sched.h-data: Likewise.
40693         * conform/data/search.h-data: Likewise.
40694         * conform/data/semaphore.h-data: Likewise.
40695         * conform/data/setjmp.h-data: Likewise.
40696         * conform/data/signal.h-data: Likewise.
40697         * conform/data/spawn.h-data: Likewise.
40698         * conform/data/stdarg.h-data: Likewise.
40699         * conform/data/stdio.h-data: Likewise.
40700         * conform/data/stdlib.h-data: Likewise.
40701         * conform/data/string.h-data: Likewise.
40702         * conform/data/strings.h-data: Likewise.
40703         * conform/data/stropts.h-data: Likewise.
40704         * conform/data/sys/ipc.h-data: Likewise.
40705         * conform/data/sys/mman.h-data: Likewise.
40706         * conform/data/sys/msg.h-data: Likewise.
40707         * conform/data/sys/resource.h-data: Likewise.
40708         * conform/data/sys/select.h-data: Likewise.
40709         * conform/data/sys/sem.h-data: Likewise.
40710         * conform/data/sys/shm.h-data: Likewise.
40711         * conform/data/sys/socket.h-data: Likewise.
40712         * conform/data/sys/stat.h-data: Likewise.
40713         * conform/data/sys/statvfs.h-data: Likewise.
40714         * conform/data/sys/time.h-data: Likewise.
40715         * conform/data/sys/timeb.h-data: Likewise.
40716         * conform/data/sys/times.h-data: Likewise.
40717         * conform/data/sys/types.h-data: Likewise.
40718         * conform/data/sys/uio.h-data: Likewise.
40719         * conform/data/sys/un.h-data: Likewise.
40720         * conform/data/sys/utsname.h-data: Likewise.
40721         * conform/data/sys/wait.h-data: Likewise.
40722         * conform/data/syslog.h-data: Likewise.
40723         * conform/data/tar.h-data: Likewise.
40724         * conform/data/termios.h-data: Likewise.
40725         * conform/data/utime.h-data: Likewise.
40726         * conform/data/utmpx.h-data: Likewise.
40727         * conform/data/varargs.h-data: Likewise.
40728         * conform/data/wchar.h-data: Likewise.
40729         * conform/data/wctype.h-data: Likewise.
40730         * conform/data/wordexp.h-data: Likewise.
40732         * include/stropts.h: New file.
40733         * include/uchar.h: New file.
40734         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40735         * include/assert.h: Likewise.
40736         * include/ctype.h: Likewise.
40737         * include/dirent.h: Likewise.
40738         * include/dlfcn.h: Likewise.
40739         * include/fcntl.h: Likewise.
40740         * include/fnmatch.h: Likewise.
40741         * include/glob.h: Likewise.
40742         * include/grp.h: Likewise.
40743         * include/libio.h: Likewise.
40744         * include/locale.h: Likewise.
40745         * include/math.h: Likewise.
40746         * include/net/if.h: Likewise.
40747         * include/netdb.h: Likewise.
40748         * include/netinet/in.h: Likewise.
40749         * include/pthread.h: Likewise.
40750         * include/pwd.h: Likewise.
40751         * include/regex.h: Likewise.
40752         * include/sched.h: Likewise.
40753         * include/search.h: Likewise.
40754         * include/setjmp.h: Likewise.
40755         * include/signal.h: Likewise.
40756         * include/stdio.h: Likewise.
40757         * include/stdlib.h: Likewise.
40758         * include/string.h: Likewise.
40759         * include/sys/cdefs.h: Likewise.
40760         * include/sys/mman.h: Likewise.
40761         * include/sys/msg.h: Likewise.
40762         * include/sys/resource.h: Likewise.
40763         * include/sys/select.h: Likewise.
40764         * include/sys/socket.h: Likewise.
40765         * include/sys/stat.h: Likewise.
40766         * include/sys/statvfs.h: Likewise.
40767         * include/sys/time.h: Likewise.
40768         * include/sys/times.h: Likewise.
40769         * include/sys/uio.h: Likewise.
40770         * include/sys/utsname.h: Likewise.
40771         * include/sys/wait.h: Likewise.
40772         * include/termios.h: Likewise.
40773         * include/time.h: Likewise.
40774         * include/ulimit.h: Likewise.
40775         * include/unistd.h: Likewise.
40776         * include/utime.h: Likewise.
40777         * include/wchar.h: Likewise.
40778         * include/wctype.h: Likewise.
40779         * include/wordexp.h: Likewise.
40781         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40783         * time/time.h: TIME_UTC must be a macro.
40784         Make timespec_get available for ISO C11 only as well.
40786 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40788         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40789         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40791 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40793         * configure.in: Use -o not -a in test for unsupported multi-arch.
40795 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40797         * manual/texinfo.tex: Update to version 2012-01-19.16.
40799 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40801         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40803 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40805         [BZ #13738]
40806         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40807         * manual/fdl-1.3.texi: New file.
40808         * manual/fdl-1.1.texi: File removed.
40810         [BZ #13738]
40811         * manual/libc.texinfo (FDL_VERSION): New @set.
40812         Use it for mention of FDL in cover text.
40813         (Documentation License): Use it in @include file name.
40815 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40816             Roland McGrath  <roland@hack.frob.com>
40818         [BZ #5461]
40819         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40820         (not LONG_LONG_MAX and LONG_LONG_MIN.
40821         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40822         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40823         name.
40824         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40826 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40828         [BZ #2547]
40829         [BZ #11365]
40830         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40831         manipulate bits before adding and subtracting TWO23[sx].
40832         * math/libm-test.inc (nearbyint_test): Add more tests.
40834 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40836         [BZ #2548]
40837         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40838         bits before adding and subtracting TWO23[sx].
40839         * math/libm-test.inc (rint_test): Add more tests.
40840         (rint_test_tonearest): Likewise.
40841         (rint_test_towardzero): Likewise.
40842         (rint_test_downward): Likewise.
40843         (rint_test_upward: Likewise.
40845 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40847         [BZ #10110]
40848         * include/stdc-predef.h: New file.  Extracted from features.h.
40849         * include/features.h: Include stdc-predef.h.
40850         * Makefile (headers): Add stdc-predef.h.
40851         * CONFORMANCE (Compiler limitations): Update.
40853 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40855         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40857 2012-02-21  David S. Miller  <davem@davemloft.net>
40859         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40860         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40862 2012-02-20  David S. Miller  <davem@davemloft.net>
40864         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40865         using a normal save/restore sequence, rather than allocating a
40866         dummy stack frame just to store a frame pointer and restore.
40867         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40869 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40871         * manual/install.texi: Fix stray word in line-wrapped comment.
40873 2012-02-20  David S. Miller  <davem@davemloft.net>
40875         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40876         both binutils and gcc support GOTDATA.
40878         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40879         "rd %pc" in the PIC register setup sequences.
40881         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40882         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40883         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40884         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40885         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40886         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40887         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40888         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40890         (SYSCALL_ERROR_HANDLER): Likewise.
40891         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40892         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40893         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40894         (SYSCALL_ERROR_HANDLER): Likewise.
40896         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40897         (HAVE_GCC_GOTDATA): New.
40898         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40899         relocation support in both binutils and gcc.
40900         * sysdeps/sparc/elf/configure: Regenerate.
40902         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40903         * sysdeps/sparc/sparc32/elf/configure: Delete.
40904         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40905         * sysdeps/sparc/sparc64/elf/configure: Delete.
40906         * sysdeps/sparc/elf/configure.in: New file.
40907         * sysdeps/sparc/elf/configure: Generate.
40909         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40910         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40911         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40912         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40913         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40915 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40917         * manual/install.texi: Do not mention specific glibc version
40918         numbers.
40919         * manual/libc.texinfo (VERSION, UPDATED): Update.
40920         (@copying): Use @copyright{} and range of years.
40922 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40924         [BZ #13695]
40925         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40926         [crti.S not in sysdirs] (generated): Do not append.
40927         [crti.S not in sysdirs] (omit-deps): Likewise.
40928         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40929         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40930         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40931         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40932         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40933         Likewise.
40934         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40935         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40936         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40937         * csu/defs.awk: Remove file.
40938         * sysdeps/generic/initfini.c: Likewise.
40939         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40940         variable.
40941         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40942         Likewise.
40944 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40946         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40947         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40948         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40949         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40950         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40951         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40952         <bits/epoll.h>.
40953         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40954         (__EPOLL_PACKED): Define to empty if not defined by
40955         <bits/epoll.h>.
40956         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40958         bits/epoll.h.
40960 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40962         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40963         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40964         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40965         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40966         <bits/timerfd.h>.
40967         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40969         bits/timerfd.h.
40971 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40973         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40974         in C locale.
40975         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40976         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40977         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40980 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40982         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40983         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40985 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40987         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40988         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40989         defined.
40990         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40991         Likewise.
40992         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40993         entry for 2.16.
40995 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40997         * math/w_acos.c: Use non-signaling floating-point comparisons.
40998         * math/w_acosf.c: Likewise.
40999         * math/w_acosh.c: Likewise.
41000         * math/w_acoshf.c: Likewise.
41001         * math/w_acoshl.c: Likewise.
41002         * math/w_acosl.c: Likewise.
41003         * math/w_asin.c: Likewise.
41004         * math/w_asinf.c: Likewise.
41005         * math/w_asinl.c: Likewise.
41006         * math/w_atanh.c: Likewise.
41007         * math/w_atanhf.c: Likewise.
41008         * math/w_atanhl.c: Likewise.
41009         * math/w_exp2.c: Likewise.
41010         * math/w_exp2f.c: Likewise.
41011         * math/w_exp2l.c: Likewise.
41012         * math/w_j0.c: Likewise.
41013         * math/w_j0f.c: Likewise.
41014         * math/w_j0l.c: Likewise.
41015         * math/w_j1.c: Likewise.
41016         * math/w_j1f.c: Likewise.
41017         * math/w_j1l.c: Likewise.
41018         * math/w_jn.c: Likewise.
41019         * math/w_jnf.c: Likewise.
41020         * math/w_log.c: Likewise.
41021         * math/w_log10.c: Likewise.
41022         * math/w_log10f.c: Likewise.
41023         * math/w_log10l.c: Likewise.
41024         * math/w_log2.c: Likewise.
41025         * math/w_log2f.c: Likewise.
41026         * math/w_log2l.c: Likewise.
41027         * math/w_logf.c: Likewise.
41028         * math/w_logl.c: Likewise.
41029         * math/w_sqrt.c: Likewise.
41030         * math/w_sqrtf.c: Likewise.
41031         * math/w_sqrtl.c: Likewise.
41032         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41033         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41034         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41035         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41036         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41038 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41040         [BZ #9739]
41041         * manual/string.texi (strnlen): Use correct parameter name in
41042         equivalent expression.
41044 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41046         [BZ #11174]
41047         * manual/users.texi (seteuid): Consistently use neweuid for
41048         argument name.
41050 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41052         [BZ #13704]
41053         * manual/nss.texi (Services in the NSS configuration): Correct
41054         list of services in example configuration file.
41056 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41058         [BZ #11322]
41059         * manual/arith.texi: Remove statements about negative zero
41060         behaving identically to zero.
41062 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41064         [BZ #5993]
41065         * manual/install.texi: Do not document upgrading from libc5.
41067 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41069         [BZ #4596]
41070         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41072 2012-02-18  David S. Miller  <davem@davemloft.net>
41074         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41075         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41076         %o7 across the call.
41077         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41078         instead.
41079         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41080         SETUP_PIC_REG_LEAF.
41081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41082         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41083         * sysdeps/sparc/crtn.S: Likewise.
41085 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41087         * aout/Makefile: Remove.
41089 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41091         [BZ #13058]
41092         * manual/examples/argp-ex1.c (main): Format definition in GNU
41093         style.
41094         * manual/examples/argp-ex2.c (main): Likewise.
41095         * manual/examples/argp-ex3.c (main): Likewise.
41096         * manual/examples/argp-ex4.c (main): Likewise.
41097         * manual/examples/longopt.c (main): Use new-style prototype
41098         definition.
41099         * manual/examples/strncat.c (main): Specify return type and use
41100         (void) for arguments.
41101         * manual/examples/subopt.c (main): Use char **argv argument.
41103 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41105         [BZ #5077]
41106         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41107         rounding modes.
41109 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41111         [BZ #6907]
41112         * manual/string.texi (strchr): Change when strchrnul is
41113         recommended.
41115 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41117         [BZ #174]
41118         * manual/locale.texi (setlocale): Document LOCPATH.
41120 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41122         [BZ #10210]
41123         * manual/process.texi (execle): Move @dots{} before last argument.
41125 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41127         [BZ #12047]
41128         * manual/charset.texi (Generic Charset Conversion): Fix typo
41129         (LC_TYPE -> LC_CTYPE).
41131 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41133         [BZ #5805]
41134         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41135         (scalbnf): Likewise.
41136         (scalbnl): Likewise.
41137         (scalbln): Likewise.
41138         (scalblnf): Likewise.
41139         (scalblnl): Likewise.
41140         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41141         (vwarnx): Likewise.
41142         (verr): Likewise.
41143         (verrx): Likewise.
41144         * manual/filesys.texi (telldir): Use braces around return type.
41145         * manual/llio.texi (mmap): Add space after comma.
41146         (mmap64): Likewise.
41147         * manual/math.texi (jn): Use @var{} on parameter names.
41148         (jnf): Likewise.
41149         (jnl): Likewise.
41150         (yn): Likewise.
41151         (ynf): Likewise.
41152         (ynl): Likewise.
41153         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41154         line.
41155         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41156         "...".
41157         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41158         (sched_get_priority_max): Likewise.
41159         * manual/signal.texi (sigvec): Add space after comma.
41160         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41161         names.
41162         (if_indextoname): Likewise.
41163         (if_freenameindex): Likewise.
41164         (sendto): Use ',' instead of '.' in prototype.
41165         * manual/startup.texi (syscall): Use @dots{} instead of literal
41166         "...".
41167         * manual/stdio.texi (__fpending): Separate initial words of
41168         paragraph from @deftypefun line.
41169         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41170         "...".
41171         (vsyslog): Use @var{} on parameter names.
41172         * manual/terminal.texi (stty): Use @var{} on parameter names.
41173         * manual/users.texi (getutmp): Use @var{} on parameter names.
41174         (getutmpx): Likewise.
41176 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41178         [BZ #6884]
41179         * manual/stdio.texi (fopen): Fix typos in description of
41180         ",ccs=STRING".
41182 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41184         [BZ #4026]
41185         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41186         get clock_id definition.
41188 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41190         [BZ #4822]
41191         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41192         (madvise): Cast every argument to void on its own.
41194 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41196         [BZ #9902]
41197         * manual/startup.texi (Exit Status): Fix typo.
41199 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41201         [BZ #10140]
41202         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41203         * manual/examples/argp-ex2.c: Likewise.
41204         * manual/examples/argp-ex3.c: Likewise.
41206 2012-02-16  Richard Henderson  <rth@redhat.com>
41208         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41209         * sysdeps/s390/s390-32/initfini.c: Remove.
41210         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41211         * sysdeps/s390/s390-64/initfini.c: Remove.
41213 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41215         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41216         compiler output for sysdeps/generic/initfini.c.
41217         * sysdeps/sh/elf/initfini.c: Remove file.
41219 2012-02-16  David S. Miller  <davem@davemloft.net>
41221         [BZ #11494]
41222         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41224         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41225         * sysdeps/sparc/crti.S: New file.
41226         * sysdeps/sparc/crtn.S: New file.
41227         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41228         * sysdeps/sparc/sparc64/Makefile: Likewise.
41230 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41232         [BZ #3335]
41233         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41235 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41237         [BZ #4822]
41238         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41240         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41241         (write, read, close): Likewise.
41242         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41244 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41246         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41247         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41248         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41249         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41250         <bits/signalfd.h>.
41251         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41253         bits/signalfd.h.
41255 2012-02-14  Marek Polacek  <polacek@redhat.com>
41257         * sysdeps/x86_64/crti.S: New file.
41258         * sysdeps/x86_64/crtn.S: New file.
41259         * sysdeps/x86_64/elf/initfini.c: Remove file.
41261 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41263         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41264         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41265         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41266         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41267         <bits/inotify.h>.
41268         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41270         bits/inotify.h.
41272 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41274         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41275         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41276         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41277         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41278         <bits/eventfd.h>.
41279         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41281         bits/eventfd.h.
41283 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41285         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41286         __feraiseexcept instead of feraiseexcept.
41288         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41289         nanosleep invocations.
41290         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41291         strings, and add error checking for a nanosleep invocations.
41293 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41295         Replace FSF snail mail address with URLs, as per GNU coding standards.
41296         Most of the snail mail addresses were wrong anyway, and omitting
41297         them makes the source code easier to maintain.  Almost all of the
41298         changes are to license notices and to locale LC_IDENTIFICATION
41299         addresses, except for this one:
41300         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41301         not its snail mail address.
41303 2012-02-09  Richard Henderson  <rth@twiddle.net>
41305         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41306         of kernel-features.h.
41308         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41310 2012-02-08  Marek Polacek  <polacek@redhat.com>
41312         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41313         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41314         * sysdeps/gnu/_G_config.h: Likewise.
41315         * sysdeps/generic/_G_config.h: Likewise.
41317 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41319         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41320         tests.
41321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41323         * sysdeps/powerpc/powerpc32/crti.S: New file.
41324         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41325         * sysdeps/powerpc/powerpc64/crti.S: New file.
41326         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41328         * Makeconfig (have-initfini): Don't set.
41329         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41330         * configure.in (nopic_initfini): Don't substitute.
41331         * config.h.in (HAVE_INITFINI): Don't #undef.
41332         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41333         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41335 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41337         Support crti.S and crtn.S provided directly by architectures.
41338         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41339         [crti.S in sysdirs] (omit-deps): Likewise.
41340         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41341         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41342         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41343         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41344         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41345         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41346         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41347         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41348         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41349         compiler output for sysdeps/generic/initfini.c.
41350         * sysdeps/i386/elf/Makefile: Remove file.
41351         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41353 2012-02-07  Marek Polacek  <polacek@redhat.com>
41355         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41356         * sysdeps/gnu/_G_config.h: Likewise.
41357         * sysdeps/mach/hurd/_G_config.h: Likewise.
41359 2012-02-07  Marek Polacek  <polacek@redhat.com>
41361         * math/Makefile (tests): Add tst-CMPLX2.
41362         * math/tst-CMPLX2.c: New file.
41364 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41366         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41368         * math/libm-test.inc (jn_test): Add missing L suffix.
41370 2012-02-06  Marek Polacek  <polacek@redhat.com>
41372         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41373         * sysdeps/i386/fpu/e_powf.S: Likewise.
41374         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41375         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41376         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41377         * sysdeps/i386/fpu/e_pow.S: Likewise.
41378         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41379         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41380         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41381         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41382         * sysdeps/i386/fpu/e_log2.S: Likewise.
41383         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41384         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41385         * sysdeps/i386/fpu/e_powl.S: Likewise.
41386         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41387         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41388         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41389         * sysdeps/i386/fpu/e_logl.S: Likewise.
41390         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41391         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41392         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41393         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41394         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41395         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41396         * sysdeps/i386/fpu/e_log.S: Likewise.
41397         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41398         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41399         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41400         * sysdeps/i386/fpu/e_logf.S: Likewise.
41401         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41402         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41403         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41404         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41405         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41406         * sysdeps/i386/fpu/e_log10.S: Likewise.
41407         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41408         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41409         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41410         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41411         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41412         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41413         * sysdeps/i386/asm-syntax.h: Likewise.
41414         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41415         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41416         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41417         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41418         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41419         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41420         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41421         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41422         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41423         * sysdeps/powerpc/sysdep.h: Likewise.
41424         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41425         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41427 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41429         [BZ #411]
41430         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41432 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
41434         * sysdeps/i386/sysdep.h: Include <features.h>.
41435         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41436         version.
41438 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
41440         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41441         Define.
41442         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41443         LOAD_PIC_REG_STR.
41445 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41447         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41448         (SETUP_PIC_REG): Use GET_PC_THUNK.
41449         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41450         macro.
41452 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41454         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41455         for non-PIC compilation.
41456         (SETUP_PIC_REG): Add .p2align directive.
41457         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41458         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41459         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41460         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41461         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41462         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41463         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41464         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41465         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41466         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41467         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41468         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41469         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41470         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41471         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41472         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41473         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41474         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41475         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41476         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41477         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41478         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41479         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41480         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41481         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41482         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41483         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41484         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41485         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41486         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41487         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41488         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41489         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41490         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41491         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41492         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41493         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41494         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41495         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41496         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41497         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41499 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
41501         * math/tst-CMPLX.c: Include <stdio.h>.
41503 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
41505         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41506         float.
41507         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41508         * sysdeps/sparc/bits/mathdef.h: Likewise.
41510 2012-01-31  Marek Polacek  <polacek@redhat.com>
41512         * libio/libio.h: Don't define _PARAMS.
41513         * locale/programs/config.h: Don't define PARAMS.
41514         * stdlib/strtol_l.c: Likewise.
41515         (__strtol_l): Remove PARAMS from the prototype.
41517 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
41519         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
41520         names.  Just use the correct names.  Remove unnecessary wrapper
41521         functions.
41522         * malloc/arena.c: Likewise.
41523         * malloc/hooks.c: Likewise.
41525         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41526         ARENA_TEST says not to.  Simplify test for creation of a new arena.
41527         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41529 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
41531         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41532         into tail calls.
41533         (update_get_addr): New function.
41534         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41535         GET_ADDR_MODULE parameter.
41537 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41539         * crypt/cert.c: Remove __STDC__ conditionals.
41540         * crypt/crypt-entry.c: Likewise.
41541         * crypt/crypt_util.c: Likewise.
41542         * libio/filedoalloc.c: Likewise.
41543         * libio/fileops.c: Likewise.
41544         * libio/genops.c: Likewise.
41545         * libio/iofclose.c: Likewise.
41546         * libio/iofdopen.c: Likewise.
41547         * libio/iofopen.c: Likewise.
41548         * libio/iofopen64.c: Likewise.
41549         * libio/iogetdelim.c: Likewise.
41550         * libio/iopopen.c: Likewise.
41551         * libio/obprintf.c: Likewise.
41552         * libio/oldfileops.c: Likewise.
41553         * libio/oldiofclose.c: Likewise.
41554         * libio/oldiofdopen.c: Likewise.
41555         * libio/oldiofopen.c: Likewise.
41556         * libio/oldiopopen.c: Likewise.
41557         * libio/wfiledoalloc.c: Likewise.
41558         * libio/wgenops.c: Likewise.
41559         * locale/programs/xmalloc.c: Likewise.
41560         * misc/syslog.c: Likewise.
41561         * stdio-common/xbug.c: Likewise.
41562         * string/memchr.c: Likewise.
41563         * string/memcmp.c: Likewise.
41564         * string/memrchr.c: Likewise.
41565         * string/rawmemchr.c: Likewise.
41566         * sysdeps/posix/getcwd.c: Likewise.
41567         * time/strftime_l.c: Likewise.
41569 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
41571         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41572         * config.make.in (config-cflags-sse2avx): Define.
41573         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41574         Fix typo.
41576 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
41578         * scripts/config.guess: Update from upstream config git repository.
41579         * scripts/config.sub: Likewise.
41581 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
41583         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41584         (EM_NUM): Update.
41585         (R_TILEPRO_*, R_TILEGX_*): New macros.
41587         * scripts/firstversions.awk: Fix bug in version range handling.
41589         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41591         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41593         * include/sys/epoll.h: New file.
41594         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41595         libc_hidden_def.
41597 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
41599         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41600         Avoid unnecessary __WORDSIZE == 64 test.
41601         (fmaxf): Use VEX format if possible.
41602         (fmax): Likewise.
41603         (fminf): Likewise.
41604         (fmin): Likewise.
41606         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41607         * math/math_private.h: Remove libc_fegetround* and
41608         libc_fesetround*.
41609         * sysdeps/i386/configure.in: Check for -msse2avx.
41610         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41611         also if SSE2AVX is defined.
41612         Remove libc_fegetround* and libc_fesetround*.
41613         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41614         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
41615         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41616         of HAS_YMM_USABLE.
41617         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41618         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41619         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41620         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41621         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41623         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41625 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41627         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41628         size is not set.
41629         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41631 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
41633         [BZ #13618]
41634         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41635         relocation.
41636         * Makeconfig (libm): Define.
41637         * elf/Makefile: Add rules to build and run tst-relsort1.
41638         * elf/tst-relsort1.c: New file.
41639         * elf/tst-relsort1mod1.c: New file.
41640         * elf/tst-relsort1mod2.c: New file.
41642 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
41644         * math/s_ldexp.c: Remove __STDC__ conditionals.
41645         * math/s_ldexpf.c: Likewise.
41646         * math/s_ldexpl.c: Likewise.
41647         * math/s_nextafter.c: Likewise.
41648         * math/s_nexttowardf.c: Likewise.
41649         * math/s_significand.c: Likewise.
41650         * math/s_significandf.c: Likewise.
41651         * math/s_significandl.c: Likewise.
41652         * math/w_jnl.c: Likewise.
41653         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41654         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41655         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41656         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41657         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41658         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41659         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41660         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41661         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41662         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41663         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41664         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41665         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41666         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41667         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41668         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41669         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41670         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41671         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41672         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41673         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41674         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41675         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41676         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41677         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41678         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41679         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41680         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41681         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41682         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41683         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41684         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41685         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41686         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41687         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41688         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41689         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41690         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41691         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41692         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41693         * sysdeps/ieee754/k_standard.c: Likewise.
41694         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41695         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41696         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41697         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41698         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41699         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41700         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41701         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41702         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41703         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41704         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41705         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41706         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41707         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41708         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41709         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41710         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41711         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41712         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41713         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41714         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41715         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41716         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41717         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41718         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41719         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41720         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41721         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41722         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41723         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41724         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41725         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41726         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41727         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41728         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41729         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41730         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41731         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41732         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41733         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41734         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41735         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41736         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41737         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41738         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41739         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41740         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41741         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41742         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41743         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41744         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41745         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41746         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41747         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41748         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41749         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41750         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41751         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41752         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41753         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41754         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41755         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41756         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41757         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41758         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41759         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41760         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41761         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41762         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41763         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41764         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41765         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41766         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41767         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41768         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41769         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41770         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41771         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41772         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41773         * sysdeps/ieee754/s_matherr.c: Likewise.
41774         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41775         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41776         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41777         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41779 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41781         * crypt/md5.h: Remove __STDC__ conditionals.
41782         * libio/libioP.h: Likewise.
41783         * locale/programs/config.h: Likewise.
41784         * sysdeps/generic/sysdep.h: Likewise.
41785         * sysdeps/i386/asm-syntax.h: Likewise.
41786         * sysdeps/s390/asm-syntax.h: Likewise.
41787         * sysdeps/unix/sysdep.h: Likewise.
41788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41791 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41793         * libio/libio.h: Remove __STDC__ conditionals.
41794         * malloc/obstack.h: Likewise.
41795         * math/complex.h: Likewise.
41796         * math/math.h: Likewise.
41797         * sysdeps/generic/_G_config.h: Likewise.
41798         * sysdeps/gnu/_G_config.h: Likewise.
41799         * sysdeps/mach/hurd/_G_config.h: Likewise.
41800         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41801         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41802         * sysdeps/sparc/bits/mathdef.h: Likewise.
41804 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41806         [BZ #13583]
41807         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41808         Clean up HAS_* macros.
41809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41810         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41811         possible.
41812         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41813         HAS_AVX.
41814         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41815         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41816         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41817         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41818         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41820 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41822         * elf/tst-unique3.cc (gets): Remove declaration.
41823         * elf/tst-unique3lib.cc (gets): Likewise.
41824         * elf/tst-unique3lib2.cc (gets): Likewise.
41825         * elf/tst-unique4.cc (gets): Likewise.
41827 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41829         * include/stdio.h: Add C++ protection.  Add gets declarations and
41830         definitions.
41831         * debug/tst-chk1.c: Don't declare gets here.
41832         * stdio-common/tst-gets.c: Likewise.
41834 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41836         * posix/glob: Remove directory.
41838 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41840         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41842 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41844         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41845         of the non-standard EPFNOSUPPORT.
41847 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41849         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41850         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41851         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41853 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41855         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41857 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41859         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41860         transient errors.
41861         * nscd/grpcache.c (cache_addgr): Likewise.
41862         * nscd/hstcache.c (cache_addhst): Likewise.
41863         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41864         * nscd/pwdcache.c (cache_addpw): Likewise.
41865         * nscd/servicescache.c (cache_addserv): Likewise.
41867 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41869         * malloc/malloc.c: Various cleanups.
41870         * malloc/hooks.c: Likewise.
41872         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41873         * stdlib/bug-fmtmsg1.c: New file.
41875         * stdlib/fmtmsg.c (init): Add missing unlock.
41876         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41878 2012-01-12  Marek Polacek  <polacek@redhat.com>
41880         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41881         and _GNU_SOURCE.
41883 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41885         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41886         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41887         macro to ensure uniqueness of label name.
41888         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41889         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41891 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41893         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41895         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41896         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41897         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41898         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41900 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41902         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41904         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41905         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41906         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41908         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41910         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41911         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41912         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41913         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41915         * math/bits/math-finite.h: Add ldexp support.
41917 2012-01-10  Marek Polacek  <polacek@redhat.com>
41919         * locale/programs/localedef.h (show_archive_content): Add noreturn
41920         attribute.
41922 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41924         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41926 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41928         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41930         * io/Makefile (headers): Add bits/poll2.h.
41932 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41935         typo #include statement.
41937 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41939         * include/sys/cdefs.h: Define __attribute_alloc_size.
41940         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41941         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41942         * elf/pldd.c: Likewise.
41943         * iconv/iconv_charmap.c: Likewise.
41944         * iconv/iconvconfig.c: Likewise.
41945         * iconv/strtab.c: Likewise.
41946         * locale/programs/locale.c: Likewise.
41947         * locale/programs/localedef.h: Likewise.
41948         * locale/programs/simple-hash.c: Likewise.
41949         * nscd/nscd.h: Likewise.
41950         * nss/makedb.c: Likewise.
41951         * sysdeps/generic/ldconfig.h: Likewise.
41952         * locale/programs/localedef.c: Remove xmalloc prototype.
41953         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41955 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41957         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41958         appropriate.
41960 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41962         * math/Makefile (tests): Add tst-CMPLX.
41963         * math/tst-CMPLX.c: New file.
41965         * math/complex.h (CMPLXL): Fix typo.
41967         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41968         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41969         GLIBC_2.16.
41970         * debug/tst-chk1.c: Add poll and ppoll tests.
41971         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41972         * include/sys/poll.h: Add hidden proto for ppoll.
41973         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41974         * sysdeps/mach/hurd/ppoll.c: Likewise.
41975         * io/ppoll.c: Likewise.
41976         * debug/poll_chk.c: New file.
41977         * debug/ppoll_chk.c: New file.
41978         * include/bits/poll2.h: New file.
41979         * io/bits/poll2.h: New file.
41981         [BZ #1350]
41982         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41984         * configure.in: static is always set to yes.  Remove.
41985         * config.make.in: Don't set build-static.
41986         * Makeconfig: Remove use of build-static.
41987         * dlfcn/Makefile: Likewise.
41988         * elf/Makefile: Likewise.
41989         * math/Makefile: Likewise.
41990         * misc/Makefile: Likewise.
41991         * nptl/Makefile: Likewise.
41992         * sysdeps/mach/hurd/Makefile: Likewise.
41994         * configure.in: PWD_P is not used anymore.
41995         * config.make.in: Remove PWD_P entry.
41997         * configure.in: Remove last remnants of RANLIB.
41998         No need to check for signed size_t anymore.
41999         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42000         and IA-64.
42001         Remove __builtin_expect test because we require at least gcc 3.4.
42002         * aclocal.m4: Likewise.
42004         * wcsmbs/mbrtoc16.c: Implement using towc function.
42005         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42006         * wcsmbs/wcsmbsload.c: Likewise.
42007         * iconv/gconv_simple.c: Likewise.
42008         * iconv/gconv_int.h: Likewise.
42009         * iconv/gconv_builtin.h: Likewise.
42010         * iconv/iconv_prog.c: Remove CHAR16 handling.
42012         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42014         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42016         * configure.in: Remove --with-elf and --enable-bounded options.
42017         Dont set base_machine for ia64.  More non-ELF conditions removed.
42018         Remove testing and setting of leading underscore information.
42019         * config.make.in (build-bounded): Set to no.
42020         * config.h.in: Remove NO_UNDERSCORES entry.
42021         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42022         them.
42023         * csu/start.c: Remove !NO_UNDERSCORE code.
42024         * locale/localeinfo.h: Likewise.
42025         * sysdeps/generic/machine-gmon.h: Likewise.
42026         * sysdeps/generic/sysdep.h: Likewise.
42027         * sysdeps/i386/sysdep.h: Likewise.
42028         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42029         * sysdeps/mach/sysdep.h: Likewise.
42030         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42031         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42032         * sysdeps/sh/sysdep.h: Likewise.
42033         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42034         * sysdeps/unix/i386/sysdep.S: Likewise.
42035         * sysdeps/unix/sparc/start.c: Likewise.
42036         * sysdeps/unix/sparc/sysdep.S: Likewise.
42037         * sysdeps/unix/sparc/sysdep.h: Likewise.
42038         * sysdeps/unix/start.c: Likewise.
42039         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42040         * sysdeps/x86_64/sysdep.h: Likewise.
42042 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42044         [BZ #13553]
42045         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42046         for non-gcc.
42047         * argp/argp-fmtstream.h: Use const instead __const.
42048         * argp/argp.h: Likewise.
42049         * assert/assert.h: Likewise.
42050         * bits/fenv.h: Likewise.
42051         * bits/sched.h: Likewise.
42052         * bits/sigset.h: Likewise.
42053         * bits/sigthread.h: Likewise.
42054         * catgets/nl_types.h: Likewise.
42055         * conform/data/pthread.h-data: Likewise.
42056         * crypt/crypt-private.h: Likewise.
42057         * crypt/crypt.h: Likewise.
42058         * crypt/crypt_util.c: Likewise.
42059         * ctype/ctype.h: Likewise.
42060         * debug/execinfo.h: Likewise.
42061         * debug/mbsnrtowcs_chk.c: Likewise.
42062         * debug/mbsrtowcs_chk.c: Likewise.
42063         * debug/wcsnrtombs_chk.c: Likewise.
42064         * debug/wcsrtombs_chk.c: Likewise.
42065         * debug/wcstombs_chk.c: Likewise.
42066         * dirent/dirent.h: Likewise.
42067         * dlfcn/dlfcn.h: Likewise.
42068         * elf/neededtest4.c: Likewise.
42069         * grp/grp.h: Likewise.
42070         * gshadow/gshadow.h: Likewise.
42071         * iconv/gconv.h: Likewise.
42072         * iconv/gconv_int.h: Likewise.
42073         * iconv/gconv_simple.c: Likewise.
42074         * iconv/iconv.h: Likewise.
42075         * iconv/loop.c: Likewise.
42076         * iconv/skeleton.c: Likewise.
42077         * include/aio.h: Likewise.
42078         * include/aliases.h: Likewise.
42079         * include/argz.h: Likewise.
42080         * include/arpa/inet.h: Likewise.
42081         * include/assert.h: Likewise.
42082         * include/dirent.h: Likewise.
42083         * include/dlfcn.h: Likewise.
42084         * include/execinfo.h: Likewise.
42085         * include/fcntl.h: Likewise.
42086         * include/fenv.h: Likewise.
42087         * include/glob.h: Likewise.
42088         * include/grp.h: Likewise.
42089         * include/libintl.h: Likewise.
42090         * include/mntent.h: Likewise.
42091         * include/netdb.h: Likewise.
42092         * include/pwd.h: Likewise.
42093         * include/rpc/netdb.h: Likewise.
42094         * include/sched.h: Likewise.
42095         * include/search.h: Likewise.
42096         * include/shadow.h: Likewise.
42097         * include/signal.h: Likewise.
42098         * include/stdio.h: Likewise.
42099         * include/stdlib.h: Likewise.
42100         * include/string.h: Likewise.
42101         * include/sys/socket.h: Likewise.
42102         * include/sys/stat.h: Likewise.
42103         * include/sys/statfs.h: Likewise.
42104         * include/sys/statvfs.h: Likewise.
42105         * include/sys/syslog.h: Likewise.
42106         * include/sys/time.h: Likewise.
42107         * include/sys/uio.h: Likewise.
42108         * include/time.h: Likewise.
42109         * include/unistd.h: Likewise.
42110         * include/utmp.h: Likewise.
42111         * include/wchar.h: Likewise.
42112         * include/wctype.h: Likewise.
42113         * inet/aliases.h: Likewise.
42114         * inet/arpa/inet.h: Likewise.
42115         * inet/netinet/ether.h: Likewise.
42116         * inet/netinet/in.h: Likewise.
42117         * intl/libintl.h: Likewise.
42118         * io/bits/fcntl2.h: Likewise.
42119         * io/fcntl.h: Likewise.
42120         * io/ftw.h: Likewise.
42121         * io/sys/poll.h: Likewise.
42122         * io/sys/stat.h: Likewise.
42123         * io/sys/statfs.h: Likewise.
42124         * io/sys/statvfs.h: Likewise.
42125         * io/utime.h: Likewise.
42126         * libio/bits/stdio.h: Likewise.
42127         * libio/bits/stdio2.h: Likewise.
42128         * libio/libio.h: Likewise.
42129         * libio/libioP.h: Likewise.
42130         * libio/stdio.h: Likewise.
42131         * locale/lc-ctype.c: Likewise.
42132         * locale/locale.h: Likewise.
42133         * login/utmp.h: Likewise.
42134         * malloc/arena.c: Likewise.
42135         * malloc/malloc.c: Likewise.
42136         * malloc/malloc.h: Likewise.
42137         * malloc/mcheck.c: Likewise.
42138         * malloc/mtrace.c: Likewise.
42139         * math/bits/mathcalls.h: Likewise.
42140         * math/fenv.h: Likewise.
42141         * math/math_private.h: Likewise.
42142         * misc/bits/error.h: Likewise.
42143         * misc/bits/syslog.h: Likewise.
42144         * misc/err.h: Likewise.
42145         * misc/error.h: Likewise.
42146         * misc/fstab.h: Likewise.
42147         * misc/mntent.h: Likewise.
42148         * misc/regexp.h: Likewise.
42149         * misc/search.h: Likewise.
42150         * misc/sgtty.h: Likewise.
42151         * misc/sys/mman.h: Likewise.
42152         * misc/sys/syslog.h: Likewise.
42153         * misc/sys/uio.h: Likewise.
42154         * misc/sys/xattr.h: Likewise.
42155         * misc/ttyent.h: Likewise.
42156         * nis/rpcsvc/ypclnt.h: Likewise.
42157         * nss/nss.h: Likewise.
42158         * posix/bits/unistd.h: Likewise.
42159         * posix/fnmatch.h: Likewise.
42160         * posix/glob.h: Likewise.
42161         * posix/sched.h: Likewise.
42162         * posix/spawn.h: Likewise.
42163         * posix/sys/wait.h: Likewise.
42164         * posix/unistd.h: Likewise.
42165         * posix/wordexp.h: Likewise.
42166         * pwd/pwd.h: Likewise.
42167         * resolv/netdb.h: Likewise.
42168         * resource/sys/resource.h: Likewise.
42169         * rt/aio.h: Likewise.
42170         * rt/bits/mqueue2.h: Likewise.
42171         * rt/mqueue.h: Likewise.
42172         * shadow/shadow.h: Likewise.
42173         * signal/signal.h: Likewise.
42174         * socket/send.c: Likewise.
42175         * socket/sendto.c: Likewise.
42176         * socket/sys/socket.h: Likewise.
42177         * stdio-common/printf.h: Likewise.
42178         * stdlib/bits/stdlib.h: Likewise.
42179         * stdlib/fmtmsg.h: Likewise.
42180         * stdlib/monetary.h: Likewise.
42181         * stdlib/stdlib.h: Likewise.
42182         * stdlib/ucontext.h: Likewise.
42183         * streams/stropts.h: Likewise.
42184         * string/argz.h: Likewise.
42185         * string/bits/string2.h: Likewise.
42186         * string/string.h: Likewise.
42187         * string/strings.h: Likewise.
42188         * sunrpc/rpc/auth.h: Likewise.
42189         * sunrpc/rpc/auth_des.h: Likewise.
42190         * sunrpc/rpc/clnt.h: Likewise.
42191         * sunrpc/rpc/netdb.h: Likewise.
42192         * sunrpc/rpc/pmap_clnt.h: Likewise.
42193         * sunrpc/rpc/xdr.h: Likewise.
42194         * sysdeps/generic/inttypes.h: Likewise.
42195         * sysdeps/generic/net/if.h: Likewise.
42196         * sysdeps/generic/sys/swap.h: Likewise.
42197         * sysdeps/gnu/net/if.h: Likewise.
42198         * sysdeps/gnu/utmpx.h: Likewise.
42199         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42200         * sysdeps/i386/i486/bits/string.h: Likewise.
42201         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42202         * sysdeps/s390/bits/string.h: Likewise.
42203         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42204         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42205         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42206         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42207         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42208         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42209         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42210         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42211         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42212         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42213         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42214         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42215         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42216         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42217         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42218         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42219         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42220         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42221         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42222         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42223         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42224         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42225         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42226         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42227         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42228         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42229         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42230         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42231         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42232         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42233         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42234         * sysvipc/sys/ipc.h: Likewise.
42235         * sysvipc/sys/msg.h: Likewise.
42236         * sysvipc/sys/sem.h: Likewise.
42237         * sysvipc/sys/shm.h: Likewise.
42238         * termios/termios.h: Likewise.
42239         * time/sys/time.h: Likewise.
42240         * time/time.h: Likewise.
42241         * wcsmbs/bits/wchar2.h: Likewise.
42242         * wcsmbs/uchar.h: Likewise.
42243         * wcsmbs/wchar.h: Likewise.
42244         * wctype/wctype.h: Likewise.
42246         [BZ #13551]
42247         * Makeconfig: Remove all but ELF support including AIX support.
42248         * Makerules: Likewise.
42249         * config.h.in: Likewise.
42250         * config.make.in: Likewise.
42251         * configure: Likewise.
42252         * configure.in: Likewise.
42253         * csu/Makefile: Likewise.
42254         * csu/version.c: Likewise.
42255         * debug/Makefile: Likewise.
42256         * dlfcn/Makefile: Likewise.
42257         * elf/Makefile: Likewise.
42258         * extra-lib.mk: Likewise.
42259         * iconv/Makefile: Likewise.
42260         * include/libc-symbols.h: Likewise.
42261         * include/shlib-compat.h: Likewise.
42262         * resolv/Makefile: Likewise.
42263         * resolv/res_libc.c: Likewise.
42264         * rt/Makefile: Likewise.
42265         * sysdeps/i386/asm-syntax.h: Likewise.
42266         * sysdeps/i386/sysdep.h: Likewise.
42267         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42268         * sysdeps/mach/sysdep.h: Likewise.
42269         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42270         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42271         * sysdeps/s390/asm-syntax.h: Likewise.
42272         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42273         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42274         * sysdeps/sh/sysdep.h: Likewise.
42275         * sysdeps/unix/sparc/sysdep.h: Likewise.
42276         * sysdeps/wordsize-32/divdi3.c: Likewise.
42277         * sysdeps/x86_64/sysdep.h: Likewise.
42279         * argp/Versions: Remove _argp_unlock_xxx.
42281         [BZ #13559]
42282         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42283         * abilist/libBrokenLocale.abilist: Likewise.
42284         * abilist/libanl.abilist: Likewise.
42285         * abilist/libc.abilist: Likewise.
42286         * abilist/libcrypt.abilist: Likewise.
42287         * abilist/libdl.abilist: Likewise.
42288         * abilist/libm.abilist: Likewise.
42289         * abilist/libnsl.abilist: Likewise.
42290         * abilist/libpthread.abilist: Likewise.
42291         * abilist/libresolv.abilist: Likewise.
42292         * abilist/librt.abilist: Likewise.
42293         * abilist/libthread_db.abilist: Likewise.
42294         * abilist/libutil.abilist: Likewise.
42295         * abilist/libnss_db.abilist: New file.
42297         * scripts/abilist.awk: Add support for indirect functions.
42299         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42301         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42303         * shlib-versions: Remove entries for ports architectures.
42305         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42306         files in ports.
42307         * elf/stackguard-macros.h: Remove support for IA-64.
42308         * elf/tst-auditmod1.c: Likewise.
42309         * sysdeps/generic/ldsodefs.h: Likewise.
42311         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42312         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42313         configure files.
42315         [BZ #13552]
42316         * configure.in: Remove --enable-omitfp support.
42317         * FAQ.in: Adjust.
42318         * config.make.in: Likewise.
42319         * Makeconfig: Likewise.
42320         * manual/install.texi: Likewise.
42322         In case anyone cares, the IA-64 architecture could move to ports.
42323         * sysdeps/ia64/*: Removed.
42324         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42325         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42327         [BZ #13555]
42328         * configure.in: Remove entries for unsupported architectures.
42330         [BZ #13533]
42331         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42332         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42333         routines.
42334         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42335         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42336         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42337         fall back to using wcrtomb.
42338         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42339         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42340         renaming.
42341         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42342         * wcsmbs/tst-c16c32-1.c: New file.
42344         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42345         local variable.
42347         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42349         * elf/tst-unique3.cc: Add explicit declaration of gets.
42350         * elf/tst-unique3lib.cc: Likewise.
42351         * elf/tst-unique3lib2.cc: Likewise.
42352         * elf/tst-unique4.cc: Likewise.
42354         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42356 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42358         [BZ #13566]
42359         * assert/assert.h (static_assert): Don't define for C++.
42360         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42361         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42363 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42365         * iconv/loop.c (single loop): Fix assertion in storing of
42366         remaining bytes.
42368         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42370 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42372         * posix/getconf.c: Update copyright year.
42373         * nss/getent.c: Likewise.
42374         * nss/makedb.c: Likewise.
42375         * iconv/iconvconfig.c: Likewise.
42376         * iconv/iconv_prog.c: Likewise.
42377         * elf/ldconfig.c: Likewise.
42378         * elf/pldd.c: Likewise.
42379         * elf/sotruss.ksh: Likewise.
42380         * catgets/gencat.c: Likewise.
42381         * csu/version.c: Likewise.
42382         * elf/ldd.bash.in: Likewise.
42383         * elf/sprof.c (print_version): Likewise.
42384         * locale/programs/locale.c: Likewise.
42385         * locale/programs/localedef.c: Likewise.
42386         * login/programs/pt_chown.c: Likewise.
42387         * nscd/nscd.c (print_version): Likewise.
42388         * debug/xtrace.sh: Likewise.
42389         * malloc/memusage.sh: Likewise.
42390         * malloc/mtrace.pl: Likewise.
42391         * debug/catchsegv.sh: Likewise.
42393 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42395         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42396         pure attribute.
42398 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42400         [BZ #13533]
42401         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42402         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42403         transformations.
42404         * iconv/gconv_int.h: Likewise.
42405         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42406         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42407         from libc for GLIBC_2.16.
42408         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42409         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42410         * wcsmbs/uchar.h: Really define mbstate_t.
42411         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42412         * wcsmbs/c16rtomb.c: New file.
42413         * wcsmbs/mbrtoc16.c: New file.
42414         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42415         for C/POSIX locale.
42416         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42417         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42419         * wcsmbs/wchar.h: Add missing __restrict.
42421 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42423         [BZ #13532]
42424         * time/Makefile (routines): Add timespec_get.
42425         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42426         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
42427         timespec for ISO C11.
42428         * time/timespec_get.c: New file.
42429         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42430         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42432         [BZ #13531]
42433         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42434         * stdlib/stdlib.h: Declare aligned_alloc.
42435         * Versions.def: Add GLIBC_2.16 for libc.
42436         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42438         [BZ 13527]
42439         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42440         ISO C11.
42442         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42443         code.
42445         [BZ #13528]
42446         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42448         [BZ #13529]
42449         * assert/assert.h (static_assert): Define.
42451         * version.h: Update for 2.16 development version.
42453         [BZ #13526]
42454         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42455         _ISOC11_SOURCE.
42457         * version.h (RELEASE): Bump for 2.15 release.
42458         * include/features.h (__GLIBC_MINOR__): Bump to 15.
42460         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42461         Patch by Marek Polacek <mpolacek@redhat.com>.
42463         * bits/byteswap.h: Protect long long constants with __extension__.
42464         * sysdeps/i386/bits/byteswap.h: Likewise.
42465         * sysdeps/ia64/bits/byteswap.h: Likewise.
42466         * sysdeps/s390/bits/byteswap.h: Likewise.
42467         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42469 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42471         [BZ #13540]
42472         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42473         destination buffer.
42474         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42476 2011-12-23  Marek Polacek  <polacek@redhat.com>
42478         * elf/dl-addr.c (determine_info): Add inline keyword.
42479         * elf/tst-auditmod4b.c (check_avx): Likewise.
42480         * elf/tst-auditmod6b.c (check_avx): Likewise.
42481         * elf/tst-auditmod6c.c (check_avx): Likewise.
42482         * elf/tst-auditmod7b.c (check_avx): Likewise.
42484 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42486         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42487         !__SSE_MATH__.
42489 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42491         [BZ #13540]
42492         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42493         processing for last bytes.
42495 2011-08-06  Bruno Haible  <bruno@clisp.org>
42497         [BZ #13061]
42498         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42499         U+0385, not to U+1FEE.
42501         [BZ #13062]
42502         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42503         entry for U+00A5 U+0301.
42505 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42507         [BZ #13166]
42508         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42509         buffer for the output is too small.
42511         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42512         optimization.
42514         [BZ #13185]
42515         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42516         SSE flags if possible.
42518 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42520         [BZ #13540]
42521         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42522         processing for last bytes.
42524 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
42526         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42527         (syscall-list-default-options, syscall-list-default-condition)
42528         (syscall-list-includes): Define.
42529         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42530         list of ABIs and options and #if conditions for each ABI.  Do not
42531         handle common syscalls between ABIs specially.
42532         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42533         Remove.
42534         (syscall-list-variants, syscall-list-32bit-options)
42535         (syscall-list-32bit-condition, syscall-list-64bit-options)
42536         (syscall-list-64bit-condition): Define.
42537         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42538         (syscall-list-variants, syscall-list-32bit-options)
42539         (syscall-list-32bit-condition, syscall-list-64bit-options)
42540         (syscall-list-64bit-condition): Define.
42541         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42542         Remove.
42543         (syscall-list-variants, syscall-list-32bit-options)
42544         (syscall-list-32bit-condition, syscall-list-64bit-options)
42545         (syscall-list-64bit-condition): Define.
42546         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42547         Remove.
42548         (syscall-list-variants, syscall-list-32bit-options)
42549         (syscall-list-32bit-condition, syscall-list-64bit-options)
42550         (syscall-list-64bit-condition): Define.
42552 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
42554         * locale/iso-639.def: Add brx entry.
42556         [BZ #13328]
42557         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42558         Proposed by Mariusz_Cukr <marcukr@op.pl>.
42560         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42561         __feraiseexcept_renamed.
42563 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42565         [BZ #13538]
42566         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42567         EPOLLET with unsigned values.
42568         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42569         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42571         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42572         to large cancellation.
42573         * math/s_cacoshf.c: Likewise.
42574         * math/s_cacoshl.c: Likewise.
42576 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
42578         [BZ #13305]
42579         [BZ #12786]
42580         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42581         * math/s_cacoshf.c: Likewise.
42582         * math/s_cacoshl.c: Likewise.
42584 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
42586         [BZ #13439]
42587         * iconv/gconv.h: Define __GCONV_SWAP.
42588         * iconvdata/unicode.c: The swap bit must be stored in __flags.
42589         * iconvdata/utf-16.c: Likewise.
42590         * iconvdata/utf-32.c: Likewise.
42592 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42594         [BZ #13524]
42595         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42596         numerator after shifting it by one limb.
42598 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
42600         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42601         under [__USE_EXTERN_INLINES].
42603 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42605         [BZ #13446]
42606         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42608 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42610         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42611         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42612         optimized code.
42613         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42614         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42615         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42616         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42617         for strncasecmp/strncasecmp_l compilation.
42618         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42619         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42621 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
42623         [BZ #13484]
42624         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42625         of __asm__.
42627 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
42629         [BZ #13506]
42630         * time/tzfile.c (__tzfile_read): Check values from file header.
42632 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42634         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42635         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42636         * powerpc/powerpc32/dl-start.S: Likewise.
42637         * powerpc/powerpc32/elf/start.S: Likewise.
42638         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42639         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42640         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42641         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42642         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42643         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42644         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42645         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42646         * powerpc/powerpc32/fpu/s_round.S: Likewise.
42647         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42648         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42649         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42650         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42651         * powerpc/powerpc32/memset.S: Likewise.
42652         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42653         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42654         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42655         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42656         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42657         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42658         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42659         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42660         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42661         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42662         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42663         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42664         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42666 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42668         * math/libm-test.inc: Added more nearbyint tests.
42669         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42670         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42671         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42672         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42674 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42676         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42677         FD_CLOEXEC.
42679 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42681         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42682         Add wcscpy-ssse3 wcscpy-c.
42683         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42684         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42685         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42686         * sysdeps/x86_64/wcschr.S: New file.
42687         * sysdeps/x86_64/wcsrchr.S: New file.
42688         * string/test-strcmp.c: Remove checking of wcscmp function for
42689         wrong alignments.
42690         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42691         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42692         wcsrchr-sse2 wcsrchr-c.
42693         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42694         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42695         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42696         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42697         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42698         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42699         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42700         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42701         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42702         * wcsmbc/wcschr.c (WCSCHR): New macro.
42704 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42706         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42707         * wcsmbs/test-wcsrchr.c: New file.
42708         * string/test-strrchr.c: Add wcsrchr support.
42709         (WIDE): New macro.
42710         * wcsmbs/test-wcscpy.c: New file.
42711         * string/test-strcpy.c: Add wcscpy support.
42712         (WIDE): New macro.
42714 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42716         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42717         the inner loop.
42719 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42721         [BZ #13472]
42722         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42724 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42726         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42727         Minor optimizations.
42729         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42730         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42731         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42733 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42735         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42736         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42737         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42738         for gcc to avoid warnings.
42739         * inet/Makefile (tests): Add tst-checks.
42740         * inet/tst-checks.c: New file.
42742         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42743         warning.
42745         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42746         __wmemcmp_sse2.
42748         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42749         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42751         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42753 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42755         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42756         problem.
42758         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42760 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42762         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42763         conditional on GCC version.
42764         (__arch_compare_and_exchange_val_8_acq)
42765         (__arch_compare_and_exchange_val_16_acq)
42766         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42767         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42768         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42770 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42772         * sysdeps/sh/backtrace.c: New file.
42774 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42776         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42777         parenthesis.
42779 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42781         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42782         falling back to utime.
42784 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42786         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42787         expectations for float.
42789 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42791         * locale/weight.h (findidx): Add parameter len.
42792         * locale/weightwc.h (findidx): Likewise.
42793         * posix/fnmatch_loop.c (FCT): Adjust caller.
42794         * posix/regcomp.c (build_equiv_class): Likewise.
42795         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42796         * posix/regexec.c (check_node_accept_bytes): Likewise.
42797         * string/strcoll_l.c (STRCOLL): Likewise.
42798         * string/strxfrm_l.c (STRXFRM): Likewise.
42800 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42802         * Makefile.in: Remove CVSOPT handling.
42803         * configure.in: Remove use of AC_REVISION.
42804         * iconvdata/Makefile (distribute): No need to filter out CVS.
42805         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42806         handling.
42808 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42810         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42811         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42812         [USE_AS_STRNCASECMP_L]: Likewise.
42813         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42814         NO_TLS_DIRECT_SEG_REFS.
42815         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42816         Fix argument offsets for non-PIC.
42817         [USE_AS_STRNCASECMP_L]: Likewise.
42818         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42819         NO_TLS_DIRECT_SEG_REFS.
42821 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42823         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42824         O_CLOEXEC.
42825         * locale/loadlocale.c (_nl_load_locale): Likewise.
42827 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42829         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42830         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42831         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42832         (SYSCALL_GETTIME): Set errno on error.
42834         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42835         count references to noai6ai_cached.
42837 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42839         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42841         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42842         FD_CLOEXEC for /proc/self/maps.
42844         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42845         FD_CLOEXEC for /proc/meminfo.
42847         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42848         gai.conf.
42850         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42851         FD_CLOEXEC for given file.
42853         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42855         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42856         FD_CLOEXEC for /etc/hosts.
42857         (_gethtent): Likewise.
42859         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42861         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42862         cancellation and set FD_CLOEXEC for /etc/netgroup.
42864         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42865         reading /etc/publickey.
42867         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42868         allow cancellation when reading /etc/group.
42870         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42871         cancellation.
42872         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42874         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42875         when using data file.
42877         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42879         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42880         (write_nis_obj): Use "c" and "e" in fopen.
42882         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42884         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42886         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42888         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42890         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42891         locale.alias.
42893         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42895         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42897         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42899         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42900         file parsing and set FD_CLOEXEC.
42902 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42904         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42906 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42908         * malloc/arena.c (arena_get2): Don't call reused_arena when
42909         _int_new_arena failed.
42911 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42913         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42914         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42915         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42916         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42917         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42918         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42919         to compile strcasecmp and strncasecmp.
42920         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42921         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42923         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42925 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42927         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42928         locale-defines.sym to gen-as-const-headers.
42929         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42930         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42931         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42932         to compile strcasecmp and strncasecmp.
42933         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42934         strcasecmp_l and strncasecmp_l.
42935         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42936         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42937         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42938         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42939         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42940         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42941         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42942         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42943         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42944         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42945         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42947 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42949         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42950         result of SYSDEP_GETTIME_CPU to retval.
42951         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42952         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42954         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42955         variable.
42957         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42958         mantissa words.
42959         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42961         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42962         from unused variable.
42964         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42965         DWARF definitions.
42966         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42967         for assembling.
42969         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42970         over namespaces.
42972         * sunrpc/rpc_prot.c (rejected): Fix case value.
42974         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42975         unsigned long long int to avoid warnings in shift.
42977         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42978         of use of trans.
42979         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42980         variable tmp.
42982         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42983         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42984         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42986         * nis/nis_table.c (nis_list): Use variable of correct type for
42987         result of __follow_path call.
42989 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42991         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42992         of math functions ceil, trunc, floor, round, and sqrt, when
42993         avaliable on the platform.
42994         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42995         name clash.
42996         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42997         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42998         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43000 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43002         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43003         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43005 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43007         * include/unistd.h: Fix __readlink return type.
43008         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43010 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43012         * stdlib/ucontext.h: Undo last change for makecontext.
43014 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43016         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43018         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43019         * setjmp/setjmp.h: Mark functions as non-leaf.
43020         * setjmp/bits/setjmp2.h: Likewise.
43021         * stdlib/ucontext.h: Likewise.
43023 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43025         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43026         (reused_arena): Don't check arena limit.
43027         (arena_get2): Atomically check arena limit.
43029 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43031         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43032         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43034         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43035         instructions.
43037 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43039         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43040         handler when locking.
43042         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43043         Fix size of allocated buffer.
43045 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43047         [BZ #10103]
43048         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43049         declarations for long double functions.
43050         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43052         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43054 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43056         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43057         installed.
43059         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43060         is disabled.
43062 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43064         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43066 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43068         * include/alloca.h (stackinfo_alloca_round): Define.
43069         (extend_alloca): Use it.
43070         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43071         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43072         here.
43074         * scripts/check-local-headers.sh: Ignore libaudit.h.
43076         * nscd/Makefile (extra-objs): Make recursively expanded.
43078 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43080         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43081         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43083         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43084         * posix/tst-rfc3484-2.c: Likewise.
43085         * posix/tst-rfc3484-3.c: Likewise.
43087         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43088         process_vm_writev.
43089         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43090         process_vm_writev.
43091         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43092         process_vm_writev from libc using GLIBC_2.15 version.
43094         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43096 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43098         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43099         stack usage.
43101 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43103         [BZ #13367]
43104         * nss/getent.c (initgroups_keys): Show error message in case no group
43105         names are given.
43107         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43108         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43109         __bump_nl_timestamp.
43110         * nscd/connections (nscd_init): When host database is served open
43111         netlink socket and request notification about configuration changes.
43112         (main_loop_poll): Track netlink file descriptor and bump timestamp
43113         in case data becomes available.
43114         (main_loop_epoll): Likewise.
43115         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43116         (database_pers_head): Add extra_data fileds.
43117         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43118         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43119         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43120         Adjust caller.
43121         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43122         in6ai data, call __free_in6ai.
43123         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43124         Add -DHAVE_NETLINK.
43125         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43126         interface information.  Reuse previous data if netlink timestamp
43127         is not changed.
43128         (__bump_nl_timestamp): New function.
43129         (__free_in6ai): New function.
43131 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43133         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43134         close_not_cancel_no_status here.
43135         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43137 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43139         [BZ #13276]
43140         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43141         return value.
43143         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43144         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43145         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43147 2011-07-03  Andreas Jaeger  <aj@suse.de>
43149         [BZ #10709]
43150         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43151         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43152         * math/libm-test.inc (sin_test): Add test case.
43154 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43156         [BZ #13337]
43157         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43158         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43160         * elf/chroot_canon.c (chroot_canon): Cleanups.
43162         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43164         [BZ #13335]
43165         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43166         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43168         * string/test-strchr.c: Make usable for strchrnul testing.
43169         * string/test-strchrnul.c: New file.
43170         * string/Makefile (strop-tests): Add strchrnul.
43172         * po/it.po: Update from translation team.
43173         * po/es.po: Likewise.
43175 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43177         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43178         the three constants needed as parameters.  Drop the others.
43179         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43180         __m128i_strloadu_tolower.
43181         Create and initialize variable zero and use it in all the places
43182         where _mm_setzero_si128 was used.
43184         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43185         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43186         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43187         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43188         anymore.
43189         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43190         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43191         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43192         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43193         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43194         __mpranred, __mptan.
43195         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43196         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43197         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43198         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43199         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43200         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43201         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43202         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43203         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43205 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43207         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43208         redefine if SHARED.
43209         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43211         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43212         wide char related routines to wcsmbs subdir.
43214 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43216         [BZ #13344]
43217         * misc/sys/cdefs.h (__THROWNL): Define.
43218         * posix/unistd.h: Use __THREADNL instead of __THREAD
43219         for memory synchronization functions.
43221 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43223         [BZ #13349]
43224         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43225         doesn't exist.
43226         * manual/stdio.texi (Obstack Streams): Node removed.
43228 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43230         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43231         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43232         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43234         * math/math_private.h (math_force_eval): Allow non-addressable
43235         arguments.
43236         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43238 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43240         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43241         file is not needed.
43243         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43244         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43245         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43246         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43247         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43248         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43249         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43250         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43251         Add AVX variants.
43252         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43253         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43254         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43255         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43256         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43257         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43258         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43259         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43260         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43261         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43262         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43263         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43264         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43265         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43266         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43267         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43268         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43269         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43270         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43272         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43273         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43275         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43276         place.  Use VEX encoding when compiling for AVX.
43278 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43280         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43281         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43283         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43285 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43287         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43288         useless if() expression.
43289         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43290         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43291         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43292         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43293         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43294         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43295         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43296         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43297         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43298         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43299         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43300         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43301         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43302         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43303         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43304         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43305         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43306         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43307         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43309         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43311 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43313         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43314         condition.
43315         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43317 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43319         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43320         .text section.  Avoid duplicate constants.
43321         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43322         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43323         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43324         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43325         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43326         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43327         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43328         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43329         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43330         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43331         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43332         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43333         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43334         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43335         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43336         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43337         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43338         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43339         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43340         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43341         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43342         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43343         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43344         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43345         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43346         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43347         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43348         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43349         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43350         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43351         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43352         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43353         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43354         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43355         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43356         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43357         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43358         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43359         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43360         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43361         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43362         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43363         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43364         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43365         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43367 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43369         * sysdeps/x86_64/dla.h: Move to ...
43370         * sysdeps/x86_64/fpu/dla.h: ...here.
43371         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43372         situations.  Use __builtin_fma only for gcc 4.6 and up.
43374         * config.make.in: Add have-mfma4 entry.
43375         * configure.in: Substitute libc_cv_cc_fma4.
43376         * math/Makefile (dbl-only-routines): Add sincostab.
43377         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43378         Use __sincostab not sincos.
43379         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43380         name is a macro.
43381         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43382         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43383         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43384         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43385         using __copysign.
43386         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43387         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43388         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43389         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43390         and __inv.
43391         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43392         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43393         __copysign.
43394         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43395         define aliases when function name is a macro.
43396         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43397         sysdeps/ieee754/dbl-64/sincos.tbl.
43398         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43399         fma4-enabled routines.
43400         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43401         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43402         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43403         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43404         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43405         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43406         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43407         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43408         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43409         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43410         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43411         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43412         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43413         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43414         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43415         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43416         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43417         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43418         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43419         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43420         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43421         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43422         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43423         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43424         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43425         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43426         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43427         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43428         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43429         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43431         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43432         rename.
43433         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43434         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43436         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43437         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43438         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43439         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43440         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43442 2011-10-24  Andreas Schwab  <schwab@redhat.com>
43444         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43446 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43450         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43451         prediction.
43452         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43454         * string/strnlen.c: Don't define STRNLEN, reverse logic.
43455         Remove unused variable magic_bits.
43456         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43458         * string/strnlen.c: Define and use STRNLEN macro.
43459         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43460         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43461         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43462         * wcsmbs/wcslen.c: Define and use WCSLEN.
43463         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43464         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43465         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43466         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43467         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43468         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43469         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43471 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43474         strnlen-sse2-no-bsf.
43475         Rename strlen-no-bsf to strlen-sse2-no-bsf.
43476         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43477         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43478         Add strnlen support.
43479         (USE_AS_STRNLEN): New macro.
43480         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43481         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43482         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43483         * sysdeps/x86_64/wcslen.S: New file.
43485 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
43487         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43488         XMM-moves are used for copying on small sizes.
43490 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43492         * wcsmbs/Makefile (strop-tests): Add wcschr.
43493         * wcsmbs/test-wcschr.c: New file.
43494         * string/test-strchr.c: Update.
43495         Add wcschr support.
43496         (WIDE): New macro.
43498 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43500         * wcsmbs/Makefile (strop-tests): Add wcslen.
43501         * wcsmbs/test-wcslen.c: New file.
43502         * string/test-strlen.c: Update.
43503         Add wcslen support.
43504         (WIDE): New macro.
43506 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43508         * po/it.po: Update from translation team.
43510 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43512         * sysdeps/x86_64/wcscmp.S: Update.
43513         Fix wrong comparison semantics.
43514         wcscmp shall use signed comparison not unsigned.
43515         Don't use substraction to avoid overflow bug.
43516         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43517         * wcsmbc/wcscmp.c: Likewise.
43518         * string/test-strcmp.c: Likewise.
43519         Add new tests to check cases with negative values.
43521 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
43523         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43524         * sysdeps/x86_64/dla.h: ...here.  New file.
43525         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43526         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43527         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43528         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43529         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43530         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43531         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43532         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43535 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
43537         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43538         __ynl_finite aliases.
43540 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43544         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43545         define DLA_FMA.
43546         [DLA_FMA] (EMULV): Use DLA_FMA.
43547         [DLA_FMA] (MUL12): Use EMULV.
43548         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43549         that are not needed.
43550         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43551         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43552         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43553         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43554         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43555         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43558 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
43560         * math/s_nan.c: Undef __nan.
43561         * math/s_nanf.c: Undef __nanf.
43562         * math/s_nanl.c: Undef __nanl.
43563         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43564         "math_private.h".
43566 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
43568         * math/s_catan.c: Add branch predictions.
43569         * math/s_catanf.c: Likewise.
43570         * math/s_catanh.c: Likewise.
43571         * math/s_catanhf.c: Likewise.
43572         * math/s_catanhl.c: Likewise.
43573         * math/s_catanl.c: Likewise.
43574         * math/s_cexp.c: Likewise.
43575         * math/s_cexpf.c: Likewise.
43576         * math/s_cexpl.c: Likewise.
43577         * math/s_clog.c: Likewise.
43578         * math/s_clog10.c: Likewise.
43579         * math/s_clog10f.c: Likewise.
43580         * math/s_clog10l.c: Likewise.
43581         * math/s_clogf.c: Likewise.
43582         * math/s_clogl.c: Likewise.
43583         * math/s_csqrt.c: Likewise.
43584         * math/s_csqrtf.c: Likewise.
43585         * math/s_csqrtl.c: Likewise.
43586         * math/s_ctanf.c: Likewise.
43587         * math/s_ctanh.c: Likewise.
43588         * math/s_ctanhf.c: Likewise.
43589         * math/s_ctanhl.c: Likewise.
43590         * math/s_ctanl.c: Likewise.
43592         * math/math_private.h: Define __nan, __nanf, __nanl.
43593         * math/s_cacosh.c: Include <math_private.h>.
43594         * math/s_cacoshl.c: Likewise.
43595         * math/s_casinh.c: Likewise.
43596         * math/s_casinhf.c: Likewise.
43597         * math/s_casinhl.c: Likewise.
43598         * math/s_ccos.c: Rely entire on ccosh.
43599         * math/s_ccosf.c: Rely entire on ccoshf.
43600         * math/s_ccosl.c: Rely entirely on ccoshl.
43601         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
43602         Remove tests for FE_INVALID.
43603         * math/s_ccoshf.c: Likewise.
43604         * math/s_ccoshl.c: Likewise.
43605         * math/s_csin.c: Likewise.
43606         * math/s_csinf.c: Likewise.
43607         * math/s_csinh.c Likewise.
43608         * math/s_csinhf.c: Likewise.
43609         * math/s_csinhl.c: Likewise.
43610         * math/s_csinl.c: Likewise.
43611         * math/s_ctan.c: Likewise.
43612         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43613         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43614         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43616 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
43618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43619         compilation problems.
43621         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43622         __builtin_expect.
43624 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
43626         * sysdeps/i386/configure.in: Test for -mfma4 option.
43627         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43628         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43629         COMMON_CPUID_INDEX_80000001.
43630         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43631         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43632         use it if FMA3 is not supported.
43633         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43635         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43636         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43638 2011-10-20  Andreas Schwab  <schwab@redhat.com>
43640         [BZ #12892]
43641         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43642         it would create a cycle with a link time dependency.
43644 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
43646         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43647         instruction.
43648         * string/Makefile (strop-tests): Add rawmemchr.
43649         * string/test-rawmemchr.c: New file.
43651         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43652         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43653         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43654         when compiling str{,n}casecmp and when AVX is available.  Hook up
43655         new optimized code in initializers.
43657 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43659         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43660         __feraiseexcept instead of feraiseexcept.
43662 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43664         * math/math_private.h: Define defaults for libc_fetestexcept and
43665         libc_feupdateenv.
43666         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43667         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43668         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43669         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43670         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43671         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43672         libc_fetestexcept and libc_feupdateenv.
43674         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43675         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43676         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43677         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43678         libc_feholdexcept_setround.
43680         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43681         Add s_nearbyint-c and s_nearbyintf-c.
43682         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43683         nearbyintf inlines.
43684         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43685         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43686         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43687         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43689         * math/math_private.h: Define defaults for libc_fegetround,
43690         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43691         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43692         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43693         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43694         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43695         standard functions.
43696         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43697         Remove comments and hacks for old compiler versions.
43698         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43699         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43700         libc_feholdexceptl.
43702 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43704         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43705         (__feraiseexcept_renamed): Add __NTH.
43706         (feraiseexcept): Add __NTH.  Rename local variables to fix
43707         namespace violations.
43709 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43711         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43713         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43715         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43716         recently added interfaces.
43717         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43719         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43720         about macro parameter expansion.
43722         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43723         __NO_MATH_INLINES is defined.  Cleanups.
43725         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43726         and __floorf is target has SSE4.1.
43727         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43728         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43729         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43730         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43732         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43733         name.
43734         (floorf): Likewise.
43736         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43738 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43740         * misc/sys/cdefs.h: Fix last change.
43742         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43743         database lookup.
43745 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43747         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43749         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43750         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43751         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43752         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43753         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43754         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43755         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43756         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43757         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43758         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43759         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43760         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43761         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43762         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43763         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43764         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43765         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43766         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43767         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43768         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43769         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43770         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43772         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43773         ceil, ceilf, floor, floorf.
43775         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43776         Perform IRELATIVE relocations last.
43778         * elf/do-rel.h: Add another parameter nrelative, replacing the
43779         local variable with the same name.  Change name of the function
43780         to end in Rel or Rela (uppercase).
43781         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43782         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43783         elf_dynamic_do_##reloc function.
43785 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43787         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43788         is sufficient, at least on modern CPUs.
43790         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43792         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43793         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43795         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43796         __expl_finite.
43797         * math/bits/math-finite.h: Add entries for exp.
43798         * math/e_expl.c: Add __*_finite alias.
43799         * sysdeps/i386/fpu/e_exp.S: Likewise.
43800         * sysdeps/i386/fpu/e_expf.S: Likewise.
43801         * sysdeps/i386/fpu/e_expl.c: Likewise.
43802         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43803         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43804         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43805         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43806         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43807         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43808         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43810         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43811         is sufficient, at least on modern CPUs.
43813         * ctype/ctype-info.c (__ctype_init): Define.
43814         * include/ctype.h (__ctype_init): Declare.
43815         (__ctype_b_loc): The variable is always initialized.
43816         (__ctype_toupper_loc): Likewise.
43817         (__ctype_tolower_loc): Likewise.
43818         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43819         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43821 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43823         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43825         * configure.in: Also look in $cxxmachine/include for C++ system
43826         headers.
43828 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43830         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43831         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43832         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43833         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43834         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43835         (USE_AS_WMEMCMP): New macro.
43836         Fixing indents.
43837         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43838         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43839         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43840         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43841         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43842         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43843         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43844         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43845         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43846         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43847         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43848         (USE_AS_WMEMCMP): New macro.
43849         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43850         * sysdeps/string/test-memcmp.c: Update.
43851         Fix simple_wmemcmp.
43852         Add new tests.
43853         * wcsmbs/wmemcmp.c: Update.
43854         (WMEMCMP): New macro.
43855         Fix overflow bug.
43857 2011-10-12  Andreas Jaeger  <aj@suse.de>
43859         [BZ #13268]
43860         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43862 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43864         * libio/iofwide.c (do_length): Avoid warning.
43866         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43868 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43870         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43872         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43873         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43874         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43875         * sysdeps/i386/i686/fpu/e_log.S: New file.
43876         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43877         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43879         * ctype/ctype.h: Add support for inlined isXXX functions when
43880         compiling C++ code.
43882 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43884         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43886         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43888 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43890         [BZ #13291]
43891         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43893 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43895         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43896         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43897         feraiseexcept.
43899         * sysdeps/x86_64/memrchr.S: Check for zero size.
43901         * string/stratcliff.c: Add memrchr tests.
43903 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43905         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43906         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43907         rawmemchr-sse2 rawmemchr-sse2-bsf.
43908         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43909         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43910         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43911         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43912         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43913         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43914         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43915         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43916         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43917         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43918         * string/memrchr.c (MEMRCHR): New macro.
43920 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43922         Add integration with gcc's -ffinite-math-only and optimize wrapper
43923         functions in libm.
43924         * Versions.def: Define GLIBC_2.15 version for libm.
43925         * math/Makefile (headers): Add bits/math-finite.h.
43926         * math/bits/math-finite.h: New file.
43927         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43928         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43929         * math/e_acoshl.c: Add __*_finite alias.
43930         * math/e_acosl.c: Likewise.
43931         * math/e_asinl.c: Likewise.
43932         * math/e_atan2l.c: Likewise.
43933         * math/e_atanhl.c: Likewise.
43934         * math/e_coshl.c: Likewise.
43935         * math/e_exp10.c: Likewise.
43936         * math/e_exp10f.c: Likewise.
43937         * math/e_exp10l.c: Likewise.
43938         * math/e_exp2l.c: Likewise.
43939         * math/e_fmodl.c: Likewise.
43940         * math/e_gammal_r.c: Likewise.
43941         * math/e_hypotl.c: Likewise.
43942         * math/e_j0l.c: Likewise.
43943         * math/e_j1l.c: Likewise.
43944         * math/e_jnl.c: Likewise.
43945         * math/e_lgammal_r.c: Likewise.
43946         * math/e_log10l.c: Likewise.
43947         * math/e_log2l.c: Likewise.
43948         * math/e_logl.c: Likewise.
43949         * math/e_powl.c: Likewise.
43950         * math/e_sinhl.c: Likewise.
43951         * math/e_sqrtl.c: Likewise.
43952         * math/e_scalb.c: Completely rewritten and optimized.
43953         * math/e_scalbf.c: Likewise.
43954         * math/e_scalbl.c: Likewise.
43955         * math/w_acos.c: Likewise.
43956         * math/w_acosf.c: Likewise.
43957         * math/w_acosl.c: Likewise.
43958         * math/w_acosh.c: Likewise.
43959         * math/w_acoshf.c: Likewise.
43960         * math/w_acoshl.c: Likewise.
43961         * math/w_asin.c: Likewise.
43962         * math/w_asinf.c: Likewise.
43963         * math/w_asinl.c: Likewise.
43964         * math/w_atan2.c: Likewise.
43965         * math/w_atan2f.c: Likewise.
43966         * math/w_atan2l.c: Likewise.
43967         * math/w_atanh.c: Likewise.
43968         * math/w_atanhf.c: Likewise.
43969         * math/w_atanhl.c: Likewise.
43970         * math/w_exp10.c: Likewise.
43971         * math/w_exp10f.c: Likewise.
43972         * math/w_exp10l.c: Likewise.
43973         * math/w_fmod.c: Likewise.
43974         * math/w_fmodf.c: Likewise.
43975         * math/w_fmodl.c: Likewise.
43976         * math/w_j0.c: Likewise.
43977         * math/w_j0f.c: Likewise.
43978         * math/w_j0l.c: Likewise.
43979         * math/w_j1.c: Likewise.
43980         * math/w_j1f.c: Likewise.
43981         * math/w_j1l.c: Likewise.
43982         * math/w_jn.c: Likewise.
43983         * math/w_jnf.c: Likewise.
43984         * math/w_log.c: Likewise.
43985         * math/w_logf.c: Likewise.
43986         * math/w_logl.c: Likewise.
43987         * math/w_log10.c: Likewise.
43988         * math/w_log10f.c: Likewise.
43989         * math/w_log10l.c: Likewise.
43990         * math/w_log2.c: Likewise.
43991         * math/w_log2f.c: Likewise.
43992         * math/w_log2l.c: Likewise.
43993         * math/w_pow.c: Likewise.
43994         * math/w_powf.c: Likewise.
43995         * math/w_powl.c: Likewise.
43996         * math/w_remainder.c: Likewise.
43997         * math/w_remainderf.c: Likewise.
43998         * math/w_remainderl.c: Likewise.
43999         * math/w_scalb.c: Likewise.
44000         * math/w_scalbf.c: Likewise.
44001         * math/w_scalbl.c: Likewise.
44002         * math/w_sqrt.c: Likewise.
44003         * math/w_sqrtf.c: Likewise.
44004         * math/w_sqrtl.c: Likewise.
44005         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44006         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44007         used.
44008         * math/math_private.h: Declare __kernel_standard_f.
44009         * math/w_cosh.c: Remove cruft and optimize a bit.
44010         * math/w_coshf.c: Likewise.
44011         * math/w_coshl.c: Likewise.
44012         * math/w_exp2.c: Likewise.
44013         * math/w_exp2f.c: Likewise.
44014         * math/w_exp2l.c: Likewise.
44015         * math/w_hypot.c: Likewise.
44016         * math/w_hypotf.c: Likewise.
44017         * math/w_hypotl.c: Likewise.
44018         * math/w_lgamma.c: Likewise.
44019         * math/w_lgamma_r.c: Likewise.
44020         * math/w_lgammaf.c: Likewise.
44021         * math/w_lgammaf_r.c: Likewise.
44022         * math/w_lgammal.c: Likewise.
44023         * math/w_lgammal_r.c: Likewise.
44024         * math/w_sinh.c: Likewise.
44025         * math/w_sinhf.c: Likewise.
44026         * math/w_sinhl.c: Likewise.
44027         * math/w_tgamma.c: Likewise.
44028         * math/w_tgammaf.c: Likewise.
44029         * math/w_tgammal.c: Likewise.
44030         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44031         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44032         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44033         Minor optimizations.  Pretty printing.  Remove cruft.
44034         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44035         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44036         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44037         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44038         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44039         * sysdeps/i386/fpu/e_asin.S: Likewise.
44040         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44041         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44042         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44043         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44044         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44045         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44046         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44047         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44048         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44049         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44050         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44051         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44052         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44053         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44054         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44055         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44056         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44057         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44058         * sysdeps/i386/fpu/e_log.S: Likewise.
44059         * sysdeps/i386/fpu/e_log10.S: Likewise.
44060         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44061         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44062         * sysdeps/i386/fpu/e_log2.S: Likewise.
44063         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44064         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44065         * sysdeps/i386/fpu/e_logf.S: Likewise.
44066         * sysdeps/i386/fpu/e_logl.S: Likewise.
44067         * sysdeps/i386/fpu/e_pow.S: Likewise.
44068         * sysdeps/i386/fpu/e_powf.S: Likewise.
44069         * sysdeps/i386/fpu/e_powl.S: Likewise.
44070         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44071         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44072         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44073         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44074         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44075         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44076         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44077         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44078         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44079         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44080         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44081         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44082         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44083         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44084         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44085         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44086         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44087         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44088         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44089         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44090         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44092         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44093         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44094         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44095         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44096         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44097         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44099         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44100         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44101         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44102         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44103         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44104         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44105         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44106         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44107         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44108         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44109         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44110         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44111         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44112         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44113         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44114         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44115         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44116         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44117         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44118         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44119         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44120         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44121         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44122         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44123         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44124         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44125         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44126         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44127         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44128         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44129         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44130         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44131         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44133         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44134         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44135         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44136         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44137         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44138         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44139         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44140         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44141         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44142         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44143         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44144         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44145         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44146         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44147         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44148         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44149         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44150         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44151         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44152         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44153         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44154         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44155         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44156         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44157         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44158         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44159         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44160         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44161         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44162         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44163         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44164         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44165         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44166         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44167         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44168         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44169         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44170         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44171         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44172         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44173         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44174         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44175         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44176         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44177         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44178         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44179         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44180         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44181         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44182         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44183         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44184         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44185         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44186         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44187         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44188         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44189         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44190         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44191         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44192         (__isnanf): Likewise.
44193         (__isinf_ns): Likewise.
44194         (__isinf_nsf): Likewise.
44195         (__finite): Likewise.
44196         (__finitef): Likewise.
44197         (__ieee754_sqrt): Define as macro.
44198         (__ieee754_sqrtf): Define as macro.
44199         (__ieee754_sqrtl): Define as macro.
44200         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44201         inlined copy.
44202         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44203         __FINITE_MATH_ONLY__ consistent.
44204         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44206 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44208         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44209         of rawmemchr.
44211         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44213 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44215         * po/ja.po: Update from translation team.
44217 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44219         * locale/programs/locarchive.c (prepare_address_space): New function.
44220         (create_archive, enlarge_archive, open_archive): Use it.
44222         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44223         inside [SHARED], where it is used.
44225         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44227         * nss/getent.c (netgroup_keys): Remove unused variable.
44228         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44230 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44232         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44233         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44234         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44235         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44236         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44237         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44238         * math/Makefile (libm-calls): Add s_isinf_ns.
44239         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44240         * math/multc3.c: Likewise.
44241         * math/s_casin.c: Likewise.
44242         * math/s_casinf.c: Likewise.
44243         * math/s_casinl.c: Likewise.
44244         * math/s_ccos.c: Likewise.
44245         * math/s_ccosf.c: Likewise.
44246         * math/s_ccosl.c: Likewise.
44247         * math/s_ctan.c: Likewise.
44248         * math/s_ctanf.c: Likewise.
44249         * math/s_ctanh.c: Likewise.
44250         * math/s_ctanhf.c: Likewise.
44251         * math/s_ctanhl.c: Likewise.
44252         * math/s_ctanl.c: Likewise.
44253         * math/w_fmod.c: Likewise.
44254         * math/w_fmodf.c: Likewise.
44255         * math/w_fmodl.c: Likewise.
44256         * math/w_remainder.c: Likewise.
44257         * math/w_remainderf.c: Likewise.
44258         * math/w_remainderl.c: Likewise.
44259         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44260         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44261         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44262         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44263         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44264         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44265         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44266         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44268         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44269         of the number.
44270         * stdio-common/printf_fphex.c: Likewise.
44271         * stdio-common/printf_size.c: Likewise.
44273         * math/e_exp10.c: Include math_private.h using <...> not "...".
44274         * math/e_exp10f.c: Likewise.
44275         * math/e_exp10l.c: Likewise.
44276         * math/e_exp2l.c: Likewise.
44277         * math/e_j0l.c: Likewise.
44278         * math/e_j1l.c: Likewise.
44279         * math/e_jnl.c: Likewise.
44280         * math/e_lgammal_r.c: Likewise.
44281         * math/e_rem_pio2l.c: Likewise.
44282         * math/e_scalb.c: Likewise.
44283         * math/e_scalbf.c: Likewise.
44284         * math/e_scalbl.c: Likewise.
44285         * math/k_cosl.c: Likewise.
44286         * math/k_sinl.c: Likewise.
44287         * math/k_tanl.c: Likewise.
44288         * math/s_cacoshf.c: Likewise.
44289         * math/s_catan.c: Likewise.
44290         * math/s_catanf.c: Likewise.
44291         * math/s_catanh.c: Likewise.
44292         * math/s_catanhf.c: Likewise.
44293         * math/s_catanhl.c: Likewise.
44294         * math/s_catanl.c: Likewise.
44295         * math/s_ccosh.c: Likewise.
44296         * math/s_ccoshf.c: Likewise.
44297         * math/s_ccoshl.c: Likewise.
44298         * math/s_cexp.c: Likewise.
44299         * math/s_cexpf.c: Likewise.
44300         * math/s_cexpl.c: Likewise.
44301         * math/s_clog.c: Likewise.
44302         * math/s_clog10.c: Likewise.
44303         * math/s_clog10f.c: Likewise.
44304         * math/s_clog10l.c: Likewise.
44305         * math/s_clogf.c: Likewise.
44306         * math/s_clogl.c: Likewise.
44307         * math/s_csin.c: Likewise.
44308         * math/s_csinf.c: Likewise.
44309         * math/s_csinh.c: Likewise.
44310         * math/s_csinhf.c: Likewise.
44311         * math/s_csinhl.c: Likewise.
44312         * math/s_csinl.c: Likewise.
44313         * math/s_csqrt.c: Likewise.
44314         * math/s_csqrtf.c: Likewise.
44315         * math/s_csqrtl.c: Likewise.
44316         * math/s_ctan.c: Likewise.
44317         * math/s_ctanf.c: Likewise.
44318         * math/s_ctanh.c: Likewise.
44319         * math/s_ctanhf.c: Likewise.
44320         * math/s_ctanhl.c: Likewise.
44321         * math/s_ctanl.c: Likewise.
44322         * math/s_ldexp.c: Likewise.
44323         * math/s_ldexpf.c: Likewise.
44324         * math/s_ldexpl.c: Likewise.
44325         * math/s_significand.c: Likewise.
44326         * math/s_significandf.c: Likewise.
44327         * math/s_significandl.c: Likewise.
44328         * math/w_acos.c: Likewise.
44329         * math/w_acosf.c: Likewise.
44330         * math/w_acosh.c: Likewise.
44331         * math/w_acoshf.c: Likewise.
44332         * math/w_acoshl.c: Likewise.
44333         * math/w_acosl.c: Likewise.
44334         * math/w_asin.c: Likewise.
44335         * math/w_asinf.c: Likewise.
44336         * math/w_asinl.c: Likewise.
44337         * math/w_atan2.c: Likewise.
44338         * math/w_atan2f.c: Likewise.
44339         * math/w_atan2l.c: Likewise.
44340         * math/w_atanh.c: Likewise.
44341         * math/w_atanhf.c: Likewise.
44342         * math/w_atanhl.c: Likewise.
44343         * math/w_cosh.c: Likewise.
44344         * math/w_coshf.c: Likewise.
44345         * math/w_coshl.c: Likewise.
44346         * math/w_dremf.c: Likewise.
44347         * math/w_exp10.c: Likewise.
44348         * math/w_exp10f.c: Likewise.
44349         * math/w_exp10l.c: Likewise.
44350         * math/w_exp2.c: Likewise.
44351         * math/w_exp2f.c: Likewise.
44352         * math/w_fmod.c: Likewise.
44353         * math/w_fmodf.c: Likewise.
44354         * math/w_fmodl.c: Likewise.
44355         * math/w_hypot.c: Likewise.
44356         * math/w_hypotf.c: Likewise.
44357         * math/w_hypotl.c: Likewise.
44358         * math/w_j0.c: Likewise.
44359         * math/w_j0f.c: Likewise.
44360         * math/w_j0l.c: Likewise.
44361         * math/w_j1.c: Likewise.
44362         * math/w_j1f.c: Likewise.
44363         * math/w_j1l.c: Likewise.
44364         * math/w_jn.c: Likewise.
44365         * math/w_jnf.c: Likewise.
44366         * math/w_jnl.c: Likewise.
44367         * math/w_lgamma.c: Likewise.
44368         * math/w_lgamma_r.c: Likewise.
44369         * math/w_lgammaf.c: Likewise.
44370         * math/w_lgammaf_r.c: Likewise.
44371         * math/w_lgammal.c: Likewise.
44372         * math/w_lgammal_r.c: Likewise.
44373         * math/w_log.c: Likewise.
44374         * math/w_log10.c: Likewise.
44375         * math/w_log10f.c: Likewise.
44376         * math/w_log10l.c: Likewise.
44377         * math/w_log2.c: Likewise.
44378         * math/w_log2f.c: Likewise.
44379         * math/w_log2l.c: Likewise.
44380         * math/w_logf.c: Likewise.
44381         * math/w_logl.c: Likewise.
44382         * math/w_pow.c: Likewise.
44383         * math/w_powf.c: Likewise.
44384         * math/w_powl.c: Likewise.
44385         * math/w_remainder.c: Likewise.
44386         * math/w_remainderf.c: Likewise.
44387         * math/w_remainderl.c: Likewise.
44388         * math/w_scalb.c: Likewise.
44389         * math/w_scalbf.c: Likewise.
44390         * math/w_scalbl.c: Likewise.
44391         * math/w_sinh.c: Likewise.
44392         * math/w_sinhf.c: Likewise.
44393         * math/w_sinhl.c: Likewise.
44394         * math/w_sqrt.c: Likewise.
44395         * math/w_sqrtf.c: Likewise.
44396         * math/w_sqrtl.c: Likewise.
44397         * math/w_tgamma.c: Likewise.
44398         * math/w_tgammaf.c: Likewise.
44399         * math/w_tgammal.c: Likewise.
44401         * po/ja.po: Update from translation team.
44403 2011-09-29  Andreas Jaeger  <aj@suse.de>
44405         [BZ #13179]
44406         * sunrpc/netname.c (netname2host): Fix logic.
44408         [BZ #6779]
44409         [BZ #6783]
44410         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44411         correctly.
44412         * math/w_remainder.c (__remainder): Likewise.
44413         * math/w_remainderf.c (__remainderf): Likewise.
44414         * math/libm-test.inc (remainder_test): Add test cases.
44416 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44418         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44419         sdiv_qrnnd.
44421 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44423         * string/test-memcmp.c: Avoid unncessary #defines.
44424         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44426 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44428         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44429         Use new sse2 version for core i3 - i7 as it's faster
44430         than sse42 version.
44431         (bit_Prefer_PMINUB_for_stringop): New.
44432         * sysdeps/x86_64/rawmemchr.S: Update.
44433         Replace with faster SSE2 version.
44434         * sysdeps/x86_64/memrchr.S: New file.
44435         * sysdeps/x86_64/memchr.S: Update.
44436         Replace with faster SSE2 version.
44438 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
44440         * elf/dl-load.c (lose): Add cast to avoid warning.
44442 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44444         * po/ca.po: Update from translation team.
44446         * inet/getnetgrent_r.c: Hook up nscd.
44447         * nscd/Makefile (routines): Add nscd_netgroup.
44448         (nscd-modules): Add netgroupcache.
44449         (CFLAGS-netgroupcache.c): Define.
44450         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44451         (cache_search): Add const to second parameter.
44452         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44453         INNETGR.
44454         (dbs): Add netgrdb entry.
44455         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44456         (verify_persistent_db): Handle netgrdb.
44457         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44458         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44459         GETFDNETGR.
44460         (netgroup_response_header): Define.
44461         (innetgroup_response_header): Define.
44462         (datahead): Add netgroup_response_header and innetgroup_response_header
44463         elements.
44464         * nscd/nscd.conf: Add entries for netgroup cache.
44465         * nscd/nscd.h (dbtype): Add netgrdb.
44466         (_PATH_NSCD_NETGROUP_DB): Define.
44467         (netgroup_iov_disabled): Declare.
44468         (xmalloc, xcalloc, xrealloc): Move declarations here.
44469         (cache_search): Adjust prototype.
44470         Add netgroup-related prototypes.
44471         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44472         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44473         (__nscd_innetgr): Declare.
44474         * nscd/selinux.c (perms): Use access_vector_t as element type and
44475         add netgroup-related initializers.
44476         * nscd/netgroupcache.c: New file.
44477         * nscd/nscd_netgroup.c: New file.
44478         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44479         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44480         For four parameters use innetgr.
44481         * nss/nss_files/files-init.c: Add definition and callback for netgr.
44482         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44483         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44484         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44486         * nscd/connections.c (register_traced_file): Don't register file
44487         for disabled databases.
44489 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
44491         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44493         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44494         from tree and freeing node.
44496 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
44498         * nss/nsswitch.c (__nss_database_lookup): Handle
44499         nss_parse_service_list out of memory case.
44501 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
44503         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44504         out of memory case.
44506 2011-10-04  Andreas Schwab  <schwab@redhat.com>
44508         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44509         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44510         pass it down.
44511         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44512         elf_machine_rela, elf_machine_lazy_rel.
44513         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44514         (ELF_DYNAMIC_DO_REL): Likewise.
44515         (ELF_DYNAMIC_DO_RELA): Likewise.
44516         (ELF_DYNAMIC_RELOCATE): Likewise.
44517         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44518         to ELF_DYNAMIC_DO_REL.
44519         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44520         (dl_main): In trace mode always set __RTLD_NOIFUNC.
44521         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44522         elf_machine_rela.
44523         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44524         skip_ifunc, don't call ifunc function if non-zero.
44525         (elf_machine_rela): Likewise.
44526         (elf_machine_lazy_rel): Likewise.
44527         (elf_machine_lazy_rela): Likewise.
44528         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44529         (elf_machine_lazy_rel): Likewise.
44530         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44531         Likewise.
44532         (elf_machine_lazy_rel): Likewise.
44533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44534         Likewise.
44535         (elf_machine_lazy_rel): Likewise.
44536         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44537         (elf_machine_lazy_rel): Likewise.
44538         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44539         (elf_machine_lazy_rel): Likewise.
44540         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44541         (elf_machine_lazy_rel): Likewise.
44542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44543         (elf_machine_lazy_rel): Likewise.
44544         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44545         (elf_machine_lazy_rel): Likewise.
44546         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44547         (elf_machine_lazy_rel): Likewise.
44549 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
44551         * nss/nss_files/files-init.c (_nss_files_init): Use static
44552         initialization for all the *_traced_file variables.
44554 2011-09-28  Andreas Schwab  <schwab@redhat.com>
44556         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44558 2011-09-27  Roland McGrath  <roland@hack.frob.com>
44560         [BZ #13226]
44561         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44563 2011-09-27  Andreas Schwab  <schwab@redhat.com>
44565         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44566         Reread the line before reparsing it.
44568 2011-09-26  Andreas Schwab  <schwab@redhat.com>
44570         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44572 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
44573             Maxim Kuvyrkov  <maxim@codesourcery.com>
44574             Joseph Myers  <joseph@codesourcery.com>
44576         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44577         if needed for __stack_chk_guard.
44579 2011-09-19  Roland McGrath  <roland@hack.frob.com>
44581         * sysdeps/posix/spawni.c (script_execute): Always define it.
44582         It will be optimized away if unused.
44583         (maybe_script_execute): New function.
44584         (__spawni): Call it.
44586         * Makerules: Don't include tls.make.
44587         (config-tls): Always set to thread.
44588         * tls.make.c: File removed.
44590 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
44592         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44593         * config.make.in (CPPFLAGS-config): New substituted variable.
44595 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44597         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44599         [BZ #13192]
44600         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44601         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44603 2011-09-15  Roland McGrath  <roland@hack.frob.com>
44605         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44606         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44607         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44608         (CALL_FAIL): Likewise.
44609         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44610         (CALL_FAIL): Macro removed.
44611         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44613 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
44615         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44616         for __FINITE_MATH_ONLY__ == 1.
44618 2011-09-15  Andreas Schwab  <schwab@redhat.com>
44620         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44621         __ieee754_sqrt instead of sqrt.
44622         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44623         __ieee754_sqrtf instead of sqrtf.
44624         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44625         __floorf instead of floorf.
44626         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44627         __floorf, __truncf instead of floorf, truncf.
44629 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
44631         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44633         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44634         __extern_always_inline.
44635         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44636         32-bit.
44638 2011-09-14  Andreas Schwab  <schwab@redhat.com>
44640         * elf/rtld.c (dl_main): Also relocate in dependency order when
44641         doing symbol dependency testing.
44643 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
44645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44646         Always define `refsym'.
44648 2011-09-13  Andreas Schwab  <schwab@redhat.com>
44650         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44651         (__FD_ELT): Renamed from __FDELT.
44652         * misc/bits/select2.h (__FD_ELT): Likewise.
44653         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44654         __FD_MASK instead of __FDELT, __FDMASK.
44655         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44656         Likewise.
44657         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44658         Likewise.
44660         * elf/Makefile (gen-ldd): Fix pattern.
44662         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44663         (init_tls): Likewise.
44665 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44667         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44669 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44671         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44672         `struct cmsghdr *' instead of `void *'.
44673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44674         Likewise.
44676 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44678         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44679         if non-absolute.
44680         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44681         ldd_rewrite_script.
44683 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44685         * configure.in: Remove --with-tls option.
44686         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44687         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44688         out in case it is missing.
44689         * sysdeps/ia64/elf/configure.in: Likewise.
44690         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44691         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44692         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44693         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44694         * sysdeps/sh/elf/configure.in: Likewise.
44695         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44696         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44697         * sysdeps/x86_64/elf/configure.in: Likewise.
44698         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44699         * sysdeps/mach/hurd/tls.h: Likewise.
44701         [BZ #13067]
44702         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44704         [BZ #13090]
44705         * configure.in: Fix use of AC_INIT.
44707         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44709 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44711         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44712         __set_errno.
44713         * malloc/hooks.c: Likewise.
44715         [BZ #11929]
44716         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44717         variables statically.
44718         (narenas): Initialize.
44719         (list_lock): Initialize.
44720         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44721         initializtion of main_arena and list_lock.  Small cleanups.
44722         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44723         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44724         Add initializers to main_arena and mp_.
44725         (malloc_state): Remove pagesize member.  Change all users to use
44726         GLRO(dl_pagesize).
44728         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44729         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44730         is always initialized.
44732         * malloc/malloc.c: Removed unused configurations and dead code.
44733         * malloc/arena.c: Likewise.
44734         * malloc/hooks.c: Likewise.
44735         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44737         * include/tls.h: Removed.  USE___THREAD must always be defined.
44738         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44739         * elf/dl-libc.c: Likewise.
44740         * elf/dl-tsd.c: Likewise.
44741         * include/errno.h: Likewise.
44742         * include/netdb.h: Likewise.
44743         * include/resolv.h: Likewise.
44744         * inet/herrno-loc.c: Likewise.
44745         * inet/herrno.c: Likewise.
44746         * malloc/arena.c: Likewise.
44747         * malloc/hooks.c: Likewise.
44748         * malloc/malloc.c: Likewise.
44749         * resolv/res-state.c: Likewise.
44750         * resolv/res_libc.c: Likewise.
44751         * sysdeps/i386/dl-machine.h: Likewise.
44752         * sysdeps/ia64/dl-machine.h: Likewise.
44753         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44754         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44755         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44756         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44757         * sysdeps/sh/dl-machine.h: Likewise.
44758         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44759         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44760         * sysdeps/unix/i386/sysdep.S: Likewise.
44761         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44762         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44763         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44764         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44765         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44767         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44771         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44772         * sysdeps/x86_64/dl-machine.h: Likewise.
44773         * tls.make.c: Likewise.
44775         * configure.in: Remove --with-__thread option.  Make tests for
44776         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44777         tls_model attribute fail if no support is available.  Remove
44778         USE_IN_LIBIO.
44779         * Makeconfig: Adjust for dropped configure option.  All features are
44780         now mandatory.
44781         * Makerules: Likewise.
44782         * Versions.def: Likewise.
44783         * argp/argp-fmtstream.c: Likewise.
44784         * argp/argp-fmtstream.h: Likewise.
44785         * argp/argp-help.c: Likewise.
44786         * assert/assert.c: Likewise.
44787         * config.h.in: Likewise.
44788         * config.make.in: Likewise.
44789         * configure: Likewise.
44790         * configure.in: Likewise.
44791         * csu/Versions: Likewise.
44792         * csu/init.c: Likewise.
44793         * elf/tst-audit2.c: Likewise.
44794         * elf/tst-tls10.c: Likewise.
44795         * elf/tst-tls10.h: Likewise.
44796         * elf/tst-tls11.c: Likewise.
44797         * elf/tst-tls12.c: Likewise.
44798         * elf/tst-tls14.c: Likewise.
44799         * elf/tst-tlsmod11.c: Likewise.
44800         * elf/tst-tlsmod12.c: Likewise.
44801         * elf/tst-tlsmod13.c: Likewise.
44802         * elf/tst-tlsmod13a.c: Likewise.
44803         * elf/tst-tlsmod14a.c: Likewise.
44804         * elf/tst-tlsmod15b.c: Likewise.
44805         * elf/tst-tlsmod16a.c: Likewise.
44806         * elf/tst-tlsmod16b.c: Likewise.
44807         * elf/tst-tlsmod7.c: Likewise.
44808         * elf/tst-tlsmod8.c: Likewise.
44809         * elf/tst-tlsmod9.c: Likewise.
44810         * gmon/gmon.c: Likewise.
44811         * grp/fgetgrent_r.c: Likewise.
44812         * grp/putgrent.c: Likewise.
44813         * hurd/fopenport.c: Likewise.
44814         * include/libc-symbols.h: Likewise.
44815         * include/tls.h: Likewise.
44816         * intl/gettextP.h: Likewise.
44817         * intl/loadinfo.h: Likewise.
44818         * locale/global-locale.c: Likewise.
44819         * locale/localeinfo.h: Likewise.
44820         * mach/devstream.c: Likewise.
44821         * malloc/arena.c: Likewise.
44822         * malloc/set-freeres.c: Likewise.
44823         * misc/err.c: Likewise.
44824         * misc/getttyent.c: Likewise.
44825         * misc/mntent_r.c: Likewise.
44826         * posix/getopt.c: Likewise.
44827         * posix/wordexp.c: Likewise.
44828         * pwd/fgetpwent_r.c: Likewise.
44829         * resolv/Versions: Likewise.
44830         * resolv/res_hconf.c: Likewise.
44831         * shadow/fgetspent_r.c: Likewise.
44832         * shadow/putspent.c: Likewise.
44833         * stdio-common/printf_fphex.c: Likewise.
44834         * stdio-common/tmpfile.c: Likewise.
44835         * stdlib/abort.c: Likewise.
44836         * stdlib/fmtmsg.c: Likewise.
44837         * sunrpc/auth_unix.c: Likewise.
44838         * sunrpc/clnt_perr.c: Likewise.
44839         * sunrpc/clnt_tcp.c: Likewise.
44840         * sunrpc/clnt_udp.c: Likewise.
44841         * sunrpc/clnt_unix.c: Likewise.
44842         * sunrpc/openchild.c: Likewise.
44843         * sunrpc/svc_simple.c: Likewise.
44844         * sunrpc/svc_tcp.c: Likewise.
44845         * sunrpc/svc_udp.c: Likewise.
44846         * sunrpc/svc_unix.c: Likewise.
44847         * sunrpc/xdr.c: Likewise.
44848         * sunrpc/xdr_array.c: Likewise.
44849         * sunrpc/xdr_rec.c: Likewise.
44850         * sunrpc/xdr_ref.c: Likewise.
44851         * sunrpc/xdr_stdio.c: Likewise.
44853 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44855         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44857 2011-07-03  Andreas Jaeger  <aj@suse.de>
44859         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44860         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44861         regenerate with gen-libm-tests.pl.
44863 2010-05-12  Petr Baudis  <pasky@suse.cz>
44865         [BZ #11589]
44866         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44867         around j0() zero points by switching to j1().
44868         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44869         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44870         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44871         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44873 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44875         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44876         instead of 0.
44877         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44878         instead of 0.
44879         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44880         Patch in part by Pavel Roskin <proski@gnu.org>.
44882         [BZ #13138]
44883         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44884         realloc.
44885         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44886         Free memory block if necessary.
44888         [BZ #12847]
44889         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44890         be NULL.  Don't lock in this case.
44892 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44894         * elf/elf.h (ELFOSABI_GNU): New macro.
44895         (ELFOSABI_LINUX): Define to that.
44897 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44899         * string/strncat.c (strncat): Undef the symbol in case it has been
44900         defined in bits/string.h.
44902 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44904         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44906         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44907         link map.
44909 2011-08-17  Andreas Jaeger  <aj@suse.de>
44911         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44913 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44914             Ian Lance Taylor  <iant@google.com>
44916         * math/libm-test.inc (lround_test): New testcase.
44917         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44919 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44921         * Makefile: Remove support for automatic cvs check-ins.
44922         * Makerules: Likewise.
44923         * config.make.in: Likewise.
44924         * configure.in: Likewise.
44925         * intl/Makefile: Likewise.
44926         * locale/Makefile: Likewise.
44927         * po/Makefile: Likewise.
44928         * posix/Makefile: Likewise.
44929         * sysdeps/gnu/Makefile: Likewise.
44930         * sysdeps/mach/hurd/Makefile: Likewise.
44931         * sysdeps/sparc/sparc32/Makefile: Likewise.
44933         [BZ #13118]
44934         * posix/Makefile (bug-regex32-ENV): Define.
44935         Patch by John Stanley <jpsinthemix@verizon.net>.
44937         * misc/Makefile (headers): Add bits/select2.h.
44938         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44939         * misc/bits/select2.h: New file.
44940         * include/bits/select2.h: New file.
44941         * debug/Makefile (routines): Add fdelt_chk.
44942         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44943         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44944         FD_ISSET.
44945         * debug/fdelt_chk.c: New file.
44947         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44948         * wcsmbs/test-wmemcmp.c: Likewise.
44949         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44950         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44952 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44954         * string/Makefile (strop-tests): Add memcmp.
44955         * string/test-wmemcmp.c: New file.
44956         * string/test-memcmp.c: Add wmemcmp support.
44958 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44960         [BZ #13153]
44961         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44962         2011-07-19 change.
44964         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44965         garbage value in a __mach_port_mod_refs call in the cases of the
44966         task-self and thread-self ports.
44968 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44970         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44972 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44974         * elf/dl-load.c (lose): Check for non-null L.
44976 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44978         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44980         * elf/dl-libc.c (dlerror_run): Pass back error code from
44981         dl_catch_error.
44983         [BZ #13123]
44984         * elf/dl-load.c (lose): Free l_origin if it is valid.
44986         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44987         names.
44988         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44989         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44990         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44991         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44992         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44993         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44995 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44997         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44998         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44999         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45000         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45001         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45002         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45003         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45004         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45005         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45006         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45008 2011-08-15  Alan Modra  <amodra@gmail.com>
45010         [BZ #13092]
45011         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45012         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45013         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45014         ppc_mcount to static-only-routines.
45015         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45016         __mcount_internal.
45017         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45018         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45020 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45022         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45023         for finite and infinity parameters.
45025 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45027         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45028         and add nop instructions for throughput optimization.
45029         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45031 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45033         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45034         aligned copy for power7 with vector-scalar instructions.
45035         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45037 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45039         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45040         AVX check.
45042 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45044         [BZ #13144]
45045         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45046         last change.
45048 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45050         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45051         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45052         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45053         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45054         clock_gettime.
45056 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45058         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45059         Forgot to demangle the pointer.
45061         * sysdeps/i386/sysdep.h: Define atom_text_section.
45062         * sysdeps/x86_64/sysdep.h: Likewise.
45063         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45064         section with atom_text_section.
45065         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45066         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45067         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45068         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45069         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45071         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45072         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45073         already be defined.  Change to take two parameters and don't assign
45074         result to variable.  Adjust all users.
45075         Define INTERNAL_GETTIME if not already defined.
45076         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45077         call.
45078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45079         HAVE_CLOCK_GETTIME_VSYSCALL.
45080         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45082         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45083         gettimeofday vsyscall, just use time.
45085 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45088         <errno.h>.
45090 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45092         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45093         syscall on x86-64.
45094         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45095         syscall.
45096         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45097         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45098         syscall if possible.
45100 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45102         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45103         e_ident.  Don't pass to find_mapsXX.
45104         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45106 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45109         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45110         * sysdeps/x86_64/multiarch/strchr.S: Update.
45111         Check bit_slow_BSF bit.
45112         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45113         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45114         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45116 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45118         [BZ #13134]
45119         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45120         before glibc 2.15.
45121         (tryshell): Define.
45122         (__spawni): Change last parameter to be flag.  Test
45123         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45124         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45125         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45126         * posix/spawni.c: Likewise.
45127         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45128         * posix/spawnp.c: Likewise.  Change normal version to use
45129         SPAWN_XFLAGS_USE_PATH.
45130         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45131         SPAWN_XFLAGS_TRY_SHELL.
45133         [BZ #13150]
45134         * posix/glob.h: Remove gcc 1.x support.
45136         [BZ #13068]
45137         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45139 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45141         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45142         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45143         strrchr-sse2-bsf
45144         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45145         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45146         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45147         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45148         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45149         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45151 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45153         * sysdeps/x86_64/wcscmp.S: New file.
45155         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45156         wcscmp-c wcscmp-sse2
45157         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45158         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45159         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45160         * wcsmbs/wcscmp.c: Allow renaming.
45162 2011-09-05  David S. Miller  <davem@davemloft.net>
45164         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45165         stack slot, rather than the struct return pointer slot.
45166         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45167         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45169         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45171 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45173         * po/ja.po: Update from translation team.
45175         [BZ #13144]
45176         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45177         kernel in 64-bit binaries.
45179 2011-09-01  David S. Miller  <davem@davemloft.net>
45181         * elf/elf.h (HWCAP_SPARC_*): Move to..
45182         * sysdeps/sparc/sysdep.h: this new file and add new values.
45183         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45184         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45185         _DL_HWCAP_COUNT to 24.
45186         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45187         entries.
45188         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45189         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45190         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45191         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45192         instead of magic constants.
45193         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45195 2011-08-31  David S. Miller  <davem@davemloft.net>
45197         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45198         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45199         Reimplement to do errno handling inline.
45200         (SYSCALL_ERROR_HANDLER): New macro.
45201         (__SYSCALL_STRING): Do not do errno handling in asm.
45202         (__CLONE_SYSCALL_STRING): Delete.
45203         (__INTERNAL_SYSCALL_STRING): Delete.
45204         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45205         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45206         (PSEUDO): Reimplement to do errno handling inline.
45207         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45208         (SYSCALL_ERROR_HANDLER): New macro.
45209         (__SYSCALL_STRING): Do not do errno handling in asm.
45210         (__CLONE_SYSCALL_STRING): Delete.
45211         (__INTERNAL_SYSCALL_STRING): Delete.
45212         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45213         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45214         i386.
45215         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45216         (inline_syscall*): Add 'err' argument.
45217         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45218         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45219         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45220         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45222         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45223         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45225 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45227         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45229 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45231         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45232         directive.
45234 2011-08-24  David S. Miller  <davem@davemloft.net>
45236         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45238 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45240         * elf/Makefile: Add rules to build and run unload8 test.
45241         * elf/unload8.c: New file.
45242         * elf/unload8mod1.c: New file.
45243         * elf/unload8mod1x.c: New file.
45244         * elf/unload8mod2.c: New file.
45245         * elf/unload8mod3.c: New file.
45247         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45248         it wasn't used.
45250 2011-08-23  David S. Miller  <davem@davemloft.net>
45252         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45253         subtract stack bias.
45254         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45255         %sp not %fp in calculations.
45256         (_JMPBUF_UNWINDS_ADJ): Likewise.
45258         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45259         (aio_suspend): Call it to force an exception region around the
45260         AIO_MISC_WAIT() invocation.
45262 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45264         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45265         backslash.
45267 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45269         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45270         protection macro.
45271         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45272         and <dl-machine.h>.
45273         (Elf64_FuncDesc): Remove.
45275 2011-08-22  David S. Miller  <davem@davemloft.net>
45277         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45278         sigaltstack check, add missing cfi directives.
45279         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45280         missing cfi directives, and sigaltstack handling.
45282 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45284         [BZ #11724]
45285         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45286         object is seen twice.
45287         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45289         * elf/Makefile (distribute): Add tst-initorder2.c.
45290         (tests): Add tst-initorder2.
45291         (modules-names): Add tst-initorder2a tst-initorder2b
45292         tst-initorder2c tst-initorder2d.  Add rules to build them.
45293         ($(objpfx)tst-initorder2.out): New rule.
45294         * elf/tst-initorder2.c: New file.
45295         * elf/tst-initorder2.exp: New file.
45297 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45299         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45301         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45302         dependencies back to end of function.
45304         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45305         $(elfobjdir)/ld.so.
45307 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45310         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45311         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45312         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45313         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45314         of __vdso_gettimeofday.
45315         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45316         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45317         attribute_hidden.
45318         (_libc_vdso_platform_setup): Remove initialization of
45319         __vdso_gettimeofday and __vdso_time.
45321 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45323         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45324         and fgetc_unlocked.
45325         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45326         getc_unlocked.
45328         * elf/dl-open.c (add_to_global): Report additions to the global scope
45329         for LD_DEBUG=scopes.
45330         (dl_open_worker): Also print scope of newly loaded dependencies.
45331         (_dl_show_scope): Indicate if there is no scope.
45333         [BZ #13114]
45334         * stdio-common/Makefile (tests): Add bug24.
45335         * stdio-common/bug24.c: New file.
45337 2011-08-19  Andreas Jaeger  <aj@suse.de>
45339         [BZ #13114]
45340         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45341         non-existant file when using close-on-exec mode.
45343 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45346         the very first instruction.
45348         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45349         the CFI state in the end.
45350         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45351         inclusion of dl-trampoline.h.
45352         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45354 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45356         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45357         expectations for long double.
45359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45360         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45362 2011-08-14  David S. Miller  <davem@davemloft.net>
45364         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45365         artificual limit depends upon the system page size.
45367 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45369         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45370         * resolv/Makefile: Define CFLAGS-libresolv.
45372 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45374         * nss/makedb.c (compute_tables): Make variables used in nested
45375         function static.
45377 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45379         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45380         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45381         if buffer was too small.
45383         * elf/pldd.c (main): Attach to all threads in the process.
45384         Rewrite /proc handling to use *at functions.
45386 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45388         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45389         specifies first scope to show.
45390         (dl_open_worker): Update callers.  Move printing scope of new
45391         object to before the relocation.
45392         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45393         * sysdeps/generic/ldsodefs.h: Update declaration.
45395         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45396         string for the scope number.
45398 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45400         * nscd/servicescache.c (cache_addserv): Make sure written is always
45401         initialized.
45403 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45405         * sysdeps/i386/i486/bits/atomic.h
45406         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45407         statement expression, so as to suppress "set but not used" warning.
45408         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45410         * string/strncat.c (STRNCAT): Use prototype definition.
45412         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45413         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45414         -Iprograms here.
45415         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45416         (localedef-modules): Add localedef.
45417         (locale-modules): Add locale.
45419         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45420         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45421         to avoid a warning.
45423 2011-08-14  David S. Miller  <davem@davemloft.net>
45425         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45426         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45428 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
45430         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45431         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45432         * elf/rtld.c (dl_main): Set l_name of vDSO.
45433         Call _dl_show_scope when DL_DEBUG_SCOPES.
45434         (process_dl_debug): Recognize scopes flag and also set it for all.
45435         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45436         Declare _dl_show_scope.
45438         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45439         (do_dlopen): Pass caller_dlopen to dl_open.
45440         (__libc_dlopen_mode): Initialize caller_dlopen.
45442         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45443         of libc.  Make tolower call locale-independent.  Optimize a bit by
45444         using isdigit instead of isalnum.
45445         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45447 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
45449         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45450         was a dependency or dynamically loaded.
45452 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
45454         * intl/l10nflist.c: Allow architecture-specific pop function.
45455         * sysdeps/x86_64/l10nflist.c: New file.
45457         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45458         classification.
45460 2011-08-10  Andreas Schwab  <schwab@redhat.com>
45462         * include/dirent.h: Add libc_hidden_proto for scandirat and
45463         scandirat64.  Don't declare __scandirat64.
45464         * dirent/scandirat.c: Add libc_hidden_def.
45465         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45466         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45468 2011-08-10  David S. Miller  <davem@davemloft.net>
45470         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45471         enum.
45472         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45473         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45474         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45476 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
45478         * Versions.def [libc]: Add GLIBC_2.15.
45479         * dirent/Makefile (routines): Add scandirat and scandirat64.
45480         * dirent/Versions [libc]: Export scandirat and scandirat64 for
45481         GLIBC_2.15.
45482         * dirent/dirent.h: Declare scandirat and scandirat64.
45483         * dirent/scandirat.c: New file.
45484         * dirent/scandirat64.c: New file.
45485         * sysdeps/wordsize-64/scandirat.c: New file.
45486         * sysdeps/wordsize-64/scandirat64.c: New file.
45487         * dirent/opendir.c: Define opendirat.
45488         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
45489         using scandirat.
45490         * dirent/scandir64.c: Adjust for scandir.c change.
45491         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
45492         __scandirat64, and __scandir_cancel_handler.
45493         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
45494         additional parameter and use openat instead of open (outside of ld.so).
45495         Add new __opendir as wrapper around __opendirat.
45496         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45497         here without requiring old scandirat implementation.
45499 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
45501         * dirent/scandir.c (cancel_handler): Renamed to
45502         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
45503         defined.  Adjust users.
45504         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45505         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45507 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
45509         * string/test-string.h (IMPL): Use __STRING to expand name and then
45510         stringify it.
45512         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
45513         of cleanups.
45515 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45517         * string/Makefile: Update.
45518         (strop-tests): Append strncat.
45519         * string/test-wcscmp.c: New file.
45520         New comprehensive test for wcscmp.
45521         * string/test-strcmp.c: Update.
45522         (WIDE): New define.
45524 2011-07-22  Andreas Schwab  <schwab@redhat.com>
45526         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45527         line.
45529 2011-07-26  Andreas Schwab  <schwab@redhat.com>
45531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45532         encoding to ACE if AI_IDN.
45534 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
45536         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45537         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45539 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45541         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45542         Fix overflow bug in strncat.
45543         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45545         * string/test-strncat.c: Update.
45546         Add new tests for checking overflow bugs.
45548 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45551         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45552         * sysdeps/i386/i686/multiarch/strcat.S: New file.
45553         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45554         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45555         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45556         * sysdeps/i386/i686/multiarch/strncat.S: New file.
45557         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45558         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45560         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45561         (USE_AS_STRCAT): Define.
45562         Add strcat and strncat support.
45563         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45565 2011-07-25  Andreas Schwab  <schwab@redhat.com>
45567         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45568         __n bigger than INT_MAX+1.
45569         (__strncmp_g): Likewise.
45571 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
45573         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45574         * libio/stido.h: Likewise.
45576         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45577         (AF_NFC): Define.
45578         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45579         (AF_NFC): Define.
45581         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45582         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45583         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45584         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45585         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45587         [BZ #13021]
45588         * scripts/test-installation.pl: Don't expect libnss_test1 to be
45589         installed.
45591         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45592         typo.
45593         (_dl_x86_64_save_sse): Likewise.
45595 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
45597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45598         OSXSAVE.
45599         (_dl_x86_64_save_sse): Likewise.
45601         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45603         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45605 2011-07-21  Andreas Schwab  <schwab@redhat.com>
45607         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45608         change.
45609         (_dl_x86_64_save_sse): Use correct AVX check.
45611 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45613         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45614         bug in strncpy/strncat.
45615         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45617 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
45619         * string/tester.c (test_strcat): Add tests for different alignments
45620         of source and destination.
45621         (test_strncat): Likewise.
45623 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45625         [BZ #12852]
45626         * posix/glob.c (glob): Check passed in values before using them in
45627         expressions to avoid some overflows.
45628         (glob_in_dir): Likewise.
45630         [BZ #13007]
45631         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45632         check for AVX enablement so that we don't crash with old kernels and
45633         new hardware.
45634         * elf/tst-audit4.c: Add same checks here.
45635         * elf/tst-audit6.c: Likewise.
45637         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45639 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
45641         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45643 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
45645         * po/cs.po: Update from translation team.
45646         * po/bg.po: Likewise.
45648 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
45650         * misc/sys/cdefs.h: Add support for const attribute.
45651         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45652         to gnu_dev_{major,minor,makedev} functions.
45654 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45656         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45658 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45660         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45661         strlen results.
45663 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45665         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45666         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45667         register in order to avoid conflicts with the soft frame pointer
45668         being held in r11 when necessary.
45669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45670         (INTERNAL_VSYSCALL_NCS): Likewise.
45672 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45674         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45675         * elf/dl-fini.c (_dl_fini): Adjust caller.
45676         * elf/dl-close.c (_dl_close_worker): Likewise.
45677         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45679 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45681         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45682         "aux_cache->nlibs < 0".
45684         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45685         in the reload-count case.
45687 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45690         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45691         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45692         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45693         * sysdeps/x86_64/multiarch/strcat.S: New file.
45694         * sysdeps/x86_64/multiarch/strncat.S: New file.
45695         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45696         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45697         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45698         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45699         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45700         (USE_AS_STRCAT): Define.
45701         Add strcat and strncat support.
45702         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45703         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45704         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45705         * string/strncat.c: Update.
45706         (USE_AS_STRNCAT): Define.
45707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45708         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45709         and i7.
45710         * sysdeps/x86_64/multiarch/init-arch.h
45711         (bit_Prefer_PMINUB_for_stringop): New.
45712         (index_Prefer_PMINUB_for_stringop): Likewise.
45713         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45714         bit_Prefer_PMINUB_for_stringop.
45716 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45718         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45719         buffer64.
45720         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45721         of casting of buffer.
45722         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45723         buffer32 and buffer64.
45724         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45725         writes instead of casting of buffer.
45726         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45727         buffer32.
45728         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45729         casting of buffer.
45731 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45733         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45735 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45737         * nscd/nscd.c (termination_handler): Don't do anything for a database
45738         if it has not yet been initialized.
45740 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45742         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45744 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45746         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45748 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45750         * po/nl.po: Update from translation team.
45751         * po/sv.po: Likewise.
45753 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45755         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45756         now disallowed by GCC.
45758         * configure.in (use-default-link): Default to yes if a test -shared
45759         link meets our qualifications.
45760         * configure: Regenerated.
45762         * config.make.in (output-format): New variable.
45763         * configure.in: Check for ld --print-output-format support.
45764         * configure: Regenerated.
45765         * Makerules ($(common-objpfx)format.lds)
45766         [$(output-format) != unknown]: Just use $(output-format),
45767         instead of the linker-script munging.
45769 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45771         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45772         of $(common-objpfx)shlib.lds.
45773         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45775         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45776         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45778         * configure.in (-z relro check): Adjust test code to add a large
45779         writable data section after it.
45780         * configure: Regenerated.
45782 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45784         * configure.in (-z relro check): Fix test code to make the variable
45785         truly const.
45786         * configure: Regenerated.
45788 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45790         * nscd/nscd.h (struct traced_file): Define.
45791         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45792         elements.  Add traced_files.
45793         (inotify_fd): Declare.
45794         (register_traced_file): Declare.
45795         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45796         (inotify_fd): Export.
45797         (resolv_conf_descr): Remove.
45798         (nscd_init): Move inotify descriptor creation to main.
45799         Don't register files for notification here.
45800         (register_traced_file): New function.
45801         (invalidate_cache): Don't use reset_res to determine whether to call
45802         res_init, go through the list of registered files.
45803         (main_loop_poll): The inotify descriptors are now stored in the
45804         structures for the traced files.
45805         (main_loop_epoll): Likewise
45806         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45807         to __nss_disable_nscd.
45808         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45809         for a database anymore.  Check the records for all the registered
45810         files instead.
45811         * nss/Makefile (libnss_files-routines): Add files-init.
45812         (libnss_db-routines): Add db-init.
45813         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45814         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45815         * nss/nss_db/db-init.c: New file.
45816         * nss/nss_files/files-init.c: New file.
45817         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45818         __nss_lookup_function.
45819         (__nss_lookup_function): Call nss_load_library.
45820         (nss_load_all_libraries): New function.
45821         (__nss_disable_nscd): Take parameter with callback function for files
45822         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45823         used for the cached services.
45824         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45825         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45826         options for features to all the files in nscd.
45828         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45830 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45832         * csu/elf-init.c (__libc_csu_init): Comment typo.
45834 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45836         * po/pl.po: Update from translation team.
45837         * po/ja.po: Likewise.
45838         * po/ru.po: Likewise.
45839         * po/ko.po: Likewise.
45840         * po/fr.po: Likewise.
45842 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45844         * configure.in (.ctors/.dtors header and trailer check):
45845         Use an empirical test on a built program.
45846         * configure: Regenerated.
45848         * configure.in (-z relro check): Use an empirical test on a built DSO.
45849         Detect, but do not require, on ia64.
45850         * configure: Regenerated.
45852         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45853         Update tests that use readelf to use $READELF instead.
45854         * configure: Regenerated.
45856 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45858         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45859         if the result is not used.
45861 2011-07-05  Andreas Jaeger  <aj@suse.de>
45863         [BZ#9696]
45864         * stdlib/tst-strtod.c: Add testcase.
45866 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45868         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45869         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45870         The latter has a higher limit.  Take additional parameter to pass to
45871         the new function.
45872         (__pathconf): Pass file to __statfs_link_max.
45873         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45874         __statfs_link_max.
45875         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45876         __statfs_link_max.
45878         [BZ #12868]
45879         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45880         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45881         Handle Lustre.
45882         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45883         (__statfs_filesize_max): Likewise.
45884         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45886 2011-07-05  Andreas Jaeger  <aj@suse.de>
45888         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45890 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45892         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45893         `status' variable.
45894         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45895         Likewise.
45897 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45899         * Makefile (strop-tests): Add strncat.
45900         * string/test-strncat.c: New file.
45902 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45904         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45906 2011-06-21  Andreas Jaeger  <aj@suse.de>
45908         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45909         Copy rule from iconvdata/Makefile.
45911 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45913         [BZ #12922]
45914         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45915         but no long options are defined, just return 'W'.
45917 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45919         [BZ #9696]
45920         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45922 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45924         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45925         netgroups to read.
45926         (innetgr): Likewise.
45928 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45930         * config.make.in (install_root): Default to $(DESTDIR).
45932 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45934         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45936 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45938         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45940         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45941         containing directory rather than embedding absolute directory names.
45943         * scripts/check-local-headers.sh: Rewritten using awk.
45944         Match by word, not by line.  Print error messages for matches.
45945         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45947         * Makerules [shlib-lds-flags empty]:
45948         ($(common-objpfx)libc_pic.opts): New target.
45949         ($(common-objpfx)libc_pic.os.clean): New target.
45950         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45952         * config.make.in (OBJCOPY): New variable.
45953         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45954         * configure: Regenerated.
45956         * config.make.in (use-default-link): New variable.
45957         * configure.in (use_default_link): Grok --with-default-link to set it.
45958         * configure: Regenerated.
45959         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45960         (shlib-lds, shlib-lds-flags): Define to empty.
45962         * Makerules (shlib-lds): New variable.
45963         (shlib-lds-flags): New variable.
45964         (build-shlib, build-moduile, build-module-asneeded): Use it.
45965         ($(common-objpfx)libc.so): Use $(shlib-lds).
45966         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45967         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45969         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45970         DT_FLAGS/DT_FLAGS_1 with zero flags.
45972         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45973         linker script munging.
45975 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45977         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45978         as 128-bit value.
45979         * crypt/sha512.c (sha512_process_block): Perform total addition using
45980         128-bit if possible.
45981         (__sha512_finish_ctx): Likewise.
45982         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45983         as 64-bit value.
45984         * crypt/sha256.c (SWAP64): Define.
45985         (sha256_process_block): Perform total addition using 64-bit if
45986         possible.
45987         (__sha256_finish_ctx): Likewise.
45989 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45991         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45992         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45993         * nscd/hstcache.c (cache_addhst): Likewise.
45994         * nscd/grpcache.c (cache_addgr): Likewise.
45995         * nscd/aicache.c (addhstaiX): Likewise
45996         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45998 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46000         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46001         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46002         * nscd/hstcache.c (cache_addhst): Likewise.
46003         * nscd/grpcache.c (cache_addgr): Likewise.
46004         * nscd/aicache.c (addhstaiX): Likewise
46006 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46008         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46009         domain only when needed.
46011 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46013         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46014         is always restored.
46016 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46018         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46019         are re-adding the entry.
46020         * nscd/servicescache.c (cache_addserv): Likewise.
46022 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46024         * sysdeps/generic/dl-irel.h: fix protection against multiple
46025         inclusions.
46026         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46028 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46030         [BZ #12935]
46031         * malloc/memusage.sh: Fix quoting in message.
46032         * debug/xtrace.sh: Likewise.
46034         * configure.in: Remove support for --experimental-malloc option, make
46035         it the default.
46036         * config.make.in: Likewise.
46037         * malloc/Makefile: Likewise.
46039 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46041         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46042         two-byte characters.
46044 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46046         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46047         AC_CACHE_CHECK invocation.
46048         * configure: Regenerated.
46050         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46052 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46054         [BZ #12350]
46055         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46056         bit from old_res_options.
46058         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46060         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46061         value type for setfct.
46063 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46065         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46066         __gettimeofday instead of gettimeofday.
46068 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46070         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46072 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46074         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46076         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46077         info.
46079 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46082         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46083         strcpy-sse2-unaligned strncpy-sse2-unaligned
46084         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46085         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46086         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46087         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46088         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46089         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46090         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46091         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46092         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46093         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46094         (STRCPY): Support SSE2 and SSSE3 versions.
46096 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46098         [BZ #12874]
46099         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46100         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46101         kernels which artificially limit size of requests.
46103 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46105         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46106         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46107         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46108         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46109         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46110         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46111         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46112         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46113         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46114         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46115         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46116         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46117         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46118         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46119         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46121         Enable unaligned load optimization for Intel Core i3, i5 and i7
46122         processors.
46123         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46124         Define.
46125         (index_Fast_Unaligned_Load): Define.
46126         (HAS_FAST_UNALIGNED_LOAD): Define.
46128 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46130         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46132 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46134         [BZ #12907]
46135         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46136         until it is clear that the information is realy needed.
46137         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46139 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46143 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46145         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46146         /sys/devices/system/cpu/online if it is usable.
46148         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46149         reading the information from the /proc filesystem to once a second.
46151 2011-06-21  Andreas Jaeger  <aj@suse.de>
46153         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46154         NULL after inclusion of kernel headers.
46156 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46158         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46159         calls to internal_setent.
46161         [BZ #12885]
46162         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46163         addresses using gethostbyname4_r ignore IPv4 addresses.
46165         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46166         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46168         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46170 2011-06-20  David S. Miller  <davem@davemloft.net>
46172         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46173         inclusions.
46174         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46176         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46177         (elf_irel): Use it.
46178         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46179         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46180         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46181         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46182         * sysdeps/x86_64/dl-irel.h: Likewise.
46184         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46185         * elf/dl-sym.c: Likewise.
46187 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46189         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46190         need to dereference resplen2.
46192 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46194         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46196 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46198         * Makeconfig: Define vardbdir and inst_vardbdir.
46199         * nss/Makefile: Add rules to install db-Makefile.
46201         * nss/nss_db/db-XXX.c: Cleanup.
46203         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46204         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46205         GLIBC_PRIVATE.
46206         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46207         * nss/makedb.c: Implement -g option to specify that value strings
46208         are generated and should not be added to table iterated over for
46209         get*ent calls.
46210         * nss/nss_db/db-initgroups.c: New file.
46212         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46213         interface.
46215         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46216         (internal_getgrouplist): Adjust to name change.
46217         Update use_initgroups_entry if this is not the first call.
46218         * nss/databases.def: Add initgroups entry.
46220         * nss/makedb.c (compute_tables): Check result of multiple hash table
46221         sizes to minimize maximum chain length.
46223 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46225         * Versions.def: Add entry for libnss_db.
46226         * shlib-versions: Likewise.
46227         * nss/Makefile: Add rules to build libnss_db.
46228         * nss/Versions: Add libnss_db information.  Organize libnss_files
46229         entries better.
46230         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46231         makedb progra.  Some minor improvements to generate smaller files.
46232         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46233         here from...
46234         * nss/makedb.c: ...here.
46235         Improve database format to be smaller and require less memory at
46236         runtime.
46237         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46238         db anymore.
46239         * nss/nss_db/db-netgrp.c: Likewise.
46240         * nss/nss_db/db-open.c: Likewise.
46241         * nss/nss_files/flies-XXX.x: Adjust comments.
46242         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46243         * nss/nss_files/files-grp.c: Likewise.
46244         * nss/nss_files/files-hosts.c: Likewise.
46245         * nss/nss_files/files-network.c: Likewise.
46246         * nss/nss_files/files-proto.c: Likewise.
46247         * nss/nss_files/files-pwd.c: Likewise.
46248         * nss/nss_files/files-rpc.c: Likewise.
46249         * nss/nss_files/files-service.c: Likewise.
46250         * nss/nss_files/files-sgrp.c: Likewise.
46251         * nss/nss_files/files-spwd.c: Likewise.
46252         * nss/nss_db/db-alias.c: Removed.
46253         * nss/nss_db/dummy-db.h: Removed.
46255 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46257         * nss/makedb.c: Rewritten to not use database library.
46258         * nss/Makefile: Update to build new makedb program.
46260 2011-06-14  Andreas Jaeger  <aj@suse.de>
46262         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46263         memset declaration.
46265 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46268         tmpbuf.
46270 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46272         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46273         * elf/Makefile ($(objpfx)ld.so): Likewise.
46275         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46276         Don't list ld.so twice in dependencies.
46278         * posix/bug-regex31.c: Include <stdlib.h>.
46280         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46282         * nis/nss_compat/compat-spwd.c
46283         (getspent_next_nss_netgr): Remove unused variable.
46284         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46286         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46287         nonmembers" output to use the right array.
46289         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46291         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46293         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46294         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46295         * catgets/gencat.c (read_input_file): Likewise.
46296         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46298         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46299         variable definition inside #if's controlling its use.
46301         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46303         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46305         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46307         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46308         unreachable code.
46310         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46312         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46313         * configure: Regenerated.
46315         * Makerules: Revert last change.
46316         * elf/Makefile: Likewise.
46318 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46320         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46321         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46322         (reloc-link): Likewise.
46324 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46326         * elf/Makefile: Add rules to build pldd.
46327         * elf/pldd.c: New file.
46328         * elf/pldd-xx.c: New file.
46330 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46332         * version.h: Update for 2.15 development version.
46334 2011-06-07  David S. Miller  <davem@davemloft.net>
46336         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46337         ifuncs.
46338         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46339         elf_machine_lazy_rel): Likewise.
46340         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46341         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46342         elf_machine_lazy_rel): Likewise.
46343         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46344         dl_hwcap via passed in argument.
46345         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46346         Likewise.
46348 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46350         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46352 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46354         [BZ #12849]
46355         * manual/fdl-1.1.texi: New file, verbatim from:
46356         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46357         * manual/lgpl-2.1.texi: New file, verbatim from:
46358         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46359         * manual/Makefile (licenses): New variable, list those new file names.
46360         (texis): Use it.
46361         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46363         * manual/fdl.texi: File removed.
46364         * manual/lesser.texi: File removed.
46365         * manual/libc.texinfo (Copying, Documentation License):
46366         Use new @include file names, put @appendix directive before @include.
46368 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46370         [BZ #12841]
46371         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46372         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46373         (mq_open): Add __NTH.
46375 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46378         Assume Intel Core i3/i5/i7 processor if AVX is available.
46380 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46382         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46383         typo.
46385 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46387         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46388         memory.  Use alloca_account.  Fix memory leak when retrying.
46390 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46392         * version.h (RELEASE): Bump for 2.14 release.
46393         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46395         * config.make.in (RANLIB): Remove entry.
46397 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46399         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46400         (libc.pot): Work around missing support for .ksh extension in xgettext.
46402         [BZ #12684]
46403         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46404         if both request failed.
46405         (send_dg): In case of server errors clear resplen or *resplen2.
46407         [BZ #12454]
46408         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46409         when there are multiple maps.
46410         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46411         (_dl_fini): Remove test here.
46413         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46415 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46417         [BZ #12350]
46418         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46419         bit from old_res_options.
46420         (gaih_inet): Likewise.
46422         [BZ #11099]
46423         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46424         as signed.
46426         * resolv/res_init.c (res_setoptions): Make the code more compact.
46428         [BZ #11558]
46429         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46430         set RES_USEVC.
46432         [BZ #11634]
46433         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46435         * malloc/malloc.h: Mark malloc hook variables as deprecated.
46437         [BZ #11781]
46438         * malloc/malloc.h: Declare malloc hook variables as volatile.
46440         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46441         in last patch.
46443         [BZ #11799]
46444         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46445         raise in the comment.
46446         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46448         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46450 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
46452         [BZ #12811]
46453         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46454         grow the buffers more if it already has to be sufficient.
46455         (build_wcs_upper_buffer): Likewise.
46456         * posix/regexec.c (check_matching): Likewise.
46457         (clean_state_log_if_needed): Likewise.
46458         (extend_buffers): Don't enlarge buffers beyond size of the input
46459         buffer.
46460         Patches mostly by Emil Wojak <emil@wojak.eu>.
46461         * posix/bug-regex32.c: New file.
46462         * posix/Makefile (tests): Add bug-regex32.
46464         * locale/findlocale.c (_nl_find_locale): Return right away if
46465         _nl_explode_name failed.
46466         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46468         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46470         * debug/xtrace.sh: Unify messages.
46471         * malloc/memusage.sh: Likewise.
46473         [BZ #12813]
46474         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46475         time symbol from vDSO.  Substitute with vsyscall if not available.
46476         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46477         __vdso_time.
46479         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46480         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46481         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46482         Add sendmmsg and internal_sendmmsg.
46483         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46484         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46485         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46487         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46488         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46489         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46491 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
46493         [BZ #12813]
46494         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46495         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
46496         available.
46497         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46498         __vdso_getcpu.
46500         [BZ #12814]
46501         * iconvdata/Makefile (tests): Add bug-iconv9.
46502         * iconvdata/bug-iconv9.c: New file.
46504 2011-05-27  Andreas Schwab  <schwab@redhat.com>
46506         [BZ #12814]
46507         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46509 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
46511         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46512         (struct user_regs_struct): Change intcs field back to cs.
46514 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
46516         * po/ja.po: Update from translation team.
46518 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
46520         [BZ #12795]
46521         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46522         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46524 2011-05-20  Andreas Schwab  <schwab@redhat.com>
46526         * stdlib/longlong.h: Update from GCC.
46528 2011-05-23  Andreas Schwab  <schwab@redhat.com>
46530         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46531         parameter name.
46532         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46533         Add parameter name.
46534         (__sysconf): Pass it down.
46536 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
46538         [BZ #12671]
46539         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46540         some situations.
46541         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46542         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46543         add in in __libc_use_alloca calls.  Adjust callers.
46544         (glob): Use malloc in some situations.
46546         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46547         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46548         pltexit.
46550 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
46552         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46553         and CLOCK_BOOTTIME_ALARM.
46555         [BZ #12782]
46556         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46557         is returned.
46559         * string/_strerror.c (__strerror_r): Print negative errors as signed
46560         numbers.
46562         [BZ #12777]
46563         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46564         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46565         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46567         * configure.in: Fix typo in redirection and correct removal of test
46568         files in two cases.
46570         [BZ #12788]
46571         * locale/setlocale.c (new_composite_name): Fix test to check for
46572         identical name of all categories.
46574         [BZ #12792]
46575         * libio/filedoalloc.c (local_isatty): New function.
46576         (_IO_file_doallocate): Use local_isatty.
46577         * stdio-common/perror.c (perror): In case a new stream is used
46578         forward the stream error.
46579         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46580         error flag.
46582 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
46584         [BZ #11869]
46585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46586         alloca.
46587         * include/alloca.h (extend_alloca_account): Define.
46589         [BZ #11857]
46590         * posix/regex.h: Fix comments with documentation of user-accessible
46591         fields after compilation and describe correct free'ing of pattern
46592         after re_compile_pattern.
46593         Patch by Reuben Thomas <rrt@sc3d.org>.
46595 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
46597         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46598         and -mno-altivec to prevent the compiler from using Altivec and/or
46599         VSX instructions when the corresponding registers are not available.
46601 2011-05-19  Andreas Schwab  <schwab@redhat.com>
46603         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46605 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
46607         * libio/freopen.c (freopen): Use __dup2, not dup2.
46608         * libio/freopen64.c (freopen64): Likewise.
46610 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46612         [BZ #12775]
46613         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46614         * math/Makefile (tests): Add test-powl.
46615         (CFLAGS-test-powl.c): Define.
46616         * math/test-powl.c: New file.
46618 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46620         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46622 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
46624         [BZ #11837]
46625         * iconvdata/gb18030.c: Update to GB18020-2005.
46627 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
46629         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46630         RE_SYNTAX_POSIX_AWK): Update to match recent development.
46631         Patch by Aharon Robbins <arnold@skeeve.com>.
46633         [BZ #11892]
46634         * stdlib/putenv.c (putenv): Don't always create copy of the variable
46635         on the stack.
46637         [BZ #11895]
46638         * misc/pselect.c (__pselect): Handle timeout value errors hidden
46639         through underflows.
46641         [BZ #12766]
46642         * misc/error.c (error_at_line): Ensure file_name and old_file_name
46643         point to strings before performing equality test for error_one_per_line
46644         mode.
46646         [BZ #11697]
46647         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46649         [BZ #11820]
46650         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46651         (struct user_fpregs_struct): Avoid __uint*_t types.
46653         [BZ #6420]
46654         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46655         symbol info.  Use it instead of calling _dl_addr locally.
46656         (lock_and_info): New function.
46657         (tr_freehook): Call lock_and_info and pass symbol info as additional
46658         parameter to tr_where.
46659         (tr_mallochook): Likewise.
46660         (tr_reallochook): Likewise.
46661         (tr_memalignhook): Likewise.
46663         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46664         used and couldn't be at all thread-safe.
46666 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46668         * libio/freopen.c (freopen): Don't close old file descriptor
46669         before the new one is opened.  Instead dup the new file descriptor
46670         to the old one after the new stream is created.
46671         * libio/freopen64.c (freopen64): Likewise.
46672         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46673         * libio/fileops.c (_IO_new_file_close_it): Handle new
46674         _IO_FLAGS2_NOCLOSE flag.
46675         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46676         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46677         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46678         _IO_FLAGS2_NOCLOSE flag.
46679         * include/unistd.h: Add hidden_proto for dup3.
46680         Define __have_dup3.
46681         * io/dup3.c: Define hidden symbol.
46682         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46684         [BZ #7101]
46685         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46686         when an incomplete long option is used.
46687         * posix/tst-getopt_long1.c: New file.
46688         * posix/Makefile (tests): Add tst-getopt_long1.
46690         [BZ #10138]
46691         * scripts/config.guess: Update from autoconf-2.68.
46692         * scripts/config.sub: Likewise.
46694         [BZ #10157]
46695         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46696         tests into ...
46697         (has_cpuclock): ...this.  New function.
46698         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46699         macro here based on has_cpuclock code.
46701         [BZ #10149]
46702         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46703         First byte (not low byte) is now always NUL.
46704         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46706         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46707         Use non-cancelable interfaces.
46709         [BZ #9809]
46710         * locale/iso-639.def: Add entry for Sorani.
46712         [BZ #11901]
46713         * include/stdlib.h: Move include protection to the right place.
46714         Define abort_msg_s.  Declare __abort_msg with it.
46715         * stdlib/abort.c (__abort_msg): Adjust type.
46716         * assert/assert.c (__assert_fail_base): New function.  Majority
46717         of code from __assert_fail.  Allocate memory for __abort_msg with
46718         mmap.
46719         (__assert_fail): Now call __assert_fail_base.
46720         * assert/assert-perr.c: Remove bulk of implementation.  Use
46721         __assert_fail_base.
46722         * include/assert.hL Declare __assert_fail_base.
46723         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46724         mmap.
46725         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46727 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46729         [BZ #11952]
46730         [BZ #12453]
46731         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46732         until all modules are registered in the DTV.
46733         * elf/Makefile: Add rules to build and run tst-tls19.
46734         * elf/tst-tls19.c: New file.
46735         * elf/tst-tls19mod1.c: New file.
46736         * elf/tst-tls19mod2.c: New file.
46737         * elf/tst-tls19mod3.c: New file.
46738         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46740         [BZ #12083]
46741         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46742         correctly.
46744         [BZ #12601]
46745         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46746         two-byte sequence errors.
46747         * iconvdata/Makefile (tests): Add bug-iconv8.
46748         * iconvdata/bug-iconv8.c: New file.
46750         [BZ #12626]
46751         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46752         buf2 definition.
46754         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46756         [BZ #12432]
46757         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46758         (dummy_getcfa): New function.
46759         (init): Get _Unwind_GetCFA address, use dummy if not found.
46760         (backtrace_helper): In recursion check, also check whether CFA changes.
46761         (__backtrace): Completely initialize arg.
46763         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46764         storing incomplete byte sequence in state object.  Avoid testing for
46765         guaranteed too small input if we know there is enough data available.
46767 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46769         * Makeconfig (+link-pie): Indent.
46770         * Rules (binaries-pie): Define if $(have-fpie) and
46771         $(build-shared).
46772         (binaries-shared): Also filter out $(binaries-pie).
46773         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46774         * nscd/Makefile (others-pie): Add nscd.
46775         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46776         ($(objpfx)nscd): Remove command override.
46777         * login/Makefile (others-pie): Add pt_chown.
46778         ($(objpfx)pt_chown): Remove command override.
46779         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46780         remove command overrides.
46782 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46784         * libio/tst_putwc.c: Fix error messages.
46786         [BZ #12724]
46787         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46788         currently writing and seek to current position when not.
46789         * libio/Makefile (tests): Add bug-fclose1.
46790         * libio/bug-fclose1.c: New file.
46792 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46794         [BZ #12511]
46795         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46796         don't set DF_1_NODELETE here.
46797         (do_lookup_x): When entering new entry test for copy relocation
46798         and if necessary set DF_1_NODELETE flag.
46799         * elf/tst-unique4.cc: New file.
46800         * elf/tst-unique4.h: New file.
46801         * elf/tst-unique4lib.cc: New file.
46802         * elf/Makefile: Add rules to build and run tst-unique4.
46803         Patch by Piotr Bury <pbury@goahead.com>.
46805 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46807         [BZ #12052]
46808         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46810         [BZ #12625]
46811         * misc/mntent_r.c (addmntent): Flush the stream after the output
46813         [BZ #12393]
46814         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46815         (is_trusted_path_normalize): Skip initial colon.  Append slash
46816         to empty buffer.  Duplicate is_trusted_path code but allow
46817         constructed patch to be prefix.
46818         (is_dst): Allow $ORIGIN followed by /.
46819         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46820         Correct testing of result of is_trusted_path_normalize
46821         (decompose_rpath): Fix warning.
46823 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46825         [BZ #11257]
46826         * grp/initgroups.c (internal_getgrouplist): When we found the service
46827         list through the initgroups entry in nsswitch.conf do not always
46828         continue on a successful lookup.  Don't always use the
46829         __nss_group_database value if it is set.
46830         * nss/nsswitch.conf (initgroups): Change action for successful db
46831         lookup to continue for compatibility.
46833 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46835         [BZ #11532]
46836         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46837         and CP774 modules.
46838         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46839         and CP774 modules.
46840         * iconvdata/tst-tables.sh: Likewise.
46841         * iconvdata/cp770.c: New file.
46842         * iconvdata/cp771.c: New file.
46843         * iconvdata/cp772.c: New file.
46844         * iconvdata/cp773.c: New file.
46845         * iconvdata/cp774.c: New file.
46846         * iconvdata/testdata/CP770: New file.
46847         * iconvdata/testdata/CP770..UTF8: New file.
46848         * iconvdata/testdata/CP771: New file.
46849         * iconvdata/testdata/CP771..UTF8: New file.
46850         * iconvdata/testdata/CP772: New file.
46851         * iconvdata/testdata/CP772..UTF8: New file.
46852         * iconvdata/testdata/CP773: New file.
46853         * iconvdata/testdata/CP773..UTF8: New file.
46854         * iconvdata/testdata/CP774: New file.
46855         * iconvdata/testdata/CP774..UTF8: New file.
46857         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46858         END CHARMAP line.
46859         * iconvdata/gen-8bit-gap.sh: Likewise.
46860         * iconvdata/gen-8bit.sh: Likewise.
46862         * locale/iso-639.def: Add ary entry.
46864         [BZ #11258]
46865         * locale/C-translit.h.in: Add U20A1 transliteration.
46867         [BZ #12178]
46868         * locale/iso-639.def: Add wae entry.
46869         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46871         [BZ #12545]
46872         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46873         for n.
46875         [BZ #12711]
46876         * locale/C-translit.h.in: Add entry for U20B9.
46877         Patch by pravin.d.s@gmail.com.
46879 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46881         [BZ #12713]
46882         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46883         ENAMETOOLONG use generic getcwd.
46884         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46885         in rtld.  Use *stat64.
46886         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46887         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46888         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46889         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46890         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46891         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46892         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46893         __fstatat64 macros.
46894         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46895         * dirent/rewinddir.c: Add libc_hidden_def.
46896         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46897         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46899         * include/dirent.h (__alloc_dir): Add flags parameter.
46900         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46901         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46902         __alloc_dir.
46903         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46904         from fdopendir if O_CLOEXEC is already set.
46906 2011-03-15  Alan Modra  <amodra@gmail.com>
46908         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46909         l_tls_firstbyte_offset non-zero.  Save padding offset in
46910         l_tls_firstbyte_offset for later use.
46911         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46912         freeing static tls block.
46914 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46916         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46917         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46918         being defined by the kernel headers.
46920 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46922         [BZ #12734]
46923         * resolv/resolv.h: Define RES_NOTLDQUERY.
46924         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46925         no-tld-query and set RES_NOTLDQUERY.
46926         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46927         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46928         modern BIND to search name as TLD unless forbidden.
46930 2011-05-07  Petr Baudis  <pasky@suse.cz>
46931             Ulrich Drepper  <drepper@gmail.com>
46933         [BZ #12393]
46934         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46935         (is_trusted_path): ...to here.
46936         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46937         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46938         using is_trusted_path_normalize() in setuid scripts.
46940 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46942         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46943         __BEGIN/__END_DECLS.
46945 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46947         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46948         NSS_STATUS_NOTFOUND if no record was found.
46950 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46952         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46953         (headers-not-in-tirpc): Remove rpc/netdb.h
46954         * resolv/netdb.h: Revert last change.
46956 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46958         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46959         circular dependency between libgcc.a and libc.a.
46961 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46963         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46964         * nis/Makefile: Don't install rpcsvc/*.
46965         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46966         instead of <rpc/types.h>.
46967         (MAXHOSTNAMELEN): Define.
46969 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46971         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46973 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46975         [BZ #12714]
46976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46977         gethostbyname4_r when IPv6 results are possible.
46979 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46981         [BZ #12723]
46982         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46983         _PC_PIPE_BUF handling.
46985 2011-04-30  Bruno Haible  <bruno@clisp.org>
46987         [BZ #12717]
46988         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46989         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46990         to 'int'.
46991         * inet/getnameinfo.c (getnameinfo): Likewise.
46993 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46995         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46996         to groups setting in database lookup.
46997         * nss/nsswitch.conf: Add initgroups entry.
46999 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47001         [BZ #12685]
47002         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47003         mode string.
47004         Patch by Eric Blake <eblake@redhat.com>.
47006 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47008         * sunrpc/Makefile (need-export-routines): Add svc_run.
47009         (routines): Remove svc_run.
47010         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47011         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47012         * sunrpc/svc_run.c (svc_run): Likewise.
47013         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47015 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47017         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47018         problem in reallocation in last patch.
47020 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47022         * sunrpc/Makefile: Move inclusion of Rules.
47024 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47026         * nss/nss_files/files-initgroups.c: New file.
47027         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47028         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47029         _nss_files_initgroups_dyn.
47031 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47033         * elf/elf.h (R_ARM_IRELATIVE): Define.
47035 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47037         * po/ru.po: Update from translation team.
47039 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47041         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47042         dependencies.
47044 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47046         [BZ #12653]
47047         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47048         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47050         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47051         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47053 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47055         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47056         differing bytes.
47057         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47058         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47059         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47061 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47063         [BZ #12420]
47064         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47065         storing it.
47066         * stdlib/bug-getcontext.c: New file.
47067         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47069 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47071         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47072         instructions into .machine "z9-109".
47073         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47074         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47076 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47078         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47079         between environment variables and auxiliary vector.
47081 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47083         * Makefile: Add rules to build linkobj/libc.so.
47084         * include/libc-symbols.h: Define libc_hidden_nolink.
47085         * include/rpc/auth.h: Mark functions which are to be hidden.
47086         * include/rpc/auth_des.h: Likewise.
47087         * include/rpc/auth_unix.h: Likewise.
47088         * include/rpc/clnt.h: Likewise.
47089         * include/rpc/des_crypt.h: Likewise.
47090         * include/rpc/key_prot.h: Likewise.
47091         * include/rpc/pmap_clnt.h: Likewise.
47092         * include/rpc/pmap_prot.h: Likewise.
47093         * include/rpc/pmap_rmt.h: Likewise.
47094         * include/rpc/rpc_msg.h: Likewise.
47095         * include/rpc/svc.h: Likewise.
47096         * include/rpc/svc_auth.h: Likewise.
47097         * include/rpc/xdr.h: Likewise.
47098         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47099         * nss/Makefile: Likewise.
47100         * sunrpc/Makefile: Don't install headers.  Build library with normal
47101         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47102         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47103         for the compat linking library.  Remove use of INTDEF/INTUSE.
47104         * sunrpc/auth_none.c: Likewise.
47105         * sunrpc/auth_unix.c: Likewise.
47106         * sunrpc/authdes_prot.c: Likewise.
47107         * sunrpc/authuxprot.c: Likewise.
47108         * sunrpc/clnt_gen.c: Likewise.
47109         * sunrpc/clnt_perr.c: Likewise.
47110         * sunrpc/clnt_raw.c: Likewise.
47111         * sunrpc/clnt_simp.c: Likewise.
47112         * sunrpc/clnt_tcp.c: Likewise.
47113         * sunrpc/clnt_udp.c: Likewise.
47114         * sunrpc/clnt_unix.c: Likewise.
47115         * sunrpc/des_crypt.c: Likewise.
47116         * sunrpc/des_soft.c: Likewise.
47117         * sunrpc/get_myaddr.c: Likewise.
47118         * sunrpc/key_call.c: Likewise.
47119         * sunrpc/key_prot.c: Likewise.
47120         * sunrpc/netname.c: Likewise.
47121         * sunrpc/pm_getmaps.c: Likewise.
47122         * sunrpc/pm_getport.c: Likewise.
47123         * sunrpc/pmap_clnt.c: Likewise.
47124         * sunrpc/pmap_prot.c: Likewise.
47125         * sunrpc/pmap_prot2.c: Likewise.
47126         * sunrpc/pmap_rmt.c: Likewise.
47127         * sunrpc/publickey.c: Likewise.
47128         * sunrpc/rpc_cmsg.c: Likewise.
47129         * sunrpc/rpc_common.c: Likewise.
47130         * sunrpc/rpc_dtable.c: Likewise.
47131         * sunrpc/rpc_prot.c: Likewise.
47132         * sunrpc/rpc_thread.c: Likewise.
47133         * sunrpc/rtime.c: Likewise.
47134         * sunrpc/svc.c: Likewise.
47135         * sunrpc/svc_auth.c: Likewise.
47136         * sunrpc/svc_authux.c: Likewise.
47137         * sunrpc/svc_raw.c: Likewise.
47138         * sunrpc/svc_run.c: Likewise.
47139         * sunrpc/svc_simple.c: Likewise.
47140         * sunrpc/svc_tcp.c: Likewise.
47141         * sunrpc/svc_udp.c: Likewise.
47142         * sunrpc/svc_unix.c: Likewise.
47143         * sunrpc/svcauth_des.c: Likewise.
47144         * sunrpc/xcrypt.c: Likewise.
47145         * sunrpc/xdr.c: Likewise.
47146         * sunrpc/xdr_array.c: Likewise.
47147         * sunrpc/xdr_float.c: Likewise.
47148         * sunrpc/xdr_intXX_t.c: Likewise.
47149         * sunrpc/xdr_mem.c: Likewise.
47150         * sunrpc/xdr_rec.c: Likewise.
47151         * sunrpc/xdr_ref.c: Likewise.
47152         * sunrpc/xdr_sizeof.c: Likewise.
47153         * sunrpc/xdr_stdio.c: Likewise.
47155 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47157         [BZ #12650]
47158         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47159         * sysdeps/ia64/dl-tls.h: Likewise.
47160         * sysdeps/powerpc/dl-tls.h: Likewise.
47161         * sysdeps/s390/dl-tls.h: Likewise.
47162         * sysdeps/sh/dl-tls.h: Likewise.
47163         * sysdeps/sparc/dl-tls.h: Likewise.
47164         * sysdeps/x86_64/dl-tls.h: Likewise.
47165         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47167 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47169         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47170         rpath element also skip the following colon.
47171         (expand_dynamic_string_token): Add is_path parameter and pass
47172         down to DL_DST_REQUIRED and _dl_dst_substitute.
47173         (decompose_rpath): Call expand_dynamic_string_token with
47174         non-zero is_path.  Ignore empty rpaths.
47175         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47176         with zero is_path.
47178 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47181         Make cancelable.
47183 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47185         [BZ #12655]
47186         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47187         Patch by Filipe David Manana <fdmanana@apache.org>.
47189 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47191         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47192         Maintain aligned stack.
47193         (CHECK_RSP): Remove unused macro.
47195 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47197         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47198         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47200 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47202         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47204         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47206 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47208         [BZ #12518]
47209         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47210         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47211         * sysdeps/x86_64/memmove.c: New file.
47212         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47213         (memcpy): Renamed to ...
47214         (__new_memcpy): This.
47215         (memcpy): Provide GLIBC_2_14 memcpy.
47216         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47217         (memcpy): Provide GLIBC_2_2_5 memcpy.
47219 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47221         [BZ #12631]
47222         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47224 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47226         * misc/syncfs.c: New file.
47227         * misc/Makefile (routines): Add syncfs.
47228         * posix/unistd.h: Declare syncfs.
47229         * sysdeps/unix/syscalls.list: Add syncfs.
47231 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47233         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47234         open_by_handle_at.
47235         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47236         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47237         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47238         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47239         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47240         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47241         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47243 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47245         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47246         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47247         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47248         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47249         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47250         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47251         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47253         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47254         sync_file_range.c with -fexceptions.
47255         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47256         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47257         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47258         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47259         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47260         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47261         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47262         sync_file_range as cancellation point
47263         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47264         now a wrapper around __call_sync_file_range with cancellation handling.
47265         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47266         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47267         function name to __call_sync_file_range.
47268         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47269         Add call_sync_file_range.
47271 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47273         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47274         bits/timex.h.
47276 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47278         * iconv/iconv.h: Fix typo in comment.
47279         * io/fcntl.h: Likewise.
47280         * libio/stdio.h: Likewise.
47281         * posix/spawn.h: Likewise.
47282         * posix/unistd.h: Likewise.
47283         * stdlib/stdlib.h: Likewise.
47284         * time/time.h: Likewise.
47285         * wcsmbs/wchar.h: Likewise.
47287         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47288         open_by_handle): Add.
47289         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47290         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47291         Augment a few comments.
47292         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47293         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47294         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47295         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47297         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47298         open_by_handle.
47300         * io/fcntl.h (AT_EMPTY_PATH): Define.
47302 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47304         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47305         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47306         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47307         to...
47308         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47309         * Versions.def: Add GLIBC_2.14.
47310         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47311         Export.
47313 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47315         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47316         round counter.
47317         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47319 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47321         [BZ #12597]
47322         * string/test-strncmp.c (do_page_test): New function.
47323         (check2): Likewise.
47324         (test_main): Call check2.
47325         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47327 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47329         [BZ #12587]
47330         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47331         Handle cache information in CPU leaf 4.
47332         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47334 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47336         [BZ #12583]
47337         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47338         character representation.
47339         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47341 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47343         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47344         END(__isnan) to END(__isnanf) to match function entry point/label
47345         EALIGN(__isnanf,...).
47347 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47349         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47351 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47353         [BZ #12510]
47354         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47355         copy from the symbol referenced in the relocation to initialize the
47356         used variable.
47357         Patch by Piotr Bury <pbury@goahead.com>.
47358         * elf/Makefile: Add rules to build and tst-unique3.
47359         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47360         * elf/tst-unique3.cc: New file.
47361         * elf/tst-unique3.h: New file.
47362         * elf/tst-unique3lib.cc: New file.
47363         * elf/tst-unique3lib2.cc: New file.
47365         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47367 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47369         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47370         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47371         to _start.
47373 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47375         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47376         to-be-loaded object along a path to loader is ld.so.
47378 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47379             Ulrich Drepper  <drepper@gmail.com>
47381         * sysdeps/x86_64/memset.S: After aligning destination, code
47382         branches to different locations depending on the value of
47383         misalignment, when multiarch is enabled. Fix this.
47385 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47387         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47388         Set _x86_64_preferred_memory_instruction for AMD processsors.
47389         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47390         Set bit_Prefer_SSE_for_memop for AMD processors.
47392 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47394         * libio/fmemopen.c (fmemopen): Optimize a bit.
47396 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47398         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47400 2011-03-03  Roland McGrath  <roland@redhat.com>
47402         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47404 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47406         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47407         __bzero_ultra1 instead of __memset_ultra1.
47409 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47410             Ulrich Drepper  <drepper@gmail.com>
47412         [BZ #12509]
47413         * include/link.h (struct link_map): Add l_orig_initfini.
47414         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47415         returning unsuccessfully.
47416         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47417         close of a file loaded at startup, restore the original l_initfini
47418         list.
47419         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47420         list, store the pointer.
47421         * elf/Makefile ($(objpfx)noload-mem): New rule.
47422         (noload-ENV): Define.
47423         (tests): Add $(objpfx)noload-mem.
47424         * elf/noload.c: Include <memcheck.h>.
47425         (main): Call mtrace.  Close all opened handles.
47427 2011-02-17  Andreas Schwab  <schwab@redhat.com>
47429         [BZ #12454]
47430         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47431         dependencies are missing.
47433 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47435         Fix __if_freereq crash: Unlike the generic version which uses free,
47436         Hurd needs munmap.
47437         * sysdeps/mach/hurd/ifreq.h: New file.
47439 2011-01-27  Petr Baudis  <pasky@suse.cz>
47440             Ulrich Drepper  <drepper@gmail.com>
47442         [BZ 12445]#
47443         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47444         to extend_alloca().
47445         * stdio-common/bug23.c: New file.
47446         * stdio-common/Makefile (tests): Add bug23.
47448 2010-09-28  Andreas Schwab  <schwab@redhat.com>
47449             Ulrich Drepper  <drepper@gmail.com>
47451         [BZ #12489]
47452         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47453         before performing relro protection.  At old place add assertion
47454         to make sure nothing changed.
47456 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
47457             Glauber de Oliveira Costa  <glommer@gmail.com>
47459         * elf/elf.h: Add new ARM TLS relocs.
47461 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
47463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47464         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47465         cast from r3.
47466         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
47467         'tests' variable.
47468         * sysdeps/wordsize-64/tst-writev.c: New file.
47470 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
47472         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47473         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47474         insns in _dl_start to prevent a TOC reference before relocs are
47475         resolved.
47477 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
47479         [BZ #12469]
47480         * Makeconfig: Remove RANLIB definition.
47481         * Makerules: Don't use RANLIB.
47482         * aclocal.m4: Remove ranlib test.
47483         * configure.in: No need to check for ranlib.
47484         * elf/rtld-Rules: Don't use RANLIB.
47486 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47488         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47489         protection macro.
47490         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47491         inclusion protection macro.
47493         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47494         SIGRTMIN and SIGRTMAX and print information in that case only when
47495         SIGRTMIN is defined.
47497 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
47499         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47500         arginfo fn returning -1.
47502         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47503         and thousands string is zero terminated.
47505 2011-02-03  Andreas Schwab  <schwab@redhat.com>
47507         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47508         sysdeps/unix/sysv/linux/bits/socket.h.
47510 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47512         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47513         (__CPU_COUNT): Remove old macros.
47514         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47515         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47516         (__CPU_ALLOC, __CPU_FREE): Add macros.
47517         (__sched_cpualloc, __sched_cpufree): Add declarations.
47519 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
47521         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47522         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47523         * nscd/aicache.c (addhstaiX): Return timeout of added value.
47524         (readdhstai): Return value of addhstaiX call.
47525         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47526         (addgrbyX): Return value returned by cache_addgr.
47527         (readdgrbyname): Return value returned by addgrbyX.
47528         (readdgrbygid): Likewise.
47529         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47530         (addpwbyX): Return value returned by cache_addpw.
47531         (readdpwbyname): Return value returned by addhstbyX.
47532         (readdpwbyuid): Likewise.
47533         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47534         (addservbyX): Return value returned by cache_addserv.
47535         (readdservbyname): Return value returned by addservbyX:
47536         (readdservbyport): Likewise.
47537         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47538         (addhstbyX): Return value returned by cache_addhst.
47539         (readdhstbyname): Return value returned by addhstbyX.
47540         (readdhstbyaddr): Likewise.
47541         (readdhstbynamev6): Likewise.
47542         (readdhstbyaddrv6): Likewise.
47543         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47544         (readdinitgroups): Return value returned by addinitgroupsX.
47545         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47546         (prune_cache): Keep track of timeout value of re-added entries.
47547         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47548         * nscd/nscd.h: Adjust prototypes of readd* functions.
47550 2011-02-04  Roland McGrath  <roland@redhat.com>
47552         * nis/nis_server.c (nis_servstate): Use the right name for 0.
47553         (nis_stats): Likewise.
47554         * nis/nis_modify.c (nis_modify): Likewise.
47555         * nis/nis_remove.c (nis_remove): Likewise.
47556         * nis/nis_add.c (nis_add): Likewise.
47558         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47560         * posix/fnmatch_loop.c: Add some consts.
47562         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47564 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
47566         [BZ #12460]
47567         * config.make.in (config-cflags-novzeroupper): Define.
47568         * configure.in: Substitute libc_cv_cc_novzeroupper.
47569         * elf/Makefile (AVX-CFLAGS): Define.
47570         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47571         (CFLAGS-tst-auditmod4a.c): Likewise.
47572         (CFLAGS-tst-auditmod4b.c): Likewise.
47573         (CFLAGS-tst-auditmod6b.c): Likewise.
47574         (CFLAGS-tst-auditmod6c.c): Likewise.
47575         (CFLAGS-tst-auditmod7b.c): Likewise.
47576         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47578 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
47580         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47581         function to the callback.
47582         Patch partly by Jiri Olsa <jolsa@redhat.com>.
47584 2011-02-02  Andreas Schwab  <schwab@redhat.com>
47586         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47587         of errno.
47589 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
47591         [BZ #11724]
47592         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47593         of constructors.
47594         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47595         of destructors.
47596         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47598         [BZ #11724]
47599         * elf/Makefile: Add rules to build and run new test.
47600         * elf/tst-initorder.c: New file.
47601         * elf/tst-initorder.exp: New file.
47602         * elf/tst-initordera1.c: New file.
47603         * elf/tst-initordera2.c: New file.
47604         * elf/tst-initordera3.c: New file.
47605         * elf/tst-initordera4.c: New file.
47606         * elf/tst-initorderb1.c: New file.
47607         * elf/tst-initorderb2.c: New file.
47608         * elf/tst-order-a1.c: New file.
47609         * elf/tst-order-a2.c: New file.
47610         * elf/tst-order-a3.c: New file.
47611         * elf/tst-order-a4.c: New file.
47612         * elf/tst-order-b1.c: New file.
47613         * elf/tst-order-b2.c: New file.
47614         * elf/tst-order-main.c: New file.
47615         New test case by George Gensure <werkt0@gmail.com>.
47617 2010-10-01  Andreas Schwab  <schwab@redhat.com>
47619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47620         decoding ACE if AI_CANONIDN.
47622 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
47624         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47626 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
47628         * version.h (RELEASE): Bump for 2.13 release.
47629         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47631         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47633         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47634         MADV_NOHUGEPAGE.
47635         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47636         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47637         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47638         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47639         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47640         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47642         * posix/getconf.c: Update copyright year.
47643         * catgets/gencat.c: Likewise.
47644         * csu/version.c: Likewise.
47645         * debug/catchsegv.sh: Likewise.
47646         * debug/xtrace.sh: Likewise.
47647         * elf/ldconfig.c: Likewise.
47648         * elf/ldd.bash.in: Likewise.
47649         * elf/sprof.c (print_version): Likewise.
47650         * iconv/iconv_prog.c: Likewise.
47651         * iconv/iconvconfig.c: Likewise.
47652         * locale/programs/locale.c: Likewise.
47653         * locale/programs/localedef.c: Likewise.
47654         * malloc/memusage.sh: Likewise.
47655         * malloc/mtrace.pl: Likewise.
47656         * nscd/nscd.c (print_version): Likewise.
47657         * nss/getent.c: Likewise.
47659         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47660         PF_CAIF, and PF_ALG.
47661         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47663 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47665         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47666         (modules-names): Use them.
47667         (ifunc-test-modules, ifunc-pie-tests): Define.
47668         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47669         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47670         (test-extras): Likewise.
47671         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47672         $(compile-command.c).
47673         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47674         (all-built-dso): Define.
47675         (check-textrel.out, check-execstack.out): Depend on it.
47677         * configure.in: Don't override --enable-multi-arch.
47679 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47681         [BZ #6812]
47682         * nscd/hstcache.c (tryagain): Define.
47683         (cache_addhst): Return tryagain not notfound for temporary errors.
47684         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47685         failed.
47687 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47689         [BZ #10563]
47690         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47691         to make the syscall.
47692         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47694         [BZ #12378]
47695         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47696         and fall back to matching as normal character if the string ends before
47697         the matching ']' is found.  This is what POSIX requires.
47698         * posix/testfnm.c: Adjust test result.
47699         * posix/globtest.sh: Adjust test result.  Add new test.
47700         * posix/tst-fnmatch.input: Likewise.
47701         * posix/tst-fnmatch2.c: Add new test.
47703 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47705         * elf/Makefile (check-execstack): Revert last change.  Depend on
47706         check-execstack.h.
47707         (check-execstack.h): New target.
47708         (generated): Add check-execstack.h.
47709         * elf/check-execstack.c: Include "check-execstack.h".
47710         (main): Revert last change.
47711         (handle_file): Return zero if GNU_STACK is absent and
47712         DEFAULT_STACK_PERMS doesn't include PF_X.
47714 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47716         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47717         in child fails because the descriptor is already closed.
47718         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47719         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47720         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47722         [BZ #12397]
47723         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47724         syscall.
47726         [BZ #10484]
47727         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47728         temporary buffer used to handle multi lookups locally.
47729         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47731 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47733         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47734         loader is ld.so.
47736 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47738         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47739         alignment for SSE2.
47741 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47743         [BZ #12394]
47744         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47745         characters.  When rounding increased number of integer digits recompute
47746         number of groups.
47747         * stdio-common/tst-grouping.c: New file.
47748         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47750 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47752         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47753         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47755         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47756         void.
47757         * bits/select.h: Likewise.
47759 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47761         * po/ja.po: Update from translation team.
47763 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47765         [BZ #11155]
47766         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47767         implementation just like for lxstat, fxstatat, et al.
47769 2010-12-27  Jim Meyering  <meyering@redhat.com>
47771         [BZ #12348]
47772         * posix/regexec.c (build_trtable): Return failure indication upon
47773         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47775 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47777         [BZ #12201]
47778         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47779         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47780         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47781         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47783         [BZ #12207]
47784         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47786         [BZ #12204]
47787         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47788         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47790 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47792         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47793         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47794         script has SORT_BY_INIT_PRIORITY.
47795         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47796         NO_CTORS_DTORS_SECTIONS is defined.
47797         * elf/soinit.c: Likewise.
47798         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47799         NO_CTORS_DTORS_SECTIONS is defined.
47800         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47801         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47802         * sysdeps/sh/init-first.c: Likewise.
47803         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47805 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47807         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47808         always use the slow path.
47810 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47812         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47813         similar rule which adds the sysdep directories to the header search in
47814         order to pick up the correct platform stackinfo.h.
47815         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47816         perform test if it is, otherwise return successfully without testing.
47817         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47818         DEFAULT_STACK_PERMS define in stackinfo.h.
47819         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47820         defined in stackinfo.h.
47821         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47822         DEFAULT_STACK_PERMS defined in stackinfo.h.
47823         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47824         * sysdeps/ia64/stackinfo.h: Likewise.
47825         * sysdeps/s390/stackinfo.h: Likewise.
47826         * sysdeps/sh/stackinfo.h: Likewise.
47827         * sysdeps/sparc/stackinfo.h: Likewise.
47828         * sysdeps/x86_64/stackinfo.h: Likewise.
47829         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47830         PF_X for powerpc64.  Retain PF_X for powerpc32.
47832 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47834         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47835         accurately.
47836         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47837         GETDENTS_64BIT_ALIGNED.
47839 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47841         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47843 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47845         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47846         _GNU_SOURCE.
47848         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47849         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47850         Remove __restrict.
47851         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47852         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47854 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47856         [BZ #11655]
47857         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47858         are initialized.
47860 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47862         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47864 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47866         * po/it.po: Update from translation team.
47868 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47870         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47871         unused codes.
47873 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47875         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47877 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47879         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47880         specially.
47881         (gaih_getanswer_slice): Likewise.
47883 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47887 2010-05-31  Petr Baudis  <pasky@suse.cz>
47889         [BZ #11149]
47890         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47891         silently even in the chroot mode.
47893 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47895         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47896         last patch a bit.  Pretty printing
47898 2010-05-31  Petr Baudis <pasky@suse.cz>
47900         [BZ #10085]
47901         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47902         initialization of skip_initgroups_dyn.
47904 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47906         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47907         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47909 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47911         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47913 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47915         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47916         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47917         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47918         ($(objpfx)tst-fnmatch-mem): New rule.
47919         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47920         * posix/tst-fnmatch.c (main): Call mtrace.
47922 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47925         Support Intel processor model 6 and model 0x2c.
47927 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47929         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47930           signed comparison.
47932 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47934         [BZ #12205]
47935         * string/test-strncasecmp.c (check_result): New function.
47936         (do_one_test): Use it.
47937         (check1): New function.
47938         (test_main): Use it.
47939         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47940         Support strcasecmp and strncasecmp.
47942 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47944         [BZ #12194]
47945         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47946         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47948 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47950         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47951         IFUNC support.
47952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47953         memset-x86-64.
47954         * sysdeps/x86_64/multiarch/bzero.S: New file.
47955         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47956         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47957         * sysdeps/x86_64/multiarch/memset.S: New file.
47958         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47960         Set bit_Prefer_SSE_for_memop for Intel processors.
47961         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47962         Define.
47963         (index_Prefer_SSE_for_memop): Define.
47964         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47966 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47968         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47969         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47971 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47973         [BZ #12191]
47974         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47975         (__x86_64_raw_data_cache_size_half): Likewise.
47976         (__x86_64_raw_shared_cache_size): Likewise.
47977         (__x86_64_raw_shared_cache_size_half): Likewise.
47979         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47980         (__x86_64_raw_data_cache_size_half): Likewise.
47981         (__x86_64_raw_shared_cache_size): Likewise.
47982         (__x86_64_raw_shared_cache_size_half): Likewise.
47983         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47984         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47985         and __x86_64_raw_shared_cache_size_half.  Round
47986         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47987         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47988         to multiple of 256 bytes.
47990 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47992         [BZ #12167]
47993         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47994         of inacessible symlinks.  Verify result of symlink before returning it.
47995         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47996         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47998 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48000         * math/math.h (isinf): Fix typo in comment.
48002 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48004         * po/da.po: Update from translation team.
48006 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48008         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48009         is added to the list.
48011 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48012             Ulrich Drepper  <drepper@gmail.com>
48014         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48015         the global list here.  Move code to...
48016         (_dl_add_to_namespace_list): ...here.  New function.
48017         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48018         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48019         * elf/dl-load.c (lose): Don't remove the element from the list.
48020         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48021         (_dl_map_object): Likewise.
48023 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48025         [BZ #12159]
48026         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48027         into all bytes of SSE register.
48028         Patch by Richard Li <richardpku@gmail.com>.
48030 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48032         [BZ #12140]
48033         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48034         perturbing.
48036 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48038         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48039         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48040         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48041         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48043         submachine.
48044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48046 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48048         * include/dlfcn.h (__RTLD_SECURE): Define.
48049         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48050         mode & __RTLD_SECURE instead.
48051         (open_path): Rename preloaded parameter to secure.
48052         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48053         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48054         * elf/dl-deps.c (openaux): Likewise.
48055         * elf/rtld.c (struct map_args): Remove is_preloaded.
48056         (map_doit): Don't use it.
48057         (dl_main): Likewise.
48058         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48059         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48061 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48063         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48064         (sysd-rules-targets): Remove duplicates.
48065         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48066         rtld-%.$o dependency.
48068 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48070         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48071         _dl_map_object do it.
48073 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48075         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48076         fast fma builtins, define the macros in the C99 standard.
48077         (FP_FAST_FMAF): Likewise.
48078         (FP_FAST_FMAL): Likewise.
48079         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48081         * bits/mathdef.h: Update copyright year.
48082         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48084 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48086         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48087         builtins, define the macros in the C99 standard.
48088         (FP_FAST_FMAF): Likewise.
48089         (FP_FAST_FMAL): Likewise.
48090         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48091         multiply/add.
48092         (FP_FAST_FMAF): Likewise.
48094 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48096         [BZ #3268]
48097         * math/libm-test.inc (fma_test): Some new testcases.
48098         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48099         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48100         y and infinite z.  Do multiplication by C already in long double.
48101         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48102         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48103         y and infinite z.  Do bitwise or of inexact bit into u.d.
48104         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48105         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48106         * sysdeps/i386/fpu/s_fma.S: Removed.
48107         * sysdeps/i386/fpu/s_fmal.S: Removed.
48109 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48111         [BZ #3268]
48112         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48114         computation is not scheduled after fetestexcept.  Fix value
48115         of minimum denormal long double.
48117 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48119         [BZ #3268]
48120         * math/libm-test.inc (fma_test): Add some more tests.
48121         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48122         correctly.
48124 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48126         * scripts/data/localplt-s390-linux-gnu.data: New file.
48127         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48129 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48131         [BZ #3268]
48132         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48133         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48134         instead of dbl-64.
48135         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48136         inlines.
48137         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48139         if one of x and y is very large and the other is subnormal.
48140         * sysdeps/s390/fpu/s_fmaf.c: New file.
48141         * sysdeps/s390/fpu/s_fma.c: New file.
48142         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48143         * sysdeps/powerpc/fpu/s_fma.S: New file.
48144         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48145         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48146         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48148 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48150         [BZ #3268]
48151         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48152         fma tests.
48153         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48154         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48155         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48156         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48157         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48158         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48159         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48161 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48163         [BZ #12078]
48164         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48165         * posix/bug-regex31.input: Add test case.
48167 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48169         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48170         * posix/bug-regex31.input: New file.
48172         [BZ #12078]
48173         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48174         (parse_sub_exp): Fix last change, use postorder.
48176         * posix/bug-regex31.c: New file.
48177         * posix/Makefile: Add rules to build and run bug-regex31.
48179         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48181         [BZ #12078]
48182         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48184         [BZ #12108]
48185         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48186         to have entries in sys_siglist.
48188         [BZ #12093]
48189         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48190         be NULL.
48192 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48194         [BZ #3268]
48195         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48196         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48197         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48198         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48199         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48200         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48201         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48202         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48203         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48204         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48205         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48206         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48207         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48208         * math/ftestexcept.c (fetestexcept): Likewise.
48209         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48210         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48211         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48212         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48213         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48214         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48215         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48217 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48219         [BZ #12107]
48220         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48221         newline.
48223 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48225         * string/bug-strstr1.c: New file.
48226         * string/Makefile: Add rules to build and run bug-strstr1.
48228 2010-10-05  Eric Blake  <eblake@redhat.com>
48230         [BZ #12092]
48231         * string/str-two-way.h (two_way_long_needle): Always clear memory
48232         when skipping input due to the shift table.
48234 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48236         [BZ #12005]
48237         * malloc/mcheck.c: Handle large requests.
48239         [BZ #12077]
48240         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48241         for strncmp and strncasecmp.
48242         * string/stratcliff.c: Add tests for strcmp and strncmp.
48243         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48245 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48247         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48248         __set_fpscr.
48250 2010-09-30  Andreas Jaeger  <aj@suse.de>
48252         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48253         (CGROUP_SUPER_MAGIC): Define.
48254         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48255         Handle btrfs and cgroup file systems.
48256         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48257         Likewise.
48259 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48261         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48262         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48264 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48266         [BZ #12067]
48267         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48268         trying to locate the ELF header.
48270 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48272         [BZ #11611]
48273         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48274         Mask out sign-bit copies when constructing f_fsid.
48276 2010-09-24  Petr Baudis <pasky@suse.cz>
48278         * debug/stack_chk_fail_local.c: Add missing licence exception.
48279         * debug/warning-nop.c: Likewise.
48281 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48283         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48284         implementing getdents64 using getdents syscall, set d_type if
48285         __ASSUME_GETDENTS32_D_TYPE.
48287 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48289         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48290         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48292 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48294         [BZ #12037]
48295         * posix/unistd.h: Undo change of feature selection for ftruncate from
48296         2010-01-11.
48298 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48300         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48301         detection.
48303 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48305         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48306         fanotify_mark.
48307         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48309 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48311         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48312         variables after CHECK_SP call.
48313         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48315 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48316             Ulrich Drepper  <drepper@redhat.com>
48318         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48319         re-relocationg ld.so.
48320         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48321         _dl_init_paths call.
48322         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48323         here anymore.
48325 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48327         * resolv/res_init.c (__res_vinit): Count the default server we added.
48329 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48330             Ulrich Drepper  <drepper@redhat.com>
48332         [BZ #11968]
48333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48334         (____longjmp_chk): Use %ebx for saving value across system call.
48335         Add unwind info.
48337 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48339         * manual/Makefile: Don't mix pattern rules with normal rules.
48341 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48343         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48344         operation.
48345         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48346         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48347         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48348         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48349         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48350         Likewise.
48352 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48354         [BZ #11979]
48355         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48356         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48358 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48360         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48361         * sysdeps/x86_64/addmul_1.S: Likewise.
48362         * sysdeps/x86_64/lshift.S: Likewise.
48363         * sysdeps/x86_64/mul_1.S: Likewise.
48364         * sysdeps/x86_64/rshift.S: Likewise.
48365         * sysdeps/x86_64/sub_n.S: Likewise.
48366         * sysdeps/x86_64/submul_1.S: Likewise.
48368 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48370         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48371         Define __sched_param instead of SCHED_* and sched_param when
48372         <bits/sched.h> is included with __need_schedparam defined.
48373         * bits/sched.h [__need_schedparam]
48374         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48375         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48376         (__defined_schedparam): Define to 1.
48377         (__sched_param): New structure, identical to sched_param.
48378         (__need_schedparam): Undefine.
48380 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48382         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48383         (epoll_create1): Declare.
48385         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48387 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48389         [BZ #7066]
48390         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48391         shifting retval into place.
48393 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48395         * nis/rpcsvc/nis.h: Update copyright notice.
48396         * nis/rpcsvc/nis.x: Likewise.
48397         * nis/rpcsvc/nis_callback.h: Likewise.
48398         * nis/rpcsvc/nis_callback.x: Likewise.
48399         * nis/rpcsvc/nis_object.x: Likewise.
48400         * nis/rpcsvc/nis_tags.h: Likewise.
48401         * nis/rpcsvc/yp.h: Likewise.
48402         * nis/rpcsvc/yp.x: Likewise.
48403         * nis/rpcsvc/ypupd.h: Likewise.
48404         * nis/yp_xdr.c: Likewise.
48405         * nis/ypupdate_xdr.c: Likewise.
48407         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48408         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48409         (pmap_getport): Use __libc_rpc_getport.
48410         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48411         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48412         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48414 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48417         fanotify_mark.
48419 2010-08-27  Roland McGrath  <roland@redhat.com>
48421         * sysdeps/i386/i686/multiarch/Makefile
48422         (CFLAGS-varshift.c): New variable.
48424 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
48426         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48427         * sysdeps/i386/i686/multiarch/varshift.c: New file.
48429         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48431         * sysdeps/x86_64/strlen.S: Minimal code improvement.
48433 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
48435         * sysdeps/x86_64/strlen.S: Unroll the loop.
48436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48437         strlen-sse2 strlen-sse2-bsf.
48438         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48439         __strlen_no_bsf if bit_Slow_BSF is set.
48440         (__strlen_sse42): Removed.
48441         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48442         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48444 2010-08-25  Roland McGrath  <roland@redhat.com>
48446         * sysdeps/x86_64/multiarch/varshift.S: File removed.
48447         * sysdeps/x86_64/multiarch/varshift.c: New file.
48448         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48449         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48450         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48451         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48453 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
48455         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48456         strlen-sse2 strlen-sse2-bsf.
48457         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48458         __strlen_sse2_bsf if bit_Slow_BSF is unset.
48459         (__strlen_sse2): Removed.
48460         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48461         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48463         bit_Slow_BSF for Atom.
48464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48465         (index_Slow_BSF): Define.
48466         (HAS_SLOW_BSF): Define.
48468 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
48470         [BZ #10851]
48471         * resolv/res_init.c (__res_vinit): When no server address at all
48472         is given default to loopback.
48474 2010-08-24  Roland McGrath  <roland@redhat.com>
48476         * configure.in: Remove config-name.h generation.
48477         * configure: Regenerated.
48478         * config-name.in: File removed.
48479         * scripts/config-uname.sh: New file.
48480         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48481         ($(objdir)config-name.h): New target.
48483         * sunrpc/rpc_parse.h: Avoid nested comment.
48485 2010-08-24  Richard Henderson  <rth@redhat.com>
48486             Ulrich Drepper  <drepper@redhat.com>
48487             H.J. Lu  <hongjiu.lu@intel.com>
48489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48491         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48492         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
48493         _mm_alignr_epi8 with _mm_loadu_si128.
48494         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48495         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48496         (__m128i_shift_right): Removed.
48497         * sysdeps/i386/i686/multiarch/varshift.h: New file.
48498         * sysdeps/i386/i686/multiarch/varshift.S: New file.
48499         * sysdeps/x86_64/multiarch/varshift.h: New file.
48500         * sysdeps/x86_64/multiarch/varshift.S: New file.
48502 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
48504         * configure.in: Move assembler checks to before sysdep dir checking.
48506 2010-08-20  Petr Baudis  <pasky@suse.cz>
48508         * LICENSES: Sync the sunrpc license.
48510 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
48512         * sunrpc/auth_des.c: Update copyright notice once again.
48513         * sunrpc/auth_none.c: Likewise.
48514         * sunrpc/auth_unix.c: Likewise.
48515         * sunrpc/authdes_prot.c: Likewise.
48516         * sunrpc/authuxprot.c: Likewise.
48517         * sunrpc/bindrsvprt.c: Likewise.
48518         * sunrpc/clnt_gen.c: Likewise.
48519         * sunrpc/clnt_perr.c: Likewise.
48520         * sunrpc/clnt_raw.c: Likewise.
48521         * sunrpc/clnt_simp.c: Likewise.
48522         * sunrpc/clnt_tcp.c: Likewise.
48523         * sunrpc/clnt_udp.c: Likewise.
48524         * sunrpc/clnt_unix.c: Likewise.
48525         * sunrpc/des_crypt.c: Likewise.
48526         * sunrpc/des_soft.c: Likewise.
48527         * sunrpc/get_myaddr.c: Likewise.
48528         * sunrpc/getrpcport.c: Likewise.
48529         * sunrpc/key_call.c: Likewise.
48530         * sunrpc/key_prot.c: Likewise.
48531         * sunrpc/openchild.c: Likewise.
48532         * sunrpc/pm_getmaps.c: Likewise.
48533         * sunrpc/pm_getport.c: Likewise.
48534         * sunrpc/pmap_clnt.c: Likewise.
48535         * sunrpc/pmap_prot.c: Likewise.
48536         * sunrpc/pmap_prot2.c: Likewise.
48537         * sunrpc/pmap_rmt.c: Likewise.
48538         * sunrpc/rpc/auth.h: Likewise.
48539         * sunrpc/rpc/auth_unix.h: Likewise.
48540         * sunrpc/rpc/clnt.h: Likewise.
48541         * sunrpc/rpc/des_crypt.h: Likewise.
48542         * sunrpc/rpc/key_prot.h: Likewise.
48543         * sunrpc/rpc/netdb.h: Likewise.
48544         * sunrpc/rpc/pmap_clnt.h: Likewise.
48545         * sunrpc/rpc/pmap_prot.h: Likewise.
48546         * sunrpc/rpc/pmap_rmt.h: Likewise.
48547         * sunrpc/rpc/rpc.h: Likewise.
48548         * sunrpc/rpc/rpc_des.h: Likewise.
48549         * sunrpc/rpc/rpc_msg.h: Likewise.
48550         * sunrpc/rpc/svc.h: Likewise.
48551         * sunrpc/rpc/svc_auth.h: Likewise.
48552         * sunrpc/rpc/types.h: Likewise.
48553         * sunrpc/rpc/xdr.h: Likewise.
48554         * sunrpc/rpc_clntout.c: Likewise.
48555         * sunrpc/rpc_cmsg.c: Likewise.
48556         * sunrpc/rpc_common.c: Likewise.
48557         * sunrpc/rpc_cout.c: Likewise.
48558         * sunrpc/rpc_dtable.c: Likewise.
48559         * sunrpc/rpc_hout.c: Likewise.
48560         * sunrpc/rpc_main.c: Likewise.
48561         * sunrpc/rpc_parse.c: Likewise.
48562         * sunrpc/rpc_parse.h: Likewise.
48563         * sunrpc/rpc_prot.c: Likewise.
48564         * sunrpc/rpc_sample.c: Likewise.
48565         * sunrpc/rpc_scan.c: Likewise.
48566         * sunrpc/rpc_scan.h: Likewise.
48567         * sunrpc/rpc_svcout.c: Likewise.
48568         * sunrpc/rpc_tblout.c: Likewise.
48569         * sunrpc/rpc_util.c: Likewise.
48570         * sunrpc/rpc_util.h: Likewise.
48571         * sunrpc/rpcinfo.c: Likewise.
48572         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48573         * sunrpc/rpcsvc/key_prot.x: Likewise.
48574         * sunrpc/rpcsvc/klm_prot.x: Likewise.
48575         * sunrpc/rpcsvc/mount.x: Likewise.
48576         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48577         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48578         * sunrpc/rpcsvc/rex.x: Likewise.
48579         * sunrpc/rpcsvc/rstat.x: Likewise.
48580         * sunrpc/rpcsvc/rusers.x: Likewise.
48581         * sunrpc/rpcsvc/sm_inter.x: Likewise.
48582         * sunrpc/rpcsvc/spray.x: Likewise.
48583         * sunrpc/rpcsvc/yppasswd.x: Likewise.
48584         * sunrpc/rtime.c: Likewise.
48585         * sunrpc/svc.c: Likewise.
48586         * sunrpc/svc_auth.c: Likewise.
48587         * sunrpc/svc_authux.c: Likewise.
48588         * sunrpc/svc_raw.c: Likewise.
48589         * sunrpc/svc_run.c: Likewise.
48590         * sunrpc/svc_simple.c: Likewise.
48591         * sunrpc/svc_tcp.c: Likewise.
48592         * sunrpc/svc_udp.c: Likewise.
48593         * sunrpc/svc_unix.c: Likewise.
48594         * sunrpc/svcauth_des.c: Likewise.
48595         * sunrpc/xcrypt.c: Likewise.
48596         * sunrpc/xdr.c: Likewise.
48597         * sunrpc/xdr_array.c: Likewise.
48598         * sunrpc/xdr_float.c: Likewise.
48599         * sunrpc/xdr_mem.c: Likewise.
48600         * sunrpc/xdr_rec.c: Likewise.
48601         * sunrpc/xdr_ref.c: Likewise.
48602         * sunrpc/xdr_sizeof.c: Likewise.
48603         * sunrpc/xdr_stdio.c: Likewise.
48605         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48606         handling.
48608 2010-08-19  Andreas Schwab  <schwab@redhat.com>
48610         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48612 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
48614         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48615         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48616         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48617         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48618         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48619         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48620         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48621         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48622         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48623         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48624         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48625         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48626         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48627         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48629 2010-07-26  Anton Blanchard  <anton@samba.org>
48631         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48632         * malloc/arena.c (heap_trim): Likewise.
48634 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
48636         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48637         here.  Not...
48638         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48639         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48641 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
48643         * sysdeps/i386/elf/Makefile: New file.
48645 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48647         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48648         from fanotify_init.
48649         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48650         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48652 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48654         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48655         of strncasecmp_l.
48656         * sysdeps/multiarch/strcmp.S: Likewise.
48658 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48660         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48661         strncase_l-nonascii.
48662         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48663         Add strncase_l-ssse3.
48664         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48665         * sysdeps/x86_64/strcmp.S: Likewise.
48666         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48667         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48668         * sysdeps/x86_64/strncase.S: New file.
48669         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48670         * sysdeps/x86_64/strncase_l.S: New file.
48671         * string/Makefile (strop-tests): Add strncasecmp.
48672         * string/test-strncasecmp.c: New file.
48674         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48675         warning.
48677         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48678         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48680 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48682         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48684 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48686         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48687         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48688         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48690 2010-05-01  Alan Modra  <amodra@gmail.com>
48692         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48693         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48694         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48695         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48696         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48697         tidying.  Don't tail-call __sigjmp_save for static lib.
48698         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48699         save location.
48700         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48701         (CALL_MCOUNT): Add eh info, and nop after bl.
48702         (TAIL_CALL_SYSCALL_ERROR): New macro.
48703         (PSEUDO_RET): Use it.
48704         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48705         Correct save location of integer regs and cr.
48706         (_dl_profile_resolve): Correct cr save location.  Delete nops
48707         after bl when SHARED.  Reduce cfi size a little by better
48708         placement of cfi directives.
48709         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48710         make a stack frame.  Instead use parm save area as a temp.
48711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48712         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48714         Don't make a stack frame for parent, use parm save area.
48715         Increase child stack frame to 112 bytes.  Don't save unused reg,
48716         and adjust reg usage.  Set up cfi on error recovery and
48717         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48719         (__makecontext): Add dummy nop after jump to exit.
48720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48721         Use correct parm save area and cr save, reduce stack frame.
48722         Correct cfi for possible PSEUDO_RET frame setup.
48723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48724         Branch to local label emitted by PSEUDO_RET rather than
48725         __syscall_error.
48727 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48729         [BZ #11904]
48730         * locale/programs/locale.c (print_assignment): New function.
48731         (show_locale_vars): Use it.
48733 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48735         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48736         field.
48737         (struct statfs64): Likewise.
48738         (_STATFS_F_FLAGS): Define.
48739         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48740         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48741         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48742         (ST_VALID): Define locally.
48743         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48744         __statvfs_getflags, use the provided value.
48745         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48746         __ASSUME_STATFS_F_FLAGS.
48748         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48750         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48751         Add sys/fanotify.h.
48752         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48753         fanotify_mask for GLIBC_2.13.
48754         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48755         fanotify_init and fanotify_mark.
48756         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48757         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48759         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48760         Add prlimit.
48761         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48762         prlimit64 for GLIBC_2.13.
48763         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48764         prlimit64.
48765         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48766         syscall.
48767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48768         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48769         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48770         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48771         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48772         add prlimit alias.
48773         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48775         [BZ #11903]
48776         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48777         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48779         * nss/Makefile: Add rules to build and run tst-nss-test1.
48780         * shlib-versions: Add entry for libnss_test1.
48781         * nss/nss_test1.c: New file.
48782         * nss/tst-nss-test1.c: New file.
48784         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48785         (__nss_configure_lookup): Set appropriate entry in
48786         __nss_configure_lookup to true.
48787         * nss/nsswitch.h: Define enum with indeces of databases in
48788         databases and __nss_database_custom arrays.  Declare
48789         __nss_database_custom.
48790         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48791         to avoid using nscd when custom rules are installed.
48792         * nss/getXXbyYY_r.c: Likewise.
48793         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48795         * nss/nss_files/files-parse.c: Whitespace fixes.
48797 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48799         [BZ #11883]
48800         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48801         * posix/fnmatch_loop.c: Likewise.
48803 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48805         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48806         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48807         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48808         * Versions.def [GLIBC_2.13]: Add.
48810 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48812         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48813         Also fail if tpwd after pwuid call is NULL.
48815 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48817         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48818         when converting to ms.
48820 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48822         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48823         EOPNOTSUPP errors with ENOTTY.
48824         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48825         EOPNOTSUPP errors with ENOTTY.
48827 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48829         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48830         Add strcasecmp_l-ssse3.
48831         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48832         strcasecmp.
48833         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48834         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48835         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48837 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48839         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48841         * string/Makefile (strop-tests): Add strcasecmp.
48842         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48843         strcasecmp_l-nonascii.
48844         (gen-as-const-headers): Add locale-defines.sym.
48845         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48846         * sysdeps/x86_64/strcasecmp.S: New file.
48847         * sysdeps/x86_64/strcasecmp_l.S: New file.
48848         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48849         * sysdeps/x86_64/locale-defines.sym: New file.
48850         * string/test-strcasecmp.c: New file.
48852         * string/test-strcasestr.c: Test both ends of the range of characters.
48853         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48855 2010-07-29  Roland McGrath  <roland@redhat.com>
48857         [BZ #11856]
48858         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48860 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48862         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48863         for ld.so.
48865 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48867         * manual/memory.texi (Malloc Tunable Parameters): Document
48868         M_PERTURB.
48870 2010-07-26  Roland McGrath  <roland@redhat.com>
48872         [BZ #11840]
48873         * configure.in (-fgnu89-inline check): Set and substitute
48874         gnu89_inline, not libc_cv_gnu89_inline.
48875         * configure: Regenerated.
48876         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48878 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48880         * string/test-strnlen.c: New file.
48881         * string/Makefile (strop-tests): Add strnlen.
48882         * string/tester.c (test_strnlen): Add a few more test cases.
48883         * string/tst-strlen.c: Better error reporting.
48885         * sysdeps/x86_64/strnlen.S: New file.
48887 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48889         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48890         lower-latency instructions.
48892 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48894         * string/test-strcasestr.c: New file.
48895         * string/test-strstr.c: New file.
48896         * string/Makefile (strop-tests): Add strstr and strcasestr.
48897         * string/str-two-way.h: Don't undefine MAX.
48898         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48900 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48902         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48903         strcasestr-nonascii.
48904         (CFLAGS-strcasestr-nonascii.c): Define.
48905         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48906         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48907         Remove unused attribute.
48909 2010-07-20  Roland McGrath  <roland@redhat.com>
48911         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48912         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48913         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48914         like LD_HWCAP_MASK can disable hwcaps.
48916 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48918         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48920 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48922         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48923         call in strcasestr.
48924         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48925         __strcasestr_sse42_nonascii.
48926         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48927         strcasestr-nonascii.c.
48928         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48930 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48932         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48933         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48934         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48935         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48937 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48939         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48940         fcntl.
48942 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48944         [BZ #11577]
48945         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48946         dl_signal_cerror.
48948 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48950         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48951         _PC_PIPE_BUF using F_GETPIPE_SZ.
48953 2010-07-05  Roland McGrath  <roland@redhat.com>
48955         * manual/arith.texi (Rounding Functions): Fix rint description
48956         implicit in round description.
48958 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48960         * elf/Makefile: Fix linking for a few tests to make recent linker
48961         happy.
48963 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48965         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48966         $(common-objpfx)libc_nonshared.a.
48968 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48970         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48971         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48972         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48973         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48974         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48975         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48976         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48977         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48992         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48993         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48994         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48995         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48996         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48997         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48998         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48999         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49000         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49001         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49002         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49003         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49019 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49021         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49022         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49023         * string/memmove.c (memmove): Renamed to ...
49024         (MEMMOVE): ...this.  Default to memmove.
49025         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49026         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49027         (END_CHK): Define.
49028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49029         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49030         mempcpy-ssse3-back memmove-ssse3-back.
49031         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49032         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49033         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49034         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49035         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49036         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49037         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49038         * sysdeps/x86_64/multiarch/memmove.c: New file.
49039         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49040         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49041         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49042         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49043         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49044         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49045         Define.
49046         (index_Fast_Copy_Backward): Define.
49047         (HAS_ARCH_FEATURE): Define.
49048         (HAS_FAST_REP_STRING): Define.
49049         (HAS_FAST_COPY_BACKWARD): Define.
49051 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49053         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49054         Restore proper fallback handling.
49056 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49058         [BZ #11701]
49059         * posix/group_member.c (__group_member): Correct checking loop.
49061         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49062         OOM in getpwuid_r correctly.  Return error number when the caller
49063         should return, otherwise -1.
49064         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49065         call returning > 0 value.
49066         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49068 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49070         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49071         libc_nonshared.a from targets in modules-names.
49073 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49075         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49076         requires it.
49078 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49080         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49081         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49082         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49083         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49085 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49087         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49089 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49091         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49092         and F_GETPIPE_SZ.
49093         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49094         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49097         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49098         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49100 2010-06-14  Roland McGrath  <roland@redhat.com>
49102         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49104 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49106         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49107         __REDIRECT followed by __THROW.
49108         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49109         * posix/getopt.h (getopt): Likewise.
49111 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49113         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49114         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49115         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49116         in AT_FLAGS.
49117         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49118         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49120 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49122         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49124 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49126         [BZ #11640]
49127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49128         Properly check family and model.
49130 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49132         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49134 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49136         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49138 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49140         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49141         symbol reference.
49143 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49145         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49146         symbol reference.
49148 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49150         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49151         and internal_recvmmsg.
49152         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49153         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49154         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49155         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49157         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49158         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49159         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49161 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49163         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49165 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49167         POWER7 optimizations.
49168         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49169         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49171 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49173         * version.h: Update for 2.13 development version.
49175 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49177         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49178         exceptions.  Return 0.
49180 2010-05-07  Roland McGrath  <roland@redhat.com>
49182         * elf/ldconfig.c (main): Add a const.
49184 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49186         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49187         (args_options): Add no-idn option.
49188         (ahosts_keys_int): Add idn_flags to ai_flags.
49189         (parse_option): Handle 'i' option to clear idn_flags.
49191         * malloc/malloc.c (_int_free): Possible race in the most recently
49192         added check.  Only act on the data if no current modification
49193         happened.
49195 See ChangeLog.17 for earlier changes.